gdk-pixbuf fails to build when cross-compiling
Submitted by Jussi Kukkonen
Link to original bug (#779057)
Description
Bug 778451 tries to make sure the thumbnailer gets the correct mimetypes in the metadata file. The fix breaks build when cross-compiling as loader.cache is not generated at all (see https://git.gnome.org/browse/gdk-pixbuf/tree/gdk-pixbuf/Makefile.am#n679 till the end of file).
| make[2]: *** No rule to make target '../gdk-pixbuf/loaders.cache', needed by 'gdk-pixbuf-thumbnailer.thumbnailer'. Stop.
Not quite sure how to properly fix this yet so I'm only filing a bug. A related issue is that the correct loaders.cache could contain out-of-tree plugins as well, right? -- rsvg still has a pixbuf loader IIRC? So for real installs the thumbnailer metadata should be generated only after all the loaders are in the system cache anyway.
Edited by Emmanuele Bassi