public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/qt:master commit in: lxqt-base/lxqt-config/files/
@ 2018-12-29  0:45 Jimi Huotari
  0 siblings, 0 replies; 2+ messages in thread
From: Jimi Huotari @ 2018-12-29  0:45 UTC (permalink / raw
  To: gentoo-commits

commit:     e26ab54896ce6c825eb77fde35d41517e4f2cdb5
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 00:44:30 2018 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 00:45:14 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=e26ab548

lxqt-base/lxqt-config: slightly adjust optionally touchpadding patch

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.12

 ...lxqt-config-0.14.0-make-touchpad-optional.patch | 24 +++++++++++++---------
 1 file changed, 14 insertions(+), 10 deletions(-)

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
index 5d2674f2..1090d6f2 100644
--- 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
@@ -1,21 +1,27 @@
-From 8219e93d5733d6c8e98028e6f21468f568d9848d Mon Sep 17 00:00:00 2001
+From 0d4690c116a1775e4e129878d9f5a2f5f77c068f Mon Sep 17 00:00:00 2001
 From: Jimi Huotari <chiitoo@gentoo.org>
 Date: Sun, 23 Dec 2018 23:30:57 +0200
 Subject: [PATCH] lxqt-config-input: make touchpad settings/dependencies
  optional
 
+Add a configure option for building the touchpad section of the
+'Keyboard and Mouse Settings' (enabled by default).  This allows
+for reducing the dependencies on systems that do not have a use
+for them.
+
+Closes: https://github.com/lxqt/lxqt-config/issues/358
 ---
- lxqt-config-input/CMakeLists.txt        | 73 ++++++++++++++++++++-----
+ lxqt-config-input/CMakeLists.txt        | 71 ++++++++++++++++++++-----
  lxqt-config-input/lxqt-config-input.cpp | 10 ++++
  lxqt-config-input/touchpad-config.h.in  |  1 +
- 3 files changed, 71 insertions(+), 13 deletions(-)
+ 3 files changed, 69 insertions(+), 13 deletions(-)
  create mode 100644 lxqt-config-input/touchpad-config.h.in
 
 diff --git a/lxqt-config-input/CMakeLists.txt b/lxqt-config-input/CMakeLists.txt
-index a315e71..2d87a17 100644
+index a315e71..8c4c0fb 100644
 --- a/lxqt-config-input/CMakeLists.txt
 +++ b/lxqt-config-input/CMakeLists.txt
-@@ -1,24 +1,46 @@
+@@ -1,24 +1,44 @@
  project(lxqt-config-input)
  
 +option(WITH_TOUCHPAD "Build touchpad settings" ON)
@@ -37,7 +43,6 @@ index a315e71..2d87a17 100644
 +set(lxqt-config-input_INCS
      ${X11_INCLUDE_DIR}
 -    ${XORG_LIBINPUT_INCLUDE_DIRS}
-+    ${CMAKE_CURRENT_BINARY_DIR}
      "${CMAKE_CURRENT_SOURCE_DIR}/../liblxqt-config-cursor"
  )
  
@@ -52,7 +57,6 @@ index a315e71..2d87a17 100644
 +    ${lxqt-config-input_INCS}
 +)
 +
