Skip to contentSkip to conversation

libinput: bump version to 0.7.0

PATCH New Peter Seiderer 2 participants 3 messages Dec 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libinput: bump version to 0.7.0

See [1] for a detailed list of changes.

Additional renamed (and rebased) the single patch.

[1] http://lists.freedesktop.org/archives/wayland-devel/2014-December/018750.html

---
 .../0001-rename-log_msg-to-libinput_log_msg.patch  | 63 ++++++++++++++++++++
 ...put-01-rename-log_msg-to-libinput_log_msg.patch | 67 ----------------------
 package/libinput/libinput.mk                       |  2 +-
 3 files changed, 64 insertions(+), 68 deletions(-)
 create mode 100644 package/libinput/0001-rename-log_msg-to-libinput_log_msg.patch
 delete mode 100644 package/libinput/libinput-01-rename-log_msg-to-libinput_log_msg.patch
package/libinput/0001-rename-log_msg-to-libinput_log_msg.patch new file +63 -0
new file mode 100644
index 0000000..433b29e
@@ -0,0 +1,63 @@
+From bf4a4a4e2b0479322fe16c9e1f15f146daa893ee Mon Sep 17 00:00:00 2001
+From: Romain Naour <[email protected]>
+Date: Thu, 21 Aug 2014 18:18:16 +0200
+Subject: [PATCH] rename log_msg to libinput_log_msg
+
+This fixes a conflict between libevdev and libinput on the definition
+of the log_msg() symbol.
+
+http://autobuild.buildroot.net/results/c13/c133b7c706ee31302125df8ca94f4d0f0152c6c6/build-end.log
+
+Signed-off-by: Romain Naour <[email protected]>
+[yann.morin.1998 at free.fr: rebase on-top of 0.6.0]
+Signed-off-by: "Yann E. MORIN" <[email protected]>
+[ps.report at gmx.net: rebase on top of 0.7.0]
+Signed-off-by: Peter Seiderer <[email protected]>
+---
+ src/libinput-private.h | 14 +++++++-------
+ src/libinput.c         |  2 +-
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/src/libinput-private.h b/src/libinput-private.h
+index b36dc95..98f91b3 100644
+--- a/src/libinput-private.h
++++ b/src/libinput-private.h
+@@ -179,15 +179,15 @@ struct libinput_event_listener {
+ typedef void (*libinput_source_dispatch_t)(void *data);
+ 
+ 
+-#define log_debug(li_, ...) log_msg((li_), LIBINPUT_LOG_PRIORITY_DEBUG, __VA_ARGS__)
+-#define log_info(li_, ...) log_msg((li_), LIBINPUT_LOG_PRIORITY_INFO, __VA_ARGS__)
+-#define log_error(li_, ...) log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, __VA_ARGS__)
+-#define log_bug_kernel(li_, ...) log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, "kernel bug: " __VA_ARGS__)
+-#define log_bug_libinput(li_, ...) log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, "libinput bug: " __VA_ARGS__)
+-#define log_bug_client(li_, ...) log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, "client bug: " __VA_ARGS__)
++#define log_debug(li_, ...) libinput_log_msg((li_), LIBINPUT_LOG_PRIORITY_DEBUG, __VA_ARGS__)
++#define log_info(li_, ...) libinput_log_msg((li_), LIBINPUT_LOG_PRIORITY_INFO, __VA_ARGS__)
++#define log_error(li_, ...) libinput_log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, __VA_ARGS__)
++#define log_bug_kernel(li_, ...) libinput_log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, "kernel bug: " __VA_ARGS__)
++#define log_bug_libinput(li_, ...) libinput_log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, "libinput bug: " __VA_ARGS__)
++#define log_bug_client(li_, ...) libinput_log_msg((li_), LIBINPUT_LOG_PRIORITY_ERROR, "client bug: " __VA_ARGS__)
+ 
+ void
+-log_msg(struct libinput *libinput,
++libinput_log_msg(struct libinput *libinput,
+ 	enum libinput_log_priority priority,
+ 	const char *format, ...);
+ 
+diff --git a/src/libinput.c b/src/libinput.c
+index 279cce0..5748e5e 100644
+--- a/src/libinput.c
++++ b/src/libinput.c
+@@ -107,7 +107,7 @@ log_msg_va(struct libinput *libinput,
+ }
+ 
+ void
+-log_msg(struct libinput *libinput,
++libinput_log_msg(struct libinput *libinput,
+ 	enum libinput_log_priority priority,
+ 	const char *format, ...)
+ {
+-- 
+2.1.2
+
package/libinput/libinput-01-rename-log_msg-to-libinput_log_msg.patch deleted +0 -67

67 lines not on this page · raw message

package/libinput/libinput.mk +1 -1
index 2ea30ed..bf4537b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBINPUT_VERSION = 0.6.0
+LIBINPUT_VERSION = 0.7.0
 LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
 LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
 LIBINPUT_LICENSE = MIT
Signature · 1 line
2.1.2
#1 lore raw

PATCH 2/2 libinput: add hash

---
 package/libinput/libinput.hash | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 package/libinput/libinput.hash
package/libinput/libinput.hash new file +2 -0
new file mode 100644
index 0000000..fa246d4
@@ -0,0 +1,2 @@
+# From http://lists.freedesktop.org/archives/wayland-devel/2014-December/018750.html
+sha256 129f485afe5e4a9394641293991c97cb99f5f3338340d0d65b704ff463d1579e  libinput-0.7.0.tar.xz
Signature · 1 line
2.1.2
#2 lore raw

PATCH 1/2 libinput: bump version to 0.7.0

In reply to Peter Seiderer

Dear Peter Seiderer,

Quoted 6 lines · Peter Seiderer

See [1] for a detailed list of changes.

Additional renamed (and rebased) the single patch.

[1] http://lists.freedesktop.org/archives/wayland-devel/2014-December/018750.html

Quoted 8 lines
---
 .../0001-rename-log_msg-to-libinput_log_msg.patch  | 63 ++++++++++++++++++++
 ...put-01-rename-log_msg-to-libinput_log_msg.patch | 67 ----------------------
 package/libinput/libinput.mk                       |  2 +-
 3 files changed, 64 insertions(+), 68 deletions(-)
 create mode 100644 package/libinput/0001-rename-log_msg-to-libinput_log_msg.patch
 delete mode 100644 package/libinput/libinput-01-rename-log_msg-to-libinput_log_msg.patch

Both applied, thanks.

Thomas

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