From c4939636eec96bd2108a6668d96ff586c0e717ac Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 27 Oct 2011 22:59:34 -0500 Subject: desktop/xfce4-smartbookmark-plugin: Fixed desktop file Thanks to Robert Neri for the report. Signed-off-by: Robby Workman --- .../allow_adding_plugin_to_panel.diff | 11 +++++++++++ .../xfce4-smartbookmark-plugin.SlackBuild | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 desktop/xfce4-smartbookmark-plugin/allow_adding_plugin_to_panel.diff (limited to 'desktop') 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 \ -- cgit v1.2.3