Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Hollywood MAL AMIStore App Store A600 Memory

AuthorTopic: NetSurf 3.3 released  (Read 2247 times)

0 Members and 1 Guest are viewing this topic.

Offline chris

NetSurf 3.3 released
« on: March 16, 2015, 02:29:14 PM »
NetSurf 3.3 is primarily a bug-fix release. Several of the front ends have received quite a bit of attention, with new features and improvements; notably the AmigaOS frontend has gained the beginnings of support for AmigaOS 3. We recommend all users upgrade.

More information
Download (AmigaOS 4)
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline Matt_H

Re: NetSurf 3.3 released
« Reply #1 on: March 17, 2015, 12:51:40 AM »
Thanks for working on this!
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #2 on: March 17, 2015, 04:48:39 PM »
@chris
okay, so i have succesfully checked out and built gtk frontend netsurf for debian and am posting from it. i will now try to get 68k target to build.
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #3 on: March 17, 2015, 05:10:11 PM »
have compiled sdl frontend too, but it doesnt work:
Code: [Select]
wawa@debian:~/dev-netsurf/workspace/netsurf$ ./nsfb -v
(0.000000) desktop/netsurf.c netsurf_init 157: NetSurf version '3.4 (Dev)'
(0.000162) desktop/netsurf.c netsurf_init 164: NetSurf on <Linux>, node <debian>, release <3.2.0-4-686-pae>, version <#1 SMP Debian 3.2.63-2+deb7u2>, machine <i686>
(0.000254) utils/messages.c messages_load 154: Loading Messages from '/home/wawa/dev-netsurf/workspace/netsurf/!NetSurf/Resources/en/Messages'
(0.001347) image/image_cache.c image_cache_init 381: Image cache initilised with a limit of 3145728 hysteresis of 629145
(0.001472) render/html_css_fetcher.c html_css_fetcher_initialise 64: html_css_fetcher_initialise called for x-ns-css
(0.001604) content/fetchers/curl.c fetch_curl_register 1245: curl_version libcurl/7.26.0 OpenSSL/1.0.1e zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3
(0.003656) utils/useragent.c user_agent_build_string 68: Built user agent &quot;NetSurf/3.4 (Linux)&quot;
(0.003767) content/fetchers/curl.c fetch_curl_register 1331: cURL linked against openssl
(0.003873) content/fetchers/curl.c fetch_curl_initialise 115: Initialise cURL fetcher for http
(0.003969) content/fetchers/curl.c fetch_curl_initialise 115: Initialise cURL fetcher for https
(0.004077) content/fetchers/data.c fetch_data_initialise 65: fetch_data_initialise called for data
(0.004504) content/llcache.c llcache_initialise 3288: llcache initialising with a limit of 9437184 bytes
(0.005012) javascript/jsapi.c js_initialise 46: New runtime handle 0x8eba4e0
(0.005117) framebuffer/gui.c process_cmdline 460: argc 1, argv 0xbfb48fa4
(0.005214) framebuffer/framebuffer.c framebuffer_initialise 399: The sdl surface is not available from libnsfb

(0.005328) framebuffer/gui.c die 109: Unable to initialise framebuffer
wawa@debian:~/dev-netsurf/workspace/netsurf$

(reporting just in case)... now off to 68k.
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #4 on: March 17, 2015, 11:30:40 PM »
not coming far on thet front
Code: [Select]
wawa@debian:~/dev-netsurf/workspace/netsurf$ make HOST_CC=m68k-aros-gcc TRAGET=amigaos3
M.CONFIG: JPEG (libjpeg) enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: PDF export (haru) disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv enabled       (NETSURF_USE_LIBICONV_PLUG := YES)
PKG.CNFG: utf8proc (libutf8proc) enabled
PKG.CNFG: nsutils (libnsutils) enabled
M.CONFIG: PNG (libpng) enabled       (NETSURF_USE_PNG := YES)
M.CONFIG: BMP (libnsbmp) enabled       (NETSURF_USE_BMP := YES)
M.CONFIG: GIF (libnsgif) enabled       (NETSURF_USE_GIF := YES)
M.CONFIG: SVG (librsvg-2.0) auto-enabled  (NETSURF_USE_RSVG := AUTO)
M.CONFIG: SVG (libsvgtiny) auto-enabled  (NETSURF_USE_NSSVG := AUTO)
M.CONFIG: Sprite (librosprite) auto-disabled (NETSURF_USE_ROSPRITE := AUTO)
M.CONFIG: WebP (libwebp) disabled      (NETSURF_USE_WEBP := NO)
M.CONFIG: JavaScript (mozjs185) auto-enabled  (NETSURF_USE_MOZJS := AUTO)
M.CONFIG: JavaScript (mozilla-js) auto-disabled (NETSURF_USE_JS := AUTO)
M.CONFIG: Video (gstreamer-0.10) disabled      (NETSURF_USE_VIDEO := NO)
PKG.CNFG: CSS (libcss) enabled
PKG.CNFG: DOM (libdom) enabled
PKG.CNFG: Hubbub (libhubbub) enabled
PKG.CNFG: OpenSSL (openssl) enabled
PKG.CNFG: Curl  (libcurl) enabled
PKG.CNFG: GTK-2 (gtk+-2.0) enabled
PKG.CNFG: GThread2 (gthread-2.0) enabled
PKG.CNFG: GModule2 (gmodule-2.0) enabled
TESTMENT: unchanged
MSGSPLIT: any/de to !NetSurf/Resources
MSGSPLIT: any/en to !NetSurf/Resources
MSGSPLIT: any/fr to !NetSurf/Resources
MSGSPLIT: any/it to !NetSurf/Resources
MSGSPLIT: any/nl to !NetSurf/Resources
wawa@debian:~/dev-netsurf/workspace/netsurf$
since there is no report im not sure where it breaks up and why, certainly some solution for a valid crosscompiler will be neccessary, just currently trying to use the aros68k backend.
 

