Hi, I've taken a look at this and came up with a couple of issues.
First of all, although we build modules for python2.3 and python2.4, they both link (and use) libpython2.4 indirectly via libhk_classes. The correct thing to do seems to be only to build for our main version of python (currently 2.4), otherwise we'll have to build more than one version of libhk_classes. The linking issue is because we weren't pulling in the -dev packages mentioned in dependency_libs in the .la file. The two options were to either remove the .la file or alternatively have libhk-classes-dev depend on the relevant libraries. I've taken the latter approach in this NMU patch. Can someone review this and check that my logic is sound. Thanks, Mark -- Mark Hymers <mark at hymers dot org dot uk> "Irish police are being handicapped in a search for a stolen van, because they cannot issue a description. It's a special branch vehicle, and they don't want the public to know what it looks like." The Guardian
diff -Naur hk-classes-0.8.1a/debian/changelog hk-classes-0.8.1a-new/debian/changelog --- hk-classes-0.8.1a/debian/changelog 2006-10-29 00:40:16.000000000 +0100 +++ hk-classes-0.8.1a-new/debian/changelog 2006-10-29 00:44:36.000000000 +0100 @@ -1,3 +1,13 @@ +hk-classes (0.8.1a-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Only build for python2.4 in order to avoid linking a python2.3 module + against libpython2.4. Also make sure we pull in python2.4-dev, + libmagic-dev and libfreetype6-dev so that programs which use our + .la file can actually link against us. Closes: #391844 + + -- Mark Hymers <[EMAIL PROTECTED]> Sun, 29 Oct 2006 00:43:54 +0100 + hk-classes (0.8.1a-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Naur hk-classes-0.8.1a/debian/control hk-classes-0.8.1a-new/debian/control --- hk-classes-0.8.1a/debian/control 2006-10-29 00:40:16.000000000 +0100 +++ hk-classes-0.8.1a-new/debian/control 2006-10-29 00:43:40.000000000 +0100 @@ -2,13 +2,14 @@ Section: libs Priority: optional Maintainer: Mike Schacht <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 5.0.37.2), autotools-dev, libmysqlclient15-dev, libpq-dev, libiodbc2-dev, libsqlite0-dev, libsqlite3-dev, mdbtools-dev, libxbsql-dev, pxlib-dev, libgsf-1-dev, python-all-dev (>= 2.3.5-11), python-support (>= 0.3), dpatch, libmagic-dev, libfontconfig1-dev +Build-Depends: debhelper (>= 5.0.37.2), autotools-dev, libmysqlclient15-dev, libpq-dev, libiodbc2-dev, libsqlite0-dev, libsqlite3-dev, mdbtools-dev, libxbsql-dev, pxlib-dev, libgsf-1-dev, python2.4-dev, python-support (>= 0.3), dpatch, libmagic-dev, libfontconfig1-dev Standards-Version: 3.7.2 +XS-Python-Version: 2.4 Package: libhk-classes13-dev Section: libdevel Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, python2.4-dev, libmagic-dev, libfreetype6-dev Provides: libhk-classes-dev Conflicts: libhk-classes-dev Description: development libraries and headers for libhk-classes
signature.asc
Description: Digital signature