Welcome, Guest. Please login or register.

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

Description:

0 Members and 2 Guests are viewing this topic.

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« on: January 27, 2013, 11:14:57 PM »
Hiya Apex :)

It's an interesting project but it would take lots of time for me to port Netsurf AGA, even with help.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #1 on: January 29, 2013, 11:22:08 PM »
Hiya,

I was getting the same kinds of issues when I was trying to build it under Cygwin, it seems that it wants the .pc files (I hate makefiles BTW).
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #2 on: January 30, 2013, 10:39:52 PM »
Quote from: apj;724705

Edit:
looks like chris added some ifdefs to his code. he know best what to do.
I've also send my sources to novacoder. he works on native version too.


Yep Thanks for that :)

I'll also give it another bash using your sources with my AmiDevCpp installed Cygwin.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #3 on: February 01, 2013, 01:24:28 AM »
Ok, started again, now using Arti's SDL workspace with AmiDevCpp IDE, so far so good.  The Cygwin install that comes with AmiDevCpp is completely broken BTW (works fine when using the AmiDevCpp IDE of course).

Manage to start compiling the files under the 'amigaos3' folder.

One problem I had was with the CURL includes.

This wasn't working:

/* Data type definition of curl_socklen_t. */
typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;

Because socklen_t was not defined in (seems to be defined in AROS and OS4).

To fix it I had to do this:

Code: [Select]

// NOVA_CODER - not in <sys/socket.h>
typedef int socklen_t;

Is that correct or should it be an unsigned long?

Or have I just completely stuffed it up :)
« Last Edit: February 01, 2013, 03:27:00 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #4 on: February 01, 2013, 02:56:10 AM »
This one ->

AROS declares it as '__uint32_t'
« Last Edit: February 01, 2013, 03:09:33 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #5 on: February 01, 2013, 03:26:16 AM »
Now the problem is with building 'font_freetype.c', it needs a system include called 'ft2build.h' but I don't have it?

Looks like I need to have a build of FreeType installed.
« Last Edit: February 01, 2013, 03:33:37 AM by NovaCoder »
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #6 on: February 01, 2013, 03:47:56 AM »
Installed 68k freetype from AmiNet (v2.3.8), that fixed the missing include problem.

New problem with 'font_freetype.c'

Code: [Select]
/* initialise font handling */
bool fb_font_init(void)
{
        FT_Error error;
        FT_ULong max_cache_size;
        FT_UInt max_faces = 6;
fb_faceid_t *fb_face;

        /* freetype library initialise */
        error = FT_Init_FreeType( &library );
        if (error) {
                LOG((&quot;Freetype could not initialised (code %d)\n&quot;, error));
                return false;
        }

        /* set the Glyph cache size up */
        max_cache_size = nsoption_charp(fb_font_cachesize) * 1024;


Compiler: m68k-Amiga-OS3
Building Makefile: "C:\CrossCompiler\AmiDevCpp\workspaces\netsurf\netsurf\Makefile.win"
Executing  make...
mingw32-make.exe -f "C:\CrossCompiler\AmiDevCpp\workspaces\netsurf\netsurf\Makefile.win" amigaos3/font_freetype.o
m68k-amigaos-gcc.exe -c amigaos3/font_freetype.c -o amigaos3/font_freetype.o -I"C:/CrossCompiler/AmiDevCpp/usr/local/amiga/m68k-amigaos/sys-include" -I"C:/CrossCompiler/AmiDevCpp/workspaces/netsurf/netsurf" -I"C:/CrossCompiler/AmiDevCpp/workspaces/netsurf/include" -I"C:/CrossCompiler/AmiDevCpp/workspaces/netsurf/share/include"    -noixemul

amigaos3/font_freetype.c: In function `fb_font_init':
amigaos3/font_freetype.c:177: error: structure has no member named `fb_font_cachesize'
amigaos3/font_freetype.c:204: error: structure has no member named `fb_face_sans_serif'

 
In other words this line:

Code: [Select]
       max_cache_size = nsoption_charp(fb_font_cachesize) * 1024;
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #7 on: February 01, 2013, 08:24:40 PM »
Quote from: apj;724927
add

#elif defined(nsamigaos3)
#include "amigaos3/options.h"

to desktop/options.h


Thanks, I'll give that a go
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #8 on: February 02, 2013, 04:57:15 AM »
Welcome to the joys of coding ;)
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #9 on: February 03, 2013, 11:10:32 PM »
You've got a lot further than I ever managed to, well done :)

Maybe I should have tried it on UBUNTU instead of Cygwin under Windows 7.

Anyway, I still think makefiles suck.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #10 on: March 11, 2013, 10:41:10 PM »
Yep as explained above, this is really not my area so I can't be much help :(

Sounds like arti is on the case though so there is still some hope for a decent OS3 AGA browser.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #11 on: March 11, 2013, 11:39:32 PM »
Hiya,

Well he worked on the SDL port so he's already a lot more qualified than most of us :)

Chris has also been very supportive so between them they should get there hopefully, I'll also try and help out if I can.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #12 on: May 27, 2013, 12:25:04 AM »
NetSurf AGA BETA released :)

You can read up about the development of this new browser port on this EAB thread Amiga Browser

Basically (Arti) the guy that has been working on the (SDL based) 68k RTG ports of NetSurf asked if he could use my new AGA SDL to see it would enable him to get NetSurf working for AGA users.

Currently it is slow and requires a powerful AGA machine.   It looks to me that the performance issues are from generating the image rather than actually displaying it (eg AGA is not the reason it is slow!).

There is the possibility that Arti might be able to improve the speed and fix the issues with the colors etc, all questions/thanks/encouragement/donations should be sent directly to Arti -> http://ami-soft.blogspot.com.au/


[youtube]RbWjdtUH62k[/youtube]


I don't know about you guys but I think it's pretty cool that classics will finally get a new web browser after all these years :)
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #13 on: May 27, 2013, 01:06:30 AM »
Quote from: commodorejohn;736043
Ooh, I'll give it a shot. Where do I download and what additional stuff do I need?



Have a read of the EAB link I posted above, all will be revealed ;)
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline NovaCoder

Re: We need an iBrowse replacement for 68k!!!
« Reply #14 on: May 27, 2013, 05:52:32 AM »
Quote from: LoadWB;736051
I see you've produced a working SDL for AGA; I may have missed it elsewhere, but is there a working SDL for RTG?


Of course, how do think the RTG version of NetSurf 68k runs ;)

You can find it if you do a Google search, I don't think it's on AmiNet.
Life begins at 100 MIPS!


Nice Ports on AmiNet!