r26174 - /desktop/experimental/gtk+3.0/debian/rules

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Sat Jan 8 16:42:23 UTC 2011


Author: pochu
Date: Sat Jan  8 16:42:20 2011
New Revision: 26174

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=26174
Log:
fix debugging symbols stripping and mime cache generation

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

Modified: desktop/experimental/gtk+3.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/rules?rev=26174&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/rules [utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/rules [utf-8] Sat Jan  8 16:42:20 2011
@@ -62,6 +62,7 @@
 mimexml = /usr/share/mime/packages/freedesktop.org.xml
 
 DEB_CONFIGURE_EXTRA_FLAGS = \
+			--libdir=/$(LIBDIR) \
 			--enable-test-print-backend \
 			--enable-xinput
 
@@ -91,8 +92,8 @@
 DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V --add-udeb=$(UDEB_PKG) -- -c4
 DEB_DH_MAKESHLIBS_ARGS_libgail3.0-0 += -V"libgail3.0-0 (>= $(SHVER)), libgail3.0-common (>= $(SHVER))" -- -c4
 DEB_DH_FIXPERMS_ARGS_ALL += -X$(LIBDIR)/$(SHARED_PKG)
-DEB_DH_STRIP_ARGS_$(UDEB_PKG) = --dbg-package=
-
+DEB_DH_STRIP_ARGS = --dbg-package=$(if $(findstring libgail,$(cdbs_curpkg)),libgail3.0-0-dbg,$(DEBUG_PKG))
+DEB_DH_STRIP_ARGS_$(UDEB_PKG) =
 
 # macro computing the list of 'debian/<pkg>.*" files which have a
 # corresponding ".in" file; pass the list of packages in $(1)
@@ -131,7 +132,6 @@
 build-indep: $(call dh_subst_files,$(DEB_INDEP_PACKAGES))
 build-arch: $(call dh_subst_files,$(DEB_ARCH_PACKAGES))
 
-
 binary-install/$(DEV_PKG)::
 	# Install the binaries with a -3.0 suffix
 	mv debian/$(DEV_PKG)/usr/bin/gtk-builder-convert \
@@ -149,7 +149,7 @@
 	mv debian/$(BIN_PKG)/usr/share/man/man1/gtk-update-icon-cache.1 \
 	   debian/$(BIN_PKG)/usr/share/man/man1/gtk-update-icon-cache-$(APIVER).1
 
-binary/$(UDEB_PKG)::
+binary-install/$(UDEB_PKG)::
 	# generate a minimal MIME cache for the udeb
 	mkdir -p $(mimedir)/packages
 	[ -f $(mimexml) ]




More information about the pkg-gnome-commits mailing list