[Pkg-libvirt-commits] [SCM] libgtk-vnc Debian packaging branch, master, updated. debian/0.3.10-3-4-g4722bc0

Guido Günther agx at sigxcpu.org
Thu Mar 4 18:22:13 UTC 2010


The following commit has been merged in the master branch:
commit 95496eff42b7829d5cd091bd6e2bcbb869715802
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Mar 4 19:03:03 2010 +0100

    New patch 0007-Explicitly-link-against-X11-libs-for-XkbGetKeyboard.patch
    
    Explicitly link against X11 libs for XkbGetKeyboard
    
    Closes: #554751

diff --git a/debian/patches/0007-Explicitly-link-against-X11-libs-for-XkbGetKeyboard.patch b/debian/patches/0007-Explicitly-link-against-X11-libs-for-XkbGetKeyboard.patch
new file mode 100644
index 0000000..e9b506b
--- /dev/null
+++ b/debian/patches/0007-Explicitly-link-against-X11-libs-for-XkbGetKeyboard.patch
@@ -0,0 +1,44 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Thu, 4 Mar 2010 07:23:57 +0100
+Subject: [PATCH] Explicitly link against X11 libs for XkbGetKeyboard
+
+and friends. Fixes linking with --no-undefined as well as binutils-gold.
+
+Closes: #554751
+---
+ configure.ac    |    4 ++++
+ src/Makefile.am |    2 ++
+ 2 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2131706..f888ee3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -105,6 +105,10 @@ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+ 
++PKG_CHECK_MODULES(X11, x11,,AC_MSG_NOTICE([Not building against X11]))
++AC_SUBST(X11_CFLAGS)
++AC_SUBST(X11_LIBS)
++
+ save_CFLAGS="$CFLAGS"
+ save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 89b8731..e1d5552 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -5,9 +5,11 @@ lib_LTLIBRARIES = libgtk-vnc-1.0.la
+ 
+ libgtk_vnc_1_0_la_LIBADD = @GTK_LIBS@ @GNUTLS_LIBS@ \
+ 			   @GTHREAD_LIBS@ @SASL_LIBS@ \
++			   @X11_LIBS@ \
+                            ../gnulib/lib/libgnu.la
+ libgtk_vnc_1_0_la_CFLAGS = @GTK_CFLAGS@ @GNUTLS_CFLAGS@ \
+ 			   @GTHREAD_CFLAGS@ @SASL_CFLAGS@ @WARNING_CFLAGS@ \
++			   @X11_CFLAGS@ \
+ 			   -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ 			   -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \
+                            -DG_LOG_DOMAIN=\"gtk-vnc\" \
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index a0c5183..d0895d2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,6 @@
 0002-remove-WERROR_CFLAGS.patch
 0003-fix-build-with-xulrunner-1.9.1.patch
 0004-Don-t-use-PATH_MAX.patch
+0005-Drop-space-after-Wl-in-libgtk_vnc_1_0_la_LDFLAGS.patch
+0006-Add-Wl-since-no-undefined-is-a-linker-option.patch
+0007-Explicitly-link-against-X11-libs-for-XkbGetKeyboard.patch

-- 
libgtk-vnc Debian packaging



More information about the Pkg-libvirt-commits mailing list