1 |
commit: 643eb59dbdba8025ef6f023ea77773cfdba06eca |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 21 20:51:52 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 21 20:52:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643eb59d |
7 |
|
8 |
www-client/netsurf: remove old |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
www-client/netsurf/Manifest | 2 - |
14 |
www-client/netsurf/files/netsurf-3.6-CFLAGS.patch | 67 --------- |
15 |
.../netsurf/files/netsurf-3.6-gstreamer.patch | 31 ---- |
16 |
.../netsurf/files/netsurf-3.6-pdf-writer.patch | 80 ----------- |
17 |
www-client/netsurf/netsurf-3.6.ebuild | 160 --------------------- |
18 |
5 files changed, 340 deletions(-) |
19 |
|
20 |
diff --git a/www-client/netsurf/Manifest b/www-client/netsurf/Manifest |
21 |
index 370d0b8b4b7..b47aff4703c 100644 |
22 |
--- a/www-client/netsurf/Manifest |
23 |
+++ b/www-client/netsurf/Manifest |
24 |
@@ -1,5 +1,3 @@ |
25 |
-DIST netsurf-3.6-src.tar.gz 4129091 BLAKE2B d6b08069e34a8fd4f2010c6b3efbde9d7b13e40d3f3fdceeee92eb9d2bbeb92fac6f0a1ca9ac263ebc1904ad04a42c97a6418da7e095d18eda3be952129ac718 SHA512 6141cd94b2b6c8e56f682599e4929690f6ca668d1f6ff20bad93e30cf3a3b27475146f2b3c9dbc9f1b2e44b729d74c346254959b7def1f8d194e1c6efac3078d |
26 |
DIST netsurf-3.8-src.tar.gz 3945752 BLAKE2B 0f4592e53e95cfedb3c34a16ce9df9baeeaed93afb3bac3d68dab1e3d80e67c0498111c123285f6e828d063574e0e5f0cc3aa337ffab066f2283d06d248a308a SHA512 6f4dfdc546cce3b85d32da0dd816adc9a39410ed42bc28f263f4a1db64b35a889a1784a4116715190e756988dd263976933cfac75c9dcd81af01954487ddcaf6 |
27 |
-DIST netsurf-buildsystem-1.5.tar.gz 38196 BLAKE2B 298ef39d45b98ae5ef57a22aed9f22bf96dfd6ad5475964c04451eaf28aca7f451b4906002c3e110ffcc951015169f02ffcd85f24e54b46c47b25e048115db1c SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 |
28 |
DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58 |
29 |
DIST netsurf-fb.modes-example.gz 4586 BLAKE2B 89c76fde1ddc79e46f22d9f628f8d75ec57be2a29d31383550137e3b502aa4d8c0a733b755731c916d4d544679a4253323bc343528c5e2c4f145c3318ac1d86d SHA512 753a707dc428212803dd64250bb723a498fdc1c328fdac4df38be533eab3af45f727cdc6b7ced3faaa0e82db182c4eab140b8e81b0d3cfe2152252b89e6d2981 |
30 |
|
31 |
diff --git a/www-client/netsurf/files/netsurf-3.6-CFLAGS.patch b/www-client/netsurf/files/netsurf-3.6-CFLAGS.patch |
32 |
deleted file mode 100644 |
33 |
index 8004aa4c620..00000000000 |
34 |
--- a/www-client/netsurf/files/netsurf-3.6-CFLAGS.patch |
35 |
+++ /dev/null |
36 |
@@ -1,67 +0,0 @@ |
37 |
---- netsurf-3.6/Makefile.defaults |
38 |
-+++ netsurf-3.6/Makefile.defaults |
39 |
-@@ -96,12 +96,6 @@ |
40 |
- # Valid options: YES, NO |
41 |
- NETSURF_FS_BACKING_STORE := NO |
42 |
- |
43 |
--# Initial CFLAGS. Optimisation level etc. tend to be target specific. |
44 |
--CFLAGS := |
45 |
-- |
46 |
--# Initial CXXFLAGS. Optimisation level etc. tend to be target specific. |
47 |
--CXXFLAGS := |
48 |
-- |
49 |
- # Default installation/execution prefix |
50 |
- PREFIX ?= /usr/local |
51 |
- |
52 |
---- netsurf-3.6/frontends/framebuffer/Makefile |
53 |
-+++ netsurf-3.6/frontends/framebuffer/Makefile |
54 |
-@@ -20,7 +20,7 @@ |
55 |
- CFLAGS += '-DNETSURF_FB_FONT_CURSIVE="$(NETSURF_FB_FONT_CURSIVE)"' |
56 |
- CFLAGS += '-DNETSURF_FB_FONT_FANTASY="$(NETSURF_FB_FONT_FANTASY)"' |
57 |
- |
58 |
--CFLAGS += -std=c99 -g -Dsmall \ |
59 |
-+CFLAGS += -std=c99 -Dsmall \ |
60 |
- -D_BSD_SOURCE \ |
61 |
- -D_DEFAULT_SOURCE \ |
62 |
- -D_XOPEN_SOURCE=600 \ |
63 |
---- netsurf-3.6/frontends/framebuffer/Makefile.defaults |
64 |
-+++ netsurf-3.6/frontends/framebuffer/Makefile.defaults |
65 |
-@@ -3,7 +3,7 @@ |
66 |
- # ---------------------------------------------------------------------------- |
67 |
- |
68 |
- # Optimisation levels |
69 |
--CFLAGS += -O2 |
70 |
-+CFLAGS += |
71 |
- |
72 |
- # Framebuffer default surface provider. |
73 |
- # Valid values are: x, sdl, linux, vnc, able, |
74 |
---- netsurf-3.6/frontends/gtk/Makefile |
75 |
-+++ netsurf-3.6/frontends/gtk/Makefile |
76 |
-@@ -33,7 +33,7 @@ |
77 |
- endif |
78 |
- |
79 |
- |
80 |
--GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk -g \ |
81 |
-+GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \ |
82 |
- $(GTKDEPFLAGS) \ |
83 |
- -D_BSD_SOURCE \ |
84 |
- -D_DEFAULT_SOURCE \ |
85 |
---- netsurf-3.6/frontends/gtk/Makefile.defaults |
86 |
-+++ netsurf-3.6/frontends/gtk/Makefile.defaults |
87 |
-@@ -39,4 +39,4 @@ |
88 |
- NETSURF_GTK_MAJOR ?= 2 |
89 |
- |
90 |
- # Optimisation levels |
91 |
--CFLAGS += -O2 |
92 |
-+CFLAGS += |
93 |
---- netsurf-3.6/test/Makefile |
94 |
-+++ netsurf-3.6/test/Makefile |
95 |
-@@ -105,7 +105,7 @@ |
96 |
- COMMON_WARNFLAGS += -Wno-unused-parameter |
97 |
- endif |
98 |
- |
99 |
--TESTCFLAGS := -std=c99 -g \ |
100 |
-+TESTCFLAGS := -std=c99 \ |
101 |
- $(COMMON_WARNFLAGS) \ |
102 |
- -D_BSD_SOURCE \ |
103 |
- -D_POSIX_C_SOURCE=200809L \ |
104 |
|
105 |
diff --git a/www-client/netsurf/files/netsurf-3.6-gstreamer.patch b/www-client/netsurf/files/netsurf-3.6-gstreamer.patch |
106 |
deleted file mode 100644 |
107 |
index 6aca4f6abdf..00000000000 |
108 |
--- a/www-client/netsurf/files/netsurf-3.6-gstreamer.patch |
109 |
+++ /dev/null |
110 |
@@ -1,31 +0,0 @@ |
111 |
---- netsurf-3.6/frontends/gtk/Makefile |
112 |
-+++ netsurf-3.6/frontends/gtk/Makefile |
113 |
-@@ -16,7 +16,6 @@ |
114 |
- |
115 |
- # GTK and GLIB flags to disable depricated usage |
116 |
- GTKDEPFLAGS := -DG_DISABLE_SINGLE_INCLUDES \ |
117 |
-- -DG_DISABLE_DEPRECATED \ |
118 |
- -DGTK_DISABLE_SINGLE_INCLUDES \ |
119 |
- -DGTK_MULTIHEAD_SAFE \ |
120 |
- -DPANGO_DISABLE_DEPRECATED |
121 |
---- netsurf-3.6/content/handlers/image/video.c |
122 |
-+++ netsurf-3.6/content/handlers/image/video.c |
123 |
-@@ -22,6 +22,8 @@ |
124 |
- #include "content/content_protected.h" |
125 |
- |
126 |
- #include "image/video.h" |
127 |
-+#include "utils/http/parameter.h" |
128 |
-+#include "content/llcache.h" |
129 |
- |
130 |
- typedef struct nsvideo_content { |
131 |
- struct content base; |
132 |
---- netsurf-3.6/content/content_factory.h |
133 |
-+++ netsurf-3.6/content/content_factory.h |
134 |
-@@ -25,6 +25,7 @@ |
135 |
- |
136 |
- #include "netsurf/content_type.h" |
137 |
- #include "utils/errors.h" |
138 |
-+#include "utils/utils.h" |
139 |
- |
140 |
- #define CONTENT_FACTORY_REGISTER_TYPES(HNAME, HTYPELIST, HHANDLER) \ |
141 |
- \ |
142 |
|
143 |
diff --git a/www-client/netsurf/files/netsurf-3.6-pdf-writer.patch b/www-client/netsurf/files/netsurf-3.6-pdf-writer.patch |
144 |
deleted file mode 100644 |
145 |
index 5824adc1ecb..00000000000 |
146 |
--- a/www-client/netsurf/files/netsurf-3.6-pdf-writer.patch |
147 |
+++ /dev/null |
148 |
@@ -1,80 +0,0 @@ |
149 |
---- netsurf-3.6/desktop/font_haru.c |
150 |
-+++ netsurf-3.6/desktop/font_haru.c |
151 |
-@@ -37,7 +37,7 @@ |
152 |
- #include <hpdf.h> |
153 |
- |
154 |
- #include "utils/nsoption.h" |
155 |
--#include "desktop/save_pdf/font_haru.h" |
156 |
-+#include "desktop/font_haru.h" |
157 |
- #include "desktop/font.h" |
158 |
- #include "utils/log.h" |
159 |
- |
160 |
---- netsurf-3.6/desktop/save_pdf.c |
161 |
-+++ netsurf-3.6/desktop/save_pdf.c |
162 |
-@@ -60,6 +60,8 @@ |
163 |
- #include "utils/useragent.h" |
164 |
- #include "content/hlcache.h" |
165 |
- #include "utils/nsoption.h" |
166 |
-+#include "desktop/gui_misc.h" |
167 |
-+#include "desktop/gui_internal.h" |
168 |
- #include "netsurf/bitmap.h" |
169 |
- |
170 |
- #include "netsurf/plotters.h" |
171 |
-@@ -450,11 +452,6 @@ |
172 |
- |
173 |
- switch(content_get_type(content)){ |
174 |
- /*Handle "embeddable" types of images*/ |
175 |
-- case CONTENT_JPEG: |
176 |
-- image = HPDF_LoadJpegImageFromMem(pdf_doc, |
177 |
-- (const HPDF_BYTE *) source_data, |
178 |
-- source_size); |
179 |
-- break; |
180 |
- |
181 |
- /*Disabled until HARU PNG support will be more stable. |
182 |
- |
183 |
-@@ -700,7 +697,7 @@ |
184 |
- |
185 |
- |
186 |
- #ifndef PDF_DEBUG |
187 |
-- if (option_enable_PDF_compression) |
188 |
-+ if (nsoption_bool(enable_PDF_compression)) |
189 |
- HPDF_SetCompressionMode(pdf_doc, HPDF_COMP_ALL); /*Compression on*/ |
190 |
- #endif |
191 |
- HPDF_SetInfoAttr(pdf_doc, HPDF_INFO_CREATOR, user_agent_string()); |
192 |
-@@ -774,7 +771,7 @@ |
193 |
- assert(settings->output != NULL); |
194 |
- |
195 |
- /*Encryption on*/ |
196 |
-- if (option_enable_PDF_password) |
197 |
-+ if (nsoption_bool(enable_PDF_password)) |
198 |
- guit->misc->pdf_password(&owner_pass, &user_pass, |
199 |
- (void *)settings->output); |
200 |
- else |
201 |
-@@ -789,7 +786,7 @@ |
202 |
- { |
203 |
- nserror res = NSERROR_OK; |
204 |
- |
205 |
-- if (option_enable_PDF_password && owner_pass != NULL ) { |
206 |
-+ if (nsoption_bool(enable_PDF_password) && owner_pass != NULL ) { |
207 |
- HPDF_SetPassword(pdf_doc, owner_pass, user_pass); |
208 |
- HPDF_SetEncryptionMode(pdf_doc, HPDF_ENCRYPT_R3, 16); |
209 |
- free(owner_pass); |
210 |
---- netsurf-3.6/frontends/gtk/scaffolding.c |
211 |
-+++ netsurf-3.6/frontends/gtk/scaffolding.c |
212 |
-@@ -731,14 +731,14 @@ |
213 |
- |
214 |
- free(url_name); |
215 |
- |
216 |
-- strncpy(dirname, option_downloads_directory, PATH_MAX); |
217 |
-+ strncpy(dirname, nsoption_charp(downloads_directory), PATH_MAX); |
218 |
- strncat(dirname, "/", PATH_MAX - strlen(dirname)); |
219 |
- dirname[PATH_MAX - 1] = '\0'; |
220 |
- |
221 |
- /* this way the scale used by PDF functions is synchronized with that |
222 |
- * used by the all-purpose print interface |
223 |
- */ |
224 |
-- haru_nsfont_set_scale((float)option_export_scale / 100); |
225 |
-+ haru_nsfont_set_scale((float)nsoption_int(export_scale) / 100); |
226 |
- |
227 |
- save_dialog = gtk_file_chooser_dialog_new("Export to PDF", g->window, |
228 |
- GTK_FILE_CHOOSER_ACTION_SAVE, |
229 |
|
230 |
diff --git a/www-client/netsurf/netsurf-3.6.ebuild b/www-client/netsurf/netsurf-3.6.ebuild |
231 |
deleted file mode 100644 |
232 |
index 4397fe9dfaa..00000000000 |
233 |
--- a/www-client/netsurf/netsurf-3.6.ebuild |
234 |
+++ /dev/null |
235 |
@@ -1,160 +0,0 @@ |
236 |
-# Copyright 1999-2017 Gentoo Foundation |
237 |
-# Distributed under the terms of the GNU General Public License v2 |
238 |
- |
239 |
-EAPI=5 |
240 |
- |
241 |
-NETSURF_COMPONENT_TYPE=binary |
242 |
-NETSURF_BUILDSYSTEM=buildsystem-1.5 |
243 |
-inherit netsurf |
244 |
- |
245 |
-DESCRIPTION="a free, open source web browser" |
246 |
-HOMEPAGE="http://www.netsurf-browser.org/" |
247 |
-SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz |
248 |
- http://xmw.de/mirror/netsurf-fb.modes-example.gz |
249 |
- ${NETSURF_BUILDSYSTEM_SRC_URI}" |
250 |
- |
251 |
-LICENSE="GPL-2 MIT" |
252 |
-SLOT="0" |
253 |
-KEYWORDS="~amd64 ~arm ~ppc" |
254 |
-IUSE="+bmp +duktape fbcon truetype +gif gstreamer gtk gtk2 gtk3 +javascript +jpeg +mng |
255 |
- pdf-writer +png +psl +rosprite +svg +svgtiny +webp fbcon_frontend_able |
256 |
- fbcon_frontend_linux fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x" |
257 |
- |
258 |
-REQUIRED_USE="|| ( fbcon gtk gtk2 gtk3 ) |
259 |
- amd64? ( abi_x86_32? ( javascript? ( duktape ) ) ) |
260 |
- fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl |
261 |
- fbcon_frontend_vnc fbcon_frontend_x ) ) |
262 |
- duktape? ( javascript )" |
263 |
- |
264 |
-RDEPEND=">=dev-libs/libnsutils-0.0.2[${MULTILIB_USEDEP}] |
265 |
- >=dev-libs/libutf8proc-1.1.6-r1[${MULTILIB_USEDEP}] |
266 |
- dev-libs/libxml2:2[${MULTILIB_USEDEP}] |
267 |
- net-misc/curl[${MULTILIB_USEDEP}] |
268 |
- >=dev-libs/libcss-0.6.0[${MULTILIB_USEDEP}] |
269 |
- >=net-libs/libhubbub-0.3.1-r1[${MULTILIB_USEDEP}] |
270 |
- >=net-libs/libdom-0.3.0[${MULTILIB_USEDEP}] |
271 |
- bmp? ( >=media-libs/libnsbmp-0.1.2-r1[${MULTILIB_USEDEP}] ) |
272 |
- fbcon? ( >=dev-libs/libnsfb-0.1.3-r1[${MULTILIB_USEDEP}] |
273 |
- truetype? ( media-fonts/dejavu |
274 |
- >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) |
275 |
- ) |
276 |
- gif? ( >=media-libs/libnsgif-0.1.2-r1[${MULTILIB_USEDEP}] ) |
277 |
- gtk2? ( dev-libs/glib:2[${MULTILIB_USEDEP}] |
278 |
- x11-libs/gtk+:2[${MULTILIB_USEDEP}] ) |
279 |
- gtk3? ( dev-libs/glib:2[${MULTILIB_USEDEP}] |
280 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] ) |
281 |
- gtk? ( dev-libs/glib:2[${MULTILIB_USEDEP}] |
282 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] ) |
283 |
- gstreamer? ( media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] ) |
284 |
- javascript? ( >=dev-libs/nsgenbind-0.3[${MULTILIB_USEDEP}] |
285 |
- !duktape? ( dev-lang/spidermonkey:0= ) ) |
286 |
- jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) |
287 |
- mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] ) |
288 |
- pdf-writer? ( media-libs/libharu[${MULTILIB_USEDEP}] ) |
289 |
- png? ( >=media-libs/libpng-1.2.51:0[${MULTILIB_USEDEP}] ) |
290 |
- psl? ( media-libs/libnspsl[${MULTILIB_USEDEP}] ) |
291 |
- rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] ) |
292 |
- svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1[${MULTILIB_USEDEP}] ) |
293 |
- !svgtiny? ( gnome-base/librsvg:2[${MULTILIB_USEDEP}] ) ) |
294 |
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" |
295 |
-DEPEND="${RDEPEND} |
296 |
- dev-libs/check[${MULTILIB_USEDEP}] |
297 |
- dev-perl/HTML-Parser" |
298 |
- |
299 |
-PATCHES=( "${FILESDIR}"/${PN}-3.6-CFLAGS.patch |
300 |
- "${FILESDIR}"/${PN}-3.6-conditionally-include-image-headers.patch |
301 |
- "${FILESDIR}"/${PN}-3.6-pdf-writer.patch |
302 |
- "${FILESDIR}"/${PN}-3.6-gstreamer.patch ) |
303 |
-DOCS=( fb.modes README Docs/USING-Framebuffer |
304 |
- Docs/ideas/{cache,css-engine,render-library}.txt ) |
305 |
- |
306 |
-src_prepare() { |
307 |
- rm -r frontends/{amiga,atari,beos,cocoa,monkey,riscos,windows} || die |
308 |
- |
309 |
- mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes |
310 |
- |
311 |
- netsurf_src_prepare |
312 |
-} |
313 |
- |
314 |
-src_configure() { |
315 |
- netsurf_src_configure |
316 |
- |
317 |
- netsurf_makeconf+=( |
318 |
- NETSURF_USE_BMP=$(usex bmp YES NO) |
319 |
- NETSURF_USE_GIF=$(usex gif YES NO) |
320 |
- NETSURF_USE_JPEG=$(usex jpeg YES NO) |
321 |
- NETSURF_USE_PNG=$(usex png YES NO) |
322 |
- NETSURF_USE_NSPSL=$(usex psl YES NO) |
323 |
- NETSURF_USE_MNG=$(usex mng YES NO) |
324 |
- NETSURF_USE_WEBP=$(usex webp YES NO) |
325 |
- NETSURF_USE_MOZJS=$(usex javascript $(usex duktape NO YES) NO) |
326 |
- NETSURF_USE_JS=NO |
327 |
- NETSURF_USE_DUKTAPE=$(usex javascript $(usex duktape YES NO) NO) |
328 |
- NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO) |
329 |
- NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO) |
330 |
- NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO) |
331 |
- NETSURF_USE_ROSPRITE=$(usex rosprite YES NO) |
332 |
- PKG_CONFIG=$(tc-getPKG_CONFIG) |
333 |
- $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "") |
334 |
- $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "") |
335 |
- $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "") |
336 |
- $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "") |
337 |
- $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "") |
338 |
- NETSURF_FB_FONTLIB=$(usex truetype freetype internal) |
339 |
- NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu |
340 |
- TARGET=dummy |
341 |
- NETSURF_USE_VIDEO=dummy |
342 |
- ) |
343 |
-} |
344 |
- |
345 |
-src_compile() { |
346 |
- if use fbcon ; then |
347 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) |
348 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/NETSURF_USE_VIDEO=*/NETSURF_USE_VIDEO=NO}" ) |
349 |
- netsurf_src_compile |
350 |
- fi |
351 |
- if use gtk2 ; then |
352 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) |
353 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/NETSURF_USE_VIDEO=*/NETSURF_USE_VIDEO=$(usex gstreamer YES NO)}" ) |
354 |
- netsurf_src_compile |
355 |
- fi |
356 |
- if use gtk3 || use gtk ; then |
357 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk3}" ) |
358 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/NETSURF_USE_VIDEO=*/NETSURF_USE_VIDEO=$(usex gstreamer YES NO)}" ) |
359 |
- netsurf_src_compile |
360 |
- fi |
361 |
-} |
362 |
- |
363 |
-src_install() { |
364 |
- sed -e '1iexit;' \ |
365 |
- -i "${WORKDIR}"/*/utils/git-testament.pl || die |
366 |
- |
367 |
- if use fbcon ; then |
368 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" ) |
369 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/NETSURF_USE_VIDEO=*/NETSURF_USE_VIDEO=NO}" ) |
370 |
- netsurf_src_install |
371 |
- elog "framebuffer binary has been installed as netsurf-fb" |
372 |
- make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser" |
373 |
- elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes" |
374 |
- elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)." |
375 |
- elog "Please make /dev/input/mice readable to the account using netsurf-fb." |
376 |
- elog "Either use chmod a+r /dev/input/mice (security!!!) or use an group." |
377 |
- fi |
378 |
- if use gtk2 ; then |
379 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" ) |
380 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/NETSURF_USE_VIDEO=*/NETSURF_USE_VIDEO=$(usex gstreamer YES NO)}" ) |
381 |
- netsurf_src_install |
382 |
- elog "netsurf gtk2 version has been installed as netsurf-gtk" |
383 |
- make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser" |
384 |
- fi |
385 |
- if use gtk3 || use gtk ; then |
386 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk3}" ) |
387 |
- netsurf_makeconf=( "${netsurf_makeconf[@]/NETSURF_USE_VIDEO=*/NETSURF_USE_VIDEO=$(usex gstreamer YES NO)}" ) |
388 |
- netsurf_src_install |
389 |
- elog "netsurf gtk3 version has been installed as netsurf-gtk3" |
390 |
- make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk3 NetSurf-gtk3 netsurf "Network;WebBrowser" |
391 |
- fi |
392 |
- |
393 |
- insinto /usr/share/pixmaps |
394 |
- doins frontends/gtk/res/netsurf.xpm |
395 |
-} |