gnome-panel

gnome-panel-2.30.2

* When linking with --as-needed, add libXrandr to X_LIBS. Although the test here find Xrandr, it doesn't add it to the list of libraries used at link time. * The bzr sources have this additional error, which isn't related to linking:

           GICOMP PanelApplet-3.0.gir
Error at line 9, character 1: Unsupported version '1.1'
--- BACKTRACE (14 frames) ---
/usr/bin/g-ir-compiler() [0x8050c8d]
[ more errors ]

Patch

--- configure.in        2010-08-23 13:54:52 +0000
+++ configure.in        2010-09-04 01:32:21 +0000
@@ -242,6 +242,7 @@
 
 if $PKG_CONFIG --exists "xrandr >= 1.2.0" ; then
        AC_DEFINE(HAVE_RANDR, 1, [Have the Xrandr extension library])
+       LIBS="$X_LIBS -lXrandr"
        have_randr=yes
 else
        have_randr=no

RobSavoye/GoldFixes/gnome-panel (last edited 2010-09-04 01:39:06 by 69)