The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libgail / 0001-Relax-X11-dependencies.patch
1 From cca72c48b5643fa62e1d55b7b181e147f5ba7fe9 Mon Sep 17 00:00:00 2001
2 From: Lionel Landwerlin <llandwerlin@gmail.com>
3 Date: Sun, 28 Mar 2010 21:47:38 +0200
4 Subject: [PATCH] Relax X11 dependency
5
6 Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
7 ---
8  configure.in      |    4 +++-
9  gail/gailwindow.c |    2 +-
10  2 files changed, 4 insertions(+), 2 deletions(-)
11
12 diff --git a/configure.in b/configure.in
13 index 3801655..abaf417 100644
14 --- a/configure.in
15 +++ b/configure.in
16 @@ -86,7 +86,9 @@ GTK_REQUIRED_VERSION=2.9.4
17  PKG_CHECK_MODULES(DEP, $ATK_PACKAGES >= $ATK_REQUIRED_VERSION \
18         $GTK_PACKAGES >= $GTK_REQUIRED_VERSION)
19  
20 -if test "$gail_native_win32" != "yes"; then
21 +AC_ARG_ENABLE(x, [      --disable-x     disable x11 backend ],x11_backend=no,x11_backend=yes)
22 +
23 +if test "$gail_native_win32" != "yes" -a "$x11_backend" != "no"; then
24  
25  PKG_CHECK_MODULES(X, x11, :, [
26  # pkg-config modules not found (only present since X11R7 aka Xorg); use
27 diff --git a/gail/gailwindow.c b/gail/gailwindow.c
28 index 616b25e..add454b 100644
29 --- a/gail/gailwindow.c
30 +++ b/gail/gailwindow.c
31 @@ -1071,7 +1071,7 @@ gail_window_get_mdi_zorder (AtkComponent *component)
32    return get_window_zorder (widget->window);
33  }
34  
35 -#elif defined (GDK_WINDOWING_WIN32)
36 +#elif defined (GDK_WINDOWING_WIN32) || defined (GDK_WINDOWING_DIRECTFB)
37  
38  static gint
39  gail_window_get_mdi_zorder (AtkComponent *component)
40 -- 
41 1.7.0.2
42