libgtk2: use non-host specific patch
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 23 Mar 2013 22:26:27 +0000 (22:26 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Mar 2013 11:44:50 +0000 (12:44 +0100)
commitdd1848bc73ee9dfe211ca3ed3a233707e3bc5955
treed7826f67ccb975f76692dd581770a84d59390259
parenta452db1d822e88f0fe00bf6e65d5979a2f221d72
libgtk2: use non-host specific patch

The libgtk2 package was using a host-<foo>.patch that should be
applied only on the host variant of the package. Unfortunately, with
the patch model rework, this doesn't work anymore: Buildroot tries to
apply the patch twice, for some reason.

But instead of fixing the patch model, it is probably a lot better to
fix this patch itself, which is the only usage of host-only patch in
Buildroot.

So instead of simply removing code that detects dependencies in gtk2's
configure.in script, we use a condition based on the value of
gdktarget. And it turns out that it makes the patch shorter.

However, it requires autoreconfiguring the libgtk2 target package,
because we are now modifying its configure.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libgtk2/host-libgtk2-reduce-dependencies.patch [deleted file]
package/libgtk2/libgtk2-reduce-dependencies.patch [new file with mode: 0644]
package/libgtk2/libgtk2.mk