Package: libgtk2-mozembed-perl Severity: important Tags: patch Xulrunner 1.9.1 is going to replace xulrunner 1.9 in unstable sometime soonish, so libgtk2-mozembed-perl should switch to using it.
As a matter of being future-proof, a dh_xulrunner program has been added to xulrunner-dev, that will add the proper dependency to shlibs:Depends. Please note that the package supporting this command is not yet in the archive and should reach experimental some time today. The attached patch implements the necessary changes[1], please upload to unstable as soon as possible. The package will then be dep-wait, and will get built as soon as xulrunner 1.9.1 reaches unstable, which will happen when all the changes required on other packages will be ready. Cheers, Mike 1. Please note that this patch still hardcodes the GREVersionRange, which is not really future-proof. Something similar to what exists in chmsee would be required for that. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
diff -ruN libgtk2-mozembed-perl-0.08/debian/control libgtk2-mozembed-perl-0.08.new/debian/control --- libgtk2-mozembed-perl-0.08/debian/control +++ libgtk2-mozembed-perl-0.08.new/debian/control @@ -3,7 +3,7 @@ Priority: optional Build-Depends: debhelper (>= 7), libextutils-depends-perl (>= 0.20), libextutils-pkgconfig-perl (>= 1.03), libgtk2-perl (>= 1.081), - perl (>= 5.6.0-12), xulrunner-dev, xvfb, xauth, xfonts-base, + perl (>= 5.6.0-12), xulrunner-dev (>= 1.9.1.3-2), xvfb, xauth, xfonts-base, libglib2.0-dev, libgtk2.0-dev, quilt Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org> Uploaders: Ryan Niebur <ryanrya...@gmail.com> @@ -16,6 +16,6 @@ Architecture: any Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, libextutils-depends-perl (>= 0.20), libgtk2-perl (>= 1.081), - libextutils-pkgconfig-perl (>= 1.03), xulrunner-1.9 + libextutils-pkgconfig-perl (>= 1.03) Description: Perl interface to the Mozilla embedding widget Gtk2::MozEmbed allows a Perl developer to use the Mozilla embedding widget. diff -ruN libgtk2-mozembed-perl-0.08/debian/patches/use-the-right-xul libgtk2-mozembed-perl-0.08.new/debian/patches/use-the-right-xul --- libgtk2-mozembed-perl-0.08/debian/patches/use-the-right-xul +++ libgtk2-mozembed-perl-0.08.new/debian/patches/use-the-right-xul @@ -162,8 +162,8 @@ + + /* copied from the gnome-python-extras package's patch */ + static const GREVersionRange greVersion = { -+ "1.9b", PR_TRUE, -+ "1.9.*", PR_TRUE ++ "1.9.1", PR_TRUE, ++ "1.9.2", PR_FALSE + }; + char xpcomLocation[4096]; + nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, 4096); diff -ruN libgtk2-mozembed-perl-0.08/debian/rules libgtk2-mozembed-perl-0.08.new/debian/rules --- libgtk2-mozembed-perl-0.08/debian/rules +++ libgtk2-mozembed-perl-0.08.new/debian/rules @@ -18,7 +18,7 @@ touch $@ binary-arch: install - dh $@ + dh --with xulrunner $@ binary-indep: