summaryrefslogtreecommitdiffstats
path: root/rules/gtk.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2011-10-28 21:04:22 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-12-09 09:44:00 +0100
commitf68073402f69128e1db6f3bc074f1f8a8219e2dc (patch)
tree3d2489dc137df21349121e46b5f63e4699d7c426 /rules/gtk.in
parent5bd630497b3ea9b38d4b0f88c30dfe30f9aba419 (diff)
downloadptxdist-f68073402f69128e1db6f3bc074f1f8a8219e2dc.tar.gz
ptxdist-f68073402f69128e1db6f3bc074f1f8a8219e2dc.tar.xz
gtk: version bump 2.18.7 -> 3.2.2
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> [mol: cleanup configure options & menu] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gtk.in')
-rw-r--r--rules/gtk.in133
1 files changed, 29 insertions, 104 deletions
diff --git a/rules/gtk.in b/rules/gtk.in
index 5e23955b7..bad50374a 100644
--- a/rules/gtk.in
+++ b/rules/gtk.in
@@ -1,30 +1,26 @@
## SECTION=multimedia_gtk
-menuconfig GTKCORE
+menuconfig GTK
tristate
prompt "gtk+ "
-if GTKCORE
-
-config GTK
- tristate
- default GTKCORE
- select HOST_GTK_DOC
+ # core dependencies
select GLIB
select ATK
select PANGO
-
select CAIRO
- select CAIRO_PDF
- select CAIRO_SVG
-
-# select LIBTIFF if GTK_LOADER_TIFF
- select LIBPNG if GTK_LOADER_PNG
- select LIBJPEG if GTK_LOADER_JPEG
-
- select XORG_LIB_XEXT if GTK_TARGET_X11
- select XORG_LIB_XINERAMA if GTK_TARGET_X11_XINERAMA
- select XORG_LIB_XRANDR if GTK_TARGET_X11_XRANDR
+ select CAIRO_GOBJECT
+ select GDK_PIXBUF
+
+ select XORG_LIB_X11 if GTK_XKB
+ select XORG_LIB_X11_XKB if GTK_XKB
+ select XORG_LIB_XINERAMA if GTK_XINERAMA
+ # FIXME - gtk's configure doesn't check for XInput.h. Should be patched.
+ select XORG_LIB_XI if GTK_XINPUT
+ select XORG_LIB_XRANDR if GTK_XRANDR
+ select XORG_LIB_XFIXES if GTK_XFIXES
+ select XORG_LIB_XCOMPOSITE if GTK_XCOMPOSITE
+ select XORG_LIB_XDAMAGE if GTK_XDAMAGE
help
The GTK+ is a multi-platform toolkit for creating graphical
@@ -32,106 +28,35 @@ config GTK
is suitable for projects ranging from small one-off tools to complete
application suites.
-menu "graphic loaders "
-
-config GTK_LOADER_PNG
- bool
- prompt "png"
- default y
-
-config GTK_LOADER_BMP
- bool
- prompt "bmp"
-
-config GTK_LOADER_WBMP
- bool
- prompt "wbmp"
-
-config GTK_LOADER_GIF
- bool
- prompt "gif"
-
-config GTK_LOADER_ICO
- bool
- prompt "ico"
-
-config GTK_LOADER_ANI
- bool
- prompt "ani"
-
-config GTK_LOADER_JPEG
- bool
- prompt "jpeg"
-
-#config GTK_LOADER_JPEG2000
-# bool
-# prompt "jpeg 2000"
+if GTK
-config GTK_LOADER_PNM
+config GTK_XKB
bool
- prompt "pnm"
+ prompt "XKB support"
-config GTK_LOADER_RAS
+config GTK_XINERAMA
bool
- prompt "ras"
-
-#config GTK_LOADER_TIFF
-# bool
-# prompt "tiff"
+ prompt "Xinerama support"
-config GTK_LOADER_XPM
+config GTK_XINPUT
bool
- prompt "xpm"
+ prompt "XInput support"
-config GTK_LOADER_TGA
+config GTK_XRANDR
bool
- prompt "tga"
+ prompt "XRandR support"
-config GTK_LOADER_PCX
+config GTK_XFIXES
bool
- prompt "pcx"
-
-endmenu
-
-choice
- prompt "gdk-target "
-
- config GTK_TARGET_X11
- bool "X11 "
- select CAIRO_XLIB
- select CAIRO_PS
-
- config GTK_TARGET_DIRECTFB
- bool "directfb"
- select CAIRO_DIRECTFB
- select CAIRO_PS
+ prompt "XFixes support"
- config GTK_TARGET_WIN32
- bool "Win32 "
- select CAIRO_WIN32
-
- config GTK_TARGET_HOST_X11
- bool "host X11"
- select CAIRO_XLIB
- select CAIRO_PS
-
-endchoice
-
-config GTK_TARGET_X11_XINERAMA
- bool
- prompt "Xinerama support"
- depends on GTK_TARGET_X11
-
-config GTK_TARGET_X11_XRANDR
+config GTK_XCOMPOSITE
bool
- prompt "Xrandr support"
- depends on GTK_TARGET_X11
+ prompt "X Composite support"
-
-config GTK_DEMO
+config GTK_XDAMAGE
bool
- prompt "gtkdemo"
-
+ prompt "X Damage support"
source "generated/multimedia_gtkcore.in"