desktop/xfce4-quicklauncher-plugin: Patched to allow plugin load

Thanks to Ming Xu for the report and fix.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-01-01 15:45:25 -06:00
parent 2f209642e1
commit 040c599b2f
2 changed files with 15 additions and 4 deletions

View file

@ -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@

View file

@ -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 \