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
weston and xdriver_xf86-input-libinput.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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
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
-# 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
#
################################################################################
-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
-comment "weston needs udev and a toolchain w/ threads, dynamic library, headers >= 3.0"
+comment "weston needs udev and a toolchain w/ locale, threads, dynamic library, headers >= 3.0"
depends on BR2_ARCH_HAS_ATOMICS
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \
- !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS || \
+ !BR2_ENABLE_LOCALE
config BR2_PACKAGE_WESTON
bool "weston"
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_MTDEV
select BR2_PACKAGE_LIBINPUT
+ depends on BR2_ENABLE_LOCALE # libinput
depends on BR2_PACKAGE_HAS_UDEV
depends on !BR2_STATIC_LIBS # wayland
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
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
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