Package: python-gtkmozembed Version: Transition to xulrunner 1.9.1 Severity: important Tags: patch
Xulrunner 1.9.1 is going to replace xulrunner 1.9 in unstable sometime soonish, so python-gtkmozembed 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 Versions of packages python-gtkmozembed depends on: ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit ii libc6 2.9-26 GNU C Library: Shared libraries ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra ii libgcc1 1:4.4.1-4 GCC support library ii libglib2.0-0 2.22.0-1 The GLib library of C routines ii libgtk2.0-0 2.18.0-1 The GTK+ graphical user interface ii libpango1.0-0 1.26.0-1 Layout and rendering of internatio ii libstdc++6 4.4.1-4 The GNU Standard C++ Library v3 ii python 2.5.4-2 An interactive high-level object-o ii python-gtk2 2.16.0-1 Python bindings for the GTK+ widge ii python-support 1.0.3 automated rebuilding support for P ii xulrunner-1.9 1.9.0.14-1 XUL + XPCOM application runner python-gtkmozembed recommends no packages. Versions of packages python-gtkmozembed suggests: pn python-gnome2-extras-doc <none> (no description available)
diff -ruN gnome-python-extras-2.25.3/debian/control gnome-python-extras-2.25.3.new/debian/control --- gnome-python-extras-2.25.3/debian/control +++ gnome-python-extras-2.25.3.new/debian/control @@ -12,7 +12,7 @@ libgtk2.0-dev (>= 2.4), python-gnome2-dev (>= 2.10.0), libgtkhtml2-dev (>= 2.3.1), - xulrunner-dev (>= 1.9~rc1), + xulrunner-dev (>= 1.9.1.3-2), libgksu2-dev (>= 2.0.4), python-gtk2-dev, libgnomevfs2-dev, @@ -96,7 +96,6 @@ ${shlibs:Depends}, ${python:Depends}, python-gtk2, - xulrunner-1.9 (>= 1.9~rc1) Conflicts: python-gnome2-extras (<< 2.19.1-1), python-gnome2-extras-doc Replaces: python-gnome2-extras (<< 2.19.1-1), diff -ruN gnome-python-extras-2.25.3/debian/control gnome-python-extras-2.25.3.new/debian/control --- gnome-python-extras-2.25.3/debian/control.in +++ gnome-python-extras-2.25.3.new/debian/control.in @@ -12,7 +12,7 @@ libgtk2.0-dev (>= 2.4), python-gnome2-dev (>= 2.10.0), libgtkhtml2-dev (>= 2.3.1), - xulrunner-dev (>= 1.9~rc1), + xulrunner-dev (>= 1.9.1.3-2), libgksu2-dev (>= 2.0.4), python-gtk2-dev, libgnomevfs2-dev, @@ -96,7 +96,6 @@ ${shlibs:Depends}, ${python:Depends}, python-gtk2, - xulrunner-1.9 (>= 1.9~rc1) Conflicts: python-gnome2-extras (<< 2.19.1-1), python-gnome2-extras-doc Replaces: python-gnome2-extras (<< 2.19.1-1), diff -ruN gnome-python-extras-2.25.3/debian/patches/01_xul19.patch gnome-python-extras-2.25.3.new/debian/patches/01_xul19.patch --- gnome-python-extras-2.25.3/debian/patches/01_xul19.patch +++ gnome-python-extras-2.25.3.new/debian/patches/01_xul19.patch @@ -181,8 +181,8 @@ + +#ifdef XPCOM_GLUE + 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 gnome-python-extras-2.25.3/debian/rules gnome-python-extras-2.25.3.new/debian/rules --- gnome-python-extras-2.25.3/debian/rules +++ gnome-python-extras-2.25.3.new/debian/rules @@ -111,6 +111,7 @@ dh_pysupport -a dh_installdeb -a dh_shlibdeps -a + dh_xulrunner -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a