[arch-commits] Commit in gnome-panel/trunk (PKGBUILD fix-runtime.patch)

Ionut Biru ibiru at archlinux.org
Mon Sep 27 20:09:04 UTC 2010


    Date: Monday, September 27, 2010 @ 16:09:04
  Author: ibiru
Revision: 91742

fix runtime

Added:
  gnome-panel/trunk/fix-runtime.patch
Modified:
  gnome-panel/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   12 ++++++++----
 fix-runtime.patch |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-27 20:07:01 UTC (rev 91741)
+++ PKGBUILD	2010-09-27 20:09:04 UTC (rev 91742)
@@ -4,17 +4,21 @@
 pkgbase=gnome-panel
 pkgname=('gnome-panel' 'gnome-panel-bonobo')
 pkgver=2.32.0.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.gnome.org"
-makedepends=('libwnck' 'gnome-menus' 'evolution-data-server' 'gnome-desktop' 'libgweather' 'librsvg' 'hicolor-icon-theme' 'libcanberra' 'libbonoboui' 'gnome-doc-utils' 'pkg-config' 'intltool' 'networkmanager' 'gobject-introspection')
+makedepends=('libwnck' 'gnome-menus' 'evolution-data-server' 'gnome-desktop' 'libgweather' 'librsvg' 'hicolor-icon-theme' 'libcanberra' 'libbonoboui' 'gnome-doc-utils' 'pkg-config' 'intltool' 'networkmanager' 'gobject-introspection' 'gnome-common' 'gtk-doc')
 options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.32/${pkgbase}-${pkgver}.tar.bz2)
-sha256sums=('c2311697ae42946c63c724af871b8ee529c83bc9c3d885fa10fb6834d729301c')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.32/${pkgbase}-${pkgver}.tar.bz2
+       fix-runtime.patch)
+sha256sums=('c2311697ae42946c63c724af871b8ee529c83bc9c3d885fa10fb6834d729301c'
+            '6ffc71c051e7fd3691ed06db633fab008036bf28213c795b42c8ed0c1341a2a0')
 
 build() {
   cd "${srcdir}/${pkgbase}-${pkgver}"
+  patch -Np1 -i "${srcdir}/fix-runtime.patch"
+ gnome-autogen.sh 
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-static \
       --libexecdir=/usr/lib/gnome-panel \

Added: fix-runtime.patch
===================================================================
--- fix-runtime.patch	                        (rev 0)
+++ fix-runtime.patch	2010-09-27 20:09:04 UTC (rev 91742)
@@ -0,0 +1,33 @@
+From 26023c98e4911b7114c853c329401577615f6496 Mon Sep 17 00:00:00 2001
+From: Vincent Untz <vuntz at gnome.org>
+Date: Mon, 27 Sep 2010 18:26:14 +0000
+Subject: panel: Build panel with -export-dynamic
+
+Else, we fail badly at runtime.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=630744
+---
+diff --git a/gnome-panel/Makefile.am b/gnome-panel/Makefile.am
+index 69d8c97..7ec6a90 100644
+--- a/gnome-panel/Makefile.am
++++ b/gnome-panel/Makefile.am
+@@ -136,6 +136,8 @@ gnome_panel_LDADD =		\
+ 	$(XRANDR_LIBS)									\
+ 	$(X_LIBS)
+ 
++gnome_panel_LDFLAGS = -export-dynamic
++
+ gnome_desktop_item_edit_SOURCES =	\
+ 	gnome-desktop-item-edit.c	\
+ 	panel-ditem-editor.c		\
+@@ -164,6 +166,8 @@ panel_test_applets_LDADD = 		\
+ 	$(top_builddir)/gnome-panel/libpanel-util/libpanel-util.la				\
+ 	$(PANEL_LIBS)
+ 
++panel_test_applets_LDFLAGS = -export-dynamic
++
+ gnome-panel-add: gnome-panel-add.in Makefile
+ 	$(AM_V_GEN)sed 						\
+ 		-e s!\@PYTHON\@!@PYTHON@! 			\
+--
+cgit v0.8.3.1




More information about the arch-commits mailing list