tags 645118 patch user [email protected] usertags 645118 ubuntu-patch precise thanks
On Wed, Oct 12, 2011 at 08:29:20PM +0200, gregory hainaut wrote: > Could you consider to support multiarch same for libjasper library. > > Ubuntu already convert the package. So You can reuse their changes. > > Here a doc on multiarch for in depth detail: > http://wiki.debian.org/Multiarch/Implementation Here's the current Ubuntu patch. It's mostly by Kees Cook, but I updated it for the switch to dh(1). diff -Nru jasper-1.900.1/debian/compat jasper-1.900.1/debian/compat --- jasper-1.900.1/debian/compat 2011-07-11 20:27:09.000000000 +0100 +++ jasper-1.900.1/debian/compat 2011-10-24 12:30:54.000000000 +0100 @@ -1 +1 @@ -7 +9 diff -Nru jasper-1.900.1/debian/control jasper-1.900.1/debian/control --- jasper-1.900.1/debian/control 2011-08-15 18:11:08.000000000 +0100 +++ jasper-1.900.1/debian/control 2011-10-24 12:32:59.000000000 +0100 @@ -1,13 +1,15 @@ Source: jasper Priority: optional Section: graphics Maintainer: Roland Stigge <[email protected]> -Build-Depends: debhelper (>= 7.0.50~), freeglut3-dev, libjpeg8-dev, libxi-dev, libxmu-dev, libxt-dev, autotools-dev +Build-Depends: debhelper (>= 8.1.3~), freeglut3-dev, libjpeg8-dev, libxi-dev, libxmu-dev, libxt-dev, autotools-dev Standards-Version: 3.9.2 Package: libjasper1 Section: libs Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libjasper-1.700-2 Replaces: libjasper-1.700-2 diff -Nru jasper-1.900.1/debian/libjasper-dev.install jasper-1.900.1/debian/libjasper-dev.install --- jasper-1.900.1/debian/libjasper-dev.install 2011-07-11 20:29:13.000000000 +0100 +++ jasper-1.900.1/debian/libjasper-dev.install 2011-10-24 12:32:59.000000000 +0100 @@ -17,5 +17,5 @@ debian/tmp/usr/include/jasper/jas_types.h debian/tmp/usr/include/jasper/jas_version.h debian/tmp/usr/include/jasper/jasper.h -debian/tmp/usr/lib/libjasper.a -debian/tmp/usr/lib/libjasper.so +debian/tmp/usr/lib/*/libjasper.a +debian/tmp/usr/lib/*/libjasper.so diff -Nru jasper-1.900.1/debian/libjasper1.install jasper-1.900.1/debian/libjasper1.install --- jasper-1.900.1/debian/libjasper1.install 2011-07-11 20:27:09.000000000 +0100 +++ jasper-1.900.1/debian/libjasper1.install 2011-10-24 12:32:59.000000000 +0100 @@ -1 +1 @@ -debian/tmp/usr/lib/libjasper.so.* +debian/tmp/usr/lib/*/libjasper.so.* Thanks, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

