summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0000000000..6c9c5d9391
--- /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 c43573e0bf..02f01b5981 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 \