From 040c599b2fe9bf804dfa08ef3b61a504f98c471e Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 1 Jan 2011 15:45:25 -0600 Subject: desktop/xfce4-quicklauncher-plugin: Patched to allow plugin load Thanks to Ming Xu for the report and fix. Signed-off-by: Robby Workman --- .../allow_adding_plugin_to_panel.diff | 10 ++++++++++ .../xfce4-quicklauncher-plugin.SlackBuild | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 desktop/xfce4-quicklauncher-plugin/allow_adding_plugin_to_panel.diff diff --git a/desktop/xfce4-quicklauncher-plugin/allow_adding_plugin_to_panel.diff b/desktop/xfce4-quicklauncher-plugin/allow_adding_plugin_to_panel.diff new file mode 100644 index 0000000000..c8dc316675 --- /dev/null +++ b/desktop/xfce4-quicklauncher-plugin/allow_adding_plugin_to_panel.diff @@ -0,0 +1,10 @@ +diff -Nur xfce4-quicklauncher-plugin-1.9.4.orig//panel-plugin/quicklauncher.desktop.in.in xfce4-quicklauncher-plugin-1.9.4/panel-plugin/quicklauncher.desktop.in.in +--- xfce4-quicklauncher-plugin-1.9.4.orig//panel-plugin/quicklauncher.desktop.in.in 2005-09-25 14:08:43.000000000 -0500 ++++ xfce4-quicklauncher-plugin-1.9.4/panel-plugin/quicklauncher.desktop.in.in 2011-01-01 15:41:49.621453224 -0600 +@@ -4,4 +4,5 @@ + _Name=Quicklauncher + _Comment=Program with several launchers + Icon=gnome-fs-executable +-X-XFCE-Module=@INTERNAL_PLUGIN_PATH@/libquicklauncher.so ++X-XFCE-Module-Path=quicklauncher ++X-XFCE-Module-Path=@INTERNAL_PLUGIN_PATH@ diff --git a/desktop/xfce4-quicklauncher-plugin/xfce4-quicklauncher-plugin.SlackBuild b/desktop/xfce4-quicklauncher-plugin/xfce4-quicklauncher-plugin.SlackBuild index a5a1d23e93..2a4850b16a 100644 --- a/desktop/xfce4-quicklauncher-plugin/xfce4-quicklauncher-plugin.SlackBuild +++ b/desktop/xfce4-quicklauncher-plugin/xfce4-quicklauncher-plugin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xfce4-quicklauncher-plugin -# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA +# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,15 +24,13 @@ PRGNAM=xfce4-quicklauncher-plugin VERSION=1.9.4 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -71,6 +69,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Show the quicklauncher as an option to be added +patch -p1 < $CWD/allow_adding_plugin_to_panel.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3