Package: oopango Severity: serious Tags: patch The package fails to build from source with the lua5.1.pc shipped in lua5.1 version 5.1.4-10. This patch fixes that issue, makes the library multi-arch compliant and removes the .la file from the -dev package.
diff -Nru oopango-1.0/debian/changelog oopango-1.0/debian/changelog --- oopango-1.0/debian/changelog 2011-05-09 14:23:09.000000000 +0200 +++ oopango-1.0/debian/changelog 2011-07-30 19:11:48.000000000 +0200 @@ -1,3 +1,14 @@ +oopango (1.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Multi-Arch support + * lua5.1/oopango.so symlink to liboocairo.so.0.0.0 and not liboopango.so + so that the -dev package is not required to run 'require "oopango"' + from the lua interpreter + * kill .la file (Closes: #633243) + + -- Enrico Tassi <gareuselesi...@debian.org> Sat, 30 Jul 2011 19:11:03 +0200 + oopango (1.0-1) unstable; urgency=low * Initial release (Closes: #595037) diff -Nru oopango-1.0/debian/control oopango-1.0/debian/control --- oopango-1.0/debian/control 2011-05-09 14:37:17.000000000 +0200 +++ oopango-1.0/debian/control 2011-07-30 18:48:15.000000000 +0200 @@ -12,6 +12,8 @@ Package: liblua5.1-oopango0 Architecture: any +Multi-Arch: same +Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Description: provides Lua with full access to the Pango text rendering API Provides Lua with full access to the Pango text rendering API. It can be @@ -20,6 +22,7 @@ Package: liblua5.1-oopango-dev Architecture: any +Multi-Arch: same Section: libdevel Depends: ${misc:Depends}, liblua5.1-oopango0 (= ${binary:Version}) Description: Pango API for Lua - development files diff -Nru oopango-1.0/debian/liblua5.1-oopango0.install oopango-1.0/debian/liblua5.1-oopango0.install --- oopango-1.0/debian/liblua5.1-oopango0.install 2011-05-09 14:34:28.000000000 +0200 +++ oopango-1.0/debian/liblua5.1-oopango0.install 2011-07-30 18:47:39.000000000 +0200 @@ -1,3 +1,3 @@ -usr/lib/liboopango.so.0.0.0 -usr/lib/liboopango.so.0 -usr/lib/lua +usr/lib/*/liboopango.so.0.0.0 +usr/lib/*/liboopango.so.0 +usr/lib/*/lua diff -Nru oopango-1.0/debian/liblua5.1-oopango-dev.install oopango-1.0/debian/liblua5.1-oopango-dev.install --- oopango-1.0/debian/liblua5.1-oopango-dev.install 2011-05-09 14:27:10.000000000 +0200 +++ oopango-1.0/debian/liblua5.1-oopango-dev.install 2011-07-30 18:47:27.000000000 +0200 @@ -1,4 +1,3 @@ usr/include usr/lib/pkgconfig -usr/lib/liboopango.so -usr/lib/liboopango.la \ No newline at end of file +usr/lib/*/liboopango.so diff -Nru oopango-1.0/debian/patches/debian-changes-1.0-1.1 oopango-1.0/debian/patches/debian-changes-1.0-1.1 --- oopango-1.0/debian/patches/debian-changes-1.0-1.1 1970-01-01 01:00:00.000000000 +0100 +++ oopango-1.0/debian/patches/debian-changes-1.0-1.1 2011-07-30 19:11:52.000000000 +0200 @@ -0,0 +1,31 @@ +Description: Upstream changes introduced in version 1.0-1.1 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + oopango (1.0-1.1) unstable; urgency=low + . + * Non-maintainer upload. + * Multi-Arch support + * lua5.1/oopango.so symlink to liboocairo.so.0.0.0 and not liboopango.so + so that the -dev package is not required to run 'require "oopango"' + from the lua interpreter + * kill .la file (Closes: #633243) + . + The person named in the Author field signed this changelog entry. +Author: Enrico Tassi <gareuselesi...@debian.org> +Bug-Debian: http://bugs.debian.org/633243 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + diff -Nru oopango-1.0/debian/patches/series oopango-1.0/debian/patches/series --- oopango-1.0/debian/patches/series 2011-05-09 14:30:49.000000000 +0200 +++ oopango-1.0/debian/patches/series 2011-07-30 18:42:32.000000000 +0200 @@ -1 +1,2 @@ debian-changes-1.0-1 +debian-changes-1.0-1.1 diff -Nru oopango-1.0/debian/rules oopango-1.0/debian/rules --- oopango-1.0/debian/rules 2010-11-04 11:32:54.000000000 +0100 +++ oopango-1.0/debian/rules 2011-07-30 19:01:52.000000000 +0200 @@ -15,3 +15,7 @@ override_dh_auto_configure: autoreconf --install dh_auto_configure + +override_dh_install: + cp -a debian/tmp/usr/lib/*.so* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ + dh_install -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-2-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 -- Enrico Tassi -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org