Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/netsurf/, www-client/netsurf/files/
Date: Sun, 05 Feb 2017 12:18:18
Message-Id: 1486297056.d7806bc77176c8ff9793994d7473abd32019b14c.xmw@gentoo
1 commit: d7806bc77176c8ff9793994d7473abd32019b14c
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 5 09:46:57 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 12:17:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7806bc7
7
8 www-client/netsurf: Remove old verion(s).
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 www-client/netsurf/Manifest | 2 -
13 .../netsurf/files/netsurf-3.3-pdf-writer.patch | 85 -----------
14 www-client/netsurf/files/netsurf-3.4-CFLAGS.patch | 71 ---------
15 ...f-3.4-conditionally-include-image-headers.patch | 49 -------
16 .../files/netsurf-3.4-framebuffer-pkgconfig.patch | 30 ----
17 www-client/netsurf/netsurf-3.4.ebuild | 162 ---------------------
18 www-client/netsurf/netsurf-3.5.ebuild | 162 ---------------------
19 7 files changed, 561 deletions(-)
20
21 diff --git a/www-client/netsurf/Manifest b/www-client/netsurf/Manifest
22 index a2c77ca..2b78706 100644
23 --- a/www-client/netsurf/Manifest
24 +++ b/www-client/netsurf/Manifest
25 @@ -1,5 +1,3 @@
26 -DIST netsurf-3.4-src.tar.gz 4133201 SHA256 1648f437994fc18090237430f30d645ff06bab0768ae973575f9391d07613bf6 SHA512 d9f95ff88d572a36e906bdb25dddbb51aa683a2105ca9eff53ea61c154a34a888420811f8a2b58a1b5a10f77d8aa914e3201b937934243527edb8a897f7bd60e WHIRLPOOL 1c8e3d6ac8a1ecd7bfa2554d56bd6e6cbd6c025112110f596a1db551d3b18029ee2761ddb288cdbc0cd517a90a54081d9d8aca3399339160addb2aedce14a55b
27 -DIST netsurf-3.5-src.tar.gz 4094532 SHA256 98f3a66d3ae24ab34becdab2ea690f8f20c0f49f86723f133ede6df57e451dcc SHA512 0bbb64d7dfbe105a0c9ace6f17655feef1b63ed8ae1ceaca647d0fce828cef27f4871949351694b5836f0bbc0b2614a3671235a1682b0810b9194cd89a68659a WHIRLPOOL 2c0d7cc6096607105da5049e46ea9c08ba3b20fdf1992853a2a85c78e0937bfb8d5b9a5f55751ea18f46d68e64bd13d24f7a13d7d7d52a63796df62e217a7c3c
28 DIST netsurf-3.6-src.tar.gz 4129091 SHA256 59ae4b50eff9e2a00a0a9742ef546c7de17223139c485af9644f195340979a9c SHA512 6141cd94b2b6c8e56f682599e4929690f6ca668d1f6ff20bad93e30cf3a3b27475146f2b3c9dbc9f1b2e44b729d74c346254959b7def1f8d194e1c6efac3078d WHIRLPOOL 20776d928a60a8da5d1871d2ce1e15af7853a07e3ec995135019bbf579f1b0dde0918f960fe2c51546c6a08b218f9e4143fae5777f52203f831f877382b94740
29 DIST netsurf-buildsystem-1.5.tar.gz 38196 SHA256 dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71 SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 WHIRLPOOL 7b7d595a2e399b361e71769e509a129af42da5ce823f1b55183efb53898ac2ae731593eb13e1ecc2271ea26ee0948ac35bf99fea280eb72a2bb00164b4b29f09
30 DIST netsurf-fb.modes-example.gz 4586 SHA256 df1514790be120f27bd23dfdca71c24112679d45d3cbd3916f9231ec5e2596bb SHA512 753a707dc428212803dd64250bb723a498fdc1c328fdac4df38be533eab3af45f727cdc6b7ced3faaa0e82db182c4eab140b8e81b0d3cfe2152252b89e6d2981 WHIRLPOOL 5a91c32a712b746c993d2fa1d47625f16241e845d556b8113ab957eda7385ac5bdde5f78b0de2dad4df544c7d7c13d8145ebb9d81272af9a3759ad4e307c3767
31
32 diff --git a/www-client/netsurf/files/netsurf-3.3-pdf-writer.patch b/www-client/netsurf/files/netsurf-3.3-pdf-writer.patch
33 deleted file mode 100644
34 index e2c709e..00000000
35 --- a/www-client/netsurf/files/netsurf-3.3-pdf-writer.patch
36 +++ /dev/null
37 @@ -1,85 +0,0 @@
38 ---- netsurf-3.3/desktop/font_haru.c
39 -+++ netsurf-3.3/desktop/font_haru.c
40 -@@ -40,7 +40,7 @@
41 - #include "css/utils.h"
42 -
43 - #include "utils/nsoption.h"
44 --#include "desktop/save_pdf/font_haru.h"
45 -+#include "desktop/font_haru.h"
46 - #include "desktop/font.h"
47 - #include "utils/log.h"
48 -
49 ---- netsurf-3.3/desktop/save_pdf.c
50 -+++ netsurf-3.3/desktop/save_pdf.c
51 -@@ -57,6 +57,8 @@
52 -
53 - #include "content/hlcache.h"
54 - #include "utils/nsoption.h"
55 -+#include "desktop/gui_misc.h"
56 -+#include "desktop/gui_internal.h"
57 - #include "desktop/plotters.h"
58 - #include "desktop/print.h"
59 - #include "desktop/printer.h"
60 -@@ -450,11 +452,11 @@
61 -
62 - switch(content_get_type(content)){
63 - /*Handle "embeddable" types of images*/
64 -- case CONTENT_JPEG:
65 -- image = HPDF_LoadJpegImageFromMem(pdf_doc,
66 -- (const HPDF_BYTE *) source_data,
67 -- source_size);
68 -- break;
69 -+ //case CONTENT_JPEG:
70 -+ // image = HPDF_LoadJpegImageFromMem(pdf_doc,
71 -+ // (const HPDF_BYTE *) source_data,
72 -+ // source_size);
73 -+ // break;
74 -
75 - /*Disabled until HARU PNG support will be more stable.
76 -
77 -@@ -700,7 +702,7 @@
78 -
79 -
80 - #ifndef PDF_DEBUG
81 -- if (option_enable_PDF_compression)
82 -+ if (nsoption_bool(enable_PDF_compression))
83 - HPDF_SetCompressionMode(pdf_doc, HPDF_COMP_ALL); /*Compression on*/
84 - #endif
85 - HPDF_SetInfoAttr(pdf_doc, HPDF_INFO_CREATOR, user_agent_string());
86 -@@ -774,7 +776,7 @@
87 - assert(settings->output != NULL);
88 -
89 - /*Encryption on*/
90 -- if (option_enable_PDF_password)
91 -+ if (nsoption_bool(enable_PDF_password))
92 - guit->browser->pdf_password(&owner_pass, &user_pass,
93 - (void *)settings->output);
94 - else
95 -@@ -789,7 +791,7 @@
96 - {
97 - bool success = false;
98 -
99 -- if (option_enable_PDF_password && owner_pass != NULL ) {
100 -+ if (nsoption_bool(enable_PDF_password) && owner_pass != NULL ) {
101 - HPDF_SetPassword(pdf_doc, owner_pass, user_pass);
102 - HPDF_SetEncryptionMode(pdf_doc, HPDF_ENCRYPT_R3, 16);
103 - free(owner_pass);
104 ---- netsurf-3.3/gtk/scaffolding.c
105 -+++ netsurf-3.3/gtk/scaffolding.c
106 -@@ -709,14 +709,14 @@
107 -
108 - free(url_name);
109 -
110 -- strncpy(dirname, option_downloads_directory, PATH_MAX);
111 -+ strncpy(dirname, nsoption_charp(downloads_directory), PATH_MAX);
112 - strncat(dirname, "/", PATH_MAX - strlen(dirname));
113 - dirname[PATH_MAX - 1] = '\0';
114 -
115 - /* this way the scale used by PDF functions is synchronized with that
116 - * used by the all-purpose print interface
117 - */
118 -- haru_nsfont_set_scale((float)option_export_scale / 100);
119 -+ haru_nsfont_set_scale((float)nsoption_int(export_scale) / 100);
120 -
121 - save_dialog = gtk_file_chooser_dialog_new("Export to PDF", g->window,
122 - GTK_FILE_CHOOSER_ACTION_SAVE,
123
124 diff --git a/www-client/netsurf/files/netsurf-3.4-CFLAGS.patch b/www-client/netsurf/files/netsurf-3.4-CFLAGS.patch
125 deleted file mode 100644
126 index 2dc8a14..00000000
127 --- a/www-client/netsurf/files/netsurf-3.4-CFLAGS.patch
128 +++ /dev/null
129 @@ -1,71 +0,0 @@
130 ---- netsurf-3.4/Makefile.defaults
131 -+++ netsurf-3.4/Makefile.defaults
132 -@@ -89,12 +89,6 @@
133 - # Valid options: YES, NO
134 - NETSURF_FS_BACKING_STORE := NO
135 -
136 --# Initial CFLAGS. Optimisation level etc. tend to be target specific.
137 --CFLAGS :=
138 --
139 --# Initial CXXFLAGS. Optimisation level etc. tend to be target specific.
140 --CXXFLAGS :=
141 --
142 - # Default installation/execution prefix
143 - PREFIX ?= /usr/local
144 -
145 ---- netsurf-3.4/framebuffer/Makefile.defaults
146 -+++ netsurf-3.4/framebuffer/Makefile.defaults
147 -@@ -2,9 +2,6 @@
148 - # Framebuffer-target-specific options
149 - # ----------------------------------------------------------------------------
150 -
151 --# Optimisation levels
152 --CFLAGS += -O2
153 --
154 - # Framebuffer default surface provider.
155 - # Valid values are: x, sdl, linux, vnc, able,
156 - NETSURF_FB_FRONTEND := sdl
157 ---- netsurf-3.4/framebuffer/Makefile.target
158 -+++ netsurf-3.4/framebuffer/Makefile.target
159 -@@ -30,7 +30,7 @@
160 - CFLAGS += '-DNETSURF_FB_FONT_CURSIVE="$(NETSURF_FB_FONT_CURSIVE)"'
161 - CFLAGS += '-DNETSURF_FB_FONT_FANTASY="$(NETSURF_FB_FONT_FANTASY)"'
162 -
163 --CFLAGS += -std=c99 -g -Dsmall \
164 -+CFLAGS += -std=c99 -Dsmall \
165 - -D_BSD_SOURCE \
166 - -D_DEFAULT_SOURCE \
167 - -D_XOPEN_SOURCE=600 \
168 ---- netsurf-3.4/gtk/Makefile.defaults
169 -+++ netsurf-3.4/gtk/Makefile.defaults
170 -@@ -37,6 +37,3 @@
171 -
172 - # Set default GTK version to build for (2 or 3)
173 - NETSURF_GTK_MAJOR ?= 2
174 --
175 --# Optimisation levels
176 --CFLAGS += -O2
177 ---- netsurf-3.4/gtk/Makefile.target
178 -+++ netsurf-3.4/gtk/Makefile.target
179 -@@ -49,7 +49,7 @@
180 - endif
181 -
182 -
183 --GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \
184 -+GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \
185 - $(GTKDEPFLAGS) \
186 - -D_BSD_SOURCE \
187 - -D_DEFAULT_SOURCE \
188 ---- netsurf-3.4/test/Makefile
189 -+++ netsurf-3.4/test/Makefile
190 -@@ -45,8 +45,9 @@
191 - TESTROOT := build-$(HOST)-test
192 - endif
193 -
194 --TESTCFLAGS := -std=c99 -g -Wall \
195 -+TESTCFLAGS := -std=c99 -Wall \
196 - -D_BSD_SOURCE \
197 -+ -D_DEFAULT_SOURCE \
198 - -D_POSIX_C_SOURCE=200809L \
199 - -D_XOPEN_SOURCE=600 \
200 - -Itest -I. -I.. \
201
202 diff --git a/www-client/netsurf/files/netsurf-3.4-conditionally-include-image-headers.patch b/www-client/netsurf/files/netsurf-3.4-conditionally-include-image-headers.patch
203 deleted file mode 100644
204 index e78d71c..00000000
205 --- a/www-client/netsurf/files/netsurf-3.4-conditionally-include-image-headers.patch
206 +++ /dev/null
207 @@ -1,49 +0,0 @@
208 ---- netsurf-3.4/image/image.c
209 -+++ netsurf-3.4/image/image.c
210 -@@ -26,14 +26,28 @@
211 - #include "desktop/gui_internal.h"
212 -
213 - #include "image/bitmap.h"
214 -+#ifdef WITH_BMP
215 - #include "image/bmp.h"
216 --#include "image/gif.h"
217 - #include "image/ico.h"
218 -+#endif
219 -+#ifdef WITH_GIF
220 -+#include "image/gif.h"
221 -+#endif
222 -+#ifdef WITH_JPEG
223 - #include "image/jpeg.h"
224 -+#endif
225 -+#ifdef WITH_NSSPRITE
226 - #include "image/nssprite.h"
227 -+#endif
228 -+#ifdef WITH_PNG
229 - #include "image/png.h"
230 -+#endif
231 -+#ifdef WITH_RSVG
232 - #include "image/rsvg.h"
233 -+#endif
234 -+#ifdef WITH_NS_SVG
235 - #include "image/svg.h"
236 -+#endif
237 - #include "image/image.h"
238 -
239 - /**
240 -@@ -68,6 +82,16 @@
241 - if (error != NSERROR_OK)
242 - return error;
243 - #endif
244 -+
245 -+#ifdef WITH_MNG
246 -+ error = nsmng_init();
247 -+ if (error != NSERROR_OK)
248 -+ return error;
249 -+
250 -+ error = nsjpng_init();
251 -+ if (error != NSERROR_OK)
252 -+ return error;
253 -+#endif
254 -
255 - #ifdef WITH_PNG
256 - error = nspng_init();
257
258 diff --git a/www-client/netsurf/files/netsurf-3.4-framebuffer-pkgconfig.patch b/www-client/netsurf/files/netsurf-3.4-framebuffer-pkgconfig.patch
259 deleted file mode 100644
260 index 31aaa0a..00000000
261 --- a/www-client/netsurf/files/netsurf-3.4-framebuffer-pkgconfig.patch
262 +++ /dev/null
263 @@ -1,30 +0,0 @@
264 ---- netsurf-3.4/framebuffer/Makefile.target
265 -+++ netsurf-3.4/framebuffer/Makefile.target
266 -@@ -4,13 +4,17 @@
267 -
268 - # define additional CFLAGS and LDFLAGS requirements for pkg-configed libs here
269 - NETSURF_FEATURE_RSVG_CFLAGS := -DWITH_RSVG
270 -+NETSURF_FEATURE_NSSVG_CFLAGS := -DWITH_NS_SVG
271 - NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE
272 - NETSURF_FEATURE_HUBBUB_CFLAGS := -DWITH_HUBBUB
273 - NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG
274 - NETSURF_FEATURE_BMP_CFLAGS := -DWITH_BMP
275 - NETSURF_FEATURE_GIF_CFLAGS := -DWITH_GIF
276 -+NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG
277 -+NETSURF_FEATURE_WEBP_CFLAGS := -DWITH_WEBP
278 - NETSURF_FEATURE_JS_CFLAGS := -DWITH_JS -DJS_HAS_FILE_OBJECT=0
279 - NETSURF_FEATURE_MOZJS_CFLAGS := -DWITH_MOZJS -DJS_HAS_FILE_OBJECT=0
280 -+NETSURF_FEATURE_VIDEO_CFLAGS := -DWITH_VIDEO
281 -
282 - CFLAGS += -Dnsframebuffer
283 -
284 -@@ -65,6 +69,9 @@
285 - $(eval $(call pkg_config_find_and_add_enabled,ROSPRITE,librosprite,Sprite))
286 - $(eval $(call pkg_config_find_and_add_enabled,BMP,libnsbmp,BMP))
287 - $(eval $(call pkg_config_find_and_add_enabled,GIF,libnsgif,GIF))
288 -+$(eval $(call pkg_config_find_and_add_enabled,RSVG,librsvg-2.0,SVG))
289 -+$(eval $(call pkg_config_find_and_add_enabled,NSSVG,libsvgtiny,SVG))
290 -+$(eval $(call feature_enabled,WEBP,-DWITH_WEBP,-lwebp,WebP (libwebp)))
291 - $(eval $(call pkg_config_find_and_add_enabled,MOZJS,mozjs185,JavaScript))
292 - $(eval $(call pkg_config_find_and_add_enabled,JS,mozilla-js,JavaScript))
293 -
294
295 diff --git a/www-client/netsurf/netsurf-3.4.ebuild b/www-client/netsurf/netsurf-3.4.ebuild
296 deleted file mode 100644
297 index 5eda2d9..00000000
298 --- a/www-client/netsurf/netsurf-3.4.ebuild
299 +++ /dev/null
300 @@ -1,162 +0,0 @@
301 -# Copyright 1999-2016 Gentoo Foundation
302 -# Distributed under the terms of the GNU General Public License v2
303 -# $Id$
304 -
305 -EAPI=5
306 -
307 -NETSURF_COMPONENT_TYPE=binary
308 -NETSURF_BUILDSYSTEM=buildsystem-1.5
309 -inherit netsurf
310 -
311 -DESCRIPTION="a free, open source web browser"
312 -HOMEPAGE="http://www.netsurf-browser.org/"
313 -SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz
314 - http://xmw.de/mirror/netsurf-fb.modes-example.gz
315 - ${NETSURF_BUILDSYSTEM_SRC_URI}"
316 -
317 -LICENSE="GPL-2 MIT"
318 -SLOT="0"
319 -KEYWORDS="~amd64 ~arm"
320 -IUSE="+bmp +duktape fbcon truetype +gif gstreamer gtk +javascript +jpeg +mng
321 - pdf-writer +png +rosprite +svg +svgtiny +webp fbcon_frontend_able
322 - fbcon_frontend_linux fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x"
323 -
324 -REQUIRED_USE="|| ( fbcon gtk )
325 - amd64? ( abi_x86_32? ( javascript? ( duktape ) ) )
326 - fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl
327 - fbcon_frontend_vnc fbcon_frontend_x ) )
328 - duktape? ( javascript )"
329 -
330 -RDEPEND=">=dev-libs/libnsutils-0.0.2[${MULTILIB_USEDEP}]
331 - >=dev-libs/libutf8proc-1.1.6-r1[${MULTILIB_USEDEP}]
332 - dev-libs/libxml2:2[${MULTILIB_USEDEP}]
333 - net-misc/curl[${MULTILIB_USEDEP}]
334 - >=dev-libs/libcss-0.6.0[${MULTILIB_USEDEP}]
335 - >=net-libs/libhubbub-0.3.1-r1[${MULTILIB_USEDEP}]
336 - >=net-libs/libdom-0.3.0[${MULTILIB_USEDEP}]
337 - bmp? ( >=media-libs/libnsbmp-0.1.2-r1[${MULTILIB_USEDEP}] )
338 - fbcon? ( >=dev-libs/libnsfb-0.1.3-r1[${MULTILIB_USEDEP}]
339 - truetype? ( media-fonts/dejavu
340 - >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
341 - )
342 - gif? ( >=media-libs/libnsgif-0.1.2-r1[${MULTILIB_USEDEP}] )
343 - gtk? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
344 - gnome-base/libglade:2.0[${MULTILIB_USEDEP}]
345 - >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
346 - gstreamer? ( media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] )
347 - javascript? ( >=dev-libs/nsgenbind-0.3[${MULTILIB_USEDEP}]
348 - !duktape? ( dev-lang/spidermonkey:0= ) )
349 - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
350 - mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] )
351 - pdf-writer? ( media-libs/libharu[${MULTILIB_USEDEP}] )
352 - png? ( >=media-libs/libpng-1.2.51:0[${MULTILIB_USEDEP}] )
353 - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1[${MULTILIB_USEDEP}] )
354 - !svgtiny? ( gnome-base/librsvg:2[${MULTILIB_USEDEP}] ) )
355 - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
356 -DEPEND="${RDEPEND}
357 - dev-libs/check[${MULTILIB_USEDEP}]
358 - dev-perl/HTML-Parser
359 - rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] )"
360 -
361 -PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch
362 - "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch
363 - "${FILESDIR}"/${P}-conditionally-include-image-headers.patch
364 - "${FILESDIR}"/${PN}-3.3-pdf-writer.patch )
365 -DOCS=( fb.modes README Docs/USING-Framebuffer
366 - Docs/ideas/{cache,css-engine,render-library}.txt )
367 -
368 -src_prepare() {
369 - rm -rf amiga atari beos cocoa monkey riscos windows || die
370 -
371 - mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes
372 -
373 - sed -e 's:-DG_DISABLE_DEPRECATED::' \
374 - -i gtk/Makefile.target || die
375 -
376 - netsurf_src_prepare
377 -}
378 -
379 -src_configure() {
380 - netsurf_src_configure
381 -
382 - netsurf_makeconf+=(
383 - NETSURF_USE_BMP=$(usex bmp YES NO)
384 - NETSURF_USE_GIF=$(usex gif YES NO)
385 - NETSURF_USE_JPEG=$(usex jpeg YES NO)
386 - NETSURF_USE_PNG=$(usex png YES NO)
387 - NETSURF_USE_PNG=$(usex png YES NO)
388 - NETSURF_USE_MNG=$(usex mng YES NO)
389 - NETSURF_USE_WEBP=$(usex webp YES NO)
390 - NETSURF_USE_VIDEO=$(usex gstreamer YES NO)
391 - NETSURF_USE_MOZJS=$(usex javascript $(usex duktape NO YES) NO)
392 - NETSURF_USE_JS=NO
393 - NETSURF_USE_DUKTAPE=$(usex javascript $(usex duktape YES NO) NO)
394 - NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO)
395 - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO)
396 - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO)
397 - NETSURF_USE_ROSPRITE=$(usex rosprite YES NO)
398 - PKG_CONFIG=$(tc-getPKG_CONFIG)
399 - $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "")
400 - $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "")
401 - $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "")
402 - $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "")
403 - $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "")
404 - NETSURF_FB_FONTLIB=$(usex truetype freetype internal)
405 - NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu
406 - TARGET=dummy
407 - )
408 -}
409 -
410 -src_compile() {
411 - if use fbcon ; then
412 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
413 - netsurf_src_compile
414 - fi
415 - if use gtk ; then
416 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
417 - netsurf_src_compile
418 - fi
419 -}
420 -
421 -src_install() {
422 - sed -e '1iexit;' \
423 - -i "${WORKDIR}"/*/utils/git-testament.pl || die
424 -
425 - if use fbcon ; then
426 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
427 - netsurf_src_install
428 - elog "framebuffer binary has been installed as netsurf-fb"
429 - pushd "${ED}"usr/bin >/dev/null || die
430 - eshopts_push -s nullglob
431 - # bug 552562
432 - local binaries=(netsurf{,.*})
433 - eshopts_pop
434 - for f in "${binaries[@]}" ; do
435 - mv -v $f ${f/netsurf/netsurf-fb} || die
436 - make_desktop_entry "${EROOT}"usr/bin/${f/netsurf/netsurf-fb} NetSurf-framebuffer${f/netsurf} netsurf "Network;WebBrowser"
437 - done
438 - popd >/dev/null || die
439 - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
440 - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
441 - elog "Please make /dev/input/mice readable to the account using netsurf-fb."
442 - elog "Either use chmod a+r /dev/input/mice (security!!!) or use an group."
443 - fi
444 - if use gtk ; then
445 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
446 - netsurf_src_install
447 - elog "netsurf gtk version has been installed as netsurf-gtk"
448 - pushd "${ED}"usr/bin >/dev/null || die
449 - eshopts_push -s nullglob
450 - # bug 552562
451 - local binaries=(netsurf{,.*})
452 - eshopts_pop
453 - for f in "${binaries[@]}" ; do
454 - mv -v $f ${f/netsurf/netsurf-gtk} || die
455 - make_desktop_entry "${EROOT}"usr/bin/${f/netsurf/netsurf-gtk} NetSurf-gtk${f/netsurf} netsurf "Network;WebBrowser"
456 - done
457 - popd >/dev/null || die
458 - fi
459 -
460 - insinto /usr/share/pixmaps
461 - doins gtk/res/netsurf.xpm
462 -}
463
464 diff --git a/www-client/netsurf/netsurf-3.5.ebuild b/www-client/netsurf/netsurf-3.5.ebuild
465 deleted file mode 100644
466 index aa99c97..00000000
467 --- a/www-client/netsurf/netsurf-3.5.ebuild
468 +++ /dev/null
469 @@ -1,162 +0,0 @@
470 -# Copyright 1999-2016 Gentoo Foundation
471 -# Distributed under the terms of the GNU General Public License v2
472 -# $Id$
473 -
474 -EAPI=5
475 -
476 -NETSURF_COMPONENT_TYPE=binary
477 -NETSURF_BUILDSYSTEM=buildsystem-1.5
478 -inherit netsurf
479 -
480 -DESCRIPTION="a free, open source web browser"
481 -HOMEPAGE="http://www.netsurf-browser.org/"
482 -SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz
483 - http://xmw.de/mirror/netsurf-fb.modes-example.gz
484 - ${NETSURF_BUILDSYSTEM_SRC_URI}"
485 -
486 -LICENSE="GPL-2 MIT"
487 -SLOT="0"
488 -KEYWORDS="~amd64 ~arm ~ppc"
489 -IUSE="+bmp +duktape fbcon truetype +gif gstreamer gtk +javascript +jpeg +mng
490 - pdf-writer +png +rosprite +svg +svgtiny +webp fbcon_frontend_able
491 - fbcon_frontend_linux fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x"
492 -
493 -REQUIRED_USE="|| ( fbcon gtk )
494 - amd64? ( abi_x86_32? ( javascript? ( duktape ) ) )
495 - fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl
496 - fbcon_frontend_vnc fbcon_frontend_x ) )
497 - duktape? ( javascript )"
498 -
499 -RDEPEND=">=dev-libs/libnsutils-0.0.2[${MULTILIB_USEDEP}]
500 - >=dev-libs/libutf8proc-1.1.6-r1[${MULTILIB_USEDEP}]
501 - dev-libs/libxml2:2[${MULTILIB_USEDEP}]
502 - net-misc/curl[${MULTILIB_USEDEP}]
503 - >=dev-libs/libcss-0.6.0[${MULTILIB_USEDEP}]
504 - >=net-libs/libhubbub-0.3.1-r1[${MULTILIB_USEDEP}]
505 - >=net-libs/libdom-0.3.0[${MULTILIB_USEDEP}]
506 - bmp? ( >=media-libs/libnsbmp-0.1.2-r1[${MULTILIB_USEDEP}] )
507 - fbcon? ( >=dev-libs/libnsfb-0.1.3-r1[${MULTILIB_USEDEP}]
508 - truetype? ( media-fonts/dejavu
509 - >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
510 - )
511 - gif? ( >=media-libs/libnsgif-0.1.2-r1[${MULTILIB_USEDEP}] )
512 - gtk? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
513 - gnome-base/libglade:2.0[${MULTILIB_USEDEP}]
514 - >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
515 - gstreamer? ( media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] )
516 - javascript? ( >=dev-libs/nsgenbind-0.3[${MULTILIB_USEDEP}]
517 - !duktape? ( dev-lang/spidermonkey:0= ) )
518 - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
519 - mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] )
520 - pdf-writer? ( media-libs/libharu[${MULTILIB_USEDEP}] )
521 - png? ( >=media-libs/libpng-1.2.51:0[${MULTILIB_USEDEP}] )
522 - svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1[${MULTILIB_USEDEP}] )
523 - !svgtiny? ( gnome-base/librsvg:2[${MULTILIB_USEDEP}] ) )
524 - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
525 -DEPEND="${RDEPEND}
526 - dev-libs/check[${MULTILIB_USEDEP}]
527 - dev-perl/HTML-Parser
528 - rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] )"
529 -
530 -PATCHES=( "${FILESDIR}"/${PN}-3.4-CFLAGS.patch
531 - "${FILESDIR}"/${PN}-3.4-framebuffer-pkgconfig.patch
532 - "${FILESDIR}"/${PN}-3.4-conditionally-include-image-headers.patch
533 - "${FILESDIR}"/${PN}-3.3-pdf-writer.patch )
534 -DOCS=( fb.modes README Docs/USING-Framebuffer
535 - Docs/ideas/{cache,css-engine,render-library}.txt )
536 -
537 -src_prepare() {
538 - rm -rf amiga atari beos cocoa monkey riscos windows || die
539 -
540 - mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes
541 -
542 - sed -e 's:-DG_DISABLE_DEPRECATED::' \
543 - -i gtk/Makefile.target || die
544 -
545 - netsurf_src_prepare
546 -}
547 -
548 -src_configure() {
549 - netsurf_src_configure
550 -
551 - netsurf_makeconf+=(
552 - NETSURF_USE_BMP=$(usex bmp YES NO)
553 - NETSURF_USE_GIF=$(usex gif YES NO)
554 - NETSURF_USE_JPEG=$(usex jpeg YES NO)
555 - NETSURF_USE_PNG=$(usex png YES NO)
556 - NETSURF_USE_PNG=$(usex png YES NO)
557 - NETSURF_USE_MNG=$(usex mng YES NO)
558 - NETSURF_USE_WEBP=$(usex webp YES NO)
559 - NETSURF_USE_VIDEO=$(usex gstreamer YES NO)
560 - NETSURF_USE_MOZJS=$(usex javascript $(usex duktape NO YES) NO)
561 - NETSURF_USE_JS=NO
562 - NETSURF_USE_DUKTAPE=$(usex javascript $(usex duktape YES NO) NO)
563 - NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO)
564 - NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO)
565 - NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO)
566 - NETSURF_USE_ROSPRITE=$(usex rosprite YES NO)
567 - PKG_CONFIG=$(tc-getPKG_CONFIG)
568 - $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "")
569 - $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "")
570 - $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "")
571 - $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "")
572 - $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "")
573 - NETSURF_FB_FONTLIB=$(usex truetype freetype internal)
574 - NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu
575 - TARGET=dummy
576 - )
577 -}
578 -
579 -src_compile() {
580 - if use fbcon ; then
581 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
582 - netsurf_src_compile
583 - fi
584 - if use gtk ; then
585 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
586 - netsurf_src_compile
587 - fi
588 -}
589 -
590 -src_install() {
591 - sed -e '1iexit;' \
592 - -i "${WORKDIR}"/*/utils/git-testament.pl || die
593 -
594 - if use fbcon ; then
595 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
596 - netsurf_src_install
597 - elog "framebuffer binary has been installed as netsurf-fb"
598 - pushd "${ED}"usr/bin >/dev/null || die
599 - eshopts_push -s nullglob
600 - # bug 552562
601 - local binaries=(netsurf{,.*})
602 - eshopts_pop
603 - for f in "${binaries[@]}" ; do
604 - mv -v $f ${f/netsurf/netsurf-fb} || die
605 - make_desktop_entry "${EROOT}"usr/bin/${f/netsurf/netsurf-fb} NetSurf-framebuffer${f/netsurf} netsurf "Network;WebBrowser"
606 - done
607 - popd >/dev/null || die
608 - elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
609 - elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
610 - elog "Please make /dev/input/mice readable to the account using netsurf-fb."
611 - elog "Either use chmod a+r /dev/input/mice (security!!!) or use an group."
612 - fi
613 - if use gtk ; then
614 - netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
615 - netsurf_src_install
616 - elog "netsurf gtk version has been installed as netsurf-gtk"
617 - pushd "${ED}"usr/bin >/dev/null || die
618 - eshopts_push -s nullglob
619 - # bug 552562
620 - local binaries=(netsurf{,.*})
621 - eshopts_pop
622 - for f in "${binaries[@]}" ; do
623 - mv -v $f ${f/netsurf/netsurf-gtk} || die
624 - make_desktop_entry "${EROOT}"usr/bin/${f/netsurf/netsurf-gtk} NetSurf-gtk${f/netsurf} netsurf "Network;WebBrowser"
625 - done
626 - popd >/dev/null || die
627 - fi
628 -
629 - insinto /usr/share/pixmaps
630 - doins gtk/res/netsurf.xpm
631 -}