-+#    "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h.in"
 +configure_file(
 +    "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h.in"
 +    "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h"
@@ -69,7 +73,7 @@ index a315e71..2d87a17 100644
  )
  
  set(lxqt-config-input_SRCS
-@@ -27,8 +49,6 @@ set(lxqt-config-input_SRCS
+@@ -27,8 +47,6 @@ set(lxqt-config-input_SRCS
      mouseconfig.cpp
      keyboardlayoutconfig.cpp
      selectkeyboardlayoutdialog.cpp
@@ -78,7 +82,7 @@ index a315e71..2d87a17 100644
  )
  
  set(lxqt-config-input_UIS
-@@ -36,9 +56,26 @@ set(lxqt-config-input_UIS
+@@ -36,9 +54,26 @@ set(lxqt-config-input_UIS
      keyboardconfig.ui
      keyboardlayoutconfig.ui
      selectkeyboardlayoutdialog.ui
@@ -106,7 +110,7 @@ index a315e71..2d87a17 100644
  # Translations **********************************
  lxqt_translate_ts(QM_FILES
      UPDATE_TRANSLATIONS
-@@ -67,14 +104,24 @@ add_executable(lxqt-config-input
+@@ -67,14 +102,24 @@ add_executable(lxqt-config-input
      ${QM_LOADER}
  )
  


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/qt:master commit in: lxqt-base/lxqt-config/files/
@ 2019-02-18 18:34 Jimi Huotari
  0 siblings, 0 replies; 2+ messages in thread
From: Jimi Huotari @ 2019-02-18 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     cd69137c3a3db5d9699c681250b6c802257cba29
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 18 18:33:00 2019 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Mon Feb 18 18:33:00 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=cd69137c

lxqt-base/lxqt-config: remove upstreamed touchpad patch redux

Remove the actual patch file, too, which somehow got left
lingering about after 91e8f038.

Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 ...lxqt-config-0.14.0-make-touchpad-optional.patch | 206 ---------------------
 1 file changed, 206 deletions(-)

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
deleted file mode 100644
index 1090d6f2..00000000
--- a/lxqt-base/lxqt-config/files/lxqt-config-0.14.0-make-touchpad-optional.patch
+++ /dev/null
@@ -1,206 +0,0 @@
-From 0d4690c116a1775e4e129878d9f5a2f5f77c068f Mon Sep 17 00:00:00 2001
-From: Jimi Huotari <chiitoo@gentoo.org>
-Date: Sun, 23 Dec 2018 23:30:57 +0200
-Subject: [PATCH] lxqt-config-input: make touchpad settings/dependencies
- optional
-
-Add a configure option for building the touchpad section of the
-'Keyboard and Mouse Settings' (enabled by default).  This allows
-for reducing the dependencies on systems that do not have a use
-for them.
-
-Closes: https://github.com/lxqt/lxqt-config/issues/358
----
- lxqt-config-input/CMakeLists.txt        | 71 ++++++++++++++++++++-----
- lxqt-config-input/lxqt-config-input.cpp | 10 ++++
- lxqt-config-input/touchpad-config.h.in  |  1 +
- 3 files changed, 69 insertions(+), 13 deletions(-)
- create mode 100644 lxqt-config-input/touchpad-config.h.in
-
-diff --git a/lxqt-config-input/CMakeLists.txt b/lxqt-config-input/CMakeLists.txt
-index a315e71..8c4c0fb 100644
---- a/lxqt-config-input/CMakeLists.txt
-+++ b/lxqt-config-input/CMakeLists.txt
-@@ -1,24 +1,44 @@
- project(lxqt-config-input)
- 
-+option(WITH_TOUCHPAD "Build touchpad settings" ON)
-+
- find_package(X11 REQUIRED)
--find_package(PkgConfig REQUIRED)
--pkg_check_modules(XORG_LIBINPUT REQUIRED xorg-libinput)
--pkg_check_modules(XORG_XI REQUIRED xi)
--pkg_check_modules(LIBUDEV REQUIRED libudev)
- 
--include_directories(
-+if (WITH_TOUCHPAD)
-+    find_package(PkgConfig REQUIRED)
-+    pkg_check_modules(XORG_LIBINPUT REQUIRED xorg-libinput)
-+    pkg_check_modules(XORG_XI REQUIRED xi)
-+    pkg_check_modules(LIBUDEV REQUIRED libudev)
-+endif ()
-+
-+set(lxqt-config-input_INCS
-     ${X11_INCLUDE_DIR}
--    ${XORG_LIBINPUT_INCLUDE_DIRS}
-     "${CMAKE_CURRENT_SOURCE_DIR}/../liblxqt-config-cursor"
- )
- 
-+if (WITH_TOUCHPAD)
-+    set(lxqt-config-input_INCS
-+        ${lxqt-config-input_INCS}
-+        ${XORG_LIBINPUT_INCLUDE_DIRS}
-+    )
-+endif ()
-+
-+include_directories(
-+    ${lxqt-config-input_INCS}
-+)
-+
-+configure_file(
-+    "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h.in"
-+    "${CMAKE_CURRENT_SOURCE_DIR}/touchpad-config.h"
-+    @ONLY
-+)
-+
- set(lxqt-config-input_HDRS
-     keyboardconfig.h
-     mouseconfig.h
-     mouseconfig.h
-     keyboardlayoutconfig.h
-     selectkeyboardlayoutdialog.h
--    touchpadconfig.h
- )
- 
- set(lxqt-config-input_SRCS
-@@ -27,8 +47,6 @@ set(lxqt-config-input_SRCS
-     mouseconfig.cpp
-     keyboardlayoutconfig.cpp
-     selectkeyboardlayoutdialog.cpp
--    touchpadconfig.cpp
--    touchpaddevice.cpp
- )
- 
- set(lxqt-config-input_UIS
-@@ -36,9 +54,26 @@ set(lxqt-config-input_UIS
-     keyboardconfig.ui
-     keyboardlayoutconfig.ui
-     selectkeyboardlayoutdialog.ui
--    touchpadconfig.ui
- )
- 
-+if (WITH_TOUCHPAD)
-+    set(lxqt-config-input_HDRS
-+        ${lxqt-config-input_HDRS}
-+        touchpadconfig.h
-+    )
-+
-+    set(lxqt-config-input_SRCS
-+        ${lxqt-config-input_SRCS}
-+        touchpadconfig.cpp
-+        touchpaddevice.cpp
-+    )
-+
-+    set(lxqt-config-input_UIS
-+        ${lxqt-config-input_UIS}
-+        touchpadconfig.ui
-+    )
-+endif ()
-+
- # Translations **********************************
- lxqt_translate_ts(QM_FILES
-     UPDATE_TRANSLATIONS
-@@ -67,14 +102,24 @@ add_executable(lxqt-config-input
-     ${QM_LOADER}
- )
- 
--target_link_libraries(lxqt-config-input
-+set(lxqt-config-input_TLBS
-     Qt5::Widgets
-     Qt5::X11Extras
-     ${X11_LIBRARIES}
--    ${X11_Xinput_LIB}
-     lxqt
-     lxqt-config-cursor
--    udev
-+)
-+
-+if (WITH_TOUCHPAD)
-+    set(lxqt-config-input_TLBS
-+        ${lxqt-config-input_TLBS}
-+        ${X11_Xinput_LIB}
-+        udev
-+    )
-+endif ()
-+
-+target_link_libraries(lxqt-config-input
-+    ${lxqt-config-input_TLBS}
- )
- 
- set_target_properties(lxqt-config-input
-diff --git a/lxqt-config-input/lxqt-config-input.cpp b/lxqt-config-input/lxqt-config-input.cpp
-index 9aa3134..ec7fa73 100644
---- a/lxqt-config-input/lxqt-config-input.cpp
-+++ b/lxqt-config-input/lxqt-config-input.cpp
-@@ -25,8 +25,12 @@
- #include "keyboardconfig.h"
- #include "../liblxqt-config-cursor/selectwnd.h"
- #include "keyboardlayoutconfig.h"
-+#include "touchpad-config.h"
-+
-+#ifdef WITH_TOUCHPAD
- #include "touchpadconfig.h"
- #include "touchpaddevice.h"
-+#endif
- 
- int main(int argc, char** argv) {
-     LXQt::SingleApplication app(argc, argv);
-@@ -41,9 +45,11 @@ int main(int argc, char** argv) {
-     app.setApplicationVersion(VERINFO);
- 
-     dlgOptions.setCommandLine(&parser);
-+#ifdef WITH_TOUCHPAD
-     QCommandLineOption loadOption("load-touchpad",
-             app.tr("Load last touchpad settings."));
-     parser.addOption(loadOption);
-+#endif
-     parser.addVersionOption();
-     parser.addHelpOption();
-     parser.process(app);
-@@ -54,11 +60,13 @@ int main(int argc, char** argv) {
-       configName = "session";
-     LXQt::Settings settings(configName);
- 
-+#ifdef WITH_TOUCHPAD
-     bool loadLastTouchpadSettings = parser.isSet(loadOption);
-     if (loadLastTouchpadSettings) {
-         TouchpadDevice::loadSettings(&settings);
-         return 0;
-     }
-+#endif
- 
-     LXQt::ConfigDialog dlg(QObject::tr("Keyboard and Mouse Settings"), &settings);
-     app.setActivationWindow(&dlg);
-@@ -80,10 +88,12 @@ int main(int argc, char** argv) {
-     dlg.addPage(keyboardLayoutConfig, QObject::tr("Keyboard Layout"), "input-keyboard");
-     QObject::connect(&dlg, SIGNAL(reset()), keyboardLayoutConfig, SLOT(reset()));
- 
-+#ifdef WITH_TOUCHPAD
-     TouchpadConfig* touchpadConfig = new TouchpadConfig(&settings, &dlg);
-     dlg.addPage(touchpadConfig, QObject::tr("Mouse and Touchpad"), "input-tablet");
-     QObject::connect(&dlg, &LXQt::ConfigDialog::reset,
-                      touchpadConfig, &TouchpadConfig::reset);
-+#endif
- 
-     dlg.setWindowIcon(QIcon::fromTheme("input-keyboard"));
- 
-diff --git a/lxqt-config-input/touchpad-config.h.in b/lxqt-config-input/touchpad-config.h.in
-new file mode 100644
-index 0000000..d5bdab6
---- /dev/null
-+++ b/lxqt-config-input/touchpad-config.h.in
-@@ -0,0 +1 @@
-+#cmakedefine WITH_TOUCHPAD @WITH_TOUCHPAD@
--- 
-2.20.1
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-18 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-29  0:45 [gentoo-commits] proj/qt:master commit in: lxqt-base/lxqt-config/files/ Jimi Huotari
  -- strict thread matches above, loose matches on Subject: below --
2019-02-18 18:34 Jimi Huotari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox