Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/midori/files/, www-client/midori/
Date: Mon, 22 Aug 2016 10:36:00
Message-Id: 1471862148.93e39a3f4770510684d148eb7b482650ccf3cd95.pacho@gentoo
1 commit: 93e39a3f4770510684d148eb7b482650ccf3cd95
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 22 10:35:14 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 22 10:35:48 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93e39a3f
7
8 www-client/midori: Drop old
9
10 Package-Manager: portage-2.3.0
11
12 www-client/midori/Manifest | 1 -
13 .../midori-0.5.10-fix-webkit2-build-breakage.patch | 22 ----
14 www-client/midori/metadata.xml | 2 -
15 www-client/midori/midori-0.5.10.ebuild | 138 ---------------------
16 www-client/midori/midori-0.5.11-r1.ebuild | 138 ---------------------
17 www-client/midori/midori-0.5.11.ebuild | 135 --------------------
18 6 files changed, 436 deletions(-)
19
20 diff --git a/www-client/midori/Manifest b/www-client/midori/Manifest
21 index 02df760..d13ad47 100644
22 --- a/www-client/midori/Manifest
23 +++ b/www-client/midori/Manifest
24 @@ -1,2 +1 @@
25 -DIST midori_0.5.10_all_.tar.bz2 1379519 SHA256 702344f68d7f034866a46398e35b3c16a5a5f3e431a5d916ea5efc3eaaa3e46f SHA512 9e615581b2029e2167d13bab3a580cf89b87da4979bb27982f2002b4ddb97e44d27ea910ee60df6479bd0dfa8cbef75217fa1956eb34b13475c99ab25b83f245 WHIRLPOOL 754b5d7b6851a2c0e537c6746d945f9412cf3757c559bcb07e455f555fa67bfc3e29ff08a39517359ba99bd0759252adea3d78f6281d7a07c8411f02da24fdc7
26 DIST midori_0.5.11_all_.tar.bz2 1428791 SHA256 96191a96be71144ae848a409fae5a1d6d52a00e583f33122081f47ead9c49c3d SHA512 237310d1f0bf70796474b9ec5be6755927e66acd2b527d04db39696c5e2f7ea2d11f7deb51ba3f5c151a450ab71e642282a1386e34253aaea1d8602ce76ac87d WHIRLPOOL 6825d1b28e269f9fb158458cd4a3ddbdb09ab241ced32c4ccc5df0c1f9a921a275baf0dcdac24aa84c58f7a3371ef74941bcd06a8303c95dd3ffb48d99de6bba
27
28 diff --git a/www-client/midori/files/midori-0.5.10-fix-webkit2-build-breakage.patch b/www-client/midori/files/midori-0.5.10-fix-webkit2-build-breakage.patch
29 deleted file mode 100644
30 index 3c6059c..0000000
31 --- a/www-client/midori/files/midori-0.5.10-fix-webkit2-build-breakage.patch
32 +++ /dev/null
33 @@ -1,22 +0,0 @@
34 -https://launchpadlibrarian.net/204464340/0002-fix-webkit2-build-breakage.patch
35 -
36 -webkit_web_view_get_main_frame() is a webkit1 API function.
37 -Using it without a check breaks webkit2 builds.
38 -
39 -Signed-off-by: Gustavo Zacarias <gustavo@××××××××××××.ar>
40 -
41 -diff -Nura midori-0.5.10.orig/midori/midori-view.c midori-0.5.10.wk2/midori/midori-view.c
42 ---- midori-0.5.10.orig/midori/midori-view.c 2015-04-24 08:50:24.940501790 -0300
43 -+++ midori-0.5.10.wk2/midori/midori-view.c 2015-04-25 07:19:21.707132362 -0300
44 -@@ -1256,9 +1256,11 @@
45 - message, error->message, NULL,
46 - _("Try Again"), web_frame);
47 -
48 -+#ifdef WEBKIT2
49 - /* if the main frame for the whole tab has a network error, set tab error status */
50 - if (web_frame == webkit_web_view_get_main_frame (web_view))
51 - midori_tab_set_load_error (MIDORI_TAB (view), MIDORI_LOAD_ERROR_NETWORK);
52 -+#endif
53 -
54 - g_free (message);
55 - g_free (title);
56
57 diff --git a/www-client/midori/metadata.xml b/www-client/midori/metadata.xml
58 index a04dda3..de07702 100644
59 --- a/www-client/midori/metadata.xml
60 +++ b/www-client/midori/metadata.xml
61 @@ -6,9 +6,7 @@
62 <name>XFCE Team</name>
63 </maintainer>
64 <use>
65 - <flag name="deprecated">Enable GTK+-2 instead of GTK+-3 because of external plugins like adobe-flash</flag>
66 <flag name="granite">Enable support for the elementary library <pkg>dev-libs/granite</pkg></flag>
67 <flag name="zeitgeist">Add support for Zeitgeist event tracking system</flag>
68 - <flag name="webkit2">Enable WebKit2 API that splits web content rendering and application UI into separate processes</flag>
69 </use>
70 </pkgmetadata>
71
72 diff --git a/www-client/midori/midori-0.5.10.ebuild b/www-client/midori/midori-0.5.10.ebuild
73 deleted file mode 100644
74 index 7667988..0000000
75 --- a/www-client/midori/midori-0.5.10.ebuild
76 +++ /dev/null
77 @@ -1,138 +0,0 @@
78 -# Copyright 1999-2015 Gentoo Foundation
79 -# Distributed under the terms of the GNU General Public License v2
80 -# $Id$
81 -
82 -EAPI=5
83 -
84 -PYTHON_COMPAT=( python2_7 )
85 -PYTHON_REQ_USE='threads(+)'
86 -
87 -unset _live_inherits
88 -
89 -if [[ ${PV} == *9999* ]]; then
90 - EGIT_REPO_URI="git://git.xfce.org/apps/${PN}"
91 - _live_inherits=git-2
92 -else
93 - KEYWORDS="~amd64 ~arm ~mips x86 ~x86-fbsd"
94 - SRC_URI="http://www.${PN}-browser.org/downloads/${PN}_${PV}_all_.tar.bz2"
95 -fi
96 -
97 -inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 cmake-utils vala ${_live_inherits}
98 -
99 -DESCRIPTION="A lightweight web browser based on WebKitGTK+"
100 -HOMEPAGE="http://www.midori-browser.org/"
101 -
102 -LICENSE="LGPL-2.1 MIT"
103 -SLOT="0"
104 -IUSE="deprecated doc granite introspection +jit +webkit2 zeitgeist"
105 -
106 -RDEPEND="
107 - >=app-crypt/gcr-3[gtk]
108 - >=dev-db/sqlite-3.6.19:3
109 - >=dev-libs/glib-2.32.3
110 - dev-libs/libxml2
111 - >=net-libs/libsoup-2.38:2.4
112 - >=net-libs/libsoup-gnome-2.38:2.4
113 - >=x11-libs/libnotify-0.7
114 - x11-libs/libXScrnSaver
115 - deprecated? (
116 - >=net-libs/webkit-gtk-1.8.1:2[jit=]
117 - >=x11-libs/gtk+-2.24:2
118 - )
119 - !deprecated? (
120 - x11-libs/gtk+:3
121 - webkit2? ( >=net-libs/webkit-gtk-1.11.91:3[jit=] )
122 - !webkit2? ( >=net-libs/webkit-gtk-1.8.1:3[jit=] )
123 - )
124 - granite? ( >=dev-libs/granite-0.2 )
125 - introspection? ( dev-libs/gobject-introspection:= )
126 - zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14 )
127 -"
128 -DEPEND="${RDEPEND}
129 - ${PYTHON_DEPS}
130 - $(vala_depend)
131 - dev-util/intltool
132 - gnome-base/librsvg
133 - sys-devel/gettext
134 - doc? ( dev-util/gtk-doc )
135 -"
136 -REQUIRED_USE="
137 - granite? ( !deprecated )
138 - introspection? ( deprecated )
139 - webkit2? ( !deprecated )
140 -"
141 -
142 -S=${WORKDIR}
143 -
144 -pkg_setup() {
145 - python-any-r1_pkg_setup
146 -}
147 -
148 -src_unpack() {
149 - if [[ ${PV} == *9999* ]]; then
150 - git-2_src_unpack
151 - else
152 - default
153 - fi
154 -}
155 -
156 -src_prepare() {
157 - epatch "${FILESDIR}/${P}-fix-webkit2-build-breakage.patch"
158 - vala_src_prepare
159 - sed -i -e '/install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt || die
160 -}
161 -
162 -src_configure() {
163 - strip-linguas -i po
164 -
165 - local mycmakeargs=(
166 - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
167 - $(cmake-utils_use_use doc APIDOCS)
168 - $(cmake-utils_use_use introspection GIR)
169 - $(cmake-utils_use_use granite)
170 - $(cmake-utils_use_use zeitgeist)
171 - -DVALA_EXECUTABLE="${VALAC}"
172 - )
173 -
174 - if use deprecated; then
175 - mycmakeargs+=(
176 - -DUSE_GTK3=OFF
177 - -DHALF_BRO_INCOM_WEBKIT2=OFF
178 - )
179 - else
180 - mycmakeargs+=(
181 - -DUSE_GTK3=ON
182 - $(cmake-utils_use webkit2 HALF_BRO_INCOM_WEBKIT2)
183 - )
184 - fi
185 -
186 - cmake-utils_src_configure
187 -}
188 -
189 -src_install() {
190 - cmake-utils_src_install
191 -
192 - local jit_is_enabled
193 - if use deprecated; then
194 - has_version 'net-libs/webkit-gtk:2[jit]' && jit_is_enabled=yes
195 - else
196 - has_version 'net-libs/webkit-gtk:3[jit]' && jit_is_enabled=yes
197 - fi
198 - [[ ${jit_is_enabled} == yes ]] && pax-mark -m "${ED}"/usr/bin/${PN} #480290
199 -}
200 -
201 -pkg_preinst() {
202 - gnome2_icon_savelist
203 -}
204 -
205 -pkg_postinst() {
206 - fdo-mime_desktop_database_update
207 - fdo-mime_mime_database_update
208 - gnome2_icon_cache_update
209 -}
210 -
211 -pkg_postrm() {
212 - fdo-mime_desktop_database_update
213 - fdo-mime_mime_database_update
214 - gnome2_icon_cache_update
215 -}
216
217 diff --git a/www-client/midori/midori-0.5.11-r1.ebuild b/www-client/midori/midori-0.5.11-r1.ebuild
218 deleted file mode 100644
219 index d311ad3..0000000
220 --- a/www-client/midori/midori-0.5.11-r1.ebuild
221 +++ /dev/null
222 @@ -1,138 +0,0 @@
223 -# Copyright 1999-2016 Gentoo Foundation
224 -# Distributed under the terms of the GNU General Public License v2
225 -# $Id$
226 -
227 -EAPI=6
228 -
229 -PYTHON_COMPAT=( python2_7 )
230 -PYTHON_REQ_USE='threads(+)'
231 -VALA_MIN_API_VERSION="0.30"
232 -
233 -unset _live_inherits
234 -
235 -if [[ ${PV} == *9999* ]]; then
236 - EGIT_REPO_URI="git://git.xfce.org/apps/${PN}"
237 - _live_inherits=git-2
238 -else
239 - KEYWORDS="~amd64 ~arm ~mips ~x86 ~x86-fbsd"
240 - SRC_URI="http://www.${PN}-browser.org/downloads/${PN}_${PV}_all_.tar.bz2"
241 -fi
242 -
243 -inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 cmake-utils vala ${_live_inherits}
244 -
245 -DESCRIPTION="A lightweight web browser based on WebKitGTK+"
246 -HOMEPAGE="http://www.midori-browser.org/"
247 -
248 -LICENSE="LGPL-2.1 MIT"
249 -SLOT="0"
250 -IUSE="deprecated doc granite introspection xscreensaver +jit +webkit2 zeitgeist"
251 -
252 -RDEPEND="
253 - >=app-crypt/gcr-3[gtk]
254 - >=dev-db/sqlite-3.6.19:3
255 - >=dev-libs/glib-2.32.3
256 - dev-libs/libxml2
257 - >=net-libs/libsoup-2.38:2.4
258 - >=net-libs/libsoup-gnome-2.38:2.4
259 - >=x11-libs/libnotify-0.7
260 - xscreensaver? ( x11-libs/libXScrnSaver )
261 - deprecated? (
262 - >=net-libs/webkit-gtk-1.8.1:2[jit=]
263 - >=x11-libs/gtk+-2.24:2
264 - )
265 - !deprecated? (
266 - >=x11-libs/gtk+-3.10.0:3
267 - webkit2? ( >=net-libs/webkit-gtk-2.3.91:4[jit=] )
268 - !webkit2? ( >=net-libs/webkit-gtk-1.8.1:3[jit=] )
269 - )
270 - granite? ( >=dev-libs/granite-0.2 )
271 - introspection? ( dev-libs/gobject-introspection:= )
272 - zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14 )
273 -"
274 -DEPEND="${RDEPEND}
275 - ${PYTHON_DEPS}
276 - $(vala_depend)
277 - dev-util/intltool
278 - gnome-base/librsvg
279 - sys-devel/gettext
280 - doc? ( dev-util/gtk-doc )
281 -"
282 -REQUIRED_USE="
283 - granite? ( !deprecated )
284 - introspection? ( deprecated )
285 - webkit2? ( !deprecated )
286 -"
287 -
288 -pkg_setup() {
289 - python-any-r1_pkg_setup
290 -}
291 -
292 -src_unpack() {
293 - if [[ ${PV} == *9999* ]]; then
294 - git-2_src_unpack
295 - else
296 - default
297 - fi
298 -}
299 -
300 -src_prepare() {
301 - vala_src_prepare
302 - sed -i -e '/^install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt || die
303 - eapply_user
304 -}
305 -
306 -src_configure() {
307 - strip-linguas -i po
308 -
309 - local mycmakeargs=(
310 - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
311 - -DUSE_APIDOCS="$(usex doc)"
312 - -DUSE_GIR="$(usex introspection)"
313 - -DUSE_GRANITE="$(usex granite)"
314 - -DUSE_ZEITGEIST="$(usex zeitgeist)"
315 - -DUSE_XSCREENSAVER="$(usex xscreensaver)"
316 - -DVALA_EXECUTABLE="${VALAC}"
317 - )
318 -
319 - if use deprecated; then
320 - mycmakeargs+=(
321 - -DUSE_GTK3=OFF
322 - -DHALF_BRO_INCOM_WEBKIT2=OFF
323 - )
324 - else
325 - mycmakeargs+=(
326 - -DUSE_GTK3=ON
327 - -DHALF_BRO_INCOM_WEBKIT2="$(usex webkit2)"
328 - )
329 - fi
330 -
331 - cmake-utils_src_configure
332 -}
333 -
334 -src_install() {
335 - cmake-utils_src_install
336 -
337 - local jit_is_enabled
338 - if use deprecated; then
339 - has_version 'net-libs/webkit-gtk:2[jit]' && jit_is_enabled=yes
340 - else
341 - has_version 'net-libs/webkit-gtk:3[jit]' && jit_is_enabled=yes
342 - fi
343 - [[ ${jit_is_enabled} == yes ]] && pax-mark -m "${ED}"/usr/bin/${PN} #480290
344 -}
345 -
346 -pkg_preinst() {
347 - gnome2_icon_savelist
348 -}
349 -
350 -pkg_postinst() {
351 - fdo-mime_desktop_database_update
352 - fdo-mime_mime_database_update
353 - gnome2_icon_cache_update
354 -}
355 -
356 -pkg_postrm() {
357 - fdo-mime_desktop_database_update
358 - fdo-mime_mime_database_update
359 - gnome2_icon_cache_update
360 -}
361
362 diff --git a/www-client/midori/midori-0.5.11.ebuild b/www-client/midori/midori-0.5.11.ebuild
363 deleted file mode 100644
364 index cc9f88d..0000000
365 --- a/www-client/midori/midori-0.5.11.ebuild
366 +++ /dev/null
367 @@ -1,135 +0,0 @@
368 -# Copyright 1999-2015 Gentoo Foundation
369 -# Distributed under the terms of the GNU General Public License v2
370 -# $Id$
371 -
372 -EAPI=5
373 -
374 -PYTHON_COMPAT=( python2_7 )
375 -PYTHON_REQ_USE='threads(+)'
376 -
377 -unset _live_inherits
378 -
379 -if [[ ${PV} == *9999* ]]; then
380 - EGIT_REPO_URI="git://git.xfce.org/apps/${PN}"
381 - _live_inherits=git-2
382 -else
383 - KEYWORDS="~amd64 ~arm ~mips ~x86 ~x86-fbsd"
384 - SRC_URI="http://www.${PN}-browser.org/downloads/${PN}_${PV}_all_.tar.bz2"
385 -fi
386 -
387 -inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 cmake-utils vala ${_live_inherits}
388 -
389 -DESCRIPTION="A lightweight web browser based on WebKitGTK+"
390 -HOMEPAGE="http://www.midori-browser.org/"
391 -
392 -LICENSE="LGPL-2.1 MIT"
393 -SLOT="0"
394 -IUSE="deprecated doc granite introspection +jit +webkit2 zeitgeist"
395 -
396 -RDEPEND="
397 - >=app-crypt/gcr-3[gtk]
398 - >=dev-db/sqlite-3.6.19:3
399 - >=dev-libs/glib-2.32.3
400 - dev-libs/libxml2
401 - >=net-libs/libsoup-2.38:2.4
402 - >=net-libs/libsoup-gnome-2.38:2.4
403 - >=x11-libs/libnotify-0.7
404 - x11-libs/libXScrnSaver
405 - deprecated? (
406 - >=net-libs/webkit-gtk-1.8.1:2[jit=]
407 - >=x11-libs/gtk+-2.24:2
408 - )
409 - !deprecated? (
410 - >=x11-libs/gtk+-3.10.0:3
411 - webkit2? ( >=net-libs/webkit-gtk-2.3.91:4[jit=] )
412 - !webkit2? ( >=net-libs/webkit-gtk-1.8.1:3[jit=] )
413 - )
414 - granite? ( >=dev-libs/granite-0.2 )
415 - introspection? ( dev-libs/gobject-introspection:= )
416 - zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14 )
417 -"
418 -DEPEND="${RDEPEND}
419 - ${PYTHON_DEPS}
420 - $(vala_depend)
421 - dev-util/intltool
422 - gnome-base/librsvg
423 - sys-devel/gettext
424 - doc? ( dev-util/gtk-doc )
425 -"
426 -REQUIRED_USE="
427 - granite? ( !deprecated )
428 - introspection? ( deprecated )
429 - webkit2? ( !deprecated )
430 -"
431 -
432 -pkg_setup() {
433 - python-any-r1_pkg_setup
434 -}
435 -
436 -src_unpack() {
437 - if [[ ${PV} == *9999* ]]; then
438 - git-2_src_unpack
439 - else
440 - default
441 - fi
442 -}
443 -
444 -src_prepare() {
445 - vala_src_prepare
446 - sed -i -e '/^install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt || die
447 -}
448 -
449 -src_configure() {
450 - strip-linguas -i po
451 -
452 - local mycmakeargs=(
453 - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
454 - $(cmake-utils_use_use doc APIDOCS)
455 - $(cmake-utils_use_use introspection GIR)
456 - $(cmake-utils_use_use granite)
457 - $(cmake-utils_use_use zeitgeist)
458 - -DVALA_EXECUTABLE="${VALAC}"
459 - )
460 -
461 - if use deprecated; then
462 - mycmakeargs+=(
463 - -DUSE_GTK3=OFF
464 - -DHALF_BRO_INCOM_WEBKIT2=OFF
465 - )
466 - else
467 - mycmakeargs+=(
468 - -DUSE_GTK3=ON
469 - $(cmake-utils_use webkit2 HALF_BRO_INCOM_WEBKIT2)
470 - )
471 - fi
472 -
473 - cmake-utils_src_configure
474 -}
475 -
476 -src_install() {
477 - cmake-utils_src_install
478 -
479 - local jit_is_enabled
480 - if use deprecated; then
481 - has_version 'net-libs/webkit-gtk:2[jit]' && jit_is_enabled=yes
482 - else
483 - has_version 'net-libs/webkit-gtk:3[jit]' && jit_is_enabled=yes
484 - fi
485 - [[ ${jit_is_enabled} == yes ]] && pax-mark -m "${ED}"/usr/bin/${PN} #480290
486 -}
487 -
488 -pkg_preinst() {
489 - gnome2_icon_savelist
490 -}
491 -
492 -pkg_postinst() {
493 - fdo-mime_desktop_database_update
494 - fdo-mime_mime_database_update
495 - gnome2_icon_cache_update
496 -}
497 -
498 -pkg_postrm() {
499 - fdo-mime_desktop_database_update
500 - fdo-mime_mime_database_update
501 - gnome2_icon_cache_update
502 -}