On 01/18/2013 09:10 AM, Simon Geard wrote: > On Thu, 2013-01-17 at 22:46 +0100, Armin K. wrote: >> However, gschemas.compiled should be createad by GTK+3 and >> gsettings-desktop-schemas (or any other packages that installs GSettings >> schemas) make install process unless you are using DESTDIR method. > > Ah ha... I think you've just solved the WebKit build problem I've been > banging my head against the past day or two - it's giving me the same > error Randy is reporting from glib-networking, and I do indeed use the > DESTDIR approach to package management. > > Simon. >
I used DESTDIR method ever since. For every single package that I install I have following set of "post install triggers" /sbin/ldconfig /usr/bin/mandb -q for file in usr/share/info/* ; do /usr/bin/install-info /$file /usr/share/info/dir ; done (*) for schema in etc/gconf/schemas/*.schemas ; do GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule /$schema > /dev/null ; done (*) /usr/bin/fc-cache /usr/share/fonts/x/y /usr/bin/gio-querymodules /usr/lib/gio/modules /usr/bin/update-mime-database /usr/share/mime /usr/bin/gtk-update-icon-cache -q /usr/share/icons/hicolor (1) /usr/bin/update-desktop-database /usr/bin/gtk-update-icon-cache -q /usr/share/icons/gnome (2) /usr/bin/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache (3) /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules /usr/bin/gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache (3) /usr/bin/dconf update (4) The (*) instructions are run from a directory where package is installed using DESTDIR method, so there is actualy /path/to/packagedir/etc/gconf/schemas and /path/to/packagedir/usr/share/info (1) When a package installs it's icons in hicolor directory - lot of pacakges do that. (2) When a package installs it's icons in gnome directory - mostly gnome-icon-theem and some gnome packages. (3) You could use --update-cache instead of using > /path/to/file, but I was lazy to change that in my scripts. (4) This one rare trigger caused me lot of problems with gdm ... For now, only gdm and ibus install files into /etc/dconf/db -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
