diff options
Diffstat (limited to 'meta/recipes-kernel/sysprof/files/gui-argument.patch')
-rw-r--r-- | meta/recipes-kernel/sysprof/files/gui-argument.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-kernel/sysprof/files/gui-argument.patch b/meta/recipes-kernel/sysprof/files/gui-argument.patch deleted file mode 100644 index d2c053e689..0000000000 --- a/meta/recipes-kernel/sysprof/files/gui-argument.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | Add the ability to explicitly enable/disable GUI support | ||
2 | |||
3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | --- git.orig/configure.ac | ||
7 | +++ git/configure.ac | ||
8 | @@ -62,12 +62,24 @@ KMICRO=`uname -r | cut -d"." -f 3 | cut | ||
9 | # Pkgconfig dependencies | ||
10 | |||
11 | core_dep="glib-2.0 >= 2.6.0" | ||
12 | -gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0" | ||
13 | |||
14 | PKG_CHECK_MODULES(CORE_DEP, $core_dep, [], AC_MSG_ERROR([sysprof dependencies not satisfied])) | ||
15 | |||
16 | -build_gui=yes | ||
17 | -PKG_CHECK_MODULES(GUI_DEP, $gui_dep, [], build_gui=no) | ||
18 | +gui_dep="gtk+-2.0 > 2.6.0 gdk-pixbuf-2.0 pangoft2 libglade-2.0" | ||
19 | + | ||
20 | +AC_ARG_ENABLE([gui], | ||
21 | + [AS_HELP_STRING([--disable-gui], | ||
22 | + [Disable GUI functionality (requires gtk+, gdk-pixbuf, pangoft2, libglade) @<:@default=auto@:>@])], | ||
23 | + [], | ||
24 | + [enable_gui=auto]) | ||
25 | + | ||
26 | +build_gui=no | ||
27 | +AS_IF([test "x$enable_gui" != xno], | ||
28 | + [PKG_CHECK_MODULES(GUI_DEP, $gui_dep, build_gui=yes, | ||
29 | + [if test "x$enable_gui" != xauto; then | ||
30 | + AC_MSG_FAILURE( | ||
31 | + [--enable-gui was given, but gui dependencies were not satisfied]) | ||
32 | + fi])]) | ||
33 | |||
34 | AM_CONDITIONAL([BUILD_GUI], [test "$build_gui" = yes]) | ||
35 | |||