Mike Hommey writes:
> a new release. Feel free to NMU to relax the dependencies (removing the
> superior limit should be enough and safe)

done, patch attached.

diff -u xulrunner-1.8.0.5/debian/control xulrunner-1.8.0.5/debian/control
--- xulrunner-1.8.0.5/debian/control
+++ xulrunner-1.8.0.5/debian/control
@@ -56,7 +56,7 @@
 Package: libnspr4-dev
 Section: libdevel
 Architecture: all
-Depends: ${misc:Depends}, libnspr4-0d (>= ${source:Version}), libnspr4-0d (<= 
${source:Version}.1~)
+Depends: ${misc:Depends}, libnspr4-0d (>= ${base:Version}), libnspr4-0d (<= 
${source:Version}.1~)
 Conflicts: libnspr4, libnspr-dev, nvu-dev
 Description: Development files for the NetScape Portable Runtime library
  This library provides platform independent non-GUI operating system
@@ -106,7 +106,7 @@
 Package: libmozjs-dev
 Section: libdevel
 Architecture: all
-Depends: ${misc:Depends}, libmozjs0d (>= ${source:Version}), libmozjs0d (<< 
${source:Version}.1~), libnspr4-dev (= ${source:Version})
+Depends: ${misc:Depends}, libmozjs0d (>= ${base:Version}), libmozjs0d (<< 
${source:Version}.1~), libnspr4-dev (= ${source:Version})
 Conflicts: mozilla-browser
 Description: Development files for the Mozilla SpiderMonkey JavaScript library
  This library provides the embeddable JavaScript/ECMAScript engine from
@@ -174,7 +174,7 @@
 Package: libxul0d
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libxul-common (= 
${source:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libxul-common (>= ${base:Version})
 Replaces: xulrunner (<< 1.8.0.1-9)
 Description: Gecko engine library
  This library provides an API for XUL applications and Gecko embedders.
@@ -211,7 +211,7 @@
 Package: libxul-dev
 Section: libdevel
 Architecture: all
-Depends: ${misc:Depends}, libxul0d (>= ${source:Version}), libxul0d (<< 
${source:Version}.1~), libnss3-dev (=${source:Version}), libnspr4-dev (= 
${source:Version}), libmozjs-dev (= ${source:Version}), xulrunner
+Depends: ${misc:Depends}, libxul0d (>= ${base:Version}), libxul0d (<< 
${source:Version}.1~), libnss3-dev (=${source:Version}), libnspr4-dev (= 
${source:Version}), libmozjs-dev (= ${source:Version}), xulrunner
 Conflicts: mozilla-browser
 Description: Development files for the Gecko engine library
  This library provides an  API for XUL applications and Gecko embedders.
@@ -287,7 +287,7 @@
 Package: libnss3-dev
 Section: libdevel
 Architecture: all
-Depends: ${misc:Depends}, libnss3-0d (>= ${source:Version}), libnss3-0d (<< 
${source:Version}.1~), libnspr4-dev (= ${source:Version})
+Depends: ${misc:Depends}, libnss3-0d (>= ${base:Version}), libnss3-0d (<< 
${source:Version}.1~), libnspr4-dev (= ${source:Version})
 Conflicts: libnss3
 Description: Development files for the Network Security Service libraries
  This is a set of libraries designed to support cross-platform development
diff -u xulrunner-1.8.0.5/debian/rules xulrunner-1.8.0.5/debian/rules
--- xulrunner-1.8.0.5/debian/rules
+++ xulrunner-1.8.0.5/debian/rules
@@ -25,6 +25,8 @@
 
 CFLAGS = -Wall -pipe
 
+dhcontrol_args = -- '-Vbase:Version=1.8.0.5'
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        OPTCFLAGS = -O0
 else
@@ -158,7 +160,7 @@
        dh_compress -i
        dh_fixperms -i
        dh_installdeb -i
-       dh_gencontrol -i
+       dh_gencontrol -i $(dhcontrol_args)
        dh_md5sums -i
        dh_builddeb -i
 
@@ -191,7 +193,7 @@
        sed 's/$$/ (>= 1.8.0.1-12)/' debian/libxul0d/DEBIAN/shlibs > 
debian/python-xpcom.shlibs.local
        dh_shlibdeps -ppython-xpcom -- -Ldebian/python-xpcom.shlibs.local
        dh_shlibdeps -a -Nxulrunner -Npython-xpcom
-       dh_gencontrol -a
+       dh_gencontrol -a $(dhcontrol_args)
        dh_md5sums -a
        dh_builddeb -a
 
diff -u xulrunner-1.8.0.5/debian/changelog xulrunner-1.8.0.5/debian/changelog
--- xulrunner-1.8.0.5/debian/changelog
+++ xulrunner-1.8.0.5/debian/changelog
@@ -1,3 +1,10 @@
+xulrunner (1.8.0.5-4.1) unstable; urgency=medium
+
+  * NMU
+  * Relax dependencies of the -dev packages on the libraries. Closes: #385793.
+
+ -- Matthias Klose <[EMAIL PROTECTED]>  Sun,  3 Sep 2006 10:41:10 +0200
+
 xulrunner (1.8.0.5-4) unstable; urgency=low
 
   * debian/patches/*: Moved around after some triage.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to