]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
libgtk2: break the dependency of host-libgtk2 on host-cairo
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2010 12:11:00 +0000 (13:11 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Feb 2010 19:33:44 +0000 (20:33 +0100)
commitce1f459b8bb0654a717124a1284b7204616ca199
tree5f42ad7d57ddf7b020acc0d12d7a179d32151a08
parenta47ce9d3df148cbfbd38355c80624fb5abc78a77
libgtk2: break the dependency of host-libgtk2 on host-cairo

Making a full build of libgtk2 for the host is a pain, since it
requires host-cairo, which it turns requires a full X.org stack to be
compiled for the host.

Moreover, building libgtk2 for the host completely is useless: we only
need gdk-pixbuf-csource and gtk-update-icon-cache.

In this patch, we add a new
host-libgtk2-2.12.12-reduce-dependencies.patch, that is only applied
to libgtk2 when being built for the host. This patch removes a lot of
dependencies in configure.in, which allows to:

 * run make and make install in gdk-pixbuf/, which compiles and
   installs the gdk-pixbuf library and the gdk-pixbuf-csource utility

 * run make gtk-update-icon-cache in gtk/, which compiles the
   gtk-update-icon-cache utility, which is then installed manually

The compilation and installation steps of libgtk2 for the host are
therefore overriden, so as to not use the default behaviour, which
would attempt to build the full gtk library.

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