Package: capisuite
Version: 0.4.5-8
Severity: normal
Tags: patch

This is just to inform you that a patch has been applied for python 2.6 
compatibility for ubuntu. The patch:
- tries to get the python from the correct directories
- contains a fix that disables the dependency on LOCALMODLIBS (removes 
  zlib1g-dev dependency)

http://launchpad.net/bugs/336344
http://launchpadlibrarian.net/23325206/capisuite_0.4.5-8ubuntu2_without_zlib.debdiff

Changelog:
 * Python 2.6 transition.
 * Added debian/patches/configure_get-correct-python-dirs.diff
 * Added debian/patches/configure_build-without-LOCALMODLIBS.diff

The attached stripped_patch.patch is a stripped patch file of the .debdiff file 
named 
above (without debian/changelog).

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- capisuite-0.4.5.orig/debian/patches/configure_get-correct-python-dirs.diff
+++ capisuite-0.4.5/debian/patches/configure_get-correct-python-dirs.diff
@@ -0,0 +1,13 @@
+--- configure~	2004-11-28 14:36:14.000000000 +0100
++++ configure	2009-03-02 22:44:11.000000000 +0100
+@@ -4896,8 +4896,8 @@
+ python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
+ python_libdir=`${PYTHON} -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,1)"`
+ python_configdir="${python_libdir}/config"
+-python_moduledir="${python_libdir}/site-packages"
+-python_moduleexecdir="${python_libdir}/site-packages"
++python_moduledir=$pythondir
++python_moduleexecdir=$pyexecdir
+ python_includespec="-I${python_prefix}/include/python${python_version}"
+ python_linkforshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LINKFORSHARED')"`
+ if test "$python_prefix" != "$python_execprefix"; then
--- capisuite-0.4.5.orig/debian/patches/configure_build-without-LOCALMODLIBS.diff
+++ capisuite-0.4.5/debian/patches/configure_build-without-LOCALMODLIBS.diff
@@ -0,0 +1,16 @@
+--- configure~	2009-03-02 23:51:46.000000000 +0100
++++ configure	2009-03-02 23:53:39.000000000 +0100
+@@ -4928,11 +4928,11 @@
+ _python_libs=`grep '^LIBS=' $python_configdir/Makefile | sed 's/^.*=//'`
+ _python_libc=`grep '^LIBC=' $python_configdir/Makefile | sed 's/^.*=//'`
+ _python_libm=`grep '^LIBM=' $python_configdir/Makefile | sed 's/^.*=//'`
+-_python_liblocalmod=`grep '^LOCALMODLIBS=' $python_configdir/Makefile | sed 's/^.*=//'`
++#_python_liblocalmod=`grep '^LOCALMODLIBS=' $python_configdir/Makefile | sed 's/^.*=//'`
+ _python_libbasemod=`grep '^BASEMODLIBS=' $python_configdir/Makefile | sed 's/^.*=//'`
+ 
+ pgac_tab="	" # tab character
+-python_libspec=`echo X"$_python_libs $_python_libc $_python_libm -lpython$python_version $_python_liblocalmod $_python_libbasemod" | sed -e 's/^X//' -e "s/[ $pgac_tab][ $pgac_tab]*/ /g"`
++python_libspec=`echo X"$_python_libs $_python_libc $_python_libm -lpython$python_version $_python_libbasemod" | sed -e 's/^X//' -e "s/[ $pgac_tab][ $pgac_tab]*/ /g"`
+ LIBS="$LIBS $python_libspec"
+ LDFLAGS="$LDFLAGS -L$python_configdir $python_linkforshared"
+ echo "$as_me:$LINENO: result: ${python_libspec}" >&5

Reply via email to