From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/files/, kde-plasma/plasma-workspace/
Date: Wed, 21 Jan 2015 20:48:20 +0000 (UTC) [thread overview]
Message-ID: <1421873263.5bca4f847ba82eed4ff02cb5c8ffa794e2ebd325.johu@gentoo> (raw)
commit: 5bca4f847ba82eed4ff02cb5c8ffa794e2ebd325
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Jan 20 23:15:57 2015 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 20:47:43 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=5bca4f84
[kde-plasma/plasma-workspace] Make tests optional
drkonqi/internalkxmlrpcclient/autotests subdir was added unconditionally.
---
.../plasma-workspace-9999-tests-optional.patch | 25 ++++++++++++++++++++++
.../plasma-workspace/plasma-workspace-9999.ebuild | 4 ++++
2 files changed, 29 insertions(+)
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-9999-tests-optional.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-9999-tests-optional.patch
new file mode 100644
index 0000000..1c9c6bf
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-9999-tests-optional.patch
@@ -0,0 +1,25 @@
+--- a/CMakeLists.txt 2015-01-21 00:23:54.096323752 +0100
++++ b/CMakeLists.txt 2015-01-21 00:24:36.304654204 +0100
+@@ -7,7 +7,7 @@
+ set(QT_MIN_VERSION "5.3.0")
+ set(KF5_MIN_VERSION "5.7.0")
+ set(INSTALL_SDDM_THEME TRUE)
+-find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets Quick QuickWidgets Concurrent Test Script Network)
++find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets Quick QuickWidgets Concurrent Script Network)
+ find_package(ECM 0.0.11 REQUIRED NO_MODULE)
+ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
+
+--- a/drkonqi/internalkxmlrpcclient/CMakeLists.txt 2015-01-20 23:55:55.857657633 +0100
++++ b/drkonqi/internalkxmlrpcclient/CMakeLists.txt 2015-01-21 00:05:27.684341452 +0100
+@@ -33,7 +33,10 @@
+
+ ########### Targets ###########
+ add_subdirectory(src)
+-add_subdirectory(autotests)
++
++if(BUILD_TESTING)
++ add_subdirectory(autotests)
++endif()
+
+ ########### CMake Config Files ###########
+ set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5XmlRpcClientPrivate")
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
index 6d1bbe6..47fdee6 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
@@ -4,6 +4,7 @@
EAPI=5
+KDE_TEST="true"
VIRTUALX_REQUIRED="test"
inherit kde5 multilib
@@ -108,6 +109,9 @@ PATCHES=( "${FILESDIR}/${PN}-startkde-script.patch" )
RESTRICT="test"
src_prepare() {
+ # whole patch should be upstreamed, doesn't work in PATCHES
+ epatch "${FILESDIR}/${PN}-9999-tests-optional.patch"
+
kde5_src_prepare
sed -e "s|\`qtpaths|\`/usr/$(get_libdir)/qt5/bin/qtpaths|" -i startkde/startkde.cmake || die
next reply other threads:[~2015-01-21 20:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-21 20:48 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-01-27 20:07 [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/files/, kde-plasma/plasma-workspace/ Johannes Huber
2015-04-29 15:03 Michael Palimaka
2015-06-01 18:18 Michael Palimaka
2015-07-04 14:48 Johannes Huber
2015-08-16 20:36 Johannes Huber
2015-11-10 12:41 Michael Palimaka
2015-11-14 16:01 Michael Palimaka
2015-12-28 0:33 Marc Schiffbauer
2016-03-20 14:47 Michael Palimaka
2016-10-08 15:51 Michael Palimaka
2016-11-12 8:34 Michael Palimaka
2018-10-22 18:14 Andreas Sturmlechner
2019-05-14 6:28 Andreas Sturmlechner
2019-10-15 17:10 Andreas Sturmlechner
2021-05-04 21:12 Andreas Sturmlechner
2021-05-05 3:00 Andreas Sturmlechner
2021-11-09 13:04 Andreas Sturmlechner
2022-02-21 11:47 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=1421873263.5bca4f847ba82eed4ff02cb5c8ffa794e2ebd325.johu@gentoo \
--to=johu@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