r14684 - in /desktop/unstable/gtkmm2.4/debian: changelog rules
manphiz-guest at users.alioth.debian.org
manphiz-guest at users.alioth.debian.org
Tue Feb 19 10:27:34 UTC 2008
Author: manphiz-guest
Date: Tue Feb 19 10:27:33 2008
New Revision: 14684
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=14684
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/gtkmm2.4/debian/changelog
desktop/unstable/gtkmm2.4/debian/rules
Modified: desktop/unstable/gtkmm2.4/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtkmm2.4/debian/changelog?rev=14684&op=diff
==============================================================================
--- desktop/unstable/gtkmm2.4/debian/changelog (original)
+++ desktop/unstable/gtkmm2.4/debian/changelog Tue Feb 19 10:27:33 2008
@@ -1,3 +1,11 @@
+gtkmm2.4 (1:2.12.4-2) UNRELEASED; urgency=low
+
+ * 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 18:24:49 +0800
+
gtkmm2.4 (1:2.12.4-1) unstable; urgency=low
* New upstream release.
Modified: desktop/unstable/gtkmm2.4/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtkmm2.4/debian/rules?rev=14684&op=diff
==============================================================================
--- desktop/unstable/gtkmm2.4/debian/rules (original)
+++ desktop/unstable/gtkmm2.4/debian/rules Tue Feb 19 10:27:33 2008
@@ -10,16 +10,18 @@
GNOME_MODULE := gtkmm
+SHARED_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgtkmm-[0-9\.]+-[0-9ca]+)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+DOC_PKG := $(shell sed -rn 's/Package:[[:space:]]*(libgtkmm-[0-9\.]+-doc)[[:space:]]*$$/\1/p' debian/control | head -n 1)
+SHVER := 2.12.0
+
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+
DEB_CONFIGURE_EXTRA_FLAGS += \
--enable-static \
--disable-examples \
--disable-demos
-LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
-
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-
-DEB_DH_MAKESHLIBS_ARGS_libgtkmm-2.4-1c2a += -V"libgtkmm-2.4-1c2a (>= 2.12.0)"
-
-DEB_INSTALL_EXAMPLES_libgtkmm-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