-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

reopen 474056
tags 474056 + patch
thanks

This is not the same bug as 473946, although it is related - that bug is
a build-time issue, and this one is a runtime issue. gramps 3.0.0-3
still doesn't depend on python2.5 (the Python-Version header doesn't ensure
that dependency in ${python:Depends}, although I can see why you'd expect
that it should!)

The patch that follows forces the Python version to be exactly 2.5 (to
avoid accidentally building for Python 2.6 when that hits the archive,
which would cause the broken dependencies to return), and depends on
python2.5 at runtime.

When Python 2.5 eventually becomes the Debian default, you can replace
Python-Version: 2.5 with >= 2.5 in debian/control, Depend and
Build-Depend on python (>= 2.5), and use PYTHON=python (or omit it, if
the configure script would automatically use /usr/bin/python) in
debian/rules. To avoid blocking transitions, these changes should be made
before Python 2.6 becomes the Debian default (hell freezes over, pigs fly,
etc.).

Regards,
    Simon

diff -u gramps-3.0.0/debian/control gramps-3.0.0/debian/control
- --- gramps-3.0.0/debian/control
+++ gramps-3.0.0/debian/control
@@ -6,11 +6,11 @@
 Build-Depends:  debhelper (>= 5.0.51~)
 Standards-Version: 3.7.3
 Homepage: http://www.gramps-project.org/
- -XS-Python-Version: >= 2.5
+XS-Python-Version: 2.5
 
 Package: gramps
 Architecture: all
- -Depends: python-minimal (>= 2.4.4-6), ${python:Depends}, librsvg2-common, 
python-gnome2, python-glade2, scrollkeeper, ${misc:Depends}
+Depends: python2.5, ${python:Depends}, librsvg2-common, python-gnome2, 
python-glade2, scrollkeeper, ${misc:Depends}
 Replaces: gramps-manual, gramps-extending-doc
 Conflicts: gramps-manual, gramps-extending-doc, gramps-common, python-gtk-1.2
 Recommends: xdg-utils, gtkspell, graphviz, ttf-freefont, python-reportlab, 
python-gnome2-extras, python-gnome2-desktop
diff -u gramps-3.0.0/debian/rules gramps-3.0.0/debian/rules
- --- gramps-3.0.0/debian/rules
+++ gramps-3.0.0/debian/rules
@@ -5,7 +5,7 @@
        dh_testdir
 
        #./autogen.sh --prefix=/usr --mandir=\$${prefix}/share/man 
--sysconfdir=/etc
- -     ./configure --enable-packager-mode --prefix=/usr 
--mandir=\$${prefix}/share/man --sysconfdir=/etc
+       PYTHON=python2.5 ./configure --enable-packager-mode --prefix=/usr 
--mandir=\$${prefix}/share/man --sysconfdir=/etc
        # ./configure --prefix=`pwd`/debian/tmp/usr 
--mandir=\$${prefix}/share/man
        $(MAKE)
        # $(MAKE) html
-----BEGIN PGP SIGNATURE-----

iD8DBQFH9K7fWSc8zVUw7HYRAi9hAJ4uB/npT87nINDWTUIE2KAOVYqoAACg3p6O
fLsDvyR1OyW+W+V5joeqytw=
=TbTP
-----END PGP SIGNATURE-----



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

Reply via email to