evemu: bump version to 1.2.0
authorPeter Seiderer <ps.report@gmx.net>
Tue, 22 Apr 2014 21:47:17 +0000 (23:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 25 Apr 2014 08:53:51 +0000 (10:53 +0200)
[Peter: add patches for modern kernel headers and to disable tests]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/evemu/evemu-0001-SYN_MAX.patch [new file with mode: 0644]
package/evemu/evemu-0002-disable-tests.patch [new file with mode: 0644]
package/evemu/evemu.mk

diff --git a/package/evemu/evemu-0001-SYN_MAX.patch b/package/evemu/evemu-0001-SYN_MAX.patch
new file mode 100644 (file)
index 0000000..049bdc0
--- /dev/null
@@ -0,0 +1,25 @@
+[PATCH] make-event-names.py: fix SYN_MAX definition for modern kernel headers
+
+SYN_MAX has been exported to user space since 3.12 (52764fed5: Input: add
+SYN_MAX and SYN_CNT constants), so only define it locally if not already
+defined, otherwise the build breaks.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ src/make-event-names.py |    2 ++
+ 1 file changed, 2 insertions(+)
+
+Index: evemu-1.2.0/src/make-event-names.py
+===================================================================
+--- evemu-1.2.0.orig/src/make-event-names.py
++++ evemu-1.2.0/src/make-event-names.py
+@@ -91,7 +91,9 @@
+       print "#ifndef EVENT_NAMES_H"
+       print "#define EVENT_NAMES_H"
+       print ""
++      print "#ifndef SYN_MAX"
+       print "#define SYN_MAX 3 /* linux/input.h doesn't define that */"
++      print "#endif"
+       print ""
+       for prefix in prefixes:
diff --git a/package/evemu/evemu-0002-disable-tests.patch b/package/evemu/evemu-0002-disable-tests.patch
new file mode 100644 (file)
index 0000000..e545c91
--- /dev/null
@@ -0,0 +1,19 @@
+[PATCH] disable tests
+
+The tests need C++ support and add to build time, so disable them for BR.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ Makefile.am |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: evemu-1.2.0/Makefile.am
+===================================================================
+--- evemu-1.2.0.orig/Makefile.am
++++ evemu-1.2.0/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = src tools python test
++SUBDIRS = src tools python
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = evemu.pc
index 38b792dd37cbd8321f10060b99802e2715862163..df9aea19f7437db692de6049c8b1851643549e6e 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-EVEMU_VERSION = 1.0.10
+EVEMU_VERSION = 1.2.0
 EVEMU_SITE = http://cgit.freedesktop.org/evemu/snapshot
 EVEMU_LICENSE = LGPLv3 (library), GPLv3 (tools)
 EVEMU_LICENSE_FILES = COPYING COPYING.GPL3