Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/kdesvn/files/, dev-vcs/kdesvn/
Date: Wed, 14 Aug 2019 13:00:56
Message-Id: 1565787622.88057bea215f0a54e7bde46ec42d516f9f15a7a1.asturm@gentoo
1 commit: 88057bea215f0a54e7bde46ec42d516f9f15a7a1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 12:49:57 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 13:00:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88057bea
7
8 dev-vcs/kdesvn: Drop 2.0.0-r1
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-vcs/kdesvn/Manifest | 1 -
14 .../files/kdesvn-2.0.0-askpass-porting-fix.patch | 42 ---------
15 dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch | 26 ------
16 dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch | 47 ----------
17 dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch | 21 -----
18 .../files/kdesvn-2.0.0-fix-outofbounds.patch | 99 ----------------------
19 .../files/kdesvn-2.0.0-fix-runtime-warning.patch | 28 ------
20 dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch | 25 ------
21 dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild | 68 ---------------
22 9 files changed, 357 deletions(-)
23
24 diff --git a/dev-vcs/kdesvn/Manifest b/dev-vcs/kdesvn/Manifest
25 index 614a4b10c64..8eb941a0a38 100644
26 --- a/dev-vcs/kdesvn/Manifest
27 +++ b/dev-vcs/kdesvn/Manifest
28 @@ -1,2 +1 @@
29 -DIST kdesvn-2.0.0.tar.xz 2014660 BLAKE2B 41999913ecb1cd3a526bc898feaddd1385773ffdd64bee4b037625745172da62281cf34da284d1dabdae652fad0e4ab31bf0d305ca30309290c35003a2488d9c SHA512 1c0a6f02ef21fd8f9258a40ea2efba0f3775ae4a3c5b5f137dfaa658940472c3b0f98b6331c96bf7013af712d43ae6092fbee28e0f41688a62fa60dd194d3db2
30 DIST kdesvn-2.1.0.tar.xz 2096108 BLAKE2B b2807e6222d5743858a9592fe568c851e466f1349bb97869c3acab892b6ef9ce730d6ec1875b720b2ebb5e2099f6d4287bf76995d7b95800f0814499736b97c7 SHA512 ec1ad8422fd698a9c07d43c3051aabff615ea774c0e988ae07843f1935a2a5c3390cf175db5c10acfe3d94abcd7a2b9b41680047598c4e7b53162cdb4e74768d
31
32 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-askpass-porting-fix.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-askpass-porting-fix.patch
33 deleted file mode 100644
34 index 8e95270f429..00000000000
35 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-askpass-porting-fix.patch
36 +++ /dev/null
37 @@ -1,42 +0,0 @@
38 -From 8be5c9f4f27d3312715c0d60ea6c088ae32283b7 Mon Sep 17 00:00:00 2001
39 -From: Luigi Toscano <luigi.toscano@×××××××.it>
40 -Date: Tue, 31 Jan 2017 01:29:58 +0100
41 -Subject: Fix porting issues with kdesvn-askpass
42 -
43 -- properly setup and run the command line parser, fixing the order
44 - of the operations;
45 -- set the translation catalog;
46 -- remove a porting-related comment.
47 ----
48 - src/askpass/kdesvn-askpass.cpp | 7 ++++---
49 - 1 file changed, 4 insertions(+), 3 deletions(-)
50 -
51 -diff --git a/src/askpass/kdesvn-askpass.cpp b/src/askpass/kdesvn-askpass.cpp
52 -index aea5986..030fa9c 100644
53 ---- a/src/askpass/kdesvn-askpass.cpp
54 -+++ b/src/askpass/kdesvn-askpass.cpp
55 -@@ -30,7 +30,8 @@
56 -
57 - int main(int argc, char **argv)
58 - {
59 -- QApplication app(argc, argv); // PORTING SCRIPT: move this to before the KAboutData initialization
60 -+ QApplication app(argc, argv);
61 -+ KLocalizedString::setApplicationDomain("kdesvn");
62 - KAboutData aboutData(QStringLiteral("kdesvnaskpass"), i18n("kdesvnaskpass"), QStringLiteral("0.2"),
63 - i18n("ssh-askpass for kdesvn"),
64 - KAboutLicense::LicenseKey::LGPL,
65 -@@ -39,10 +40,10 @@ int main(int argc, char **argv)
66 - KAboutData::setApplicationData(aboutData);
67 - parser.addVersionOption();
68 - parser.addHelpOption();
69 -- aboutData.setupCommandLine(&parser);
70 -- aboutData.processCommandLine(&parser);
71 - parser.addPositionalArgument(QStringLiteral("[prompt]"), i18n("Prompt"));
72 -+ aboutData.setupCommandLine(&parser);
73 - parser.process(app);
74 -+ aboutData.processCommandLine(&parser);
75 - // no need for session management
76 - //app.disableSessionManagement();
77 -
78 ---
79 -cgit v1.1
80
81 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch
82 deleted file mode 100644
83 index f331cdb49da..00000000000
84 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-cmake.patch
85 +++ /dev/null
86 @@ -1,26 +0,0 @@
87 -From 18039eb7a3a6c5a24cd58b3e9c924ba63d60ca61 Mon Sep 17 00:00:00 2001
88 -From: David Faure <faure@×××.org>
89 -Date: Sat, 3 Feb 2018 11:32:44 +0100
90 -Subject: Fix cmake syntax, this was adding -I settingsdlgs -I PUBLIC to the
91 - command line
92 -
93 -(detected by -Wmissing-include-dirs)
94 ----
95 - src/settings/CMakeLists.txt | 2 +-
96 - 1 file changed, 1 insertion(+), 1 deletion(-)
97 -
98 -diff --git a/src/settings/CMakeLists.txt b/src/settings/CMakeLists.txt
99 -index a983484..259a256 100644
100 ---- a/src/settings/CMakeLists.txt
101 -+++ b/src/settings/CMakeLists.txt
102 -@@ -56,7 +56,7 @@ target_link_libraries(settingsdlgs
103 - KF5::Completion
104 - KF5::I18n
105 - )
106 --include_directories(settingsdlgs
107 -+target_include_directories(settingsdlgs
108 - PUBLIC
109 - ${CMAKE_CURRENT_SOURCE_DIR}/../
110 - ${CMAKE_CURRENT_BINARY_DIR}/../
111 ---
112 -cgit v1.1
113
114 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch
115 deleted file mode 100644
116 index d943ded7d74..00000000000
117 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-deps.patch
118 +++ /dev/null
119 @@ -1,47 +0,0 @@
120 -commit f62020c59ffb2d8ec84ff3328dddc06cd57d73ed
121 -Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com>
122 -Date: Sat Apr 1 15:12:20 2017 +0200
123 -
124 - Replace KF5TextEditor with actual implicit deps
125 -
126 -diff --git a/CMakeLists.txt b/CMakeLists.txt
127 -index 08a2104a..53d279fc 100644
128 ---- a/CMakeLists.txt
129 -+++ b/CMakeLists.txt
130 -@@ -46,13 +46,14 @@ include(FeatureSummary)
131 - include(ECMInstallIcons)
132 -
133 - find_package(KF5 REQUIRED COMPONENTS
134 -- Bookmarks Config ConfigWidgets CoreAddons
135 -- DBusAddons DocTools I18n IconThemes ItemViews
136 -- JobWidgets KIO Notifications Parts Service
137 -- TextEditor Wallet WidgetsAddons
138 -+ Bookmarks Codecs Completion Config
139 -+ ConfigWidgets CoreAddons DBusAddons DocTools
140 -+ I18n IconThemes ItemViews JobWidgets KIO
141 -+ Notifications Parts Service TextWidgets
142 -+ Wallet WidgetsAddons XmlGui
143 - )
144 - find_package(Qt5 REQUIRED COMPONENTS
145 -- Core DBus Gui Sql Widgets
146 -+ Core DBus Gui Sql Widgets Xml
147 - )
148 -
149 - # Set the version
150 -diff --git a/src/ksvnwidgets/CMakeLists.txt b/src/ksvnwidgets/CMakeLists.txt
151 -index 44b8d219..2b0087c8 100644
152 ---- a/src/ksvnwidgets/CMakeLists.txt
153 -+++ b/src/ksvnwidgets/CMakeLists.txt
154 -@@ -79,5 +79,11 @@ target_link_libraries(ksvnwidgets
155 - PUBLIC
156 - svnqt
157 - Qt5::Widgets
158 -- KF5::TextEditor
159 -+ KF5::Completion
160 -+ KF5::ConfigWidgets
161 -+ KF5::I18n
162 -+ KF5::KIOWidgets
163 -+ KF5::Parts
164 -+ KF5::TextWidgets
165 -+ KF5::XmlGui
166 - )
167
168 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch
169 deleted file mode 100644
170 index d6427c57f91..00000000000
171 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-desktop.patch
172 +++ /dev/null
173 @@ -1,21 +0,0 @@
174 -commit 5ea40285741a885198a351bd9afe58ff746a1192
175 -Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com>
176 -Date: Sun Dec 4 23:26:07 2016 +0100
177 -
178 - Fix startup: s/caption/qwindowtitle/
179 -
180 - REVIEW: 129614
181 -
182 -diff --git a/src/org.kde.kdesvn.desktop b/src/org.kde.kdesvn.desktop
183 -index 0fbac0d..5455338 100644
184 ---- a/src/org.kde.kdesvn.desktop
185 -+++ b/src/org.kde.kdesvn.desktop
186 -@@ -49,7 +49,7 @@ GenericName[sl]=Odjemalec za SVN
187 - GenericName[sv]=SVN-klient
188 - GenericName[uk]=Клієнт SVN
189 - GenericName[x-test]=xxSVN Clientxx
190 --Exec=kdesvn -caption "%c" %u
191 -+Exec=kdesvn -qwindowtitle "%c" %u
192 - Icon=kdesvn
193 - Type=Application
194 - X-DocPath=kdesvn/index.html
195
196 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-outofbounds.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-outofbounds.patch
197 deleted file mode 100644
198 index fa12c2db868..00000000000
199 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-outofbounds.patch
200 +++ /dev/null
201 @@ -1,99 +0,0 @@
202 -From f87f3c9cfc5924742236bee606cc2107475968ce Mon Sep 17 00:00:00 2001
203 -From: David Faure <faure@×××.org>
204 -Date: Fri, 15 Feb 2019 16:22:50 +0100
205 -Subject: Fix ASSERTs when calling beginRemoveRows with out of bounds
206 - parameters.
207 -
208 -The last param must be the last row, not the row count.
209 ----
210 - src/ksvnwidgets/models/commitmodel.cpp | 49 +++++++++++++++++++--------------
211 - src/svnfrontend/models/svnitemmodel.cpp | 6 ++--
212 - 2 files changed, 33 insertions(+), 22 deletions(-)
213 -
214 -diff --git a/src/ksvnwidgets/models/commitmodel.cpp b/src/ksvnwidgets/models/commitmodel.cpp
215 -index 4b5be8a..ac9d1ff 100644
216 ---- a/src/ksvnwidgets/models/commitmodel.cpp
217 -+++ b/src/ksvnwidgets/models/commitmodel.cpp
218 -@@ -46,33 +46,42 @@ CommitModel::~CommitModel()
219 -
220 - void CommitModel::setCommitData(const svn::CommitItemList &aList)
221 - {
222 -- beginRemoveRows(QModelIndex(), 0, m_List.count());
223 -- m_List.clear();
224 -- endRemoveRows();
225 --
226 -- m_List.reserve(aList.size());
227 -- beginInsertRows(QModelIndex(), 0, aList.size() - 1);
228 -- for (int j = 0; j < aList.size(); ++j) {
229 -- m_List.append(CommitModelNodePtr(new CommitModelNode(aList[j])));
230 -+ if (!m_List.isEmpty()) {
231 -+ beginRemoveRows(QModelIndex(), 0, m_List.count() - 1);
232 -+ m_List.clear();
233 -+ endRemoveRows();
234 -+ }
235 -+
236 -+ if (!aList.isEmpty()) {
237 -+ m_List.reserve(aList.size());
238 -+ beginInsertRows(QModelIndex(), 0, aList.size() - 1);
239 -+ for (int j = 0; j < aList.size(); ++j) {
240 -+ m_List.append(CommitModelNodePtr(new CommitModelNode(aList[j])));
241 -+ }
242 -+ endInsertRows();
243 - }
244 -- endInsertRows();
245 - }
246 -
247 - void CommitModel::setCommitData(const CommitActionEntries &checked, const CommitActionEntries &notchecked)
248 - {
249 -- beginRemoveRows(QModelIndex(), 0, m_List.count());
250 -- m_List.clear();
251 -- endRemoveRows();
252 --
253 -- m_List.reserve(checked.size() + notchecked.size());
254 -- beginInsertRows(QModelIndex(), 0, checked.size() + notchecked.size() - 1);
255 -- for (int j = 0; j < checked.size(); ++j) {
256 -- m_List.append(CommitModelNodePtr(new CommitModelNode(checked[j], true)));
257 -+ if (!m_List.isEmpty()) {
258 -+ beginRemoveRows(QModelIndex(), 0, m_List.count() - 1);
259 -+ m_List.clear();
260 -+ endRemoveRows();
261 - }
262 -- for (int j = 0; j < notchecked.size(); ++j) {
263 -- m_List.append(CommitModelNodePtr(new CommitModelNode(notchecked[j], false)));
264 -+
265 -+ const int totalSize = checked.size() + notchecked.size();
266 -+ if (totalSize > 0) {
267 -+ m_List.reserve(totalSize);
268 -+ beginInsertRows(QModelIndex(), 0, totalSize - 1);
269 -+ for (int j = 0; j < checked.size(); ++j) {
270 -+ m_List.append(CommitModelNodePtr(new CommitModelNode(checked[j], true)));
271 -+ }
272 -+ for (int j = 0; j < notchecked.size(); ++j) {
273 -+ m_List.append(CommitModelNodePtr(new CommitModelNode(notchecked[j], false)));
274 -+ }
275 -+ endInsertRows();
276 - }
277 -- endInsertRows();
278 - }
279 -
280 - int CommitModel::ActionColumn()const
281 -diff --git a/src/svnfrontend/models/svnitemmodel.cpp b/src/svnfrontend/models/svnitemmodel.cpp
282 -index 0c76e50..8e99e64 100644
283 ---- a/src/svnfrontend/models/svnitemmodel.cpp
284 -+++ b/src/svnfrontend/models/svnitemmodel.cpp
285 -@@ -173,9 +173,11 @@ void SvnItemModel::setRootNodeStat(const svn::StatusPtr &stat)
286 - void SvnItemModel::clear()
287 - {
288 - int numRows = m_Data->m_rootNode->childList().count();
289 -- beginRemoveRows(QModelIndex(), 0, numRows);
290 -+ if (numRows > 0)
291 -+ beginRemoveRows(QModelIndex(), 0, numRows - 1);
292 - m_Data->clear();
293 -- endRemoveRows();
294 -+ if (numRows > 0)
295 -+ endRemoveRows();
296 - }
297 -
298 - void SvnItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last)
299 ---
300 -cgit v1.1
301
302 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-runtime-warning.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-runtime-warning.patch
303 deleted file mode 100644
304 index 6b9dda46c81..00000000000
305 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-fix-runtime-warning.patch
306 +++ /dev/null
307 @@ -1,28 +0,0 @@
308 -From f81a246839b459c57ed89e2d267ae7e07c8c73c1 Mon Sep 17 00:00:00 2001
309 -From: David Faure <faure@×××.org>
310 -Date: Fri, 15 Feb 2019 16:24:07 +0100
311 -Subject: Fix copy/paste typo on variable name
312 -
313 -Detected by this Qt warning showing up:
314 -QObject::connect: Cannot connect (null)::checkModifiedFinished() to SvnActions::checkUpdateThread()
315 -
316 -CCMAIL: Ch.Ehrlicher@×××.de
317 ----
318 - src/svnfrontend/svnactions.cpp | 2 +-
319 - 1 file changed, 1 insertion(+), 1 deletion(-)
320 -
321 -diff --git a/src/svnfrontend/svnactions.cpp b/src/svnfrontend/svnactions.cpp
322 -index 0f27fed..9a5b4e3 100644
323 ---- a/src/svnfrontend/svnactions.cpp
324 -+++ b/src/svnfrontend/svnactions.cpp
325 -@@ -2675,7 +2675,7 @@ bool SvnActions::createUpdateCache(const QString &what)
326 - return false;
327 - }
328 - m_UThread = new CheckModifiedThread(this, what, true);
329 -- connect(m_CThread, SIGNAL(checkModifiedFinished()),
330 -+ connect(m_UThread, SIGNAL(checkModifiedFinished()),
331 - this, SLOT(checkUpdateThread()));
332 - m_UThread->start();
333 - emit sigExtraStatusMessage(i18n("Checking for updates started in background"));
334 ---
335 -cgit v1.1
336
337 diff --git a/dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch b/dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch
338 deleted file mode 100644
339 index 019d2271001..00000000000
340 --- a/dev-vcs/kdesvn/files/kdesvn-2.0.0-qt-5.11.patch
341 +++ /dev/null
342 @@ -1,25 +0,0 @@
343 -From 605484fd9fc873b9b8d571f398c3cab05c68d860 Mon Sep 17 00:00:00 2001
344 -From: Luca Beltrame <lbeltrame@×××.org>
345 -Date: Thu, 10 May 2018 09:28:15 +0200
346 -Subject: Fix build with Qt 5.11
347 -
348 -Some includes added transitively previously now need to be explicitly
349 -put.
350 ----
351 - src/svnfrontend/blamedisplay.cpp | 1 +
352 - 1 file changed, 1 insertion(+)
353 -
354 -diff --git a/src/svnfrontend/blamedisplay.cpp b/src/svnfrontend/blamedisplay.cpp
355 -index 2d87502..5673181 100644
356 ---- a/src/svnfrontend/blamedisplay.cpp
357 -+++ b/src/svnfrontend/blamedisplay.cpp
358 -@@ -30,6 +30,7 @@
359 - #include <KTextEdit>
360 - #include <KTreeWidgetSearchLine>
361 -
362 -+#include <QAction>
363 - #include <QBrush>
364 - #include <QFontDatabase>
365 - #include <QInputDialog>
366 ---
367 -cgit v0.11.2
368
369 diff --git a/dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild b/dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild
370 deleted file mode 100644
371 index 3bbcbf96af4..00000000000
372 --- a/dev-vcs/kdesvn/kdesvn-2.0.0-r1.ebuild
373 +++ /dev/null
374 @@ -1,68 +0,0 @@
375 -# Copyright 1999-2019 Gentoo Authors
376 -# Distributed under the terms of the GNU General Public License v2
377 -
378 -EAPI=7
379 -
380 -KDE_HANDBOOK="forceoptional"
381 -inherit kde5
382 -
383 -DESCRIPTION="A frontend to the subversion vcs"
384 -HOMEPAGE="https://kdesvn.alwins-world.de/ https://cgit.kde.org/kdesvn.git"
385 -if [[ ${PV} != 9999* ]]; then
386 - SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
387 -fi
388 -
389 -LICENSE="GPL-2"
390 -KEYWORDS="amd64 x86"
391 -IUSE="+man"
392 -
393 -DEPEND="
394 - $(add_frameworks_dep kbookmarks)
395 - $(add_frameworks_dep kcodecs)
396 - $(add_frameworks_dep kcompletion)
397 - $(add_frameworks_dep kconfig)
398 - $(add_frameworks_dep kconfigwidgets)
399 - $(add_frameworks_dep kcoreaddons)
400 - $(add_frameworks_dep kdbusaddons)
401 - $(add_frameworks_dep ki18n)
402 - $(add_frameworks_dep kiconthemes)
403 - $(add_frameworks_dep kio)
404 - $(add_frameworks_dep kitemviews)
405 - $(add_frameworks_dep kjobwidgets)
406 - $(add_frameworks_dep knotifications)
407 - $(add_frameworks_dep kparts)
408 - $(add_frameworks_dep kservice)
409 - $(add_frameworks_dep ktextwidgets)
410 - $(add_frameworks_dep kwallet)
411 - $(add_frameworks_dep kwidgetsaddons)
412 - $(add_frameworks_dep kxmlgui)
413 - $(add_qt_dep qtdbus)
414 - $(add_qt_dep qtgui)
415 - $(add_qt_dep qtsql 'sqlite')
416 - $(add_qt_dep qtwidgets)
417 - $(add_qt_dep qtxml)
418 - dev-libs/apr:1
419 - dev-libs/apr-util:1
420 - dev-vcs/subversion
421 -"
422 -RDEPEND="${DEPEND}
423 - !kde-apps/kdesdk-kioslaves:4[subversion(-)]
424 -"
425 -
426 -PATCHES=(
427 - "${FILESDIR}/${P}-desktop.patch"
428 - "${FILESDIR}/${P}-deps.patch"
429 - "${FILESDIR}/${P}-qt-5.11.patch"
430 - "${FILESDIR}/${P}-askpass-porting-fix.patch"
431 - "${FILESDIR}/${P}-cmake.patch"
432 - "${FILESDIR}/${P}-fix-outofbounds.patch"
433 - "${FILESDIR}/${P}-fix-runtime-warning.patch"
434 -)
435 -
436 -src_prepare(){
437 - kde5_src_prepare
438 -
439 - if ! use man ; then
440 - sed -i -e "/kdoctools_create_manpage/ s/^/#/" doc/CMakeLists.txt || die
441 - fi
442 -}