aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-10-27 22:59:34 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-11-04 21:59:28 -0200
commitc4939636eec96bd2108a6668d96ff586c0e717ac (patch)
tree005849ff9e4960e3e9f745bb0bb82aa6c4d5637c
parent48d1866a0fc776c4b4481d2dd817fb3aaa5e1232 (diff)
desktop/xfce4-smartbookmark-plugin: Fixed desktop file
Thanks to Robert Neri for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--desktop/xfce4-smartbookmark-plugin/allow_adding_plugin_to_panel.diff11
-rw-r--r--desktop/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin.SlackBuild4
2 files changed, 14 insertions, 1 deletions
diff --git a/desktop/xfce4-smartbookmark-plugin/allow_adding_plugin_to_panel.diff b/desktop/xfce4-smartbookmark-plugin/allow_adding_plugin_to_panel.diff
new file mode 100644
index 000000000000..6c9c5d9391ea
--- /dev/null
+++ b/desktop/xfce4-smartbookmark-plugin/allow_adding_plugin_to_panel.diff
@@ -0,0 +1,11 @@
+diff -Nur xfce4-smartbookmark-plugin-0.4.2.orig/src/smartbookmark.desktop.in.in xfce4-smartbookmark-plugin-0.4.2/src/smartbookmark.desktop.in.in
+--- xfce4-smartbookmark-plugin-0.4.2.orig/src/smartbookmark.desktop.in.in 2006-08-12 12:41:44.000000000 -0500
++++ xfce4-smartbookmark-plugin-0.4.2/src/smartbookmark.desktop.in.in 2011-10-27 21:17:39.692214866 -0500
+@@ -4,5 +4,6 @@
+ _Name=SmartBookmark
+ _Comment=Query websites from the Xfce panel
+ Icon=gtk-preferences
+-X-XFCE-Module=@INTERNAL_PLUGIN_PATH@/libsmartbookmark.so
++X-XFCE-Module=smartbookmark
++X-XFCE-Module-Path=@INTERNAL_PLUGIN_PATH@
+ X-XFCE-Unique=false
diff --git a/desktop/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin.SlackBuild b/desktop/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin.SlackBuild
index c43573e0bfe5..02f01b59814b 100644
--- a/desktop/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin.SlackBuild
+++ b/desktop/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xfce4-smartbookmark-plugin
VERSION=0.4.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -71,6 +71,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/allow_adding_plugin_to_panel.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \