Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmediawiki/files/, net-libs/libmediawiki/
Date: Mon, 29 Aug 2022 15:15:36
Message-Id: 1661786120.38f99527bbdb7f55196c86058bbc12872eea8c8f.asturm@gentoo
1 commit: 38f99527bbdb7f55196c86058bbc12872eea8c8f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 29 11:49:36 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 15:15:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f99527
7
8 net-libs/libmediawiki: drop 5.37.0-r1
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 net-libs/libmediawiki/Manifest | 1 -
13 .../files/libmediawiki-5.37.0-fix-warnings.patch | 192 ---------------------
14 .../files/libmediawiki-5.37.0-qt-5.15.patch | 31 ----
15 .../libmediawiki/libmediawiki-5.37.0-r1.ebuild | 38 ----
16 4 files changed, 262 deletions(-)
17
18 diff --git a/net-libs/libmediawiki/Manifest b/net-libs/libmediawiki/Manifest
19 index 8c08fa60b4df..1a4c8459ac39 100644
20 --- a/net-libs/libmediawiki/Manifest
21 +++ b/net-libs/libmediawiki/Manifest
22 @@ -1,2 +1 @@
23 -DIST libmediawiki-5.37.0.tar.xz 55188 BLAKE2B d04ea7dc346792c49009b382fd774ad9573e70cb52599caa57ac3f0dcfac93c0569a42cc54e11ba185e80fc2a5847d6a6f6c81adda9907c87dd3f7459771da3c SHA512 5efcd30782c8d54cddad51c6a96065f2942529e89facfd1c3a71af343a898858db02fa95dd0af0161b3e13aee6a9a373a0a641ce64e128c7282cbf3770db6993
24 DIST libmediawiki-5.38.0.tar.xz 55264 BLAKE2B 74753a20ab84f1badcf7368be5617648e296f66832feafb26ea2122818921a924a7278ccfbe4779535365c679ef574139dc3214812a87b72cd90f6766671928a SHA512 4e8a3a656d324006a85cd6b2eeeaafd67a80806368125a9f0ce46984b58cfeed5ad8ac34c6cc305d00b3bd92bf5e1f8e60b41313ac6a86970c47572654784114
25
26 diff --git a/net-libs/libmediawiki/files/libmediawiki-5.37.0-fix-warnings.patch b/net-libs/libmediawiki/files/libmediawiki-5.37.0-fix-warnings.patch
27 deleted file mode 100644
28 index c57041dca7c9..000000000000
29 --- a/net-libs/libmediawiki/files/libmediawiki-5.37.0-fix-warnings.patch
30 +++ /dev/null
31 @@ -1,192 +0,0 @@
32 -From 8c11aeabf34985421cd229240a6fad3db8023156 Mon Sep 17 00:00:00 2001
33 -From: Pino Toscano <pino@×××.org>
34 -Date: Sat, 9 Sep 2017 15:33:24 +0200
35 -Subject: use Q_DECL_OVERRIDE
36 -
37 ----
38 - src/edit.h | 2 +-
39 - src/job.h | 2 +-
40 - src/login.h | 2 +-
41 - src/logout.h | 2 +-
42 - src/parse.h | 2 +-
43 - src/queryimageinfo.h | 2 +-
44 - src/queryimages.h | 2 +-
45 - src/queryinfo.h | 2 +-
46 - src/queryrevision.h | 2 +-
47 - src/querysiteinfogeneral.h | 2 +-
48 - src/querysiteinfousergroups.h | 2 +-
49 - src/upload.h | 2 +-
50 - tests/libmediawikitest/fakeserver.h | 2 +-
51 - 13 files changed, 13 insertions(+), 13 deletions(-)
52 -
53 -diff --git a/src/edit.h b/src/edit.h
54 -index 85bd590..a3944c8 100644
55 ---- a/src/edit.h
56 -+++ b/src/edit.h
57 -@@ -178,7 +178,7 @@ public:
58 - /**
59 - * @brief Starts the job asynchronously.
60 - */
61 -- virtual void start();
62 -+ void start() Q_DECL_OVERRIDE;
63 -
64 - /**
65 - * @brief Specify how the watchlist is affected by this edit.
66 -diff --git a/src/job.h b/src/job.h
67 -index 180822b..feda262 100644
68 ---- a/src/job.h
69 -+++ b/src/job.h
70 -@@ -73,7 +73,7 @@ public:
71 - /**
72 - * @brief Aborts this job quietly.
73 - */
74 -- virtual bool doKill();
75 -+ bool doKill() Q_DECL_OVERRIDE;
76 -
77 - protected:
78 -
79 -diff --git a/src/login.h b/src/login.h
80 -index 196710a..4ea71f1 100644
81 ---- a/src/login.h
82 -+++ b/src/login.h
83 -@@ -130,7 +130,7 @@ public:
84 - /**
85 - * @brief Starts the job asynchronously.
86 - */
87 -- virtual void start();
88 -+ void start() Q_DECL_OVERRIDE;
89 -
90 - private Q_SLOTS:
91 -
92 -diff --git a/src/logout.h b/src/logout.h
93 -index 03fb1f7..1b05323 100644
94 ---- a/src/logout.h
95 -+++ b/src/logout.h
96 -@@ -65,7 +65,7 @@ public:
97 - /**
98 - * @brief Starts the job asynchronously.
99 - */
100 -- virtual void start();
101 -+ void start() Q_DECL_OVERRIDE;
102 -
103 - private Q_SLOTS:
104 -
105 -diff --git a/src/parse.h b/src/parse.h
106 -index 5732f69..e72f59f 100644
107 ---- a/src/parse.h
108 -+++ b/src/parse.h
109 -@@ -85,7 +85,7 @@ public:
110 -
111 - void setUseLang(const QString& param);
112 -
113 -- virtual void start();
114 -+ void start() Q_DECL_OVERRIDE;
115 -
116 - Q_SIGNALS:
117 -
118 -diff --git a/src/queryimageinfo.h b/src/queryimageinfo.h
119 -index f8c21a6..039c4a5 100644
120 ---- a/src/queryimageinfo.h
121 -+++ b/src/queryimageinfo.h
122 -@@ -148,7 +148,7 @@ public:
123 - /**
124 - * @brief Starts the job asynchronously.
125 - */
126 -- virtual void start();
127 -+ void start() Q_DECL_OVERRIDE;
128 -
129 - Q_SIGNALS:
130 -
131 -diff --git a/src/queryimages.h b/src/queryimages.h
132 -index 3211880..c8de5a0 100644
133 ---- a/src/queryimages.h
134 -+++ b/src/queryimages.h
135 -@@ -103,7 +103,7 @@ public:
136 - /**
137 - * @brief Starts the job asynchronously.
138 - */
139 -- virtual void start();
140 -+ void start() Q_DECL_OVERRIDE;
141 -
142 - Q_SIGNALS:
143 -
144 -diff --git a/src/queryinfo.h b/src/queryinfo.h
145 -index e2ff3e6..e23f50e 100644
146 ---- a/src/queryinfo.h
147 -+++ b/src/queryinfo.h
148 -@@ -75,7 +75,7 @@ public:
149 - /**
150 - * @brief Starts the job asynchronously.
151 - */
152 -- virtual void start();
153 -+ void start() Q_DECL_OVERRIDE;
154 -
155 - /**
156 - * @brief Set the page name.
157 -diff --git a/src/queryrevision.h b/src/queryrevision.h
158 -index b1decfb..190d026 100644
159 ---- a/src/queryrevision.h
160 -+++ b/src/queryrevision.h
161 -@@ -150,7 +150,7 @@ public:
162 - /**
163 - * @brief Starts the job asynchronously.
164 - */
165 -- virtual void start();
166 -+ void start() Q_DECL_OVERRIDE;
167 -
168 - /**
169 - * @brief Set the page id.
170 -diff --git a/src/querysiteinfogeneral.h b/src/querysiteinfogeneral.h
171 -index 516f7ed..1b31f15 100644
172 ---- a/src/querysiteinfogeneral.h
173 -+++ b/src/querysiteinfogeneral.h
174 -@@ -81,7 +81,7 @@ public:
175 - /**
176 - * @brief Starts the job asynchronously.
177 - */
178 -- virtual void start();
179 -+ void start() Q_DECL_OVERRIDE;
180 -
181 - Q_SIGNALS:
182 -
183 -diff --git a/src/querysiteinfousergroups.h b/src/querysiteinfousergroups.h
184 -index 74bc653..d6fb089 100644
185 ---- a/src/querysiteinfousergroups.h
186 -+++ b/src/querysiteinfousergroups.h
187 -@@ -73,7 +73,7 @@ public:
188 - /**
189 - * @brief Starts the job asynchronously.
190 - */
191 -- virtual void start();
192 -+ void start() Q_DECL_OVERRIDE;
193 -
194 - Q_SIGNALS:
195 -
196 -diff --git a/src/upload.h b/src/upload.h
197 -index 817eb5b..7f745f4 100644
198 ---- a/src/upload.h
199 -+++ b/src/upload.h
200 -@@ -143,7 +143,7 @@ public:
201 - /**
202 - * @brief Starts the job asynchronously.
203 - */
204 -- virtual void start();
205 -+ void start() Q_DECL_OVERRIDE;
206 -
207 - /**
208 - * @brief Set the target filename.
209 -diff --git a/tests/libmediawikitest/fakeserver.h b/tests/libmediawikitest/fakeserver.h
210 -index e847ac6..c6bb78c 100644
211 ---- a/tests/libmediawikitest/fakeserver.h
212 -+++ b/tests/libmediawikitest/fakeserver.h
213 -@@ -61,7 +61,7 @@ public:
214 - ~FakeServer();
215 -
216 - void startAndWait();
217 -- virtual void run();
218 -+ void run() Q_DECL_OVERRIDE;
219 -
220 - void setScenario( const QString& scenario, const QString& cookie = QStringLiteral("empty"));
221 - void addScenario( const QString& scenario, const QString& cookie = QStringLiteral("empty"));
222 ---
223 -cgit v1.1
224
225 diff --git a/net-libs/libmediawiki/files/libmediawiki-5.37.0-qt-5.15.patch b/net-libs/libmediawiki/files/libmediawiki-5.37.0-qt-5.15.patch
226 deleted file mode 100644
227 index 5e7f9d49ce50..000000000000
228 --- a/net-libs/libmediawiki/files/libmediawiki-5.37.0-qt-5.15.patch
229 +++ /dev/null
230 @@ -1,31 +0,0 @@
231 -From 7c79dae079d20b46d05462ed9f5b3cfae78f420a Mon Sep 17 00:00:00 2001
232 -From: David Faure <faure@×××.org>
233 -Date: Sun, 2 May 2021 12:39:39 +0200
234 -Subject: [PATCH] Fix compilation error with Qt 5.15
235 -MIME-Version: 1.0
236 -Content-Type: text/plain; charset=UTF-8
237 -Content-Transfer-Encoding: 8bit
238 -
239 -error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
240 ----
241 - src/queryrevision.cpp | 4 ++--
242 - 1 file changed, 2 insertions(+), 2 deletions(-)
243 -
244 -diff --git a/src/queryrevision.cpp b/src/queryrevision.cpp
245 -index 59aac03..6ebfbc8 100644
246 ---- a/src/queryrevision.cpp
247 -+++ b/src/queryrevision.cpp
248 -@@ -307,8 +307,8 @@ void QueryRevision::doWorkProcessReply()
249 - while (count < 2)
250 - {
251 - if (replytmp[i] == QLatin1Char('"') && replytmp[i-1] != QLatin1Char('\\')) count++;
252 -- if (replytmp[i] == QLatin1Char('<')) replytmp[i] = char(255);
253 -- if (replytmp[i] == QLatin1Char('>')) replytmp[i] = char(254);
254 -+ if (replytmp[i] == QLatin1Char('<')) replytmp[i] = QChar(255);
255 -+ if (replytmp[i] == QLatin1Char('>')) replytmp[i] = QChar(254);
256 - ++i;
257 - }
258 - }
259 ---
260 -GitLab
261 -
262
263 diff --git a/net-libs/libmediawiki/libmediawiki-5.37.0-r1.ebuild b/net-libs/libmediawiki/libmediawiki-5.37.0-r1.ebuild
264 deleted file mode 100644
265 index 88b2d5e06537..000000000000
266 --- a/net-libs/libmediawiki/libmediawiki-5.37.0-r1.ebuild
267 +++ /dev/null
268 @@ -1,38 +0,0 @@
269 -# Copyright 1999-2021 Gentoo Authors
270 -# Distributed under the terms of the GNU General Public License v2
271 -
272 -EAPI=7
273 -
274 -ECM_TEST="true"
275 -KFMIN=5.60.0
276 -QTMIN=5.12.3
277 -inherit ecm kde.org
278 -
279 -DESCRIPTION="C++ interface for MediaWiki based web service as wikipedia.org"
280 -HOMEPAGE="https://invent.kde.org/libraries/libmediawiki"
281 -SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
282 -
283 -LICENSE="GPL-2+"
284 -SLOT="5"
285 -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
286 -
287 -DEPEND="
288 - >=dev-qt/qtnetwork-${QTMIN}:5
289 - >=kde-frameworks/kcoreaddons-${KFMIN}:5
290 -"
291 -RDEPEND="${DEPEND}"
292 -
293 -PATCHES=(
294 - "${FILESDIR}/${P}-tests-optional.patch"
295 - "${FILESDIR}/${P}-fix-warnings.patch"
296 - "${FILESDIR}/${P}-qt-5.15.patch"
297 -)
298 -
299 -src_test() {
300 - # bug 646808, 662592
301 - local myctestargs=(
302 - -j1
303 - -E "(libmediawiki-logintest|libmediawiki-logouttest|libmediawiki-queryimageinfotest|libmediawiki-queryimagestest|libmediawiki-queryinfotest|libmediawiki-querysiteinfousergroupstest)"
304 - )
305 - ecm_src_test
306 -}