Skip to contentSkip to conversation

libinput: add explicit event-gui handling

PATCH New Gustavo Zacarias 3 participants 6 messages Apr 21, 2016 – Apr 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libinput: add explicit event-gui handling

Otherwise since it's automatic it was left to random depending on the libgtk3/libinput build order.

Also collapse all that whitespace.

---
 package/libinput/libinput.mk | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
package/libinput/libinput.mk +9 -4
index 6d8b7b6..2954760 100644
@@ -7,13 +7,18 @@
 LIBINPUT_VERSION = 1.1.5
 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
 LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
-LIBINPUT_LICENSE = MIT
-LIBINPUT_LICENSE_FILES = COPYING
-
 LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
 LIBINPUT_INSTALL_STAGING = YES
-
+LIBINPUT_LICENSE = MIT
+LIBINPUT_LICENSE_FILES = COPYING
 # Tests need fork, so just disable them everywhere.
 LIBINPUT_CONF_OPTS = --disable-tests
 
+ifeq ($(BR2_PACKAGE_LIBGTK3),y)
+LIBINPUT_CONF_OPTS += --enable-event-gui
+LIBINPUT_DEPENDENCIES += libgtk3
+else
+LIBINOUT_CONF_OPTS += --disable-event-gui
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.7.3
#1 lore raw

PATCH 2/2 libinput: bump to version 1.2.4

Forcibly disable wacom support since we haven't got a libwacom package yet.

---
 package/libinput/libinput.hash | 4 ++--
 package/libinput/libinput.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/libinput/libinput.hash +2 -2
index ea4c8e7..43fcf5d 100644
@@ -1,2 +1,2 @@
-# From http://lists.freedesktop.org/archives/wayland-devel/2016-January/026701.html
-sha256	5e08c45dbb8bf32490cc6cd626da098564d646d161a07cba2e3adbd9745c0622	libinput-1.1.5.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2016-April/028215.html
+sha256	aee3650ad2a864ab9a10e7e63df543cc2b475f6bf3974751037a2df325dabbb1	libinput-1.2.4.tar.xz
package/libinput/libinput.mk +2 -2
index 2954760..d994d29 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBINPUT_VERSION = 1.1.5
+LIBINPUT_VERSION = 1.2.4
 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
 LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
 LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
@@ -12,7 +12,7 @@ LIBINPUT_INSTALL_STAGING = YES
 LIBINPUT_LICENSE = MIT
 LIBINPUT_LICENSE_FILES = COPYING
 # Tests need fork, so just disable them everywhere.
-LIBINPUT_CONF_OPTS = --disable-tests
+LIBINPUT_CONF_OPTS = --disable-tests --disable-libwacom
 
 ifeq ($(BR2_PACKAGE_LIBGTK3),y)
 LIBINPUT_CONF_OPTS += --enable-event-gui
Signature · 1 line
2.7.3
#2 lore raw

PATCH 2/2 libinput: bump to version 1.2.4

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Forcibly disable wacom support since we haven't got a libwacom package yet.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 libinput: add explicit event-gui handling

In reply to Gustavo Zacarias

Hello,

Quoted 6 lines · Gustavo Zacarias
package/libinput/libinput.mk +0 -0
index 6d8b7b6..2954760 100644
@@ -7,13 +7,18 @@
 LIBINPUT_VERSION = 1.1.5

package/libinput/libinput.mk line 13

Quoted 10 lines
package/libinput/libinput.mk +2 -4
 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
 LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
-LIBINPUT_LICENSE = MIT
-LIBINPUT_LICENSE_FILES = COPYING
-
 LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
 LIBINPUT_INSTALL_STAGING = YES
-
+LIBINPUT_LICENSE = MIT
+LIBINPUT_LICENSE_FILES = COPYING

You say in the commit log you're doing whitespace changes, but it seems like the licence lines were moved down in the file. For what reason?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH 1/2 libinput: add explicit event-gui handling

Quoted 4 lines · Thomas Petazzoni

You say in the commit log you're doing whitespace changes, but it seems like the licence lines were moved down in the file. For what reason?

Thomas

Hi.
I tend to like licensing info below, so yes i've moved it down, just pure habit.
Regards.