r26181 - in /desktop/experimental/gtk+3.0/debian: changelog rules

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Sun Jan 9 21:57:08 UTC 2011


Author: pochu
Date: Sun Jan  9 21:57:08 2011
New Revision: 26181

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=26181
Log:
Pass -O1 to the linker so dynamic loading is faster.

Modified:
    desktop/experimental/gtk+3.0/debian/changelog
    desktop/experimental/gtk+3.0/debian/rules

Modified: desktop/experimental/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/changelog?rev=26181&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/changelog [utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/changelog [utf-8] Sun Jan  9 21:57:08 2011
@@ -43,6 +43,7 @@
   * debian/rules:
     - Remove hack to build on PowerPC64. That port is death, and if it's
       ever back, hopefully we won't need to workaround toolchain issues.
+    - Pass -O1 to the linker so dynamic loading is faster.
 
  -- Emilio Pozuelo Monfort <pochu at debian.org>  Sun, 02 Jan 2011 20:08:53 +0000
 

Modified: desktop/experimental/gtk+3.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/rules?rev=26181&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/rules [utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/rules [utf-8] Sun Jan  9 21:57:08 2011
@@ -15,8 +15,12 @@
 
 GNOME_MODULE = gtk+
 
-# currently fails in the cups gtkprint backend
+# Ensure the build aborts when there are still references to undefined symbols
+# currently fails at least in the im-multipress im module
 #LDFLAGS += -Wl,-z,defs
+
+# Make the linker work a bit harder so dynamic loading can be done faster
+LDFLAGS += -Wl,-O1
 
 DEBVERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
 VERSION := $(shell echo $(DEBVERSION) | sed -e 's/-[^-]*$$//')
@@ -153,5 +157,6 @@
 	dh_install -p$(UDEB_PKG) $(mimedir)/mime.cache usr/share/mime
 
 list-missing:
-	perl -w debian/dh_listmissing.pl $(foreach f,$(FLAVORS),$(subst $(CURDIR)/,,$(installbasedir))/$(f)) 2>&1 | \
+	# FIXME: remove this when CDBS' list-missing works with multiple flavors
+	perl -w debian/dh_listmissing.pl $(foreach f,$(DEB_MAKE_FLAVORS),debian/install/$(f)) 2>&1 | \
 	    egrep -v '(\.la|$(LIBDIR)/gtk-3.0/$(GTK_BINARY_VERSION)/[^/]+/[^/]+\.a) has been installed' >&2




More information about the pkg-gnome-commits mailing list