Bug#755874: gobject-introspection: [patch] use multi-arch pathes for the .typelib files
Michael Vogt
mvo at debian.org
Thu Jul 24 07:05:48 UTC 2014
Package: gobject-introspection
Version: 1.40.0-1ubuntu0.1
Severity: wishlist
Tags: patch
Hello,
to install a cross build environment it would be great if the typelibs
could be co-installed in a multiarch environment. Right now all
foo-dev packages depend on gir1.2-foo. So when trying to install foo-dev
for cross-building that won't work because the gir1.2-foo is not
multi-arch ready. The attached patch moves gobject-introspection to
multiarch triplet pathes, adds compatiblity for the old path and
updates dh_girepository to look at both the new and old path.
This part could probably do with a review of someone more familiar
with perl than I am :)
With this change most packages that ship a gir1.2-* package need a small
change to their debian/gir1.2-foo.install file:
- usr/lib/girepository-1.0/*
+ usr/lib/*/girepository-1.0/*
Without they will fail to build.
Here is a draft announcement:
"""
Dear developers,
we would like to move the gnome introspection typelib data from
/usr/lib/girepository-1.0 to /usr/lib/<triplet>/girepository-1.0
so that we can install them in parallel on a multiarch system.
A updated version of gobject-introspection is ready in experimental that will
look into the new multiarch path and have the old path as a fallback.
But because the pkg-config libdir is now also a multiarch path most
gir1.2-* packages need adjustments to their debian/install file(s).
The change is straightforward, just change your debian/install file:
- usr/lib/girepository-1.0/*
+ usr/lib/*/girepository-1.0/*
because the typelib files are now in e.g. /usr/lib/x86_64-linux-gnu.
Thanks,
"""
Thanks for your consideration!
Michael
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-32-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gobject-introspection depends on:
ii build-essential 11.6ubuntu6
ii libc6 2.19-0ubuntu6
ii libffi6 3.1~rc1+r3.0.13-12
ii libgirepository-1.0-1 1.40.0-1ubuntu0.1
ii libglib2.0-0 2.40.0-2
ii python-mako 0.9.1-1
ii python2.7 2.7.6-8
pn python:any <none>
gobject-introspection recommends no packages.
gobject-introspection suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gobject-introspection_1.40.0-3.debdiff
Type: text/x-diff
Size: 8873 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20140724/d40e0234/attachment-0003.diff>
More information about the pkg-gnome-maintainers
mailing list