rev 7347 - trunk/packages/qt4-x11/debian

Sune Vuorela pusling-guest at alioth.debian.org
Sat Oct 6 16:42:17 UTC 2007


Author: pusling-guest
Date: 2007-10-06 16:42:17 +0000 (Sat, 06 Oct 2007)
New Revision: 7347

Modified:
   trunk/packages/qt4-x11/debian/changelog
   trunk/packages/qt4-x11/debian/rules
Log:
generate a shlibs.local file on build


Modified: trunk/packages/qt4-x11/debian/changelog
===================================================================
--- trunk/packages/qt4-x11/debian/changelog	2007-10-06 16:10:34 UTC (rev 7346)
+++ trunk/packages/qt4-x11/debian/changelog	2007-10-06 16:42:17 UTC (rev 7347)
@@ -25,6 +25,10 @@
     * Introduce QTVERSION.
   * Fix qt4-config menu section. (Closes: 444896)
 
+  [Sune Vuorela]
+  * Have strict interdependencies between packages with a shlibs.local file
+    (Closing: #438746)
+
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 06 Oct 2007 07:00:54 +0200
 
 qt4-x11 (4.3.1-2) unstable; urgency=low

Modified: trunk/packages/qt4-x11/debian/rules
===================================================================
--- trunk/packages/qt4-x11/debian/rules	2007-10-06 16:10:34 UTC (rev 7346)
+++ trunk/packages/qt4-x11/debian/rules	2007-10-06 16:42:17 UTC (rev 7347)
@@ -28,6 +28,8 @@
 
 DEB_INSTALL_CHANGELOGS_ALL := changes-$(QTVERSION)
 
+CURRENTVERSION := $(shell head -1 debian/changelog  | sed 's/[^(]*(\([^)]*\)).*/\1/')
+
 DEB_INSTALL_DOCS_ALL := GPL_EXCEPTION_ADDENDUM.TXT
 
 ifeq ($(DEB_HOST_ARCH),arm)
@@ -125,6 +127,8 @@
 	                -o -name Makefile.Debug -print0 \
 	                -o -name Makefile.Release -print0 \
 	                | xargs -0r rm -f
+	#we generate this on build:
+	rm -f debian/shlibs.local
 
 PKGCONFIGDIR := $(DEB_DESTDIR)/usr/lib/pkgconfig
 common-install-arch::
@@ -178,3 +182,10 @@
 	    install -p -D -m644 debian/$(cdbs_curpkg).lintian \
 	    debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
         fi
+
+#generating shlibs local files
+$(patsubst %,binary-fixup/%,$(DEB_ALL_PACKAGES)) :: binary-fixup/%: binary-strip/%
+	if test -e debian/$(cdbs_curpkg)/DEBIAN/shlibs ; then \
+		sed 's/>=[^)]*/= $(CURRENTVERSION)/' debian/$(cdbs_curpkg)/DEBIAN/shlibs >> debian/shlibs.local ;\
+	fi
+




More information about the pkg-kde-commits mailing list