diff options
author | Hadrien Boutteville <hadrien.boutteville@gmail.com> | 2014-10-13 14:54:23 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-15 14:52:23 +0200 |
commit | c4ec97d505e080298c2225c123d1f3ec560018e6 (patch) | |
tree | f74302cca3c7255a71e5686c6f8aa00eeeb92fc7 /package/libgtk3/libgtk3-0003-disable-atk-bridge.patch | |
parent | ced34ea1036ab5360146ca80fd7816060e3783b5 (diff) | |
download | buildroot-c4ec97d505e080298c2225c123d1f3ec560018e6.tar.gz buildroot-c4ec97d505e080298c2225c123d1f3ec560018e6.zip |
libgtk3: new package
This package provides Gtk+ 3.0, a graphical toolkit.
[Peter: fix Config.in deps, ensure atleast 1 backend, remove redundant info]
Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Eric: added backend support, use of pkgconf for host-libgtk3]
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libgtk3/libgtk3-0003-disable-atk-bridge.patch')
-rw-r--r-- | package/libgtk3/libgtk3-0003-disable-atk-bridge.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/package/libgtk3/libgtk3-0003-disable-atk-bridge.patch b/package/libgtk3/libgtk3-0003-disable-atk-bridge.patch new file mode 100644 index 0000000000..c92174f400 --- /dev/null +++ b/package/libgtk3/libgtk3-0003-disable-atk-bridge.patch @@ -0,0 +1,45 @@ +Remove atk-bridge support. + +atk-bridge doesn't seem useful for now in Buildroot and requires to +add two new packages just for it: at-spi2-core and at-spi2-atk. + +Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> + +--- a/configure.ac ++++ b/configure.ac +@@ -1349,11 +1349,7 @@ + # Check for Accessibility Toolkit flags + ######################################## + +-if test x$enable_x11_backend = xyes; then +- ATK_PACKAGES="atk atk-bridge-2.0" +-else +- ATK_PACKAGES="atk" +-fi ++ATK_PACKAGES="atk" + + PKG_CHECK_MODULES(ATK, $ATK_PACKAGES) + +--- a/gtk/a11y/gtkaccessibility.c ++++ b/gtk/a11y/gtkaccessibility.c +@@ -37,10 +37,6 @@ + #include <gtk/gtkcombobox.h> + #include <gtk/gtkaccessible.h> + +-#ifdef GDK_WINDOWING_X11 +-#include <atk-bridge.h> +-#endif +- + static gboolean gail_focus_watcher (GSignalInvocationHint *ihint, + guint n_param_values, + const GValue *param_values, +@@ -987,9 +983,5 @@ + _gtk_accessibility_override_atk_util (); + do_window_event_initialization (); + +-#ifdef GDK_WINDOWING_X11 +- atk_bridge_adaptor_init (NULL, NULL); +-#endif +- + atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL); + } |