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] proj/kde:master commit in: kde-plasma/drkonqi/files/, kde-plasma/drkonqi/
Date: Fri, 20 Oct 2017 22:56:37 +0000 (UTC)	[thread overview]
Message-ID: <1508540185.40344977cca595b82e3fd69d98f810a0df612643.asturm@gentoo> (raw)

commit:     40344977cca595b82e3fd69d98f810a0df612643
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 20 22:55:27 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 22:56:25 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=40344977

kde-plasma/drkonqi: Fix build with USE=-X

Gentoo-bug: 634510
Package-Manager: Portage-2.3.12, Repoman-2.3.3

 kde-plasma/drkonqi/drkonqi-5.11.49.9999.ebuild    |  2 +
 kde-plasma/drkonqi/files/drkonqi-5.11.1-x11.patch | 46 +++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/kde-plasma/drkonqi/drkonqi-5.11.49.9999.ebuild b/kde-plasma/drkonqi/drkonqi-5.11.49.9999.ebuild
index cac8570632..a21d1fd143 100644
--- a/kde-plasma/drkonqi/drkonqi-5.11.49.9999.ebuild
+++ b/kde-plasma/drkonqi/drkonqi-5.11.49.9999.ebuild
@@ -39,6 +39,8 @@ RDEPEND="${COMMON_DEPEND}
 	!<kde-plasma/plasma-workspace-5.10.95:5
 "
 
+PATCHES=( "${FILESDIR}/${PN}-5.11.1-x11.patch" )
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package X Qt5X11Extras)

diff --git a/kde-plasma/drkonqi/files/drkonqi-5.11.1-x11.patch b/kde-plasma/drkonqi/files/drkonqi-5.11.1-x11.patch
new file mode 100644
index 0000000000..ffbd25c4f7
--- /dev/null
+++ b/kde-plasma/drkonqi/files/drkonqi-5.11.1-x11.patch
@@ -0,0 +1,46 @@
+From c5047038751052c3feb588496cd14bdb233a18f8 Mon Sep 17 00:00:00 2001
+From: Kevin Funk <kfunk@kde.org>
+Date: Sun, 15 Oct 2017 18:52:53 +0200
+Subject: Make Qt5::X11Extras really optional
+
+Summary:
+Otherwise may fail.
+
+Reviewers: rjvbb, sitter, davidedmundson
+
+Reviewed By: sitter, davidedmundson
+
+Subscribers: apol, plasma-devel
+
+Tags: #plasma
+
+Differential Revision: https://phabricator.kde.org/D8307
+---
+ CMakeLists.txt     | 2 +-
+ config-X11.h.cmake | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 43eeea5..8c8f9b2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -30,7 +30,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets Test
+ 
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n CoreAddons Service ConfigWidgets JobWidgets KIO Crash Completion XmlRpcClient WidgetsAddons Wallet Notifications IdleTime)
+ 
+-find_package(Qt5 ${QT_MIN_VERSION} CONFIG COMPONENTS X11Extras)
++find_package(Qt5X11Extras ${QT_MIN_VERSION} CONFIG)
+ 
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}")
+ configure_file(config-X11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-X11.h)
+diff --git a/config-X11.h.cmake b/config-X11.h.cmake
+index 26064aa..2f779a2 100644
+--- a/config-X11.h.cmake
++++ b/config-X11.h.cmake
+@@ -1,2 +1,2 @@
+-#cmakedefine Qt5X11Extras_FOUND 1
++#cmakedefine01 Qt5X11Extras_FOUND
+ #define HAVE_X11 Qt5X11Extras_FOUND
+-- 
+cgit v0.11.2
+


             reply	other threads:[~2017-10-20 22:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20 22:56 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-04 20:51 [gentoo-commits] proj/kde:master commit in: kde-plasma/drkonqi/files/, kde-plasma/drkonqi/ Andreas Sturmlechner

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=1508540185.40344977cca595b82e3fd69d98f810a0df612643.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