1 |
commit: 07ecaccf24a7c0c5b6a1cd0f17df4c77521ed4b5 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 22:01:22 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 22:32:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ecaccf |
7 |
|
8 |
kde-frameworks/kdelibs4support: Split no-kdesignerplugin.patch |
9 |
|
10 |
Purely to save some space in advance of another version of the patch for 5.79. |
11 |
|
12 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
...libs4support-5.77.0-no-kdesignerplugin-1.patch} | 16 +- |
16 |
...kdelibs4support-5.77.0-no-kdesignerplugin.patch | 176 +-------------------- |
17 |
...kdelibs4support-5.78.0-no-kdesignerplugin.patch | 173 +------------------- |
18 |
.../kdelibs4support/kdelibs4support-5.77.0.ebuild | 6 +- |
19 |
.../kdelibs4support/kdelibs4support-5.78.0.ebuild | 9 +- |
20 |
5 files changed, 12 insertions(+), 368 deletions(-) |
21 |
|
22 |
diff --git a/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin-1.patch |
23 |
similarity index 91% |
24 |
copy from kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch |
25 |
copy to kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin-1.patch |
26 |
index e4e0f82fe29..8bdd30dd47a 100644 |
27 |
--- a/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch |
28 |
+++ b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin-1.patch |
29 |
@@ -150,24 +150,10 @@ Subject: [PATCH 2/2] Drop Qt5Designer dependency |
30 |
|
31 |
Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
32 |
--- |
33 |
- CMakeLists.txt | 2 +- |
34 |
cmake/modules/ECMQt4To5Porting.cmake | 1 - |
35 |
cmake/modules/FindQt5Transitional.cmake | 1 - |
36 |
- 3 files changed, 1 insertion(+), 3 deletions(-) |
37 |
+ 2 files changed, 2 deletions(-) |
38 |
|
39 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
40 |
-index 20a27b52..e09b93e2 100644 |
41 |
---- a/CMakeLists.txt |
42 |
-+++ b/CMakeLists.txt |
43 |
-@@ -20,7 +20,7 @@ include(GenerateExportHeader) |
44 |
- include(CMakeFindFrameworks) |
45 |
- |
46 |
- set(REQUIRED_QT_VERSION 5.13.0) |
47 |
--find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Network Widgets DBus Test Svg PrintSupport Designer) |
48 |
-+find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Network Widgets DBus Test Svg PrintSupport) |
49 |
- |
50 |
- find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
51 |
- find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
52 |
diff --git a/cmake/modules/ECMQt4To5Porting.cmake b/cmake/modules/ECMQt4To5Porting.cmake |
53 |
index 4204fa54..01b8f995 100644 |
54 |
--- a/cmake/modules/ECMQt4To5Porting.cmake |
55 |
|
56 |
diff --git a/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch |
57 |
index e4e0f82fe29..b616570ab58 100644 |
58 |
--- a/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch |
59 |
+++ b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.77.0-no-kdesignerplugin.patch |
60 |
@@ -1,148 +1,3 @@ |
61 |
-From a97b01b220e6ef08d1517fea76fdaddb84a9773e Mon Sep 17 00:00:00 2001 |
62 |
-From: Andreas Sturmlechner <asturm@g.o> |
63 |
-Date: Sun, 22 Nov 2020 00:25:06 +0100 |
64 |
-Subject: [PATCH 1/2] Drop KDE4_ADD_WIDGET_FILES macro and KF5DesignerPlugin |
65 |
- dependency |
66 |
- |
67 |
-Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
68 |
---- |
69 |
- CMakeLists.txt | 1 - |
70 |
- KF5KDELibs4SupportConfig.cmake.in | 1 - |
71 |
- cmake/modules/FindKDE4Internal.cmake | 4 ---- |
72 |
- cmake/modules/KDE4Macros.cmake | 2 -- |
73 |
- src/CMakeLists.txt | 19 ------------------- |
74 |
- src/KDEUIMacros.cmake | 25 ------------------------- |
75 |
- 6 files changed, 52 deletions(-) |
76 |
- |
77 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
78 |
-index 9f4b6d33..20a27b52 100644 |
79 |
---- a/CMakeLists.txt |
80 |
-+++ b/CMakeLists.txt |
81 |
-@@ -26,7 +26,6 @@ find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
82 |
- find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
83 |
- find_package(KF5ConfigWidgets ${KF5_DEP_VERSION} REQUIRED) |
84 |
- find_package(KF5Crash ${KF5_DEP_VERSION} REQUIRED) |
85 |
--find_package(KF5DesignerPlugin ${KF5_DEP_VERSION} REQUIRED) |
86 |
- find_package(KF5GlobalAccel ${KF5_DEP_VERSION} REQUIRED) |
87 |
- find_package(KF5DocTools ${KF5_DEP_VERSION} REQUIRED) |
88 |
- find_package(KF5Emoticons ${KF5_DEP_VERSION} REQUIRED) |
89 |
-diff --git a/KF5KDELibs4SupportConfig.cmake.in b/KF5KDELibs4SupportConfig.cmake.in |
90 |
-index b5194f94..5e16c780 100644 |
91 |
---- a/KF5KDELibs4SupportConfig.cmake.in |
92 |
-+++ b/KF5KDELibs4SupportConfig.cmake.in |
93 |
-@@ -11,7 +11,6 @@ find_dependency(KF5Archive "@KF5_DEP_VERSION@") |
94 |
- find_dependency(KF5ConfigWidgets "@KF5_DEP_VERSION@") |
95 |
- find_dependency(KF5CoreAddons "@KF5_DEP_VERSION@") |
96 |
- find_dependency(KF5Crash "@KF5_DEP_VERSION@") |
97 |
--find_dependency(KF5DesignerPlugin "@KF5_DEP_VERSION@") |
98 |
- find_dependency(KF5DocTools "@KF5_DEP_VERSION@") |
99 |
- find_dependency(KF5Emoticons "@KF5_DEP_VERSION@") |
100 |
- find_dependency(KF5GuiAddons "@KF5_DEP_VERSION@") |
101 |
-diff --git a/cmake/modules/FindKDE4Internal.cmake b/cmake/modules/FindKDE4Internal.cmake |
102 |
-index 7e252a70..b9636036 100644 |
103 |
---- a/cmake/modules/FindKDE4Internal.cmake |
104 |
-+++ b/cmake/modules/FindKDE4Internal.cmake |
105 |
-@@ -179,10 +179,6 @@ |
106 |
- # Use optional USE_RELATIVE_PATH to generate the classes in the build following the given |
107 |
- # relative path to the file. |
108 |
- # |
109 |
--# KDE4_ADD_WIDGET_FILES (SRCS_VAR file1.widgets ... fileN.widgets) |
110 |
--# Use this to add widget description files for the makekdewidgets code generator |
111 |
--# for Qt Designer plugins. |
112 |
--# |
113 |
- # KDE4_ADD_PLUGIN ( name [WITH_PREFIX] file1 ... fileN ) |
114 |
- # Create a KDE plugin (KPart, kioslave, etc.) from the given source files. |
115 |
- # If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't. |
116 |
-diff --git a/cmake/modules/KDE4Macros.cmake b/cmake/modules/KDE4Macros.cmake |
117 |
-index ca868ad9..27bb28f9 100644 |
118 |
---- a/cmake/modules/KDE4Macros.cmake |
119 |
-+++ b/cmake/modules/KDE4Macros.cmake |
120 |
-@@ -10,7 +10,6 @@ |
121 |
- # KDE4_ADD_KDEINIT_EXECUTABLE |
122 |
- # KDE4_ADD_UNIT_TEST |
123 |
- # KDE4_ADD_EXECUTABLE |
124 |
--# KDE4_ADD_WIDGET_FILES |
125 |
- # KDE4_UPDATE_ICONCACHE |
126 |
- # KDE4_INSTALL_ICONS |
127 |
- # KDE4_REMOVE_OBSOLETE_CMAKE_FILES |
128 |
-@@ -486,7 +485,6 @@ include("${KF5Auth_DIR}/KF5AuthMacros.cmake") |
129 |
- include("${CMAKE_CURRENT_LIST_DIR}/KDECoreMacros.cmake") |
130 |
- include("${CMAKE_CURRENT_LIST_DIR}/KDEUIMacros.cmake") |
131 |
- include("${KF5DocTools_DIR}/KF5DocToolsMacros.cmake") |
132 |
--include("${KF5DesignerPlugin_DIR}/KF5DesignerPluginMacros.cmake") |
133 |
- |
134 |
- # functions deprecated, they still should work |
135 |
- macro (KDE4_AUTH_INSTALL_ACTIONS) |
136 |
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
137 |
-index b249bd53..3ed8114d 100644 |
138 |
---- a/src/CMakeLists.txt |
139 |
-+++ b/src/CMakeLists.txt |
140 |
-@@ -371,25 +371,6 @@ set_target_properties(KF5KDELibs4Support PROPERTIES |
141 |
- ) |
142 |
- |
143 |
- |
144 |
--########## Designer plugin |
145 |
-- |
146 |
--kf5designerplugin_add_plugin(kf5deprecatedwidgets |
147 |
-- kdedeprecated.widgets |
148 |
-- kdedeprecated.qrc |
149 |
-- classpreviews.cpp |
150 |
--) |
151 |
-- |
152 |
--target_link_libraries(kf5deprecatedwidgets KF5::KDELibs4Support |
153 |
-- Qt5::Widgets |
154 |
-- Qt5::Designer |
155 |
-- KF5::ConfigCore |
156 |
-- KF5::Completion |
157 |
-- KF5::WidgetsAddons |
158 |
-- KF5::Auth |
159 |
-- ) |
160 |
-- |
161 |
--install(TARGETS kf5deprecatedwidgets DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/designer) |
162 |
-- |
163 |
- ########## |
164 |
- |
165 |
- add_subdirectory(pics) |
166 |
-diff --git a/src/KDEUIMacros.cmake b/src/KDEUIMacros.cmake |
167 |
-index 1570df34..e255960d 100644 |
168 |
---- a/src/KDEUIMacros.cmake |
169 |
-+++ b/src/KDEUIMacros.cmake |
170 |
-@@ -163,31 +163,6 @@ macro (KDE4_INSTALL_ICONS _defaultpath ) |
171 |
- endmacro (KDE4_INSTALL_ICONS) |
172 |
- |
173 |
- |
174 |
--set(KDEWIDGETS_MAKEKDEWIDGETS_EXECUTABLE ${KF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE}) |
175 |
--set(_KDE4_MAKEKDEWIDGETS_DEP ${_KF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE_DEP}) |
176 |
--macro (KDE4_ADD_WIDGET_FILES _sources) |
177 |
-- foreach (_current_FILE ${ARGN}) |
178 |
-- |
179 |
-- get_filename_component(_input ${_current_FILE} ABSOLUTE) |
180 |
-- get_filename_component(_basename ${_input} NAME_WE) |
181 |
-- set(_source ${CMAKE_CURRENT_BINARY_DIR}/${_basename}widgets.cpp) |
182 |
-- set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}widgets.moc) |
183 |
-- |
184 |
-- # create source file from the .widgets file |
185 |
-- add_custom_command(OUTPUT ${_source} |
186 |
-- COMMAND ${KDEWIDGETS_MAKEKDEWIDGETS_EXECUTABLE} |
187 |
-- ARGS -o ${_source} ${_input} |
188 |
-- MAIN_DEPENDENCY ${_input} DEPENDS ${_KDE4_MAKEKDEWIDGETS_DEP}) |
189 |
-- |
190 |
-- # create moc file |
191 |
-- qt5_generate_moc(${_source} ${_moc} ) |
192 |
-- |
193 |
-- list(APPEND ${_sources} ${_source} ${_moc}) |
194 |
-- |
195 |
-- endforeach (_current_FILE) |
196 |
-- |
197 |
--endmacro (KDE4_ADD_WIDGET_FILES) |
198 |
-- |
199 |
- # adds application icon to target source list |
200 |
- # 'appsources' - the sources of the application |
201 |
- # 'pngfiles' - specifies the list of icon files |
202 |
--- |
203 |
-2.29.2 |
204 |
- |
205 |
- |
206 |
From 13277f3a50eee8ec2ebc5cd915a83b56c2613966 Mon Sep 17 00:00:00 2001 |
207 |
From: Andreas Sturmlechner <asturm@g.o> |
208 |
Date: Sun, 22 Nov 2020 00:27:55 +0100 |
209 |
@@ -151,9 +6,7 @@ Subject: [PATCH 2/2] Drop Qt5Designer dependency |
210 |
Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
211 |
--- |
212 |
CMakeLists.txt | 2 +- |
213 |
- cmake/modules/ECMQt4To5Porting.cmake | 1 - |
214 |
- cmake/modules/FindQt5Transitional.cmake | 1 - |
215 |
- 3 files changed, 1 insertion(+), 3 deletions(-) |
216 |
+ 1 files changed, 1 insertion(+), 1 deletion(-) |
217 |
|
218 |
diff --git a/CMakeLists.txt b/CMakeLists.txt |
219 |
index 20a27b52..e09b93e2 100644 |
220 |
@@ -168,30 +21,3 @@ index 20a27b52..e09b93e2 100644 |
221 |
|
222 |
find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
223 |
find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
224 |
-diff --git a/cmake/modules/ECMQt4To5Porting.cmake b/cmake/modules/ECMQt4To5Porting.cmake |
225 |
-index 4204fa54..01b8f995 100644 |
226 |
---- a/cmake/modules/ECMQt4To5Porting.cmake |
227 |
-+++ b/cmake/modules/ECMQt4To5Porting.cmake |
228 |
-@@ -160,7 +160,6 @@ set(_qt_modules |
229 |
- DBus |
230 |
- Network |
231 |
- Test |
232 |
-- Designer |
233 |
- Concurrent |
234 |
- Xml |
235 |
- UiTools |
236 |
-diff --git a/cmake/modules/FindQt5Transitional.cmake b/cmake/modules/FindQt5Transitional.cmake |
237 |
-index df354fc6..68fa6d47 100644 |
238 |
---- a/cmake/modules/FindQt5Transitional.cmake |
239 |
-+++ b/cmake/modules/FindQt5Transitional.cmake |
240 |
-@@ -6,7 +6,6 @@ if (Qt5Core_FOUND) |
241 |
- Core |
242 |
- Gui |
243 |
- DBus |
244 |
-- Designer |
245 |
- Declarative |
246 |
- Script |
247 |
- ScriptTools |
248 |
--- |
249 |
-2.29.2 |
250 |
- |
251 |
|
252 |
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 |
253 |
index be81bf04ef9..55d2b4ec94c 100644 |
254 |
--- a/kde-frameworks/kdelibs4support/files/kdelibs4support-5.78.0-no-kdesignerplugin.patch |
255 |
+++ b/kde-frameworks/kdelibs4support/files/kdelibs4support-5.78.0-no-kdesignerplugin.patch |
256 |
@@ -1,148 +1,3 @@ |
257 |
-From a97b01b220e6ef08d1517fea76fdaddb84a9773e Mon Sep 17 00:00:00 2001 |
258 |
-From: Andreas Sturmlechner <asturm@g.o> |
259 |
-Date: Sun, 22 Nov 2020 00:25:06 +0100 |
260 |
-Subject: [PATCH 1/2] Drop KDE4_ADD_WIDGET_FILES macro and KF5DesignerPlugin |
261 |
- dependency |
262 |
- |
263 |
-Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
264 |
---- |
265 |
- CMakeLists.txt | 1 - |
266 |
- KF5KDELibs4SupportConfig.cmake.in | 1 - |
267 |
- cmake/modules/FindKDE4Internal.cmake | 4 ---- |
268 |
- cmake/modules/KDE4Macros.cmake | 2 -- |
269 |
- src/CMakeLists.txt | 19 ------------------- |
270 |
- src/KDEUIMacros.cmake | 25 ------------------------- |
271 |
- 6 files changed, 52 deletions(-) |
272 |
- |
273 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
274 |
-index 9f4b6d33..20a27b52 100644 |
275 |
---- a/CMakeLists.txt |
276 |
-+++ b/CMakeLists.txt |
277 |
-@@ -26,7 +26,6 @@ find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
278 |
- find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
279 |
- find_package(KF5ConfigWidgets ${KF5_DEP_VERSION} REQUIRED) |
280 |
- find_package(KF5Crash ${KF5_DEP_VERSION} REQUIRED) |
281 |
--find_package(KF5DesignerPlugin ${KF5_DEP_VERSION} REQUIRED) |
282 |
- find_package(KF5GlobalAccel ${KF5_DEP_VERSION} REQUIRED) |
283 |
- find_package(KF5DocTools ${KF5_DEP_VERSION} REQUIRED) |
284 |
- find_package(KF5Emoticons ${KF5_DEP_VERSION} REQUIRED) |
285 |
-diff --git a/KF5KDELibs4SupportConfig.cmake.in b/KF5KDELibs4SupportConfig.cmake.in |
286 |
-index b5194f94..5e16c780 100644 |
287 |
---- a/KF5KDELibs4SupportConfig.cmake.in |
288 |
-+++ b/KF5KDELibs4SupportConfig.cmake.in |
289 |
-@@ -11,7 +11,6 @@ find_dependency(KF5Archive "@KF5_DEP_VERSION@") |
290 |
- find_dependency(KF5ConfigWidgets "@KF5_DEP_VERSION@") |
291 |
- find_dependency(KF5CoreAddons "@KF5_DEP_VERSION@") |
292 |
- find_dependency(KF5Crash "@KF5_DEP_VERSION@") |
293 |
--find_dependency(KF5DesignerPlugin "@KF5_DEP_VERSION@") |
294 |
- find_dependency(KF5DocTools "@KF5_DEP_VERSION@") |
295 |
- find_dependency(KF5Emoticons "@KF5_DEP_VERSION@") |
296 |
- find_dependency(KF5GuiAddons "@KF5_DEP_VERSION@") |
297 |
-diff --git a/cmake/modules/FindKDE4Internal.cmake b/cmake/modules/FindKDE4Internal.cmake |
298 |
-index 7e252a70..b9636036 100644 |
299 |
---- a/cmake/modules/FindKDE4Internal.cmake |
300 |
-+++ b/cmake/modules/FindKDE4Internal.cmake |
301 |
-@@ -179,10 +179,6 @@ |
302 |
- # Use optional USE_RELATIVE_PATH to generate the classes in the build following the given |
303 |
- # relative path to the file. |
304 |
- # |
305 |
--# KDE4_ADD_WIDGET_FILES (SRCS_VAR file1.widgets ... fileN.widgets) |
306 |
--# Use this to add widget description files for the makekdewidgets code generator |
307 |
--# for Qt Designer plugins. |
308 |
--# |
309 |
- # KDE4_ADD_PLUGIN ( name [WITH_PREFIX] file1 ... fileN ) |
310 |
- # Create a KDE plugin (KPart, kioslave, etc.) from the given source files. |
311 |
- # If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't. |
312 |
-diff --git a/cmake/modules/KDE4Macros.cmake b/cmake/modules/KDE4Macros.cmake |
313 |
-index ca868ad9..27bb28f9 100644 |
314 |
---- a/cmake/modules/KDE4Macros.cmake |
315 |
-+++ b/cmake/modules/KDE4Macros.cmake |
316 |
-@@ -10,7 +10,6 @@ |
317 |
- # KDE4_ADD_KDEINIT_EXECUTABLE |
318 |
- # KDE4_ADD_UNIT_TEST |
319 |
- # KDE4_ADD_EXECUTABLE |
320 |
--# KDE4_ADD_WIDGET_FILES |
321 |
- # KDE4_UPDATE_ICONCACHE |
322 |
- # KDE4_INSTALL_ICONS |
323 |
- # KDE4_REMOVE_OBSOLETE_CMAKE_FILES |
324 |
-@@ -486,7 +485,6 @@ include("${KF5Auth_DIR}/KF5AuthMacros.cmake") |
325 |
- include("${CMAKE_CURRENT_LIST_DIR}/KDECoreMacros.cmake") |
326 |
- include("${CMAKE_CURRENT_LIST_DIR}/KDEUIMacros.cmake") |
327 |
- include("${KF5DocTools_DIR}/KF5DocToolsMacros.cmake") |
328 |
--include("${KF5DesignerPlugin_DIR}/KF5DesignerPluginMacros.cmake") |
329 |
- |
330 |
- # functions deprecated, they still should work |
331 |
- macro (KDE4_AUTH_INSTALL_ACTIONS) |
332 |
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
333 |
-index b249bd53..3ed8114d 100644 |
334 |
---- a/src/CMakeLists.txt |
335 |
-+++ b/src/CMakeLists.txt |
336 |
-@@ -371,25 +371,6 @@ set_target_properties(KF5KDELibs4Support PROPERTIES |
337 |
- ) |
338 |
- |
339 |
- |
340 |
--########## Designer plugin |
341 |
-- |
342 |
--kf5designerplugin_add_plugin(kf5deprecatedwidgets |
343 |
-- kdedeprecated.widgets |
344 |
-- kdedeprecated.qrc |
345 |
-- classpreviews.cpp |
346 |
--) |
347 |
-- |
348 |
--target_link_libraries(kf5deprecatedwidgets KF5::KDELibs4Support |
349 |
-- Qt5::Widgets |
350 |
-- Qt5::Designer |
351 |
-- KF5::ConfigCore |
352 |
-- KF5::Completion |
353 |
-- KF5::WidgetsAddons |
354 |
-- KF5::Auth |
355 |
-- ) |
356 |
-- |
357 |
--install(TARGETS kf5deprecatedwidgets DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/designer) |
358 |
-- |
359 |
- ########## |
360 |
- |
361 |
- add_subdirectory(pics) |
362 |
-diff --git a/src/KDEUIMacros.cmake b/src/KDEUIMacros.cmake |
363 |
-index 1570df34..e255960d 100644 |
364 |
---- a/src/KDEUIMacros.cmake |
365 |
-+++ b/src/KDEUIMacros.cmake |
366 |
-@@ -163,31 +163,6 @@ macro (KDE4_INSTALL_ICONS _defaultpath ) |
367 |
- endmacro (KDE4_INSTALL_ICONS) |
368 |
- |
369 |
- |
370 |
--set(KDEWIDGETS_MAKEKDEWIDGETS_EXECUTABLE ${KF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE}) |
371 |
--set(_KDE4_MAKEKDEWIDGETS_DEP ${_KF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE_DEP}) |
372 |
--macro (KDE4_ADD_WIDGET_FILES _sources) |
373 |
-- foreach (_current_FILE ${ARGN}) |
374 |
-- |
375 |
-- get_filename_component(_input ${_current_FILE} ABSOLUTE) |
376 |
-- get_filename_component(_basename ${_input} NAME_WE) |
377 |
-- set(_source ${CMAKE_CURRENT_BINARY_DIR}/${_basename}widgets.cpp) |
378 |
-- set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}widgets.moc) |
379 |
-- |
380 |
-- # create source file from the .widgets file |
381 |
-- add_custom_command(OUTPUT ${_source} |
382 |
-- COMMAND ${KDEWIDGETS_MAKEKDEWIDGETS_EXECUTABLE} |
383 |
-- ARGS -o ${_source} ${_input} |
384 |
-- MAIN_DEPENDENCY ${_input} DEPENDS ${_KDE4_MAKEKDEWIDGETS_DEP}) |
385 |
-- |
386 |
-- # create moc file |
387 |
-- qt5_generate_moc(${_source} ${_moc} ) |
388 |
-- |
389 |
-- list(APPEND ${_sources} ${_source} ${_moc}) |
390 |
-- |
391 |
-- endforeach (_current_FILE) |
392 |
-- |
393 |
--endmacro (KDE4_ADD_WIDGET_FILES) |
394 |
-- |
395 |
- # adds application icon to target source list |
396 |
- # 'appsources' - the sources of the application |
397 |
- # 'pngfiles' - specifies the list of icon files |
398 |
--- |
399 |
-2.29.2 |
400 |
- |
401 |
- |
402 |
From 13277f3a50eee8ec2ebc5cd915a83b56c2613966 Mon Sep 17 00:00:00 2001 |
403 |
From: Andreas Sturmlechner <asturm@g.o> |
404 |
Date: Sun, 22 Nov 2020 00:27:55 +0100 |
405 |
@@ -151,9 +6,7 @@ Subject: [PATCH 2/2] Drop Qt5Designer dependency |
406 |
Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
407 |
--- |
408 |
CMakeLists.txt | 2 +- |
409 |
- cmake/modules/ECMQt4To5Porting.cmake | 1 - |
410 |
- cmake/modules/FindQt5Transitional.cmake | 1 - |
411 |
- 3 files changed, 1 insertion(+), 3 deletions(-) |
412 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
413 |
|
414 |
diff --git a/CMakeLists.txt b/CMakeLists.txt |
415 |
index 20a27b52..e09b93e2 100644 |
416 |
@@ -168,30 +21,6 @@ index 20a27b52..e09b93e2 100644 |
417 |
|
418 |
find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED) |
419 |
find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) |
420 |
-diff --git a/cmake/modules/ECMQt4To5Porting.cmake b/cmake/modules/ECMQt4To5Porting.cmake |
421 |
-index 4204fa54..01b8f995 100644 |
422 |
---- a/cmake/modules/ECMQt4To5Porting.cmake |
423 |
-+++ b/cmake/modules/ECMQt4To5Porting.cmake |
424 |
-@@ -160,7 +160,6 @@ set(_qt_modules |
425 |
- DBus |
426 |
- Network |
427 |
- Test |
428 |
-- Designer |
429 |
- Concurrent |
430 |
- Xml |
431 |
- UiTools |
432 |
-diff --git a/cmake/modules/FindQt5Transitional.cmake b/cmake/modules/FindQt5Transitional.cmake |
433 |
-index df354fc6..68fa6d47 100644 |
434 |
---- a/cmake/modules/FindQt5Transitional.cmake |
435 |
-+++ b/cmake/modules/FindQt5Transitional.cmake |
436 |
-@@ -6,7 +6,6 @@ if (Qt5Core_FOUND) |
437 |
- Core |
438 |
- Gui |
439 |
- DBus |
440 |
-- Designer |
441 |
- Declarative |
442 |
- Script |
443 |
- ScriptTools |
444 |
-- |
445 |
2.29.2 |
446 |
|
447 |
|
448 |
diff --git a/kde-frameworks/kdelibs4support/kdelibs4support-5.77.0.ebuild b/kde-frameworks/kdelibs4support/kdelibs4support-5.77.0.ebuild |
449 |
index ce58a9ee597..916e9fdee5b 100644 |
450 |
--- a/kde-frameworks/kdelibs4support/kdelibs4support-5.77.0.ebuild |
451 |
+++ b/kde-frameworks/kdelibs4support/kdelibs4support-5.77.0.ebuild |
452 |
@@ -15,6 +15,8 @@ LICENSE="LGPL-2+" |
453 |
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" |
454 |
IUSE="libressl X" |
455 |
|
456 |
+RESTRICT+=" test" |
457 |
+ |
458 |
BDEPEND=" |
459 |
dev-lang/perl |
460 |
dev-perl/URI |
461 |
@@ -76,9 +78,7 @@ RDEPEND="${COMMON_DEPEND} |
462 |
=kde-frameworks/kitemmodels-${PVCUT}*:5 |
463 |
" |
464 |
|
465 |
-RESTRICT+=" test" |
466 |
- |
467 |
-PATCHES=( "${FILESDIR}/${PN}-5.77.0-no-kdesignerplugin.patch" ) |
468 |
+PATCHES=( "${FILESDIR}"/${P}-no-kdesignerplugin{,-1}.patch ) |
469 |
|
470 |
src_prepare() { |
471 |
ecm_src_prepare |
472 |
|
473 |
diff --git a/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild b/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild |
474 |
index bfa7f1cf63a..3d6df74a62a 100644 |
475 |
--- a/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild |
476 |
+++ b/kde-frameworks/kdelibs4support/kdelibs4support-5.78.0.ebuild |
477 |
@@ -15,6 +15,8 @@ LICENSE="LGPL-2+" |
478 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
479 |
IUSE="libressl X" |
480 |
|
481 |
+RESTRICT+=" test" |
482 |
+ |
483 |
BDEPEND=" |
484 |
dev-lang/perl |
485 |
dev-perl/URI |
486 |
@@ -76,9 +78,10 @@ RDEPEND="${COMMON_DEPEND} |
487 |
=kde-frameworks/kitemmodels-${PVCUT}*:5 |
488 |
" |
489 |
|
490 |
-RESTRICT+=" test" |
491 |
- |
492 |
-PATCHES=( "${FILESDIR}/${PN}-5.78.0-no-kdesignerplugin.patch" ) |
493 |
+PATCHES=( |
494 |
+ "${FILESDIR}/${P}-no-kdesignerplugin.patch" |
495 |
+ "${FILESDIR}/${PN}-5.77.0-no-kdesignerplugin-1.patch" |
496 |
+) |
497 |
|
498 |
src_prepare() { |
499 |
ecm_src_prepare |