Bug#648621: Multiarch improvements for glib2.0

Jonathan Nieder jrnieder at gmail.com
Mon May 28 08:28:56 UTC 2012


Hi Riku,

Riku Voipio wrote:

> --- glib2.0-2.30.2/debian/changelog	2011-11-18 20:38:42.000000000 +0200
> +++ glib2.0-2.30.2/debian/changelog	2011-12-12 17:06:09.000000000 +0200
> @@ -1,3 +1,14 @@
[...]
> +  * Make execution of gio-querymodules optional. This is for example
> +    neccesary to make it possible to install libglib2.0-dev:armel for
> +    cross-compiling on x86/amd64 machines

http://developer.gnome.org/gio/stable/GIOModule.html says

 When installing a module that implements g_io_module_query you must
 run gio-querymodules in order to build the cache files required for
 lazy loading.

So this makes me nervous, and if we had a lot of time I would rather
see:

 * gio-querymodules moved to a separate libglib2.0-bin package
 * its location changed from

	/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules

   to /usr/lib/glib-2.0/gio-querymodules and its interface changed
   to take a parameter indicating where the resulting cache should go
 * wrapper scripts supplying that parameter installed by libglib2.0-0
 * libglib2.0-bin as Multi-arch: foreign

That would hopefully take care of the problem completely.

Luckily the simplest cases have already been taken care of along the
lines you suggested: <http://bugs.debian.org/659588>.  Maybe a multiarch
libglib2.0-dev wouldn't be very hard?

Hope that helps,
Jonathan





More information about the pkg-gnome-maintainers mailing list