build break (+ patch): gnome-control-center



Seems gnome-control-center checks if Xcursor headers are present, but
fails to add the -lXcursor argument to the CAPPLET_LIBS. Patch
attached to #310643. Dunno why this hasn't been noticed before though
(so i'm not entirely sure the patch is correct).

Without the patch, the build fails on x86_64 with
gnome-mouse-properties.c (undefined reference to XcursorImageDestroy).

Regards,

Jeroen
? gnomecc.patch
? capplets/about-me/gnome-about-me
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gnome-control-center/configure.in,v
retrieving revision 1.499
diff -u -p -r1.499 configure.in
--- configure.in	13 Jul 2005 21:51:44 -0000	1.499
+++ configure.in	17 Jul 2005 12:23:33 -0000
@@ -152,9 +152,12 @@ dnl mouse capplet with support for it tu
 dnl
 have_xcursor=no
 AC_CHECK_HEADER(X11/Xcursor/Xcursor.h, have_xcursor=yes
+                                       XCURSOR_LIBS="-lXcursor"
 				       AC_DEFINE(HAVE_XCURSOR, 1, Have the Xcursor extension),
 				       :, [#include <X11/Xlib.h>])
 AM_CONDITIONAL(HAVE_XCURSOR, [test $have_xcursor=yes])
+
+CAPPLET_LIBS="$CAPPLET_LIBS $XCURSOR_LIBS"
 
 dnl
 dnl Check for gtk+ with multihead support


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]