public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/wacomtablet/files/, kde-misc/wacomtablet/
Date: Sun, 24 Mar 2019 17:49:41 +0000 (UTC)	[thread overview]
Message-ID: <1553449757.cfa45f40b5292dfc7b4d22220ec9a26e1145ff4a.asturm@gentoo> (raw)

commit:     cfa45f40b5292dfc7b4d22220ec9a26e1145ff4a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 17:48:40 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 17:49:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa45f40

kde-misc/wacomtablet: Fix build without XLIB

Closes: https://bugs.gentoo.org/681674
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/wacomtablet-3.1.1-xlib-optional.patch       | 19 +++++++++++++++++++
 kde-misc/wacomtablet/wacomtablet-3.1.1.ebuild         |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/kde-misc/wacomtablet/files/wacomtablet-3.1.1-xlib-optional.patch b/kde-misc/wacomtablet/files/wacomtablet-3.1.1-xlib-optional.patch
new file mode 100644
index 00000000000..ae40d90a64b
--- /dev/null
+++ b/kde-misc/wacomtablet/files/wacomtablet-3.1.1-xlib-optional.patch
@@ -0,0 +1,19 @@
+--- a/CMakeLists.txt	2019-03-24 18:34:44.642298259 +0100
++++ b/CMakeLists.txt	2019-03-24 18:38:45.593440974 +0100
+@@ -24,7 +24,7 @@
+ find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets DBus X11Extras Qml)
+ find_package(KF5 REQUIRED COMPONENTS CoreAddons I18n GlobalAccel Config XmlGui WidgetsAddons WindowSystem Notifications DBusAddons Plasma DocTools)
+ find_package(XCB OPTIONAL_COMPONENTS XINPUT)
+-find_package(X11 REQUIRED COMPONENTS XLIB)
++find_package(X11 REQUIRED)
+ find_package(XorgWacom REQUIRED)
+ find_package(LibWacom REQUIRED)
+ 
+@@ -41,6 +41,7 @@
+     set(USING_X_LIBRARIES XCB::XINPUT ${X11_Xinput_LIB})
+     add_definitions(-DHAVE_XCB_XINPUT)
+ else()
++    find_package(X11 REQUIRED COMPONENTS XLIB)
+     message(STATUS "Falling back to X11_XINPUT.")
+     set(USING_X_LIBRARIES ${X11_LIBRARIES} ${X11_Xinput_LIB})
+ endif()

diff --git a/kde-misc/wacomtablet/wacomtablet-3.1.1.ebuild b/kde-misc/wacomtablet/wacomtablet-3.1.1.ebuild
index 296d3c16027..733552086e0 100644
--- a/kde-misc/wacomtablet/wacomtablet-3.1.1.ebuild
+++ b/kde-misc/wacomtablet/wacomtablet-3.1.1.ebuild
@@ -40,12 +40,13 @@ CDEPEND="
 DEPEND="${CDEPEND}
 	sys-devel/gettext
 	x11-base/xorg-proto
-	x11-libs/libX11
 "
 RDEPEND="${CDEPEND}
 	!kde-misc/wacomtablet:4
 "
 
+PATCHES=( "${FILESDIR}/${P}-xlib-optional.patch" ) # bug 681674
+
 src_test() {
 	# test needs DBus, bug 675548
 	local myctestargs=(


             reply	other threads:[~2019-03-24 17:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 17:49 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-27 15:12 [gentoo-commits] repo/gentoo:master commit in: kde-misc/wacomtablet/files/, kde-misc/wacomtablet/ Andreas Sturmlechner
2022-02-21 16:48 Andreas Sturmlechner
2019-08-17 10:48 Andreas Sturmlechner
2019-07-15 20:52 Andreas Sturmlechner
2019-05-27 18:35 Andreas Sturmlechner
2016-04-20 15:48 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1553449757.cfa45f40b5292dfc7b4d22220ec9a26e1145ff4a.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox