Welcome, Guest. Please login or register.

Author Topic: Netsurf for 68k amigas, css capable web brower  (Read 34052 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline utri007Topic starter

Netsurf for 68k amigas, css capable web brower
« on: May 08, 2009, 09:22:08 AM »
Where it is???

Makers of OS4 version has said multiple times that they had made Netsurf for OS4 so that OS3.9/3.5 version should be easy to make. Unsupported featured could simply commented out from source etc.

ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show only replies by chiark
    • http://www.chiark.com
Re: Netsurf for 68 amigas, css capable web brower
« Reply #1 on: May 08, 2009, 12:26:05 PM »
The source is there, just waiting for you to compile it. ;-)
If it's just a question of commenting out the unused features, then it's easy, right?

That appears to be wrong, unfortunately. :-( - or at least to my very quick trip through the source it does...

There's bits of it which give me hope it might be straightforward, such as checking which version of graphics.library is returned before assuming compositing is available, but then others which worry me, such as some of the dependencies.

Having a quick look, it seems that things like libcurl (first dependency I chose) require OS4+...  So then you're into backporting all the dependencies too.

I don't know how much time it would take to port this to 3.9 or previous, but it's not a question of commenting out the bits that don't work as that would be everything.

Unfortunately my development for AmigaOS sorta stopped 16 years ago, and I wasn't doing anything nearly as complex as this.

But I would love to try to help get this ported.  I think an analysis of what is needed would be a wise first step, and then a bit of a plan...
Celebrating 21... no, make that 27... years of Amiga use
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show only replies by chiark
    • http://www.chiark.com
Re: Netsurf for 68 amigas, css capable web brower
« Reply #2 on: May 08, 2009, 12:30:10 PM »
Just found this when digging a bit deeper:

http://www.ppa.pl/artykul-Chris.Young.November.2008.-3_32_1169.html

Quote
Are there any chances for AmigaOS 3.X, MorphOS or AROS versions of NetSurf?

I originally started out writing the NetSurf Amiga specific code in such a way that it would work on OS3.x, if somebody had the time to port all the dependecies. That quickly went out the window when features I needed were either only available on OS4 or there was a better way of doing them on OS4. I still think it can be done, but it would require a lot more work. Certainly the speed of NetSurf is comparable to AWeb and should be ideal for the sort of hardware OS3 is running on. I have had contact from people interested in helping port to OS3 but nothing has come of it yet.

MorphOS and AROS have the additional problem of using MUI as their native UI. Somebody did contact me regarding porting NetSurf to AROS and I'll help out where I can, but if you're using MUI (or Zune or whatever) then most of the work I've done needs to be repeated again for MUI. MorphOS users may be better off sticking with Sputnik unless somebody particulary wants to put the effort in.
Celebrating 21... no, make that 27... years of Amiga use
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Netsurf for 68 amigas, css capable web brower
« Reply #3 on: May 08, 2009, 12:37:03 PM »
http://aminet.net/package/dev/c/netsurf-morphos-src

It might be easier to compile this for 3.x.
 

Offline 0amigan0

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 109
    • Show only replies by 0amigan0
Re: Netsurf for 68 amigas, css capable web brower
« Reply #4 on: May 08, 2009, 12:45:05 PM »
Quote

Piru wrote:
http://aminet.net/package/dev/c/netsurf-morphos-src

It might be easier to compile this for 3.x.


You mean you're gonna do it ? ;-)

 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Netsurf for 68 amigas, css capable web brower
« Reply #5 on: May 08, 2009, 01:09:52 PM »
No ;-)
 

Offline countzero

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 1938
    • Show only replies by countzero
    • http://blog.coze.org
Re: Netsurf for 68 amigas, css capable web brower
« Reply #6 on: May 08, 2009, 01:17:31 PM »
what if say please ? pretty please with icecream on top ?  :-P
I believe in mt. Fuji
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show only replies by chiark
    • http://www.chiark.com
Re: Netsurf for 68 amigas, css capable web brower
« Reply #7 on: May 08, 2009, 01:38:44 PM »
I'll take a look at the morphos codebase, but realistically I've got a huge amount to do to bring myself up to speed here. For starters, I never even used MUI... I'd be better starting off on a smaller project!

If you're interested and have some development experience, please let the world know . Of course, the luxury of time is another requirement!

