summaryrefslogtreecommitdiff
path: root/desktop/avant-window-navigator
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-17 20:01:21 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:34:45 -0500
commit743af3d73d4c56db08681ac241da08fed7aa8710 (patch)
treec2914e56084de35a0b4f599793a27680d503048e /desktop/avant-window-navigator
parent62ea8b09b7f02b92fe4233c4f8d7f205c01af2f8 (diff)
downloadslackbuilds-743af3d73d4c56db08681ac241da08fed7aa8710.tar.gz
desktop/avant-window-navigator: Fixed underlinking
Diffstat (limited to 'desktop/avant-window-navigator')
-rw-r--r--desktop/avant-window-navigator/avant-window-navigator.SlackBuild5
-rw-r--r--desktop/avant-window-navigator/dso.patch22
2 files changed, 26 insertions, 1 deletions
diff --git a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
index 9293dfa7d0..30cbeddb75 100644
--- a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
+++ b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=avant-window-navigator
VERSION=0.4.0
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix underlinking.
+patch -p1 -i $CWD/dso.patch
+
# Configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/desktop/avant-window-navigator/dso.patch b/desktop/avant-window-navigator/dso.patch
new file mode 100644
index 0000000000..c58314c279
--- /dev/null
+++ b/desktop/avant-window-navigator/dso.patch
@@ -0,0 +1,22 @@
+--- avant-window-navigator-0.4.0.orig/configure 2010-04-11 15:29:20.000000000 +0100
++++ avant-window-navigator-0.4.0/configure 2010-04-12 17:24:42.000000000 +0100
+@@ -13993,7 +13993,7 @@ fi
+
+
+ LIBRARY_MODULES="glib-2.0 >= $MIN_GLIB_VERSION gthread-2.0 gobject-2.0 desktop-agnostic >= $MIN_LDA_VERSION gtk+-2.0 >= $MIN_GTK_VERSION gdk-2.0 >= $MIN_GTK_VERSION dbus-glib-1"
+-DOCK_MODULES="x11 xproto xcomposite xrender xext"
++DOCK_MODULES="x11 xproto xcomposite xrender xext desktop-agnostic gtk+-2.0 dbus-glib-1"
+ TASKMANAGER_MODULES="libwnck-1.0 >= $MIN_WNCK_VERSION x11 libgtop-2.0 xext"
+
+
+--- avant-window-navigator-0.4.0.orig/tests/Makefile.in 2010-04-11 15:29:23.000000000 +0100
++++ avant-window-navigator-0.4.0/tests/Makefile.in 2010-04-12 21:24:56.000000000 +0100
+@@ -179,7 +179,7 @@ LD = @LD@
+ LDA_BINDIR = @LDA_BINDIR@
+ LDA_DEFSDIR = @LDA_DEFSDIR@
+ LDA_VAPIDIR = @LDA_VAPIDIR@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0
+ LIBAPPLETDIR = @LIBAPPLETDIR@
+ LIBDIR = @LIBDIR@
+ LIBOBJS = @LIBOBJS@