[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609410: marked as done (unblock: pyxpcom/1:0.0~hg20100212-5)



Your message dated Sun, 09 Jan 2011 10:37:33 +0000
with message-id <1294569453.2903.12087.camel@hathi.jungle.funky-badger.org>
and subject line Re: Bug#609410: unblock: pyxpcom/1:0.0~hg20100212-5
has caused the Debian Bug report #609410,
regarding unblock: pyxpcom/1:0.0~hg20100212-5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
609410: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609410
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package pyxpcom

This release finally fixes all known install/upgrade issues. The changelog
boils down to this:

  * debian/control: Conflicts with xulrunner-1.9.1 <= 1.9.1.11-1.
    Closes: #596459.
  * debian/prerm.in, debian/postinst.in, debian/install.in: Install
    libpyloader.so in /usr/lib/python-xpcom and create a symbolic link
    in xulrunner components directory so that component registration
    (which we need to trigger by hand) always work. Closes: #582071.

This is the -4 changelog, but the -5 release "only" fixes the changes from -4
so its changelog is largely irrelevant.

debdiff attached.

unblock pyxpcom/1:0.0~hg20100212-5

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u pyxpcom-0.0~hg20100212/debian/install.in pyxpcom-0.0~hg20100212/debian/install.in
--- pyxpcom-0.0~hg20100212/debian/install.in
+++ pyxpcom-0.0~hg20100212/debian/install.in
@@ -1,5 +1,5 @@
 builddir/dist/bin/libpyxpcom.so ##XREDIR##
-builddir/dist/bin/components/libpyloader.so ##XREDIR##/components
+builddir/dist/bin/components/libpyloader.so usr/lib/python-xpcom
 builddir/dist/bin/components/pyabout.py ##XREDIR##/components
 builddir/dist/bin/python/* usr/lib/##PYVER##/site-packages
 builddir/dist/include/PyXPCOM.h ##INCDIR##
diff -u pyxpcom-0.0~hg20100212/debian/changelog pyxpcom-0.0~hg20100212/debian/changelog
--- pyxpcom-0.0~hg20100212/debian/changelog
+++ pyxpcom-0.0~hg20100212/debian/changelog
@@ -1,3 +1,21 @@
+pyxpcom (1:0.0~hg20100212-5) unstable; urgency=low
+
+  * debian/postinst.in: Fix symbolic link destination, and fix the way
+    it is created.
+
+ -- Mike Hommey <glandium@debian.org>  Sat, 08 Jan 2011 11:04:50 +0100
+
+pyxpcom (1:0.0~hg20100212-4) unstable; urgency=low
+
+  * debian/control: Conflicts with xulrunner-1.9.1 <= 1.9.1.11-1.
+    Closes: #596459.
+  * debian/prerm.in, debian/postinst.in, debian/install.in: Install
+    libpyloader.so in /usr/lib/python-xpcom and create a symbolic link
+    in xulrunner components directory so that component registration
+    (which we need to trigger by hand) always work. Closes: #582071.
+
+ -- Mike Hommey <glandium@debian.org>  Fri, 07 Jan 2011 14:40:06 +0100
+
 pyxpcom (1:0.0~hg20100212-3) unstable; urgency=low
 
   * debian/control: Replace Pre-Depends with plain dependency for xulrunner.
reverted:
--- pyxpcom-0.0~hg20100212/debian/postinst
+++ pyxpcom-0.0~hg20100212.orig/debian/postinst
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# xulrunner trigger needs that to happen before running
-if [ "$1" = "configure" ]; then
-	update-python-modules -p
-fi
-
-#DEBHELPER#
diff -u pyxpcom-0.0~hg20100212/debian/control pyxpcom-0.0~hg20100212/debian/control
--- pyxpcom-0.0~hg20100212/debian/control
+++ pyxpcom-0.0~hg20100212/debian/control
@@ -21,6 +21,7 @@
          ${python:Depends},
          ${xulrunner:Depends}
 Breaks: epiphany-gecko (<< 2.28)
+Conflicts: xulrunner-1.9.1 (<= 1.9.1.11-1)
 XB-Python-Version: ${python:Versions}
 Description: XPCOM bindings for Python
  PyXPCOM allows for communication between Python and XPCOM, such that a
diff -u pyxpcom-0.0~hg20100212/debian/prerm.in pyxpcom-0.0~hg20100212/debian/prerm.in
--- pyxpcom-0.0~hg20100212/debian/prerm.in
+++ pyxpcom-0.0~hg20100212/debian/prerm.in
@@ -3,7 +3,8 @@
 set -e
 
 if [ "$1" = "remove" ]; then
-    rm -f ##XREDIR##/components/pyabout.pyo
+    rm -f ##XREDIR##/components/pyabout.pyo \
+          ##XREDIR##/components/libpyloader.so
 fi
 
 #DEBHELPER#
only in patch2:
unchanged:
--- pyxpcom-0.0~hg20100212.orig/debian/postinst.in
+++ pyxpcom-0.0~hg20100212/debian/postinst.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    ln -snf ../../python-xpcom/libpyloader.so ##XREDIR##/components/libpyloader.so
+    dpkg-trigger ##XREDIR##/components
+fi
+
+#DEBHELPER#

--- End Message ---
--- Begin Message ---
On Sun, 2011-01-09 at 10:26 +0100, Mike Hommey wrote:
> Please unblock package pyxpcom
> 
> This release finally fixes all known install/upgrade issues. The changelog
> boils down to this:
> 
>   * debian/control: Conflicts with xulrunner-1.9.1 <= 1.9.1.11-1.
>     Closes: #596459.
>   * debian/prerm.in, debian/postinst.in, debian/install.in: Install
>     libpyloader.so in /usr/lib/python-xpcom and create a symbolic link
>     in xulrunner components directory so that component registration
>     (which we need to trigger by hand) always work. Closes: #582071.
> 
> This is the -4 changelog, but the -5 release "only" fixes the changes from -4
> so its changelog is largely irrelevant.

Updated my -4 unblock hint for -5; thanks.

Regards,

Adam



--- End Message ---

Reply to: