Blob Blame History Raw
From ca5e475189c42f9f0d1974e4e5a914d9b4cea498 Mon Sep 17 00:00:00 2001
From: hubenchang0515 <hubenchang@uniontech.com>
Date: Fri, 11 Sep 2020 14:02:43 +0800
Subject: [PATCH 2/9] feat(rpm): add rpm spec
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

添加RPM打包脚本

Log: 添加RPM打包脚本
Change-Id: I5e3c36bd1257073265ce076e177e8fea3cb91df9
Reviewed-on: http://gerrit.uniontech.com/c/dde-daemon/+/4427
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: quezhiyong <quezhiyong@uniontech.com>
Tested-by: <mailman@uniontech.com>
---
 Makefile              |  2 +-
 system/gesture/core.h | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 13306098..82876747 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 PREFIX = /usr
 GOPATH_DIR = gopath
 GOPKG_PREFIX = pkg.deepin.io/dde/daemon
-GOBUILD = go build
+GOBUILD = go build $(flags)
 
 BINARIES =  \
 	    dde-session-daemon \
diff --git a/system/gesture/core.h b/system/gesture/core.h
index c2371c8b..cf1abdba 100644
--- a/system/gesture/core.h
+++ b/system/gesture/core.h
@@ -43,6 +43,19 @@
 #define GESTURE_DIRECTION_IN 14
 #define GESTURE_DIRECTION_OUT 15
 
+#ifndef LIBINPUT_EVENT_GESTURE_TAP_BEGIN
+#define LIBINPUT_EVENT_GESTURE_TAP_BEGIN 806
+#endif
+
+#ifndef LIBINPUT_EVENT_GESTURE_TAP_UPDATE
+#define LIBINPUT_EVENT_GESTURE_TAP_UPDATE 807
+#endif
+
+#ifndef LIBINPUT_EVENT_GESTURE_TAP_END
+#define LIBINPUT_EVENT_GESTURE_TAP_END 808
+#endif
+
+
 int start_loop(int verbose, double distance);
 void quit_loop(void);
 void set_timer_duration(int duration);
-- 
2.26.2