Offline chris

Re: NetSurf 3.3 released
« Reply #5 on: March 18, 2015, 09:31:40 AM »
Quote from: wawrzon;786445
not coming far on thet front
Code: [Select]

wawa@debian:~/dev-netsurf/workspace/netsurf$ make HOST_CC=m68k-aros-gcc TRAGET=amigaos3
M.CONFIG: JPEG (libjpeg) enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: PDF export (haru) disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv enabled       (NETSURF_USE_LIBICONV_PLUG := YES)
PKG.CNFG: utf8proc (libutf8proc) enabled
PKG.CNFG: nsutils (libnsutils) enabled
M.CONFIG: PNG (libpng) enabled       (NETSURF_USE_PNG := YES)
M.CONFIG: BMP (libnsbmp) enabled       (NETSURF_USE_BMP := YES)
M.CONFIG: GIF (libnsgif) enabled       (NETSURF_USE_GIF := YES)
M.CONFIG: SVG (librsvg-2.0) auto-enabled  (NETSURF_USE_RSVG := AUTO)
M.CONFIG: SVG (libsvgtiny) auto-enabled  (NETSURF_USE_NSSVG := AUTO)
M.CONFIG: Sprite (librosprite) auto-disabled (NETSURF_USE_ROSPRITE := AUTO)
M.CONFIG: WebP (libwebp) disabled      (NETSURF_USE_WEBP := NO)
M.CONFIG: JavaScript (mozjs185) auto-enabled  (NETSURF_USE_MOZJS := AUTO)
M.CONFIG: JavaScript (mozilla-js) auto-disabled (NETSURF_USE_JS := AUTO)
M.CONFIG: Video (gstreamer-0.10) disabled      (NETSURF_USE_VIDEO := NO)
PKG.CNFG: CSS (libcss) enabled
PKG.CNFG: DOM (libdom) enabled
PKG.CNFG: Hubbub (libhubbub) enabled
PKG.CNFG: OpenSSL (openssl) enabled
PKG.CNFG: Curl  (libcurl) enabled
PKG.CNFG: GTK-2 (gtk+-2.0) enabled
PKG.CNFG: GThread2 (gthread-2.0) enabled
PKG.CNFG: GModule2 (gmodule-2.0) enabled
TESTMENT: unchanged
MSGSPLIT: any/de to !NetSurf/Resources
MSGSPLIT: any/en to !NetSurf/Resources
MSGSPLIT: any/fr to !NetSurf/Resources
MSGSPLIT: any/it to !NetSurf/Resources
MSGSPLIT: any/nl to !NetSurf/Resources
wawa@debian:~/dev-netsurf/workspace/netsurf$

since there is no report im not sure where it breaks up and why, certainly some solution for a valid crosscompiler will be neccessary, just currently trying to use the aros68k backend.


You have a typo in "TARGET", so it's just trying to build the GTK frontend again.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #6 on: March 18, 2015, 12:29:11 PM »
ach, embarassing..

so it remains as before:
Code: [Select]

wawa@debian:~/dev-netsurf/workspace/netsurf$ make TARGET=amigaos3
make: -dumpversion: Kommando nicht gefunden
expr: Syntaxfehler
M.CONFIG: JPEG (libjpeg) enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: PDF export (haru) disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv disabled      (NETSURF_USE_LIBICONV_PLUG := NO)
PKG.CNFG: utf8proc (libutf8proc) enabled
PKG.CNFG: nsutils (libnsutils) enabled
M.CONFIG: Sprite (librosprite) disabled      (NETSURF_USE_ROSPRITE := NO)
M.CONFIG: BMP (libnsbmp) enabled       (NETSURF_USE_BMP := YES)
M.CONFIG: GIF (libnsgif) enabled       (NETSURF_USE_GIF := YES)
M.CONFIG: PNG (libpng) failed        (NETSURF_USE_PNG := YES)
amiga/Makefile.target:41: *** Unable to find library for: PNG (libpng).  Schluss.
wawa@debian:~/dev-netsurf/workspace/netsurf$ make TARGET=amigaos3

