diff mbox

[1/2] libinput: add explicit event-gui handling

Message ID 1461273652-8935-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 1c02dee9552c06c90d887746e70181347a2e2fde
Headers show

Commit Message

Gustavo Zacarias April 21, 2016, 9:20 p.m. UTC
Otherwise since it's automatic it was left to random depending on the
libgtk3/libinput build order.

Also collapse all that whitespace.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libinput/libinput.mk | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Comments

Thomas Petazzoni April 21, 2016, 9:39 p.m. UTC | #1
Hello,

On Thu, 21 Apr 2016 18:20:51 -0300, Gustavo Zacarias wrote:

> diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk
> index 6d8b7b6..2954760 100644
> --- a/package/libinput/libinput.mk
> +++ b/package/libinput/libinput.mk
> @@ -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

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
Gustavo Zacarias April 22, 2016, 1:31 p.m. UTC | #2
On 21/04/16 18:39, Thomas Petazzoni wrote:

> 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.
Peter Korsgaard April 22, 2016, 8:07 p.m. UTC | #3
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

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

 > Also collapse all that whitespace.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

Patch

diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk
index 6d8b7b6..2954760 100644
--- a/package/libinput/libinput.mk
+++ b/package/libinput/libinput.mk
@@ -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))