r14682 - in /desktop/unstable/glibmm2.4/debian: changelog rules

manphiz-guest at users.alioth.debian.org manphiz-guest at users.alioth.debian.org
Tue Feb 19 09:53:29 UTC 2008


Author: manphiz-guest
Date: Tue Feb 19 09:53:29 2008
New Revision: 14682

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14682
Log:
* Refined debian/rules to set variables SHARD_PKG and DOC_PKG by sed
  from debian/control and use variable SHVER for shlibs version, and
  refine and reformat corresponding rules accordingly.

Modified:
    desktop/unstable/glibmm2.4/debian/changelog
    desktop/unstable/glibmm2.4/debian/rules

Modified: desktop/unstable/glibmm2.4/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glibmm2.4/debian/changelog?rev=14682&op=diff
==============================================================================
--- desktop/unstable/glibmm2.4/debian/changelog (original)
+++ desktop/unstable/glibmm2.4/debian/changelog Tue Feb 19 09:53:29 2008
@@ -8,8 +8,11 @@
   * Drop -1 postfix in version dependencies as per lintian.
   * Add ${shlibs:Depends} to -dev package.
   * Update watch file version to 3.
-
- -- Deng Xiyue <manphiz-guest at users.alioth.debian.org>  Wed, 13 Feb 2008 20:42:56 +0800
+  * Refined debian/rules to set variables SHARD_PKG and DOC_PKG by sed
+    from debian/control and use variable SHVER for shlibs version, and
+    refine and reformat corresponding rules accordingly.
+
+ -- Deng Xiyue <manphiz-guest at users.alioth.debian.org>  Tue, 19 Feb 2008 17:43:53 +0800
 
 glibmm2.4 (2.14.2-4) unstable; urgency=low
 

Modified: desktop/unstable/glibmm2.4/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glibmm2.4/debian/rules?rev=14682&op=diff
==============================================================================
--- desktop/unstable/glibmm2.4/debian/rules (original)
+++ desktop/unstable/glibmm2.4/debian/rules Tue Feb 19 09:53:29 2008
@@ -10,13 +10,14 @@
 
 GNOME_MODULE := glibmm
 
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libglibmm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libglibmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.14.0
+
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-static
-
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-
-DEB_DH_MAKESHLIBS_ARGS_libglibmm-2.4-1c2a += -V"libglibmm-2.4-1c2a (>= 2.14.0)"
-
-DEB_INSTALL_EXAMPLES_libglibmm-2.4-doc += \
+DEB_DH_MAKESHLIBS_ARGS_ALL += -V"$(SHARED_PKG) (>= $(SHVER))"
+DEB_INSTALL_EXAMPLES_$(DOC_PKG) += \
 	-Xfragment -X.deps -X.libs -X.o -X.in -X.am




More information about the pkg-gnome-commits mailing list