which likely means thet i need to compile libpng.a linklib for 68k before or disable the png support for first.
 

Offline yssing

Re: NetSurf 3.3 released
« Reply #7 on: March 18, 2015, 12:32:43 PM »
Awesome, thank you very much.
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #8 on: March 18, 2015, 01:28:20 PM »
Quote from: wawrzon;786453
disable the png support for first.


packages curl, openssl and tre are necessary, as i realise they are going to be statically linked. im stuck even with the first since it doesnt get located even if i installed the developer support (strangely curl -V had not any effect) and then i repeteadly installed it with apt-get. apparently its not withing pkg-config patch.

when trying to compile 2.0 mui frontend for aros i had these libraries avaliable as amiga shared libraries and i wasnt building within netsurf build system so all i need was to point to the aros includes. i wonder what would be best to do here.

i imagine none has yet tried to crosscompile netsurf for os4 or amiga on linux, so yet some decissions need to be taken. for instance i hope that aros gcc 4.6.3 68k backend could be usable for compiling amiga binaries, but im not certain and im not sure if the binaries even if they work will be performing well, due to register handling, which seems to be difficult with late gcc versions. otherwise the gcc 4.5.0 i know of, is a version for cygwin.

another option would be try to compile natively under cubicide with the 3.6.x or whatever it was, but i dont have it here with me and it always proven even more difficult, at least in my case.

btw. chris, if i am hijacking the thread and you prefer to keep it in the old one sorry, ill refrain to that.
 

Offline chris

Re: NetSurf 3.3 released
« Reply #9 on: March 18, 2015, 02:00:27 PM »
Quote from: wawrzon;786455
packages curl, openssl and tre are necessary, as i realise they are going to be statically linked. im stuck even with the first since it doesnt get located even if i installed the developer support (strangely curl -V had not any effect) and then i repeteadly installed it with apt-get. apparently its not withing pkg-config patch.

You've missed building part of the toolchain.  The toolchain m68k-unknown-amigaos bit builds the cross-compiler for you (I assume you've done that).  After that you need to build the SDK part, which gives you all the non-NetSurf dependencies (libcurl etc).

Quote
i imagine none has yet tried to crosscompile netsurf for os4 or amiga on linux

You imagine wrong, that's the only way I've built it since they moved to Git, as it's a PITA to do any other way.  The CI system also cross-compiles on Linux every time there's a commit.  It definitely works.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #10 on: March 18, 2015, 04:14:01 PM »
no i didnt know that, otherwse i wouldnt try to mess with it as i described above. thats certainly good news! but im missing the manual for it, need to check for documentation.
 

Offline wawrzon

Re: NetSurf 3.3 releasedd
« Reply #11 on: March 19, 2015, 11:52:56 AM »
it all sounds like dejavu and browsing for solutions i discover my own old posts on subject i have completely forgotten about.
i have found somewhere a guide how to setup and compile everything by hand but i lost it now again..nevertheless at least gcc.3.4.6 68k backend seems to build now with
make -C m68k-unknown-amigaos
after solving some dependencies
still i think i need to install it to /opt/, because so far i only have toolchains in my workspace dir?
 

Offline chris

Re: NetSurf 3.3 releasedd
« Reply #12 on: March 19, 2015, 12:32:55 PM »
Quote from: wawrzon;786473
it all sounds like dejavu and browsing for solutions i discover my own old posts on subject i have completely forgotten about.
i have found somewhere a guide how to setup and compile everything by hand but i lost it now again..nevertheless at least gcc.3.4.6 68k backend seems to build now with
make -C m68k-unknown-amigaos
after solving some dependencies
still i think i need to install it to /opt/, because so far i only have toolchains in my workspace dir?


I think it puts it in there itself.  You might need to run it again "sudo".

The SDK make line needs some variables adding to it.  The README (RISC OS section, at the bottom) tells you basically what you need.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline wawrzon

Re: NetSurf 3.3 released
« Reply #13 on: March 19, 2015, 03:01:10 PM »
okay, im trying this.

meanwhile, what gcc version are used for other platforms? so far i see netsurf toolchain contains 3.4.6. for 68k. the 3.6.xavailable from zerohero at its time was afair the worst what concerns the performance of produced code. about 4.2.x - 4.5.0 it was heading back to the levels of performance achieved with 2.9.x.
maybe it would be wort in looking at an upgrade.

also might be worth ot exchange the experience with aros devs here, they are on 4.6.3, implementing 4.8.2 and heading for 5.x.x support currently, but 68k gcc patches, especially register macros are a handicap there. i wonder how is this solved with netsurf.

edit: it might help solve  the apparent gcc problems that may be in result of patches (?)
 

Offline wawrzon

Re: NetSurf 3.3 releasedd
« Reply #14 on: March 19, 2015, 03:26:23 PM »
Quote from: chris;786474
I think it puts it in there itself.  You might need to run it again "sudo".


alas its not different as root:
make[3]: Nothing to be done for `install'.
- which is what i suppose should happen, namely install?