]> code.ossystems Code Review - openembedded-core.git/commit
gdk-pixbuf: Avoid rebuild failures
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Sep 2015 22:32:45 +0000 (23:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Sep 2015 16:53:25 +0000 (17:53 +0100)
commitd5cf21179d9f8d3c053316b0864d72fc609f5423
tree294438c19b22a3e404d1985a995d0f35520ab01c
parentc1ef36c2b3e3876cc166a9a5e153fc6f23b42b92
gdk-pixbuf: Avoid rebuild failures

If gdkpixbuf-native rebuilds and there are stale (broken) modules lying around,
it can fail to run the postinst. E.g. svg links to harfbuzz and if harfbuzz is
removed from the sysroot but the svg loader isn't, we get a symbol linking issue.

The reproducer is along the lines of build gdk-pixbuf-native along
with harfbuzz-native and librsvg-native, then make a small change to the
gdk-pixbuf recipe that would cause it to rebuild, clean harfbuzz-native
and then build gdk-pixbuf.

To fix this, when we install gdk-pixbuf, we wipe out any previous loaders.
The idea is that gdk would always come first and anything else installing
itself will come later and rerun the postinst if needed. We can therefore
just remove any other loaders.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.8.bb