[PATCH 7/8] xset: upgrade from 1.1.0 to 1.2.1


Yu, Ke <ke.yu@...>
 

Signed-off-by: Yu Ke <ke.yu@intel.com>
---
.../distro/include/preferred-xorg-versions.inc | 2 +-
.../xorg-app/xset/disable-xkb.patch | 20 +++++++++++++-------
.../xorg-app/{xset_1.1.0.bb => xset_1.2.1.bb} | 0
3 files changed, 14 insertions(+), 8 deletions(-)
rename meta/recipes-graphics/xorg-app/{xset_1.1.0.bb => xset_1.2.1.bb} (100%)

diff --git a/meta/conf/distro/include/preferred-xorg-versions.inc b/meta/conf/distro/include/preferred-xorg-versions.inc
index 2264a47..b343fcb 100644
--- a/meta/conf/distro/include/preferred-xorg-versions.inc
+++ b/meta/conf/distro/include/preferred-xorg-versions.inc
@@ -130,7 +130,7 @@ PREFERRED_VERSION_xrandr ?= "1.3.2"
PREFERRED_VERSION_xrdb ?= "1.0.5"
PREFERRED_VERSION_xserver-kdrive ?= "1.7.99.2"
PREFERRED_VERSION_xserver-xf86-dri-lite ?= "1.8.99.904"
-PREFERRED_VERSION_xset ?= "1.1.0"
+PREFERRED_VERSION_xset ?= "1.2.1"
PREFERRED_VERSION_xtrans ?= "1.2.5"
PREFERRED_VERSION_xtrans-native ?= "1.2.5"
PREFERRED_VERSION_xtrans-nativesdk ?= "1.2.5"
diff --git a/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch
index 6060fbb..2e728cf 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 @@
---- xset-1.0.1/configure.ac.orig 2006-03-08 19:46:59.000000000 +0100
-+++ xset-1.0.1/configure.ac 2006-03-08 19:47:40.000000000 +0100
-@@ -42,11 +42,15 @@
+add "-disable-xkb" option
+
+Rebase for 1.2.1 by: Yu Ke <ke.yu@intel.com>
+
+diff --git a/configure.ac b/configure.ac
+index 81c3ae4..26601bf 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -52,11 +52,15 @@ PKG_CHECK_MODULES(SET_XEXT, xext,
AC_CHECK_HEADERS([X11/extensions/dpms.h X11/extensions/MITMisc.h],,,[#include <X11/Xlib.h>])
CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"])

+AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]),
-+ XKB="$enableval", XKB="yes")
++ XKB="$enableval", XKB="yes")
+if test "x$XKB" = "xyes" ; then
- PKG_CHECK_MODULES(SET_XKB, x11,
+ PKG_CHECK_MODULES(SET_XKB, x11,
[SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $SET_XKB_CFLAGS $SET_X11_CFLAGS"
AC_CHECK_HEADERS([X11/XKBlib.h],,,[#include <X11/Xlib.h>])
CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"])
+fi

- PKG_CHECK_MODULES(SET_XF86MISC, xxf86misc,
- [SAVE_CPPFLAGS="$CPPFLAGS"
+ AC_ARG_WITH(xf86misc, AC_HELP_STRING([--without-xf86misc],[Disable xf86misc support.]),
+ [USE_XF86MISC="$withval"], [USE_XF86MISC="yes"])
diff --git a/meta/recipes-graphics/xorg-app/xset_1.1.0.bb b/meta/recipes-graphics/xorg-app/xset_1.2.1.bb
similarity index 100%
rename from meta/recipes-graphics/xorg-app/xset_1.1.0.bb
rename to meta/recipes-graphics/xorg-app/xset_1.2.1.bb
--
1.7.0.4