rev 7704 - branches/kde4/packages/kdelibs/debian
Sune Vuorela
pusling-guest at alioth.debian.org
Sun Oct 28 20:43:19 UTC 2007
Author: pusling-guest
Date: 2007-10-28 20:43:19 +0000 (Sun, 28 Oct 2007)
New Revision: 7704
Modified:
branches/kde4/packages/kdelibs/debian/changelog
branches/kde4/packages/kdelibs/debian/rules
Log:
do shlibs hacking to add runtime deps to shlibs stuff
and to keep strict interdependencies for internal packages - and to not add runtime deps to internal packages
Modified: branches/kde4/packages/kdelibs/debian/changelog
===================================================================
--- branches/kde4/packages/kdelibs/debian/changelog 2007-10-28 20:14:32 UTC (rev 7703)
+++ branches/kde4/packages/kdelibs/debian/changelog 2007-10-28 20:43:19 UTC (rev 7704)
@@ -12,6 +12,10 @@
have a circular dependency when building the packages.
* Update *.install files.
+ +++ Changes by Sune Vuorela:
+
+ * Leet shlibs hacking
+
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Thu, 25 Oct 2007 14:47:24 +0200
kde4libs (4:3.94.0-2) experimental; urgency=low
Modified: branches/kde4/packages/kdelibs/debian/rules
===================================================================
--- branches/kde4/packages/kdelibs/debian/rules 2007-10-28 20:14:32 UTC (rev 7703)
+++ branches/kde4/packages/kdelibs/debian/rules 2007-10-28 20:43:19 UTC (rev 7704)
@@ -1,4 +1,16 @@
#!/usr/bin/make -f
+RUNTIME_DEPS := "oxygen-icons, foo-runtime, bar-generic-data"
+CURRENTVERSION := $(shell head -1 debian/changelog | sed 's/[^(]*(\([^)]*\)).*/\1/')
+DEB_DH_MAKESHLIBS_ARGS_kdelibs5 := -V'kdelibs4c2a (>= $(CURRENTVERSION))' #In general we shouldn't bump on each upload, but in the beta cycles it is probably good. Else on upstream versions it is probably a good thing.
+
+
+
include debian/cdbs/kde.mk
+# Generate 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), $(RUNTIME_DEPS)/' debian/$(cdbs_curpkg)/DEBIAN/shlibs >> debian/shlibs.local ;\
+ fi
+
More information about the pkg-kde-commits
mailing list