diff options
author | Yu Ke <ke.yu@intel.com> | 2010-11-12 13:04:07 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2010-11-14 21:08:25 -0800 |
commit | cf062bf45672923083094730515f7d5ce94b58fc (patch) | |
tree | 3ce5ba455a9242d00a4f4fc34115d6d818ca9e19 /meta/recipes-graphics/xorg-app/xset | |
parent | d67ede746bf6d22bb2c7179dba7f86791eaaa160 (diff) | |
download | poky-cf062bf45672923083094730515f7d5ce94b58fc.tar.gz |
xset: upgrade from 1.1.0 to 1.2.1
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-app/xset')
-rw-r--r-- | meta/recipes-graphics/xorg-app/xset/disable-xkb.patch | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch index 6060fbb995..2e728cfe0a 100644 --- a/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch +++ b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch | |||
@@ -1,18 +1,24 @@ | |||
1 | --- xset-1.0.1/configure.ac.orig 2006-03-08 19:46:59.000000000 +0100 | 1 | add "-disable-xkb" option |
2 | +++ xset-1.0.1/configure.ac 2006-03-08 19:47:40.000000000 +0100 | 2 | |
3 | @@ -42,11 +42,15 @@ | 3 | Rebase for 1.2.1 by: Yu Ke <ke.yu@intel.com> |
4 | |||
5 | diff --git a/configure.ac b/configure.ac | ||
6 | index 81c3ae4..26601bf 100644 | ||
7 | --- a/configure.ac | ||
8 | +++ b/configure.ac | ||
9 | @@ -52,11 +52,15 @@ PKG_CHECK_MODULES(SET_XEXT, xext, | ||
4 | AC_CHECK_HEADERS([X11/extensions/dpms.h X11/extensions/MITMisc.h],,,[#include <X11/Xlib.h>]) | 10 | AC_CHECK_HEADERS([X11/extensions/dpms.h X11/extensions/MITMisc.h],,,[#include <X11/Xlib.h>]) |
5 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | 11 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) |
6 | 12 | ||
7 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), | 13 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), |
8 | + XKB="$enableval", XKB="yes") | 14 | + XKB="$enableval", XKB="yes") |
9 | +if test "x$XKB" = "xyes" ; then | 15 | +if test "x$XKB" = "xyes" ; then |
10 | PKG_CHECK_MODULES(SET_XKB, x11, | 16 | PKG_CHECK_MODULES(SET_XKB, x11, |
11 | [SAVE_CPPFLAGS="$CPPFLAGS" | 17 | [SAVE_CPPFLAGS="$CPPFLAGS" |
12 | CPPFLAGS="$CPPFLAGS $SET_XKB_CFLAGS $SET_X11_CFLAGS" | 18 | CPPFLAGS="$CPPFLAGS $SET_XKB_CFLAGS $SET_X11_CFLAGS" |
13 | AC_CHECK_HEADERS([X11/XKBlib.h],,,[#include <X11/Xlib.h>]) | 19 | AC_CHECK_HEADERS([X11/XKBlib.h],,,[#include <X11/Xlib.h>]) |
14 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | 20 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) |
15 | +fi | 21 | +fi |
16 | 22 | ||
17 | PKG_CHECK_MODULES(SET_XF86MISC, xxf86misc, | 23 | AC_ARG_WITH(xf86misc, AC_HELP_STRING([--without-xf86misc],[Disable xf86misc support.]), |
18 | [SAVE_CPPFLAGS="$CPPFLAGS" | 24 | [USE_XF86MISC="$withval"], [USE_XF86MISC="yes"]) |