Package: libpth20 Version: 2.0.7-16 Severity: wishlist Tags: patch User: [email protected] Usertags: multiarch
Here's a patch adding multiarch support to libpth20, thus making it co-installable on multiple architectures. Note that this involves a bump in the debhelper compat level (from 7 to 9). I've corrected the one obvious incompatibility issue, but you may want to review the debhelper manpage, in case I missed something. Also, while I checked the resulting packages with lintian and debdiff, I did not actually install and test them. I figured you would do a much more thorough job than I would anyway. :) -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.2.0-4-amd64 (SMP w/3 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libpth20 depends on: ii libc6 2.13-38 libpth20 recommends no packages. libpth20 suggests no packages. -- no debconf information
diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index 4cd8d65..4e71cdc 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,15 @@ Source: pth Section: devel Priority: optional Maintainer: NIIBE Yutaka <[email protected]> -Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), autotools-dev +Build-Depends: debhelper (>= 9), quilt (>= 0.46-7~), autotools-dev Standards-Version: 3.8.4 Homepage: http://www.gnu.org/software/pth/ Package: libpth20 Section: libs Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: The GNU Portable Threads Pth is a very portable POSIX/ANSI-C based library for Unix platforms which diff --git a/debian/libpth-dev.install b/debian/libpth-dev.install index 1dc671f..bfe830f 100644 --- a/debian/libpth-dev.install +++ b/debian/libpth-dev.install @@ -1,7 +1,7 @@ /usr/bin /usr/include -/usr/lib/*.a -/usr/lib/*.so -/usr/lib/*.la +/usr/lib/*/*.a +/usr/lib/*/*.so +/usr/lib/*/*.la /usr/share/aclocal /usr/share/man diff --git a/debian/libpth20.install b/debian/libpth20.install index 49cc562..a451edd 100644 --- a/debian/libpth20.install +++ b/debian/libpth20.install @@ -1 +1 @@ -/usr/lib/*.so.* +/usr/lib/*/*.so.* diff --git a/debian/rules b/debian/rules index 5de79fb..091cd21 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ #export DH_VERBOSE=1 %: - dh --with quilt $@ + dh $@ --with quilt override_dh_auto_clean: dh_auto_clean

