Package: libglade2
Version: 1:2.6.4-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi Andreas,

In Ubuntu, the attached patch was applied to make libglade2 compatible with
multiarch, as described at
<http://wiki.debian.org/Multiarch/Implementation>.

This library is used by some third-party binary-only packages in the wild,
and is also obviously used by a number of free applications, so it's useful
to have this library co-installable in a multiarch configuration.

Thanks for considering the patch.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
=== modified file 'debian/compat'
--- debian/compat	2006-08-09 12:49:22 +0000
+++ debian/compat	2011-12-02 23:44:29 +0000
@@ -1 +1 @@
-5
+9

=== modified file 'debian/control'
--- debian/control	2010-03-06 13:33:11 +0000
+++ debian/control	2011-12-03 00:34:24 +0000
@@ -9,8 +9,8 @@
 Maintainer: Andreas Rottmann <ro...@debian.org>
 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org>, Josselin Mouette <j...@debian.org>, Loic Minier <l...@dooz.org>, Sebastian Dröge <sl...@debian.org>
 Standards-Version: 3.8.1
-Build-Depends: cdbs,
-               debhelper (>= 5),
+Build-Depends: cdbs (>= 0.4.93~),
+               debhelper (>= 8.1.3~),
                libgtk2.0-dev (>= 2.6.0),
                libglib2.0-dev (>= 2.10.0),
                python (>= 2.0),
@@ -25,7 +25,9 @@
 
 Package: libglade2-0
 Architecture: any
+Multi-Arch: same
 Section: libs
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: library to load .glade files at runtime
@@ -37,6 +39,7 @@
 
 Package: libglade2-dev
 Architecture: any
+Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
          libglade2-0 (= ${binary:Version}),

=== modified file 'debian/control.in'
--- debian/control.in	2009-04-04 08:58:37 +0000
+++ debian/control.in	2011-12-03 00:34:24 +0000
@@ -4,8 +4,8 @@
 Maintainer: Andreas Rottmann <ro...@debian.org>
 Uploaders: @GNOME_TEAM@
 Standards-Version: 3.8.1
-Build-Depends: cdbs,
-               debhelper (>= 5),
+Build-Depends: cdbs (>= 0.4.93~),
+               debhelper (>= 8.1.3~),
                libgtk2.0-dev (>= 2.6.0),
                libglib2.0-dev (>= 2.10.0),
                python (>= 2.0),
@@ -20,7 +20,9 @@
 
 Package: libglade2-0
 Architecture: any
+Multi-Arch: same
 Section: libs
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: library to load .glade files at runtime
@@ -32,6 +34,7 @@
 
 Package: libglade2-dev
 Architecture: any
+Multi-Arch: same
 Section: libdevel
 Depends: ${misc:Depends},
          libglade2-0 (= ${binary:Version}),

=== modified file 'debian/libglade2-0.install'
--- debian/libglade2-0.install	2004-05-26 00:07:37 +0000
+++ debian/libglade2-0.install	2011-12-02 23:47:33 +0000
@@ -1,2 +1,2 @@
-usr/lib/*.so.*
+usr/lib/*/*.so.*
 usr/share/xml/libglade

=== modified file 'debian/libglade2-dev.install'
--- debian/libglade2-dev.install	2004-05-26 00:07:37 +0000
+++ debian/libglade2-dev.install	2011-12-02 23:47:42 +0000
@@ -1,5 +1,5 @@
 usr/include
-usr/lib/libglade-2.0.{a,la,so}
-usr/lib/pkgconfig
+usr/lib/*/libglade-2.0.{a,la,so}
+usr/lib/*/pkgconfig
 usr/bin
 usr/share/gtk-doc

=== modified file 'debian/rules'
--- debian/rules	2007-06-19 11:30:34 +0000
+++ debian/rules	2011-12-02 23:44:52 +0000
@@ -11,3 +11,4 @@
 
 DEB_DH_INSTALL_ARGS += --sourcedir=debian/tmp
 DEB_DH_MAKESHLIBS_ARGS_libglade2-0 += -V 'libglade2-0 (>= 1:2.6.1)'
+DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

Reply via email to