1 |
commit: e26ab54896ce6c825eb77fde35d41517e4f2cdb5 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 00:44:30 2018 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 00:45:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=e26ab548 |
7 |
|
8 |
lxqt-base/lxqt-config: slightly adjust optionally touchpadding patch |
9 |
|
10 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
|
13 |
...lxqt-config-0.14.0-make-touchpad-optional.patch | 24 +++++++++++++--------- |
14 |
1 file changed, 14 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/lxqt-base/lxqt-config/files/lxqt-config-0.14.0-make-touchpad-optional.patch b/lxqt-base/lxqt-config/files/lxqt-config-0.14.0-make-touchpad-optional.patch |
17 |
index 5d2674f2..1090d6f2 100644 |
18 |
--- a/lxqt-base/lxqt-config/files/lxqt-config-0.14.0-make-touchpad-optional.patch |
19 |
+++ b/lxqt-base/lxqt-config/files/lxqt-config-0.14.0-make-touchpad-optional.patch |
20 |
@@ -1,21 +1,27 @@ |
21 |
-From 8219e93d5733d6c8e98028e6f21468f568d9848d Mon Sep 17 00:00:00 2001 |
22 |
+From 0d4690c116a1775e4e129878d9f5a2f5f77c068f Mon Sep 17 00:00:00 2001 |
23 |
From: Jimi Huotari <chiitoo@g.o> |
24 |
Date: Sun, 23 Dec 2018 23:30:57 +0200 |
25 |
Subject: [PATCH] lxqt-config-input: make touchpad settings/dependencies |
26 |
optional |
27 |
|
28 |
+Add a configure option for building the touchpad section of the |
29 |
+'Keyboard and Mouse Settings' (enabled by default). This allows |
30 |
+for reducing the dependencies on systems that do not have a use |
31 |
+for them. |
32 |
+ |
33 |
+Closes: https://github.com/lxqt/lxqt-config/issues/358 |
34 |
--- |
35 |
- lxqt-config-input/CMakeLists.txt | 73 ++++++++++++++++++++----- |
36 |
+ lxqt-config-input/CMakeLists.txt | 71 ++++++++++++++++++++----- |
37 |
lxqt-config-input/lxqt-config-input.cpp | 10 ++++ |
38 |
lxqt-config-input/touchpad-config.h.in | 1 + |
39 |
- 3 files changed, 71 insertions(+), 13 deletions(-) |
40 |
+ 3 files changed, 69 insertions(+), 13 deletions(-) |
41 |
create mode 100644 lxqt-config-input/touchpad-config.h.in |
42 |
|
43 |
diff --git a/lxqt-config-input/CMakeLists.txt b/lxqt-config-input/CMakeLists.txt |
44 |
-index a315e71..2d87a17 100644 |
45 |
+index a315e71..8c4c0fb 100644 |
46 |
--- a/lxqt-config-input/CMakeLists.txt |
47 |
+++ b/lxqt-config-input/CMakeLists.txt |
48 |
-@@ -1,24 +1,46 @@ |
49 |
+@@ -1,24 +1,44 @@ |
50 |
project(lxqt-config-input) |
51 |
|
52 |
+option(WITH_TOUCHPAD "Build touchpad settings" ON) |
53 |
@@ -37,7 +43,6 @@ index a315e71..2d87a17 100644 |
54 |
+set(lxqt-config-input_INCS |
55 |
${X11_INCLUDE_DIR} |
56 |
- ${XORG_LIBINPUT_INCLUDE_DIRS} |
57 |
-+ ${CMAKE_CURRENT_BINARY_DIR} |
58 |
"${CMAKE_CURRENT_SOURCE_DIR}/../liblxqt-config-cursor" |
59 |
) |
60 |
|
61 |
@@ -52,7 +57,6 @@ index a315e71..2d87a17 100644 |
62 |
+ ${lxqt-config-input_INCS} |
63 |
+) |
64 |
+ |
65 |
-+# "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h.in" |
66 |
+configure_file( |
67 |
+ "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h.in" |
68 |
+ "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h" |
69 |
@@ -69,7 +73,7 @@ index a315e71..2d87a17 100644 |
70 |
) |
71 |
|
72 |
set(lxqt-config-input_SRCS |
73 |
-@@ -27,8 +49,6 @@ set(lxqt-config-input_SRCS |
74 |
+@@ -27,8 +47,6 @@ set(lxqt-config-input_SRCS |
75 |
mouseconfig.cpp |
76 |
keyboardlayoutconfig.cpp |
77 |
selectkeyboardlayoutdialog.cpp |
78 |
@@ -78,7 +82,7 @@ index a315e71..2d87a17 100644 |
79 |
) |
80 |
|
81 |
set(lxqt-config-input_UIS |
82 |
-@@ -36,9 +56,26 @@ set(lxqt-config-input_UIS |
83 |
+@@ -36,9 +54,26 @@ set(lxqt-config-input_UIS |
84 |
keyboardconfig.ui |
85 |
keyboardlayoutconfig.ui |
86 |
selectkeyboardlayoutdialog.ui |
87 |
@@ -106,7 +110,7 @@ index a315e71..2d87a17 100644 |
88 |
# Translations ********************************** |
89 |
lxqt_translate_ts(QM_FILES |
90 |
UPDATE_TRANSLATIONS |
91 |
-@@ -67,14 +104,24 @@ add_executable(lxqt-config-input |
92 |
+@@ -67,14 +102,24 @@ add_executable(lxqt-config-input |
93 |
${QM_LOADER} |
94 |
) |