0e55b8dc8a
libgtk2 is a X client library, so it doesn't make sense for it to depend on the X.org server. Instead, it should depend on the X client libraries. This patch therefore replaces the dependency on the X server by a dependency on libX11, libXext, libXrender and fontconfig, that are the mandatory requirements to build the X backend of Gtk. [Peter: don't add an empty line before gtk demo help text] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_LIBGTK2
|
|
bool "libgtk2"
|
|
select BR2_PACKAGE_ATK
|
|
select BR2_PACKAGE_CAIRO
|
|
select BR2_PACKAGE_CAIRO_PS
|
|
select BR2_PACKAGE_CAIRO_PDF
|
|
select BR2_PACKAGE_CAIRO_SVG
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_PANGO
|
|
select BR2_PACKAGE_GDK_PIXBUF
|
|
select BR2_PACKAGE_FONTCONFIG if BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_XORG7
|
|
depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
|
|
depends on BR2_USE_WCHAR # glib2
|
|
depends on BR2_INSTALL_LIBSTDCPP # pango
|
|
help
|
|
The GTK+ version 2 graphical user interface library
|
|
|
|
http://www.gtk.org/
|
|
|
|
config BR2_PACKAGE_LIBGTK2_DEMO
|
|
bool "Install libgtk2 demo program"
|
|
depends on BR2_PACKAGE_LIBGTK2
|
|
help
|
|
The GTK+ source base contains a gtk-demo program. This
|
|
option allows to install this program to the target.
|
|
|
|
comment "libgtk2 requires a toolchain with WCHAR and C++ support"
|
|
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
|