Welcome, Guest. Please login or register.

Author Topic: We need an iBrowse replacement for 68k!!!  (Read 75324 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« on: January 28, 2013, 01:26:59 PM »
netsurf and aros owb 68k prove a css browser is possible at least on 060. optimized plotter that doesnnt just render the whole content new even when just scrolling would make it even faster. trade off antialiasing on fonts might bring another speedup. one just needs to do that.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #1 on: January 28, 2013, 04:41:12 PM »
Quote from: chris;724279
NetSurf has built-in "grab and drag" so the scrollbars could be omitted initially

this is actually even more tempting, having that scrollbars are even almost not necessary except for really huge pages. couldnt you try to build it for 68k target commenting out whatever does not compile? this way we would at least exactly know what parts need work. this is everything i could ever do, rewriting offending parts is completely out of question in my case, but you being familiar with the particular build process and likely having everything necessary at hand are better off anyway. i guess it wouldnt take longer for you than posting in this thread.
« Last Edit: January 28, 2013, 04:47:19 PM by wawrzon »
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #2 on: January 28, 2013, 08:42:14 PM »
@chris:
sigh, apparently yet again the most dumb ungifted and uneducated noob has to give it a try and give up just after few stabs. ive lost count how many times ive already tried.

chris, just took a look at 2.9 source for starters. i would have to try to compile it under amidevcpp, compiling native under cubic has never led to any usable progress, especially lacking appropriate shell, and was damn slow every time i tried.

i would have to set up a new target, borrowing what is set for os4 at the beginning. something like m68k-amigaos should do i guess. i would have to override host detection as it looks like, i guess mingw would be the right choice, likely other settings would might need to be overridden as well. ive tried to consult arturs sources (http://aminet.net/comm/www/netsurf-m68k-sources.lha) but i see nothing that would help me in the makefiles. looks like hes using amidevcpp interface to build netsurf. id like to try to stay conform with the genuine makefiles.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #3 on: January 28, 2013, 11:12:20 PM »
@danbeaver
does one need to postz it again, again, again, agai, and again to anyone to understand?

if you have a modern browser and a relatively simple css site, it will work, if you have modern browser and extremly heavy css site it will likely take time beyond patience. a simple java script will work, a heavy one will lock your system for ages. whatever worked up till now will work anyway. trust me i have tested aros-owb on my a4k a little, and come to a conclusion that it could be worth a try, but i dont see improving aros-owb as alternative to much better and up to date odyssey or simpler netsurf for that matter. please dont discuss it over and over.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #4 on: January 28, 2013, 11:16:55 PM »
Quote from: chris;724498
Well, my 68k cross-compilation environment is pretty broken, as it's really an OS4 cross-compilation environment which is hacked to bits to force everything to cross-compile ppc-amigaos.  So actually it'll take me a while to set one up that works properly.

Here's a build log from a while back:
http://vlists.pepperfish.net/pipermail/netsurf-dev-netsurf-browser.org/2011-January/002306.html

Some of those errors won't appear now, because there's an os3support.h file which hides a load of them.


thanks, the log may be quite a hint, and also worth to look at the os3support.h. i see a lot of warnings. seems the source generally needs delinting for the gcc 4.5.x (is that the right word?;). as i said i cannot substitute lacking functions, but maybe there is someone who may make up his mind a little upon that log.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #5 on: January 28, 2013, 11:27:41 PM »
good thing is i have 4.5.0 for m68k-amigaos and could perhaps prepare the build environment for someone who can do the actual work, perhaps but only perhaps, i could even build in the necessary casts to get rid of some warnings, but you would have to verify that, chris.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #6 on: January 29, 2013, 12:55:13 AM »
Quote from: chris;724511
There's some code that won't be touched under OS3 even though it has to be compiled.  I'll see if I can #ifdef __amigaos4__ those bits to get rid of the warnings (from memory - any section with CompositeTags() in it, and anti-aliased text printing)
there is really a lot that lloks like such a candidate. for instance everything in theme.c, download.c, contex_menu.c to be examined. there is while lot of functions but a limited number of source files that need to be modified for starters.


Quote
Getting a working build environment would be half the battle.
hmm. where did john mark bell got his m68k-amigaos gcc4.5.1 for btw? i have only 4.5.0 by bernd afair. otherwise i have whole lot of ready includes and libs, also for netsurf.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #7 on: January 29, 2013, 10:39:07 AM »
i have this one.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #8 on: January 29, 2013, 08:46:08 PM »
http://postimage.org/image/rnfsdgjeb/

config: aros68k, a4k, 060/50, cv64, x-surf.
« Last Edit: January 29, 2013, 08:49:21 PM by wawrzon »
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #9 on: January 29, 2013, 09:46:57 PM »
@chris:

since i believe ill have to define new target first, im now just trying to build only netsurf without the libs. i should have the libs available for the 68k maybe not the latest version, but lets leave that for later. ive disabled all gfx formats for this now.
strangely after regular make i get:
/bin/sh: O2: command not found :
Code: [Select]

$ make TARGET=amiga
M.CONFIG: JPEG (libjpeg)        enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: JNG/MNG/PNG (libmng)  disabled      (NETSURF_USE_MNG := NO)
M.CONFIG: PDF export (haru)     disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv  enabled       (NETSURF_USE_LIBICONV_PLUG := YES)

M.CONFIG: Sprite (librosprite)  disabled      (NETSURF_USE_ROSPRITE := NO)
M.CONFIG: BMP (libnsbmp)        disabled      (NETSURF_USE_BMP := NO)
M.CONFIG: GIF (libnsgif)        disabled      (NETSURF_USE_GIF := NO)
M.CONFIG: PNG (libpng)  disabled      (NETSURF_USE_PNG := NO)
M.CONFIG: NSSVG (libsvgtiny)    disabled      (NETSURF_USE_NSSVG := NO)
M.CONFIG: Amiga icon    enabled       (NETSURF_USE_AMIGA_ICON := YES)
M.CONFIG: DataTypes     enabled       (NETSURF_USE_AMIGA_DATATYPES := YES)
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcares was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcares.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcares' found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Package tre was not found in the pkg-config search path.
Perhaps you should add the directory containing `tre.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tre' found
Package libhubbub was not found in the pkg-config search path.
Perhaps you should add the directory containing `libhubbub.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libhubbub' found
Package libcss was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcss' found
 COMPILE: utils/utils.c
/bin/sh: O2: command not found
Makefile:600: recipe for target `build-CYGWIN_NT_5_1-amiga/deps/utils_utils.d' f
ailed
make: [build-CYGWIN_NT_5_1-amiga/deps/utils_utils.d] Error 127 (ignored)
 COMPILE: utils/utf8.c
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #10 on: January 30, 2013, 12:49:08 AM »
Quote from: danbeaver;724623
Nice monitor.

nice? this is my old formac, heavy as a pile of bricks and headache blurry on higher res. just kept it for amiga, even though i mostly use an lcd tv instead. convinced now?

@chris:thanks, second round tomorrow.;)
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #11 on: January 30, 2013, 06:27:11 PM »
funny thing is on amiga people tend to believe just any bs thrown at them, but when it comes to something actually doable they will tell it impossible.
im just sitting in a cafe downloading a git client to get the last netsurf source code..
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #12 on: January 30, 2013, 06:44:01 PM »
have you built it with toolchain as chris says? what target? seriously, im doing it only because none else volunteers, i have not the slightest idea of coding, all i ever did was to port some sdl games.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #13 on: January 30, 2013, 07:02:32 PM »
hi artur, didnt know you watch this space.
 

Offline wawrzon

Re: We need an iBrowse replacement for 68k!!!
« Reply #14 on: January 30, 2013, 08:13:44 PM »
Quote from: chris;724496
Don't bother with 2.9.  3.0-dev is pretty stable at the moment and due for release in the next 2-3 months.  The palette-mapped plotters aren't in 2.9 either.

sorry chris, have overseen this one.

Quote

I use Cygwin, mingw ought to work as well.

amidevcpp, so im using cygwin as well as i understand it.

Quote

I would advise trying to build the toolchains used by the auto-builder.  See this email: http://vlists.pepperfish.net/pipermail/netsurf-dev-netsurf-browser.org/2012-December/002983.html

for some reason apt-get isnt available here. im upgrading using cygwin setup tool. still some packages dont seem to be available. build-essential, autogen...

Quote

There is a m68k-unknown-amigaos target set up in there already.

I've never tried building the toolchains.  I keep meaning to as my OS4 builds have a weird issue that doesn't show up on the auto-built versions.  However, these might get around the problems NovaCoder had.

i see. ill report back when im that far.

Quote

You can then build the libraries (and NetSurf itself) using TARGET=amigaos3 as an argument to make.

It's worth reading this as well: http://wiki.netsurf-browser.org/Documentation/GettingCoding