1 |
commit: be7febdc5651cf4bcba6d6635b03a96d72f314ec |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 09:26:26 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 10:09:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be7febdc |
7 |
|
8 |
kde-frameworks/kdelibs4support: 5.78.0 version bump |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-frameworks/kdelibs4support/Manifest | 1 + |
13 |
...kdelibs4support-5.78.0-no-kdesignerplugin.patch | 197 +++++++++++++++++++++ |
14 |
.../kdelibs4support/kdelibs4support-5.78.0.ebuild | 96 ++++++++++ |
15 |
3 files changed, 294 insertions(+) |
16 |
|
17 |
diff --git a/kde-frameworks/kdelibs4support/Manifest b/kde-frameworks/kdelibs4support/Manifest |
18 |
index 8b1acfff627..2560e177602 100644 |
19 |
--- a/kde-frameworks/kdelibs4support/Manifest |
20 |
+++ b/kde-frameworks/kdelibs4support/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST kdelibs4support-5.74.0.tar.xz 3533248 BLAKE2B 712e9304e2de3a167f2bfae07911b2e4ae236eb1002504cfe7f4507e9615500b10488327a5ca28d25412432a1fed992075e3585afa67038ac2e8d440553e6b9a SHA512 a1b19ec933a947a1ebe3a60004341e1fa4fecd3a64de197ee997bbba6a14fae114e3409180d01de04d20e32e52182eeb9e85e131cba51601689f12eff4af3eab |
23 |
DIST kdelibs4support-5.77.0.tar.xz 3546468 BLAKE2B c55686f09ddc6f06bd96f6a93906fd6e03b482b66c960644ca6a859f6f8cc851740c81098241063f692cbcb7458bcf36f4453d24380df35fc22cb5f7effea764 SHA512 4b7577d44c0062561d2d315905ee7789595e402213f5508677a3362d3371d40f3c0d2d216dbece712467470aa58128226b797cbc11e39cc4b54779c4bfbac9f4 |
24 |
+DIST kdelibs4support-5.78.0.tar.xz 3546464 BLAKE2B 3c7dd91a0657d19655ca904b051ca32f417ea8ce7dc9ef83c5904b34505824f67a00b04aafac0b1ff0cd42d8ac0b7d34d449bd54bd1fca38217a5b628ed5961d SHA512 bda42e9ef1d62951cef0ef131871f21362343b0c190d1cd78e98ebffc10d92023297c9cf1a43b4492bddcc122fc5ebfe4d8387e8fd979c88ebe7456b672835fa |
25 |
|
26 |
diff --git a/kde-frameworks/kdelibs4support/files/kdelibs4support-5.78.0-no-kdesignerplugin.patch b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.78.0-no-kdesignerplugin.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..be81bf04ef9 |
29 |
--- /dev/null |
30 |
+++ b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.78.0-no-kdesignerplugin.patch |
31 |
@@ -0,0 +1,197 @@ |
32 |
+From a97b01b220e6ef08d1517fea76fdaddb84a9773e Mon Sep 17 00:00:00 2001 |
33 |
+From: Andreas Sturmlechner <asturm@g.o> |
34 |
+Date: Sun, 22 Nov 2020 00:25:06 +0100 |
35 |
+Subject: [PATCH 1/2] Drop KDE4_ADD_WIDGET_FILES macro and KF5DesignerPlugin |
36 |
+ dependency |
37 |
+ |
38 |
+Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
39 |
+--- |
40 |
+ CMakeLists.txt | 1 - |
41 |
+ KF5KDELibs4SupportConfig.cmake.in | 1 - |
42 |
+ cmake/modules/FindKDE4Internal.cmake | 4 ---- |
43 |
+ cmake/modules/KDE4Macros.cmake | 2 -- |
44 |
+ src/CMakeLists.txt | 19 ------------------- |
45 |
+ src/KDEUIMacros.cmake | 25 ------------------------- |
46 |
+ 6 files changed, 52 deletions(-) |
47 |
+ |
48 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
49 |
+index 9f4b6d33..20a27b52 100644 |
50 |
+--- a/CMakeLists.txt |
51 |
++++ b/CMakeLists.txt |
52 |
+@@ -26,7 +26,6 @@ find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
53 |
+ find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
54 |
+ find_package(KF5ConfigWidgets ${KF5_DEP_VERSION} REQUIRED) |
55 |
+ find_package(KF5Crash ${KF5_DEP_VERSION} REQUIRED) |
56 |
+-find_package(KF5DesignerPlugin ${KF5_DEP_VERSION} REQUIRED) |
57 |
+ find_package(KF5GlobalAccel ${KF5_DEP_VERSION} REQUIRED) |
58 |
+ find_package(KF5DocTools ${KF5_DEP_VERSION} REQUIRED) |
59 |
+ find_package(KF5Emoticons ${KF5_DEP_VERSION} REQUIRED) |
60 |
+diff --git a/KF5KDELibs4SupportConfig.cmake.in b/KF5KDELibs4SupportConfig.cmake.in |
61 |
+index b5194f94..5e16c780 100644 |
62 |
+--- a/KF5KDELibs4SupportConfig.cmake.in |
63 |
++++ b/KF5KDELibs4SupportConfig.cmake.in |
64 |
+@@ -11,7 +11,6 @@ find_dependency(KF5Archive "@KF5_DEP_VERSION@") |
65 |
+ find_dependency(KF5ConfigWidgets "@KF5_DEP_VERSION@") |
66 |
+ find_dependency(KF5CoreAddons "@KF5_DEP_VERSION@") |
67 |
+ find_dependency(KF5Crash "@KF5_DEP_VERSION@") |
68 |
+-find_dependency(KF5DesignerPlugin "@KF5_DEP_VERSION@") |
69 |
+ find_dependency(KF5DocTools "@KF5_DEP_VERSION@") |
70 |
+ find_dependency(KF5Emoticons "@KF5_DEP_VERSION@") |
71 |
+ find_dependency(KF5GuiAddons "@KF5_DEP_VERSION@") |
72 |
+diff --git a/cmake/modules/FindKDE4Internal.cmake b/cmake/modules/FindKDE4Internal.cmake |
73 |
+index 7e252a70..b9636036 100644 |
74 |
+--- a/cmake/modules/FindKDE4Internal.cmake |
75 |
++++ b/cmake/modules/FindKDE4Internal.cmake |
76 |
+@@ -179,10 +179,6 @@ |
77 |
+ # Use optional USE_RELATIVE_PATH to generate the classes in the build following the given |
78 |
+ # relative path to the file. |
79 |
+ # |
80 |
+-# KDE4_ADD_WIDGET_FILES (SRCS_VAR file1.widgets ... fileN.widgets) |
81 |
+-# Use this to add widget description files for the makekdewidgets code generator |
82 |
+-# for Qt Designer plugins. |
83 |
+-# |
84 |
+ # KDE4_ADD_PLUGIN ( name [WITH_PREFIX] file1 ... fileN ) |
85 |
+ # Create a KDE plugin (KPart, kioslave, etc.) from the given source files. |
86 |
+ # If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't. |
87 |
+diff --git a/cmake/modules/KDE4Macros.cmake b/cmake/modules/KDE4Macros.cmake |
88 |
+index ca868ad9..27bb28f9 100644 |
89 |
+--- a/cmake/modules/KDE4Macros.cmake |
90 |
++++ b/cmake/modules/KDE4Macros.cmake |
91 |
+@@ -10,7 +10,6 @@ |
92 |
+ # KDE4_ADD_KDEINIT_EXECUTABLE |
93 |
+ # KDE4_ADD_UNIT_TEST |
94 |
+ # KDE4_ADD_EXECUTABLE |
95 |
+-# KDE4_ADD_WIDGET_FILES |
96 |
+ # KDE4_UPDATE_ICONCACHE |
97 |
+ # KDE4_INSTALL_ICONS |
98 |
+ # KDE4_REMOVE_OBSOLETE_CMAKE_FILES |
99 |
+@@ -486,7 +485,6 @@ include("${KF5Auth_DIR}/KF5AuthMacros.cmake") |
100 |
+ include("${CMAKE_CURRENT_LIST_DIR}/KDECoreMacros.cmake") |
101 |
+ include("${CMAKE_CURRENT_LIST_DIR}/KDEUIMacros.cmake") |
102 |
+ include("${KF5DocTools_DIR}/KF5DocToolsMacros.cmake") |
103 |
+-include("${KF5DesignerPlugin_DIR}/KF5DesignerPluginMacros.cmake") |
104 |
+ |
105 |
+ # functions deprecated, they still should work |
106 |
+ macro (KDE4_AUTH_INSTALL_ACTIONS) |
107 |
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
108 |
+index b249bd53..3ed8114d 100644 |
109 |
+--- a/src/CMakeLists.txt |
110 |
++++ b/src/CMakeLists.txt |
111 |
+@@ -371,25 +371,6 @@ set_target_properties(KF5KDELibs4Support PROPERTIES |
112 |
+ ) |
113 |
+ |
114 |
+ |
115 |
+-########## Designer plugin |
116 |
+- |
117 |
+-kf5designerplugin_add_plugin(kf5deprecatedwidgets |
118 |
+- kdedeprecated.widgets |
119 |
+- kdedeprecated.qrc |
120 |
+- classpreviews.cpp |
121 |
+-) |
122 |
+- |
123 |
+-target_link_libraries(kf5deprecatedwidgets KF5::KDELibs4Support |
124 |
+- Qt5::Widgets |
125 |
+- Qt5::Designer |
126 |
+- KF5::ConfigCore |
127 |
+- KF5::Completion |
128 |
+- KF5::WidgetsAddons |
129 |
+- KF5::Auth |
130 |
+- ) |
131 |
+- |
132 |
+-install(TARGETS kf5deprecatedwidgets DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/designer) |
133 |
+- |
134 |
+ ########## |
135 |
+ |
136 |
+ add_subdirectory(pics) |
137 |
+diff --git a/src/KDEUIMacros.cmake b/src/KDEUIMacros.cmake |
138 |
+index 1570df34..e255960d 100644 |
139 |
+--- a/src/KDEUIMacros.cmake |
140 |
++++ b/src/KDEUIMacros.cmake |
141 |
+@@ -163,31 +163,6 @@ macro (KDE4_INSTALL_ICONS _defaultpath ) |
142 |
+ endmacro (KDE4_INSTALL_ICONS) |
143 |
+ |
144 |
+ |
145 |
+-set(KDEWIDGETS_MAKEKDEWIDGETS_EXECUTABLE ${KF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE}) |
146 |
+-set(_KDE4_MAKEKDEWIDGETS_DEP ${_KF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE_DEP}) |
147 |
+-macro (KDE4_ADD_WIDGET_FILES _sources) |
148 |
+- foreach (_current_FILE ${ARGN}) |
149 |
+- |
150 |
+- get_filename_component(_input ${_current_FILE} ABSOLUTE) |
151 |
+- get_filename_component(_basename ${_input} NAME_WE) |
152 |
+- set(_source ${CMAKE_CURRENT_BINARY_DIR}/${_basename}widgets.cpp) |
153 |
+- set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}widgets.moc) |
154 |
+- |
155 |
+- # create source file from the .widgets file |
156 |
+- add_custom_command(OUTPUT ${_source} |
157 |
+- COMMAND ${KDEWIDGETS_MAKEKDEWIDGETS_EXECUTABLE} |
158 |
+- ARGS -o ${_source} ${_input} |
159 |
+- MAIN_DEPENDENCY ${_input} DEPENDS ${_KDE4_MAKEKDEWIDGETS_DEP}) |
160 |
+- |
161 |
+- # create moc file |
162 |
+- qt5_generate_moc(${_source} ${_moc} ) |
163 |
+- |
164 |
+- list(APPEND ${_sources} ${_source} ${_moc}) |
165 |
+- |
166 |
+- endforeach (_current_FILE) |
167 |
+- |
168 |
+-endmacro (KDE4_ADD_WIDGET_FILES) |
169 |
+- |
170 |
+ # adds application icon to target source list |
171 |
+ # 'appsources' - the sources of the application |
172 |
+ # 'pngfiles' - specifies the list of icon files |
173 |
+-- |
174 |
+2.29.2 |
175 |
+ |
176 |
+ |
177 |
+From 13277f3a50eee8ec2ebc5cd915a83b56c2613966 Mon Sep 17 00:00:00 2001 |
178 |
+From: Andreas Sturmlechner <asturm@g.o> |
179 |
+Date: Sun, 22 Nov 2020 00:27:55 +0100 |
180 |
+Subject: [PATCH 2/2] Drop Qt5Designer dependency |
181 |
+ |
182 |
+Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
183 |
+--- |
184 |
+ CMakeLists.txt | 2 +- |
185 |
+ cmake/modules/ECMQt4To5Porting.cmake | 1 - |
186 |
+ cmake/modules/FindQt5Transitional.cmake | 1 - |
187 |
+ 3 files changed, 1 insertion(+), 3 deletions(-) |
188 |
+ |
189 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
190 |
+index 20a27b52..e09b93e2 100644 |
191 |
+--- a/CMakeLists.txt |
192 |
++++ b/CMakeLists.txt |
193 |
+@@ -20,7 +20,7 @@ include(GenerateExportHeader) |
194 |
+ include(CMakeFindFrameworks) |
195 |
+ |
196 |
+ set(REQUIRED_QT_VERSION 5.14.0) |
197 |
+-find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Network Widgets DBus Test Svg PrintSupport Designer) |
198 |
++find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Network Widgets DBus Test Svg PrintSupport) |
199 |
+ |
200 |
+ find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
201 |
+ find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
202 |
+diff --git a/cmake/modules/ECMQt4To5Porting.cmake b/cmake/modules/ECMQt4To5Porting.cmake |
203 |
+index 4204fa54..01b8f995 100644 |
204 |
+--- a/cmake/modules/ECMQt4To5Porting.cmake |
205 |
++++ b/cmake/modules/ECMQt4To5Porting.cmake |
206 |
+@@ -160,7 +160,6 @@ set(_qt_modules |
207 |
+ DBus |
208 |
+ Network |
209 |
+ Test |
210 |
+- Designer |
211 |
+ Concurrent |
212 |
+ Xml |
213 |
+ UiTools |
214 |
+diff --git a/cmake/modules/FindQt5Transitional.cmake b/cmake/modules/FindQt5Transitional.cmake |
215 |
+index df354fc6..68fa6d47 100644 |
216 |
+--- a/cmake/modules/FindQt5Transitional.cmake |
217 |
++++ b/cmake/modules/FindQt5Transitional.cmake |
218 |
+@@ -6,7 +6,6 @@ if (Qt5Core_FOUND) |
219 |
+ Core |
220 |
+ Gui |
221 |
+ DBus |
222 |
+- Designer |
223 |
+ Declarative |
224 |
+ Script |
225 |
+ ScriptTools |
226 |
+-- |
227 |
+2.29.2 |
228 |
+ |
229 |
|
230 |
diff --git a/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild b/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild |
231 |
new file mode 100644 |
232 |
index 00000000000..bfa7f1cf63a |
233 |
--- /dev/null |
234 |
+++ b/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild |
235 |
@@ -0,0 +1,96 @@ |
236 |
+# Copyright 1999-2021 Gentoo Authors |
237 |
+# Distributed under the terms of the GNU General Public License v2 |
238 |
+ |
239 |
+EAPI=7 |
240 |
+ |
241 |
+ECM_HANDBOOK="true" |
242 |
+ECM_QTHELP="false" |
243 |
+PVCUT=$(ver_cut 1-2) |
244 |
+QTMIN=5.15.1 |
245 |
+VIRTUALX_REQUIRED="test" |
246 |
+inherit ecm kde.org |
247 |
+ |
248 |
+DESCRIPTION="Framework easing the development transition from KDELibs 4 to KF 5" |
249 |
+LICENSE="LGPL-2+" |
250 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
251 |
+IUSE="libressl X" |
252 |
+ |
253 |
+BDEPEND=" |
254 |
+ dev-lang/perl |
255 |
+ dev-perl/URI |
256 |
+" |
257 |
+COMMON_DEPEND=" |
258 |
+ app-text/docbook-xml-dtd:4.2 |
259 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
260 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
261 |
+ >=dev-qt/qtnetwork-${QTMIN}:5[ssl] |
262 |
+ >=dev-qt/qtprintsupport-${QTMIN}:5 |
263 |
+ >=dev-qt/qtsvg-${QTMIN}:5 |
264 |
+ >=dev-qt/qttest-${QTMIN}:5 |
265 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
266 |
+ =kde-frameworks/kauth-${PVCUT}*:5 |
267 |
+ =kde-frameworks/kcodecs-${PVCUT}*:5 |
268 |
+ =kde-frameworks/kcompletion-${PVCUT}*:5 |
269 |
+ =kde-frameworks/kconfig-${PVCUT}*:5 |
270 |
+ =kde-frameworks/kconfigwidgets-${PVCUT}*:5 |
271 |
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5 |
272 |
+ =kde-frameworks/kcrash-${PVCUT}*:5 |
273 |
+ =kde-frameworks/kdbusaddons-${PVCUT}*:5 |
274 |
+ >=kde-frameworks/kded-${PVCUT}:5 |
275 |
+ =kde-frameworks/kdoctools-${PVCUT}*:5 |
276 |
+ =kde-frameworks/kemoticons-${PVCUT}*:5 |
277 |
+ =kde-frameworks/kglobalaccel-${PVCUT}*:5 |
278 |
+ =kde-frameworks/kguiaddons-${PVCUT}*:5 |
279 |
+ =kde-frameworks/ki18n-${PVCUT}*:5 |
280 |
+ =kde-frameworks/kiconthemes-${PVCUT}*:5 |
281 |
+ =kde-frameworks/kio-${PVCUT}*:5 |
282 |
+ =kde-frameworks/kitemviews-${PVCUT}*:5 |
283 |
+ =kde-frameworks/kjobwidgets-${PVCUT}*:5 |
284 |
+ =kde-frameworks/knotifications-${PVCUT}*:5 |
285 |
+ =kde-frameworks/kparts-${PVCUT}*:5 |
286 |
+ =kde-frameworks/kservice-${PVCUT}*:5 |
287 |
+ =kde-frameworks/ktextwidgets-${PVCUT}*:5 |
288 |
+ =kde-frameworks/kunitconversion-${PVCUT}*:5 |
289 |
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 |
290 |
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5 |
291 |
+ =kde-frameworks/kxmlgui-${PVCUT}*:5 |
292 |
+ =kde-frameworks/solid-${PVCUT}*:5 |
293 |
+ virtual/libintl |
294 |
+ !libressl? ( dev-libs/openssl:0 ) |
295 |
+ libressl? ( dev-libs/libressl ) |
296 |
+ X? ( |
297 |
+ >=dev-qt/qtx11extras-${QTMIN}:5 |
298 |
+ x11-libs/libICE |
299 |
+ x11-libs/libSM |
300 |
+ x11-libs/libX11 |
301 |
+ x11-libs/libxcb |
302 |
+ ) |
303 |
+" |
304 |
+DEPEND="${COMMON_DEPEND} |
305 |
+ test? ( >=dev-qt/qtconcurrent-${QTMIN}:5 ) |
306 |
+ X? ( x11-base/xorg-proto ) |
307 |
+" |
308 |
+RDEPEND="${COMMON_DEPEND} |
309 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
310 |
+ =kde-frameworks/kinit-${PVCUT}*:5 |
311 |
+ =kde-frameworks/kitemmodels-${PVCUT}*:5 |
312 |
+" |
313 |
+ |
314 |
+RESTRICT+=" test" |
315 |
+ |
316 |
+PATCHES=( "${FILESDIR}/${PN}-5.78.0-no-kdesignerplugin.patch" ) |
317 |
+ |
318 |
+src_prepare() { |
319 |
+ ecm_src_prepare |
320 |
+ if ! use handbook; then |
321 |
+ sed -e "/kdoctools_install/ s/^/#DONT/" -i CMakeLists.txt || die |
322 |
+ fi |
323 |
+} |
324 |
+ |
325 |
+src_configure() { |
326 |
+ local mycmakeargs=( |
327 |
+ $(cmake_use_find_package X X11) |
328 |
+ ) |
329 |
+ |
330 |
+ ecm_src_configure |
331 |
+} |