r47854 - in /packages/unstable/libcanberra/debian: changelog rules

bigon at users.alioth.debian.org bigon at users.alioth.debian.org
Tue Apr 5 16:24:57 UTC 2016


Author: bigon
Date: Tue Apr  5 16:24:56 2016
New Revision: 47854

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=47854
Log:
debian/rules: Pass --as-needed to the linked and to dh_autoreconf to
reduce the number of runtime dependencies and add --dbgsym-migration

Modified:
    packages/unstable/libcanberra/debian/changelog
    packages/unstable/libcanberra/debian/rules

Modified: packages/unstable/libcanberra/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libcanberra/debian/changelog?rev=47854&op=diff
==============================================================================
--- packages/unstable/libcanberra/debian/changelog	[utf-8] (original)
+++ packages/unstable/libcanberra/debian/changelog	[utf-8] Tue Apr  5 16:24:56 2016
@@ -12,8 +12,10 @@
   * debian/control, debian/compat: Bump debhelper compatibility to 9
   * debian/control: Bump Standards-Version to 3.9.7 (no furter changes)
   * Drop -dbg package and rely on automatically built -dbgsym ones
-
- -- Laurent Bigonville <bigon at debian.org>  Tue, 05 Apr 2016 16:22:00 +0200
+  * debian/rules: Pass --as-needed to the linked and to dh_autoreconf to
+    reduce the number of runtime dependencies
+
+ -- Laurent Bigonville <bigon at debian.org>  Tue, 05 Apr 2016 18:06:16 +0200
 
 libcanberra (0.30-2.1) unstable; urgency=medium
 

Modified: packages/unstable/libcanberra/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/libcanberra/debian/rules?rev=47854&op=diff
==============================================================================
--- packages/unstable/libcanberra/debian/rules	[utf-8] (original)
+++ packages/unstable/libcanberra/debian/rules	[utf-8] Tue Apr  5 16:24:56 2016
@@ -5,6 +5,13 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/cdbs/1/rules/autoreconf.mk
+
+DEB_DH_AUTORECONF_ARGS = --as-needed
+
+# Ensure at build time that the library has no dependencies on undefined
+# symbols, and speed up loading.
+DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+include /usr/share/dpkg/default.mk
 
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
@@ -40,6 +47,14 @@
 DEB_DH_MAKESHLIBS_ARGS_libcanberra-gtk0 += -- -c4
 DEB_DH_MAKESHLIBS_ARGS_libcanberra-gtk3-0 += -- -c4
 
+DEB_DH_STRIP_ARGS_libcanberra0 = --dbgsym-migration='libcanberra0-dbg (<< 0.30-3~)'
+DEB_DH_STRIP_ARGS_libcanberra-pulse = --dbgsym-migration='libcanberra-pulse-dbg (<< 0.30-3~)'
+DEB_DH_STRIP_ARGS_libcanberra-gstreamer = --dbgsym-migration='libcanberra-gstreamer-dbg (<< 0.30-3~)'
+DEB_DH_STRIP_ARGS_libcanberra-gtk0 = --dbgsym-migration='libcanberra-gtk0-dbg (<< 0.30-3~)'
+DEB_DH_STRIP_ARGS_libcanberra-gtk-module = --dbgsym-migration='libcanberra-gtk-module-dbg (<< 0.30-3~)'
+DEB_DH_STRIP_ARGS_libcanberra-gtk3-0 = --dbgsym-migration='libcanberra-gtk3-0-dbg (<< 0.30-3~)'
+DEB_DH_STRIP_ARGS_libcanberra-gtk3-module = --dbgsym-migration='libcanberra-gtk3-module-dbg (<< 0.30-3~)'
+
 install/libcanberra-gtk3-module::
 	cp -a src/canberra-gtk-module.desktop \
 	      debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk3-module.desktop




More information about the pkg-gnome-commits mailing list