1 |
commit: e184e882cf22f3a8eb4640f1decdeab312f51789 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 17:29:16 2015 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 17:29:16 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e184e882 |
7 |
|
8 |
[kde-frameworks/kio] Drop failing patch |
9 |
|
10 |
Use KDE_PUNT_BOGUS_DEPS magic instead. |
11 |
|
12 |
Package-Manager: portage-2.2.20 |
13 |
|
14 |
kde-frameworks/kio/files/kio-tests-optional.patch | 28 ----------------------- |
15 |
kde-frameworks/kio/kio-9999.ebuild | 8 +------ |
16 |
2 files changed, 1 insertion(+), 35 deletions(-) |
17 |
|
18 |
diff --git a/kde-frameworks/kio/files/kio-tests-optional.patch b/kde-frameworks/kio/files/kio-tests-optional.patch |
19 |
deleted file mode 100644 |
20 |
index ca45d88..0000000 |
21 |
--- a/kde-frameworks/kio/files/kio-tests-optional.patch |
22 |
+++ /dev/null |
23 |
@@ -1,28 +0,0 @@ |
24 |
---- a/CMakeLists.txt 2015-01-21 01:30:56.784894492 +0100 |
25 |
-+++ b/CMakeLists.txt 2015-01-21 01:34:51.192505604 +0100 |
26 |
-@@ -57,7 +57,7 @@ |
27 |
- add_definitions(-DQT_NO_URL_CAST_FROM_STRING) |
28 |
- |
29 |
- set(REQUIRED_QT_VERSION 5.2.0) |
30 |
--find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Widgets DBus Network Concurrent Xml Test) |
31 |
-+find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Widgets DBus Network Concurrent Xml) |
32 |
- |
33 |
- find_package(GSSAPI) |
34 |
- set_package_properties(GSSAPI PROPERTIES DESCRIPTION "Allows KIO to make use of certain HTTP authentication services" |
35 |
-@@ -85,10 +85,13 @@ |
36 |
- endif() |
37 |
- include(CheckLibraryExists) |
38 |
- add_subdirectory(src) |
39 |
--add_subdirectory(autotests) |
40 |
- |
41 |
--if (NOT KIOCORE_ONLY) |
42 |
--add_subdirectory(tests) |
43 |
-+if(BUILD_TESTING) |
44 |
-+ find_package(Qt5Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED) |
45 |
-+ add_subdirectory(autotests) |
46 |
-+ if (NOT KIOCORE_ONLY) |
47 |
-+ add_subdirectory(tests) |
48 |
-+ endif() |
49 |
- endif() |
50 |
- |
51 |
- # create a Config.cmake and a ConfigVersion.cmake file and install them |
52 |
|
53 |
diff --git a/kde-frameworks/kio/kio-9999.ebuild b/kde-frameworks/kio/kio-9999.ebuild |
54 |
index f471eb1..af3e18b 100644 |
55 |
--- a/kde-frameworks/kio/kio-9999.ebuild |
56 |
+++ b/kde-frameworks/kio/kio-9999.ebuild |
57 |
@@ -5,6 +5,7 @@ |
58 |
EAPI=5 |
59 |
|
60 |
VIRTUALX_REQUIRED="test" |
61 |
+KDE_PUNT_BOGUS_DEPS=true |
62 |
inherit kde5 |
63 |
|
64 |
DESCRIPTION="Framework providing transparent file and data management" |
65 |
@@ -65,13 +66,6 @@ PDEPEND=" |
66 |
# tests hang |
67 |
RESTRICT="test" |
68 |
|
69 |
-src_prepare() { |
70 |
- # whole patch should be upstreamed, doesn't work in PATCHES |
71 |
- epatch "${FILESDIR}/${PN}-tests-optional.patch" |
72 |
- |
73 |
- kde5_src_prepare |
74 |
-} |
75 |
- |
76 |
src_configure() { |
77 |
local mycmakeargs=( |
78 |
$(cmake-utils_use_find_package acl) |