1 |
commit: f6aafb2c8814829263d26757bd420d5fbfe9bac6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 10 16:45:26 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 11 20:46:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6aafb2c |
7 |
|
8 |
kde-frameworks/kio: 5.84.0 version bump |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-frameworks/kio/Manifest | 1 + |
13 |
.../kio-5.84.0-fix-qtconcurrent-private-link.patch | 76 +++++++++++++++++ |
14 |
kde-frameworks/kio/kio-5.84.0.ebuild | 99 ++++++++++++++++++++++ |
15 |
3 files changed, 176 insertions(+) |
16 |
|
17 |
diff --git a/kde-frameworks/kio/Manifest b/kde-frameworks/kio/Manifest |
18 |
index 0cc32fbcb63..4e880781978 100644 |
19 |
--- a/kde-frameworks/kio/Manifest |
20 |
+++ b/kde-frameworks/kio/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST kio-5.82.0.tar.xz 3330028 BLAKE2B be2d22adec291f8e5f6be5227d33e4ca505b43c3888174cfe667dc7fc3bf6d1a383178238540b4598028c61c51498e5d94f3ba3c7e354d82f8dfdf11f7c7fbd0 SHA512 a14f42a8c96fb8b1f435d4120805628f877132b588c2c1f983af6409603baffbcdad99f1c296fef99dd78fb7edbf526fd95f85970ccbf91887619eb5728cb3dc |
23 |
DIST kio-5.83.0.tar.xz 3187064 BLAKE2B 2a11566cae3bbe48d57ffc188d6ccd9b98796139fc34c6e68535e7c126e376874364f9d338ebc92f5996e9c32318ba69a2c8743b87183f775ec4c1309813c862 SHA512 0b2b9effdf8ceef148176852428256dcdfb49dcb256478f2400130b2bcf091a2a2e4f54a5baeb38c7c74b83d7560fc4e699fd3d8c476c530ae6828e0eef0bfb0 |
24 |
+DIST kio-5.84.0.tar.xz 3191612 BLAKE2B 1d1788f4c731d6802eff504f4cba5569847dfbd506d25685f5c9d2218a88eb8ffca3d01f9290567ef368f0104ed322586015e6536e2ef07120803a2adbba5e2d SHA512 4c041b33171014562469c8ee074f85595edd503c0cb4c66aa5a17bad24937b71094826df2f3734b3d244d93b812e933f6ddc095628f2b25d5fca34c793383af9 |
25 |
|
26 |
diff --git a/kde-frameworks/kio/files/kio-5.84.0-fix-qtconcurrent-private-link.patch b/kde-frameworks/kio/files/kio-5.84.0-fix-qtconcurrent-private-link.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..033b75bb00b |
29 |
--- /dev/null |
30 |
+++ b/kde-frameworks/kio/files/kio-5.84.0-fix-qtconcurrent-private-link.patch |
31 |
@@ -0,0 +1,76 @@ |
32 |
+From fb9bbb6f1fbb4e6232221a851f55ca2dc43b012c Mon Sep 17 00:00:00 2001 |
33 |
+From: Andreas Sturmlechner <asturm@g.o> |
34 |
+Date: Fri, 23 Apr 2021 20:10:31 +0200 |
35 |
+Subject: [PATCH] Introduce KIO_NO_PUBLIC_QTCONCURRENT option |
36 |
+ |
37 |
+If set, move Qt5Concurrent to private link interface, drop from |
38 |
+KF5KIOConfig.cmake.in. Originally added in 2f83dde2, but only used |
39 |
+in the implementation, not the API. |
40 |
+ |
41 |
+Test-built various revdeps successfully against the patched KIO |
42 |
+with/without Qt5Concurrent installed, fixing implicit deps while |
43 |
+at it. KDE Gear packages fixed in >=21.04.2, Plasma in >=5.21.5. |
44 |
+ |
45 |
+Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
46 |
+--- |
47 |
+ CMakeLists.txt | 3 +++ |
48 |
+ KF5KIOConfig.cmake.in | 2 ++ |
49 |
+ src/core/CMakeLists.txt | 7 ++++++- |
50 |
+ 3 files changed, 11 insertions(+), 1 deletion(-) |
51 |
+ |
52 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
53 |
+index e0063c2c..63aef43c 100644 |
54 |
+--- a/CMakeLists.txt |
55 |
++++ b/CMakeLists.txt |
56 |
+@@ -49,6 +49,9 @@ option(KIO_ASSERT_SLAVE_STATES |
57 |
+ "Used to control whether slave state assertions are enabled. When not enabled only warnings are generated." |
58 |
+ ${ASSERT_SLAVE_STATES_DEFAULT}) |
59 |
+ |
60 |
++# TODO KF6: remove |
61 |
++option(KIO_NO_PUBLIC_QTCONCURRENT "Privatize QtConcurrent linking, so KIO does not provide the target to revdeps.") |
62 |
++ |
63 |
+ option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) |
64 |
+ add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") |
65 |
+ |
66 |
+diff --git a/KF5KIOConfig.cmake.in b/KF5KIOConfig.cmake.in |
67 |
+index 687ec512..69564b3d 100644 |
68 |
+--- a/KF5KIOConfig.cmake.in |
69 |
++++ b/KF5KIOConfig.cmake.in |
70 |
+@@ -21,7 +21,9 @@ find_dependency(KF5WindowSystem "@KF_DEP_VERSION@") |
71 |
+ endif() |
72 |
+ |
73 |
+ find_dependency(Qt5Network "@REQUIRED_QT_VERSION@") |
74 |
++if (NOT @KIO_NO_PUBLIC_QTCONCURRENT@) |
75 |
+ find_dependency(Qt5Concurrent "@REQUIRED_QT_VERSION@") |
76 |
++endif() |
77 |
+ find_dependency(Qt5DBus "@REQUIRED_QT_VERSION@") |
78 |
+ |
79 |
+ include("${CMAKE_CURRENT_LIST_DIR}/KF5KIOTargets.cmake") |
80 |
+diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt |
81 |
+index c09d408a..f6efee23 100644 |
82 |
+--- a/src/core/CMakeLists.txt |
83 |
++++ b/src/core/CMakeLists.txt |
84 |
+@@ -201,7 +201,6 @@ PUBLIC |
85 |
+ KF5::CoreAddons # KJob |
86 |
+ KF5::Service # TODO KF6 move to PRIVATE |
87 |
+ Qt5::Network |
88 |
+- Qt5::Concurrent # QtConcurrentRun in hostinfo.cpp # TODO KF6 move to PRIVATE |
89 |
+ Qt5::DBus |
90 |
+ PRIVATE |
91 |
+ Qt5::Xml # davjob.cpp uses QDom |
92 |
+@@ -211,6 +210,12 @@ PRIVATE |
93 |
+ KF5::DBusAddons # KDEInitInterface |
94 |
+ ) |
95 |
+ |
96 |
++if(KIO_NO_PUBLIC_QTCONCURRENT) |
97 |
++ target_link_libraries(KF5KIOCore PRIVATE Qt5::Concurrent) # QtConcurrentRun in hostinfo.cpp |
98 |
++else() |
99 |
++ target_link_libraries(KF5KIOCore PUBLIC Qt5::Concurrent) # TODO KF6: remove |
100 |
++endif() |
101 |
++ |
102 |
+ if (UNIX) |
103 |
+ target_link_libraries(KF5KIOCore PRIVATE KF5::AuthCore) #SlaveBase uses KAuth::Action |
104 |
+ endif() |
105 |
+-- |
106 |
+2.32.0 |
107 |
+ |
108 |
|
109 |
diff --git a/kde-frameworks/kio/kio-5.84.0.ebuild b/kde-frameworks/kio/kio-5.84.0.ebuild |
110 |
new file mode 100644 |
111 |
index 00000000000..cc327525d7b |
112 |
--- /dev/null |
113 |
+++ b/kde-frameworks/kio/kio-5.84.0.ebuild |
114 |
@@ -0,0 +1,99 @@ |
115 |
+# Copyright 1999-2021 Gentoo Authors |
116 |
+# Distributed under the terms of the GNU General Public License v2 |
117 |
+ |
118 |
+EAPI=7 |
119 |
+ |
120 |
+ECM_DESIGNERPLUGIN="true" |
121 |
+ECM_TEST="forceoptional" |
122 |
+PVCUT=$(ver_cut 1-2) |
123 |
+QTMIN=5.15.2 |
124 |
+VIRTUALX_REQUIRED="test" |
125 |
+inherit ecm kde.org xdg-utils |
126 |
+ |
127 |
+DESCRIPTION="Framework providing transparent file and data management" |
128 |
+ |
129 |
+LICENSE="LGPL-2+" |
130 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
131 |
+IUSE="acl +handbook kerberos +kwallet X" |
132 |
+ |
133 |
+# tests hang |
134 |
+RESTRICT+=" test" |
135 |
+ |
136 |
+RDEPEND=" |
137 |
+ dev-libs/libxml2 |
138 |
+ dev-libs/libxslt |
139 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
140 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
141 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
142 |
+ >=dev-qt/qtnetwork-${QTMIN}:5[ssl] |
143 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
144 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
145 |
+ =kde-frameworks/kauth-${PVCUT}*:5 |
146 |
+ =kde-frameworks/karchive-${PVCUT}*:5 |
147 |
+ =kde-frameworks/kbookmarks-${PVCUT}*:5 |
148 |
+ =kde-frameworks/kcodecs-${PVCUT}*:5 |
149 |
+ =kde-frameworks/kcompletion-${PVCUT}*:5 |
150 |
+ =kde-frameworks/kconfig-${PVCUT}*:5 |
151 |
+ =kde-frameworks/kconfigwidgets-${PVCUT}*:5 |
152 |
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5 |
153 |
+ =kde-frameworks/kcrash-${PVCUT}*:5 |
154 |
+ =kde-frameworks/kdbusaddons-${PVCUT}*:5 |
155 |
+ =kde-frameworks/kguiaddons-${PVCUT}*:5 |
156 |
+ =kde-frameworks/ki18n-${PVCUT}*:5 |
157 |
+ =kde-frameworks/kiconthemes-${PVCUT}*:5 |
158 |
+ =kde-frameworks/kitemviews-${PVCUT}*:5 |
159 |
+ =kde-frameworks/kjobwidgets-${PVCUT}*:5 |
160 |
+ =kde-frameworks/knotifications-${PVCUT}*:5 |
161 |
+ =kde-frameworks/kservice-${PVCUT}*:5 |
162 |
+ =kde-frameworks/ktextwidgets-${PVCUT}*:5 |
163 |
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 |
164 |
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5 |
165 |
+ =kde-frameworks/kxmlgui-${PVCUT}*:5 |
166 |
+ =kde-frameworks/solid-${PVCUT}*:5 |
167 |
+ acl? ( |
168 |
+ sys-apps/attr |
169 |
+ virtual/acl |
170 |
+ ) |
171 |
+ handbook? ( =kde-frameworks/kdoctools-${PVCUT}*:5 ) |
172 |
+ kerberos? ( virtual/krb5 ) |
173 |
+ kwallet? ( =kde-frameworks/kwallet-${PVCUT}*:5 ) |
174 |
+ X? ( >=dev-qt/qtx11extras-${QTMIN}:5 ) |
175 |
+" |
176 |
+DEPEND="${RDEPEND} |
177 |
+ >=dev-qt/qtconcurrent-${QTMIN}:5 |
178 |
+ test? ( sys-libs/zlib ) |
179 |
+ X? ( |
180 |
+ x11-base/xorg-proto |
181 |
+ x11-libs/libX11 |
182 |
+ x11-libs/libXrender |
183 |
+ ) |
184 |
+" |
185 |
+PDEPEND=">=kde-frameworks/kded-${PVCUT}:5" |
186 |
+ |
187 |
+PATCHES=( |
188 |
+ # pending https://invent.kde.org/frameworks/kio/-/merge_requests/426 |
189 |
+ "${FILESDIR}"/${PN}-5.84.0-fix-qtconcurrent-private-link.patch # bug 784971 |
190 |
+) |
191 |
+ |
192 |
+src_configure() { |
193 |
+ local mycmakeargs=( |
194 |
+ -DKIO_NO_PUBLIC_QTCONCURRENT=ON |
195 |
+ $(cmake_use_find_package acl ACL) |
196 |
+ $(cmake_use_find_package handbook KF5DocTools) |
197 |
+ $(cmake_use_find_package kerberos GSSAPI) |
198 |
+ $(cmake_use_find_package kwallet KF5Wallet) |
199 |
+ $(cmake_use_find_package X X11) |
200 |
+ ) |
201 |
+ |
202 |
+ ecm_src_configure |
203 |
+} |
204 |
+ |
205 |
+pkg_postinst() { |
206 |
+ ecm_pkg_postinst |
207 |
+ xdg_desktop_database_update |
208 |
+} |
209 |
+ |
210 |
+pkg_postrm() { |
211 |
+ ecm_pkg_postrm |
212 |
+ xdg_desktop_database_update |
213 |
+} |