1 |
commit: c7bc65ae2f713e7c45368e75a0e188ff5a3622ac |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 23 22:04:33 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 23 22:04:33 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bc65ae |
7 |
|
8 |
x11-themes/qtcurve: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
x11-themes/qtcurve/Manifest | 3 - |
13 |
.../qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch | 13 ---- |
14 |
.../files/qtcurve-1.8.18-gtk2_segfault.patch | 14 ---- |
15 |
.../qtcurve-1.8.18-remove_qt_filedialog_api.patch | 58 ----------------- |
16 |
.../qtcurve/files/qtcurve-1.8.18-std_isnan.patch | 31 --------- |
17 |
.../files/qtcurve-1.8.18_p20170601-include.patch | 10 --- |
18 |
.../files/qtcurve-9999-add_utils_include.patch | 10 --- |
19 |
x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild | 74 ---------------------- |
20 |
x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild | 66 ------------------- |
21 |
9 files changed, 279 deletions(-) |
22 |
|
23 |
diff --git a/x11-themes/qtcurve/Manifest b/x11-themes/qtcurve/Manifest |
24 |
index eb61495f992..969ecaf2a7d 100644 |
25 |
--- a/x11-themes/qtcurve/Manifest |
26 |
+++ b/x11-themes/qtcurve/Manifest |
27 |
@@ -1,4 +1 @@ |
28 |
-DIST qtcurve-1.8.18-dont_use_c++11.patch 1096 SHA256 09a9c42bd045dc9161881fdfe62b854d8577fc57e00a245ae03fb00a384cb82f SHA512 3228e4e5babd6a309fca02c4a103500acd913f40364e9dffd8238aa05377f4d31c3b2ba2c84427804de909712a2dd9b391e9f84206fca5146dbadc0d96183cf7 WHIRLPOOL 23f4e2d568e6a2331e2f34f8c3061c1f4171ef0b39e74a56da44c7d761626eefc2a5ff0fa39d4983d8c99742f753ec26dcc2287320aa8d43d5cab9a0d13f2245 |
29 |
-DIST qtcurve-1.8.18.tar.gz 991195 SHA256 85997c9fa4a948945d719342f5993486aecf189d176408280bad9af8600873a6 SHA512 0ba7927db11d1f2d7bad08fa923d3f0f2167d89fdf0d09bf0b677ffd4f2cc547c22890c87b8f18495e73f8ce21ffbd40899792a512dd9e2a481b81a52abd84eb WHIRLPOOL d3c7dc0c08b42deafdd5fcd513dcb2d9ea9c52ade8090d6cc022315ac80b1ea196a8a763d9c96096ee645f45bc329b837f23987bf7229c718d2a5811a35c68d1 |
30 |
-DIST qtcurve-1.8.18_p20170601.tar.xz 450280 SHA256 aa06d2ac8d4b5b01d227db30555db81f0b6e31ad8fd46cc31abcb3e03589742a SHA512 bde72d2f03403bcdc420612fc83b5dd20c51a4e0cd99a32dfbbd5de4bd2da666a990298ce760642a6d857d74df5e5bef0c737bf49c329ed21ae7e6f2b9ab7080 WHIRLPOOL 2adf543a03b8e88718cd7382ea52be683a7940c6b5593303d8c006d6bc1a1d828b70ad1d24d04379297918fee649a4bed03320a7bceb07077476ed640d2b3f95 |
31 |
DIST qtcurve-1.9.0_rc1.tar.gz 800845 SHA256 3a5ca031761195f58f92f676355f0da6e424e997fdc4fe5914b3f58fe9d57291 SHA512 c586c5c922dcc2a374bf9e3b3abb3e64dcb6299531615fe980b8eba7d2e5a68038ec2eafae24a0c0d4782b2e08984534723bb713386d5119fa8016b9fbdd436e WHIRLPOOL dab6f2b56afdb9f1e52fbfee1680d5f57e489a7a5ee0963487a4b13eef44d0db21af21aa929d2907084a5ace845edac518f0899d98d6686275fe023f7959dfba |
32 |
|
33 |
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch |
34 |
deleted file mode 100644 |
35 |
index 06a27d5a885..00000000000 |
36 |
--- a/x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch |
37 |
+++ /dev/null |
38 |
@@ -1,13 +0,0 @@ |
39 |
---- a/lib/utils/color.h.orig 2017-02-16 00:55:24.000000000 +0300 |
40 |
-+++ b/lib/utils/color.h 2017-02-16 01:00:40.176467232 +0300 |
41 |
-@@ -25,6 +25,10 @@ |
42 |
- |
43 |
- #include <math.h> |
44 |
- |
45 |
-+#if __cplusplus >= 201103L && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 23)) |
46 |
-+#include <cmath> |
47 |
-+#endif |
48 |
-+ |
49 |
- #include "utils.h" |
50 |
- #include "options.h" |
51 |
- |
52 |
|
53 |
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch |
54 |
deleted file mode 100644 |
55 |
index b4a2f1a4461..00000000000 |
56 |
--- a/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch |
57 |
+++ /dev/null |
58 |
@@ -1,14 +0,0 @@ |
59 |
-https://github.com/QtCurve/qtcurve-gtk2/issues/3 |
60 |
-https://gist.github.com/anonymous/8e6e4ea32dabf03cf630 |
61 |
- |
62 |
---- qtcurve-1.8.18/gtk2/style/qtcurve.c |
63 |
-+++ qtcurve-1.8.18/gtk2/style/qtcurve.c |
64 |
-@@ -372,7 +372,7 @@ |
65 |
- } else if (!(qtSettings.app == GTK_APP_JAVA && widget && |
66 |
- GTK_IS_LABEL(widget))) { |
67 |
- if (state != GTK_STATE_PRELIGHT || opts.crHighlight || |
68 |
-- strcmp(detail, "checkbutton") != 0) { |
69 |
-+ ( detail != NULL && strcmp(detail, "checkbutton") != 0 )) { |
70 |
- parent_class->draw_flat_box(style, window, state, shadow, area, |
71 |
- widget, detail, x, y, width, height); |
72 |
- } |
73 |
|
74 |
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-remove_qt_filedialog_api.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-remove_qt_filedialog_api.patch |
75 |
deleted file mode 100644 |
76 |
index 087ec7f27f6..00000000000 |
77 |
--- a/x11-themes/qtcurve/files/qtcurve-1.8.18-remove_qt_filedialog_api.patch |
78 |
+++ /dev/null |
79 |
@@ -1,58 +0,0 @@ |
80 |
-From 323402d8b99502300f65e909c61153cbd5d5d997 Mon Sep 17 00:00:00 2001 |
81 |
-From: Marco Martin <notmart@×××××.com> |
82 |
-Date: Mon, 19 May 2014 10:37:37 +0200 |
83 |
-Subject: [PATCH] remove qt_filedialog_* api |
84 |
- |
85 |
-it has been removed and doesn't build anymore with recent Qt5 stable |
86 |
-branch |
87 |
---- |
88 |
- qt5/style/qtcurve_api.cpp | 26 -------------------------- |
89 |
- 1 file changed, 26 deletions(-) |
90 |
- |
91 |
-diff --git a/qt5/style/qtcurve_api.cpp b/qt5/style/qtcurve_api.cpp |
92 |
-index a5ded22..2c794b7 100644 |
93 |
---- a/qt5/style/qtcurve_api.cpp |
94 |
-+++ b/qt5/style/qtcurve_api.cpp |
95 |
-@@ -67,25 +67,6 @@ |
96 |
- |
97 |
- #include <QDebug> |
98 |
- |
99 |
--extern QString (*qt_filedialog_existing_directory_hook)( |
100 |
-- QWidget *parent, const QString &caption, const QString &dir, |
101 |
-- QFileDialog::Options options); |
102 |
-- |
103 |
--extern QString (*qt_filedialog_open_filename_hook)( |
104 |
-- QWidget *parent, const QString &caption, const QString &dir, |
105 |
-- const QString &filter, QString *selectedFilter, |
106 |
-- QFileDialog::Options options); |
107 |
-- |
108 |
--extern QStringList (*qt_filedialog_open_filenames_hook)( |
109 |
-- QWidget * parent, const QString &caption, const QString &dir, |
110 |
-- const QString &filter, QString *selectedFilter, |
111 |
-- QFileDialog::Options options); |
112 |
-- |
113 |
--extern QString (*qt_filedialog_save_filename_hook)( |
114 |
-- QWidget *parent, const QString &caption, const QString &dir, |
115 |
-- const QString &filter, QString *selectedFilter, |
116 |
-- QFileDialog::Options options); |
117 |
-- |
118 |
- namespace QtCurve { |
119 |
- |
120 |
- void |
121 |
-@@ -163,13 +144,6 @@ Style::polish(QApplication *app) |
122 |
- opts.menuBgndAppearance = APPEARANCE_FLAT; |
123 |
- } |
124 |
- |
125 |
-- if (opts.useQtFileDialogApps.contains(appName)) { |
126 |
-- qt_filedialog_existing_directory_hook = 0L; |
127 |
-- qt_filedialog_open_filename_hook = 0L; |
128 |
-- qt_filedialog_open_filenames_hook = 0L; |
129 |
-- qt_filedialog_save_filename_hook = 0L; |
130 |
-- } |
131 |
-- |
132 |
- QCommonStyle::polish(app); |
133 |
- if (opts.hideShortcutUnderline) { |
134 |
- app->installEventFilter(m_shortcutHandler); |
135 |
--- |
136 |
-1.9.3 |
137 |
- |
138 |
|
139 |
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch |
140 |
deleted file mode 100644 |
141 |
index 1064d202689..00000000000 |
142 |
--- a/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch |
143 |
+++ /dev/null |
144 |
@@ -1,31 +0,0 @@ |
145 |
-diff --git a/lib/utils/color.h.orig b/lib/utils/color.h |
146 |
-index 2c7081f..37d83b5 100644 |
147 |
---- a/lib/utils/color.h.orig |
148 |
-+++ b/lib/utils/color.h |
149 |
-@@ -23,6 +23,8 @@ |
150 |
- #ifndef QTC_UTILS_COLOR_H |
151 |
- #define QTC_UTILS_COLOR_H |
152 |
- |
153 |
-+#include <math.h> |
154 |
-+ |
155 |
- #include "utils.h" |
156 |
- #include "options.h" |
157 |
- |
158 |
-@@ -250,7 +252,7 @@ qtcColorTint(const QColor *base, const QColor *col, double amount) |
159 |
- return *base; |
160 |
- } else if (amount >= 1.0) { |
161 |
- return *col; |
162 |
-- } else if (isnan(amount)) { |
163 |
-+ } else if (std::isnan(amount)) { |
164 |
- return *base; |
165 |
- } |
166 |
- const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()}; |
167 |
-@@ -267,7 +269,7 @@ qtcColorMix(const QColor *c1, const QColor *c2, double bias) |
168 |
- return *c1; |
169 |
- } else if (bias >= 1.0) { |
170 |
- return *c2; |
171 |
-- } else if (isnan(bias)) { |
172 |
-+ } else if (std::isnan(bias)) { |
173 |
- return *c1; |
174 |
- } |
175 |
- const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()}; |
176 |
|
177 |
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch |
178 |
deleted file mode 100644 |
179 |
index 8b66c693c76..00000000000 |
180 |
--- a/x11-themes/qtcurve/files/qtcurve-1.8.18_p20170601-include.patch |
181 |
+++ /dev/null |
182 |
@@ -1,10 +0,0 @@ |
183 |
---- a/qt5/style/qtcurve.cpp |
184 |
-+++ b/qt5/style/qtcurve.cpp |
185 |
-@@ -67,6 +67,7 @@ |
186 |
- #include <QSettings> |
187 |
- #include <QPixmapCache> |
188 |
- #include <QTextStream> |
189 |
-+#include <QDebug> |
190 |
- |
191 |
- #include "shadowhelper.h" |
192 |
- #include <qtcurve-utils/x11qtc.h> |
193 |
|
194 |
diff --git a/x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch b/x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch |
195 |
deleted file mode 100644 |
196 |
index 5536937f9b1..00000000000 |
197 |
--- a/x11-themes/qtcurve/files/qtcurve-9999-add_utils_include.patch |
198 |
+++ /dev/null |
199 |
@@ -1,10 +0,0 @@ |
200 |
---- a/qt4/style/qtcurve_plugin.cpp 2016-10-25 10:12:41.000000000 +0200 |
201 |
-+++ b/qt4/style/qtcurve_plugin.cpp 2016-10-25 10:21:32.446853060 +0200 |
202 |
-@@ -22,6 +22,7 @@ |
203 |
- |
204 |
- #include "qtcurve_plugin.h" |
205 |
- #include "qtcurve.h" |
206 |
-+#include "utils.h" |
207 |
- #include "config.h" |
208 |
- |
209 |
- #include <qtcurve-utils/qtprops.h> |
210 |
|
211 |
diff --git a/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild b/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild |
212 |
deleted file mode 100644 |
213 |
index 7a9617a62d9..00000000000 |
214 |
--- a/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild |
215 |
+++ /dev/null |
216 |
@@ -1,74 +0,0 @@ |
217 |
-# Copyright 1999-2017 Gentoo Foundation |
218 |
-# Distributed under the terms of the GNU General Public License v2 |
219 |
- |
220 |
-EAPI=5 |
221 |
-inherit cmake-utils |
222 |
- |
223 |
-DESCRIPTION="A set of widget styles for Qt and GTK2" |
224 |
-HOMEPAGE="https://github.com/QtCurve/qtcurve" |
225 |
- |
226 |
-if [[ ${PV} == *9999* ]]; then |
227 |
- inherit git-r3 |
228 |
- EGIT_REPO_URI="https://github.com/QtCurve/qtcurve.git" |
229 |
-else |
230 |
- SRC_URI="https://github.com/QtCurve/${PN}/archive/${PV/_/}.tar.gz -> ${P}.tar.gz |
231 |
- https://github.com/QtCurve/qtcurve/commit/020b70404f6202490d5ca131f0ec084355cb98e3.patch -> ${PN}-1.8.18-dont_use_c++11.patch" |
232 |
- KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" |
233 |
-fi |
234 |
- |
235 |
-LICENSE="LGPL-2+" |
236 |
-SLOT="0" |
237 |
-IUSE="+X gtk nls +qt4 qt5" |
238 |
-REQUIRED_USE="gtk? ( X ) |
239 |
- || ( gtk qt4 qt5 )" |
240 |
- |
241 |
-RDEPEND="X? ( x11-libs/libxcb |
242 |
- x11-libs/libX11 ) |
243 |
- gtk? ( x11-libs/gtk+:2 ) |
244 |
- qt4? ( dev-qt/qtdbus:4 |
245 |
- dev-qt/qtgui:4 |
246 |
- dev-qt/qtsvg:4 |
247 |
- ) |
248 |
- qt5? ( dev-qt/qtdeclarative:5 |
249 |
- dev-qt/qtgui:5 |
250 |
- dev-qt/qtsvg:5 |
251 |
- dev-qt/qtwidgets:5 |
252 |
- X? ( dev-qt/qtdbus:5 |
253 |
- dev-qt/qtx11extras:5 ) |
254 |
- ) |
255 |
- !x11-themes/gtk-engines-qtcurve" |
256 |
-DEPEND="${RDEPEND} |
257 |
- virtual/pkgconfig |
258 |
- nls? ( sys-devel/gettext )" |
259 |
- |
260 |
-S="${WORKDIR}/${P/_/}" |
261 |
- |
262 |
-DOCS=( AUTHORS ChangeLog.md README.md TODO.md ) |
263 |
- |
264 |
-PATCHES=( |
265 |
- "${DISTDIR}/${P}-dont_use_c++11.patch" |
266 |
- "${FILESDIR}/${P}-remove_qt_filedialog_api.patch" |
267 |
- "${FILESDIR}/${P}-gtk2_segfault.patch" |
268 |
- "${FILESDIR}/${P}-std_isnan.patch" |
269 |
- "${FILESDIR}/${P}-glibc-2.23.patch" |
270 |
- ) |
271 |
- |
272 |
-pkg_setup() { |
273 |
- # bug #498776 |
274 |
- if ! version_is_at_least 4.7 $(gcc-version) ; then |
275 |
- append-cxxflags -Doverride= |
276 |
- fi |
277 |
-} |
278 |
- |
279 |
-src_configure() { |
280 |
- local mycmakeargs=( |
281 |
- -DQTC_QT4_ENABLE_KDE=OFF |
282 |
- -DQTC_QT4_ENABLE_KWIN=OFF |
283 |
- $(cmake-utils_use_enable gtk GTK2) |
284 |
- $(cmake-utils_use_enable qt4 QT4) |
285 |
- $(cmake-utils_use_enable qt5 QT5) |
286 |
- $(cmake-utils_use X QTC_ENABLE_X11 ) |
287 |
- $(cmake-utils_use nls QTC_INSTALL_PO ) |
288 |
- ) |
289 |
- cmake-utils_src_configure |
290 |
-} |
291 |
|
292 |
diff --git a/x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild b/x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild |
293 |
deleted file mode 100644 |
294 |
index 5beaa57b806..00000000000 |
295 |
--- a/x11-themes/qtcurve/qtcurve-1.8.18_p20170601.ebuild |
296 |
+++ /dev/null |
297 |
@@ -1,66 +0,0 @@ |
298 |
-# Copyright 1999-2017 Gentoo Foundation |
299 |
-# Distributed under the terms of the GNU General Public License v2 |
300 |
- |
301 |
-EAPI=6 |
302 |
- |
303 |
-inherit cmake-utils |
304 |
- |
305 |
-DESCRIPTION="A set of widget styles for Qt and GTK2" |
306 |
-HOMEPAGE="https://github.com/QtCurve/qtcurve" |
307 |
- |
308 |
-if [[ ${PV} == *9999* ]]; then |
309 |
- inherit git-r3 |
310 |
- EGIT_REPO_URI="https://github.com/QtCurve/qtcurve.git" |
311 |
-else |
312 |
- SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz" |
313 |
- KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
314 |
-fi |
315 |
- |
316 |
-LICENSE="LGPL-2+" |
317 |
-SLOT="0" |
318 |
-IUSE="+X gtk nls +qt4 qt5" |
319 |
-REQUIRED_USE="gtk? ( X ) |
320 |
- || ( gtk qt4 qt5 )" |
321 |
- |
322 |
-RDEPEND="X? ( |
323 |
- x11-libs/libxcb |
324 |
- x11-libs/libX11 |
325 |
- ) |
326 |
- gtk? ( x11-libs/gtk+:2 ) |
327 |
- qt4? ( |
328 |
- dev-qt/qtcore:4 |
329 |
- dev-qt/qtdbus:4 |
330 |
- dev-qt/qtgui:4 |
331 |
- dev-qt/qtsvg:4 |
332 |
- ) |
333 |
- qt5? ( |
334 |
- dev-qt/qtcore:5 |
335 |
- dev-qt/qtdeclarative:5 |
336 |
- dev-qt/qtgui:5 |
337 |
- dev-qt/qtsvg:5 |
338 |
- dev-qt/qtwidgets:5 |
339 |
- X? ( dev-qt/qtdbus:5 |
340 |
- dev-qt/qtx11extras:5 ) |
341 |
- ) |
342 |
- !x11-themes/gtk-engines-qtcurve" |
343 |
-DEPEND="${RDEPEND} |
344 |
- virtual/pkgconfig |
345 |
- nls? ( sys-devel/gettext )" |
346 |
- |
347 |
-DOCS=( AUTHORS ChangeLog.md README.md TODO.md ) |
348 |
- |
349 |
-PATCHES=( "${FILESDIR}/${P}-include.patch" ) |
350 |
- |
351 |
-src_configure() { |
352 |
- local mycmakeargs=( |
353 |
- -DQTC_ENABLE_X11=$(usex X) |
354 |
- -DQTC_INSTALL_PO=$(usex nls) |
355 |
- -DQTC_QT4_ENABLE_KDE=OFF |
356 |
- -DQTC_QT4_ENABLE_KWIN=OFF |
357 |
- -DQTC_QT5_ENABLE_KDE=OFF |
358 |
- -DENABLE_GTK2=$(usex gtk) |
359 |
- -DENABLE_QT4=$(usex qt4) |
360 |
- -DENABLE_QT5=$(usex qt5) |
361 |
- ) |
362 |
- cmake-utils_src_configure |
363 |
-} |