Armin K. wrote:

> 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


This is an interesting list.  A new page in Chapter 2 or 3 may be a good 
place to summarize these configuration items.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to