Piru, do you know if Illka has considered the 3.X side of life at all when writing this?
(Just noticed his email address - my youngest son has a pikku veli t-shirt )

First problem: creating a suitable build environment...
Does anyone have any experience of building with gcc and other gnu tools on the miggy, or am I best off cross compiling?

Looks like the Amiga native option would be using Geek Gadgets, which seems to be rather moribund...

Hints?  :-)

(failing at first hurdle - amazing! )
Celebrating 21... no, make that 27... years of Amiga use
 

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #8 on: May 08, 2009, 06:39:08 PM »
I give a try and at first I get error
makefile:320: *** missing `endif'.

ifeq ($(TARGET),gtk)
  LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)

  # define additional CFLAGS and LDFLAGS requirements for pkg-configed libs here
  NETSURF_FEATURE_RSVG_CFLAGS := -DWITH_RSVG
  NETSURF_FEATURE_ROSPRITE_CFLAGS := -DWITH_NSSPRITE
  NETSURF_FEATURE_HUBBUB_CFLAGS := -DWITH_HUBBUB
  NETSURF_FEATURE_BMP_CFLAGS := -DWITH_BMP
  NETSURF_FEATURE_GIF_CFLAGS := -DWITH_GIF
  NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG

***** [line 320]  Why here ? *****

  # add a line similar to below for each optional pkg-configed lib here
  $(eval $(call pkg_config_find_and_add,RSVG,librsvg-2.0,SVG rendering))
  $(eval $(call pkg_config_find_and_add,ROSPRITE,librosprite,RISC OS sprite rendering))
  $(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub,Hubbub HTML parser))
  $(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
  $(eval $(call pkg_config_find_and_add,GIF,libnsgif,NetSurf GIF decoder))
  $(eval $(call pkg_config_find_and_add,PNG,libpng,PNG support))

  GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \
      -DGTK_DISABLE_DEPRECATED \
      -D_BSD_SOURCE \
      -D_XOPEN_SOURCE=600 \
      -D_POSIX_C_SOURCE=200112L \
      -D_NETBSD_SOURCE \
      -DGTK_RESPATH=\"$(NETSURF_GTK_RESOURCES)\" \
      $(WARNFLAGS) -I. -g \
      $(shell $(PKG_CONFIG) --cflags libglade-2.0 gtk+-2.0) \
      $(shell xml2-config --cflags)

  GTKLDFLAGS := $(shell $(PKG_CONFIG) --cflags --libs libglade-2.0 gtk+-2.0 gthread-2.0 gmodule-2.0 lcms)

  CFLAGS += $(GTKCFLAGS)
  LDFLAGS += $(GTKLDFLAGS)

  # ----------------------------------------------------------------------------
  # Windows flag setup
  # ----------------------------------------------------------------------------

  ifeq ($(HOST),Windows_NT)
    CFLAGS += -U__STRICT_ANSI__
  endif
endif

Offline wawrzon

Re: Netsurf for 68 amigas, css capable web brower
« Reply #9 on: May 08, 2009, 06:53:33 PM »
isnt that the stuff after line 320 is optional? what if you really set endif on 320?
 

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #10 on: May 08, 2009, 07:12:47 PM »
makefile:325: *** Unable to find library for: PNG support (libpng).
I have libpng in PATH .

Offline wawrzon

Re: Netsurf for 68 amigas, css capable web brower
« Reply #11 on: May 08, 2009, 07:16:07 PM »
let it out for first, i would say
 

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #12 on: May 08, 2009, 07:32:09 PM »
Package libglade-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglade-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package libglade-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglade-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
Package gmodule-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gmodule-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gmodule-2.0' found
Package lcms was not found in the pkg-config search path.
Perhaps you should add the directory containing `lcms.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lcms' found
makefile:350: *** extraneous `endif'.  Stop.

I found this on aminet
http://aminet.net/package/dev/lib/libgtk-mui.i386-aros

But is this needed? I thought netsurf uses Mui already.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Netsurf for 68 amigas, css capable web brower
« Reply #13 on: May 08, 2009, 08:01:03 PM »
Try using TARGET=morphos.
My Amigas: A500, Mac Mini and PowerBook
 

Offline Matt_H

Re: Netsurf for 68 amigas, css capable web brower
« Reply #14 on: May 08, 2009, 08:04:07 PM »
Take a look at the documentation. There are a *lot* of dependencies.