[Buildroot] [PATCH 2/2] package/libinput: bump version to 0.19.0, add locale dependency

Bernd Kuhls bernd.kuhls at t-online.de
Sat Jul 11 15:50:00 UTC 2015


Since 2015-04-22 libinput needs locale support:
http://cgit.freedesktop.org/wayland/libinput/commit/src/libinput-util.c?id=5c671e0375cc03032fcac26efe4a7835a74c8bfc

This patch adds the needed dependency also to
xdriver_xf86-input-libinput.

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/libinput/Config.in                          |    5 +++--
 package/libinput/libinput.hash                      |    4 ++--
 package/libinput/libinput.mk                        |    2 +-
 package/x11r7/xdriver_xf86-input-libinput/Config.in |    5 +++--
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/package/libinput/Config.in b/package/libinput/Config.in
index 14e4e70..f7793df 100644
--- a/package/libinput/Config.in
+++ b/package/libinput/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBINPUT
 	bool "libinput"
+	depends on BR2_ENABLE_LOCALE
 	depends on BR2_PACKAGE_HAS_UDEV
 	select BR2_PACKAGE_LIBEVDEV
 	select BR2_PACKAGE_MTDEV
@@ -13,5 +14,5 @@ config BR2_PACKAGE_LIBINPUT
 
 	  http://freedesktop.org/wiki/Software/libinput/
 
-comment "libinput needs udev /dev management"
-	depends on !BR2_PACKAGE_HAS_UDEV
+comment "libinput needs udev /dev management and a toolchain w/ locale"
+	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_ENABLE_LOCALE
diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash
index 6452847..299a28f 100644
--- a/package/libinput/libinput.hash
+++ b/package/libinput/libinput.hash
@@ -1,2 +1,2 @@
-# From http://lists.freedesktop.org/archives/wayland-devel/2015-April/021485.html
-sha256	2bed202ebe2d5026950d6f9d2ac0f0160d12f61c5a0f6d0d6ef671bbb02c1b64	libinput-0.14.1.tar.xz
+# From http://lists.freedesktop.org/archives/wayland-devel/2015-July/023184.html
+sha256	69a97da47ef8fa9debadaa8ee11005b9b5183bd2b87c5aa7827b7c388a5acc5d	libinput-0.19.0.tar.xz
diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk
index bacee6a..175e04f 100644
--- a/package/libinput/libinput.mk
+++ b/package/libinput/libinput.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBINPUT_VERSION = 0.14.1
+LIBINPUT_VERSION = 0.19.0
 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
 LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
 LIBINPUT_LICENSE = MIT
diff --git a/package/x11r7/xdriver_xf86-input-libinput/Config.in b/package/x11r7/xdriver_xf86-input-libinput/Config.in
index cc878b6..69697ed 100644
--- a/package/x11r7/xdriver_xf86-input-libinput/Config.in
+++ b/package/x11r7/xdriver_xf86-input-libinput/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XDRIVER_XF86_INPUT_LIBINPUT
 	bool "xf86-input-libinput"
+	depends on BR2_ENABLE_LOCALE # libinput
 	depends on BR2_PACKAGE_HAS_UDEV # libinput
 	select BR2_PACKAGE_LIBINPUT
 	select BR2_PACKAGE_XPROTO_INPUTPROTO
@@ -9,5 +10,5 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_LIBINPUT
 	  libinput, so while it does provide all features that libinput supports
 	  it does little beyond.
 
-comment "xf86-input-libinput requires udev to be enabled"
-	depends on !BR2_PACKAGE_HAS_UDEV
+comment "xf86-input-libinput needs udev /dev management and a toolchain w/ locale"
+	depends on !BR2_PACKAGE_HAS_UDEV || !BR2_ENABLE_LOCALE
-- 
1.7.10.4




More information about the buildroot mailing list