From 6bc4ef41d90923d964f58288e2a76bda7016a4a3 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 14 Oct 2006 00:47:31 +0000 Subject: [PATCH] Removed strict version dependency on libxul0d based on an assurances from Mike Hommey (bug #385566). --- debian/changelog | 7 +++++++ debian/rules | 14 +++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index f4ec4c2..d3be7f4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +videolink (0.9-2) unstable; urgency=low + + * Removed strict version dependency on libxul0d on advice of its + maintainer - closes: #385566 + + -- Ben Hutchings Wed, 6 Sep 2006 03:27:54 +0100 + videolink (0.9-1) unstable; urgency=low * New upstream version diff --git a/debian/rules b/debian/rules index 3e48256..ff70afd 100755 --- a/debian/rules +++ b/debian/rules @@ -10,13 +10,13 @@ binary-arch : build make DESTDIR=debian/videolink prefix=/usr install dh_strip dh_shlibdeps - # VideoLink relies on some "internal" APIs which we cannot trust - # Mozilla.org not to break between releases or even with security - # patches. So we add a dependendency on the exact same version - # of the library that we're building against. - if pkg-config --exists xulrunner-gtkmozembed; then \ - MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' libxul0d | sed 's/+b[0-9]*$$//') \ - && echo "mozilla:Depends=libxul0d (>= $$MOZ_VERSION), libxul0d (<< $${MOZ_VERSION}+b99)" >> debian/videolink.substvars ; \ + # VideoLink relies on some un-frozen APIs which may break + # between releases and even with backported security patches. + # The libxul packages have sonames and a shlibs file so we + # should get correct dependencies automatically, but this is + # not the case for mozilla-browser. + if dpkg-query -W libxul-dev >&/dev/null; then \ + echo "mozilla:Depends=" >> debian/videolink.substvars ; \ else \ MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' mozilla-browser | sed 's/+b[0-9]*$$//') \ && echo "mozilla:Depends=mozilla-browser (>= $$MOZ_VERSION), mozilla-browser (<< $${MOZ_VERSION}+b99)" >> debian/videolink.substvars ; \ -- 2.39.5