file triggers in rawhide

Matthias Clasen mclasen at redhat.com
Mon Aug 17 13:04:05 UTC 2015


Hey,

I've added file triggers for a number of desktop things: 

- gsettings schemas
- gio modules
- desktop files
- mime types
- gdk-pixbuf loaders
- gtk im modules

If you are updating a desktop package in rawhide that uses any of
glib-compile-schemas, gio-querymodules, update-desktop-database, update
-mime-database, gdk-pixbuf-query-loaders or gtk-query-immodules-3.0 in
its %post, %postun or %posttrans, you can simply drop those calls - the
file triggers will take care of things.

For the time being, it might be a good idea to add a dependency on a
new-enough build of the package(s) whose file triggers you are using.

Here is a representative commit:

http://pkgs.fedoraproject.org/cgit/gedit.git/commit/?id=1cd2537b862233c
c4b4b1d59a56d26224e8b5b8a


Matthias


More information about the desktop mailing list