Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« 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 apj

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

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #2 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 apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #3 on: May 08, 2009, 08:24:27 PM »
@itix:

TARGET=morphos give the same result.

@0amigan0:

I'm trying morphos version.


How about one make one link lib?

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #4 on: May 08, 2009, 08:47:24 PM »
1st dependancy, lemon, compiled :)

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #5 on: May 08, 2009, 09:03:16 PM »
@itix:

CYGWIN-NT-5.1

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #6 on: May 10, 2009, 02:57:55 PM »
I've been pretty busy yesterday.
What I did:
I have all dependencies now...yay
What to do:
I'll see if netsurf compiles.  

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #7 on: May 13, 2009, 04:40:22 PM »
I think I won't handle this task.

For example

 COMPILE: amiga/font.c
amiga/font.c: In function 'nsfont_position_in_string':
amiga/font.c:113: warning: implicit declaration of function 'ESetInfo'
amiga/font.c:113: error: dereferencing pointer to incomplete type
amiga/font.c:117: warning: implicit declaration of function 'EObtainInfo'
amiga/font.c:117: error: dereferencing pointer to incomplete type
amiga/font.c:118: error: 'OT_GlyphMap8Bit' undeclared (first use in this functio
n)
amiga/font.c:118: error: (Each undeclared identifier is reported only once
amiga/font.c:118: error: for each function it appears in.)
amiga/font.c:125: error: dereferencing pointer to incomplete type
amiga/font.c:135: error: dereferencing pointer to incomplete type
amiga/font.c:137: warning: implicit declaration of function 'EReleaseInfo'
amiga/font.c:137: error: dereferencing pointer to incomplete type
amiga/font.c: In function 'nsfont_split':
amiga/font.c:195: error: dereferencing pointer to incomplete type
amiga/font.c:199: error: dereferencing pointer to incomplete type
amiga/font.c:200: error: 'OT_GlyphMap8Bit' undeclared (first use in this functio
n)
amiga/font.c:209: error: dereferencing pointer to incomplete type
amiga/font.c:214: error: dereferencing pointer to incomplete type
amiga/font.c:216: error: dereferencing pointer to incomplete type
amiga/font.c: In function 'ami_open_outline_font':
amiga/font.c:289: error: dereferencing pointer to incomplete type
amiga/font.c: In function 'ami_unicode_text':
amiga/font.c:322: error: 'RPTAG_APenColor' undeclared (first use in this functio
n)
amiga/font.c:328: error: dereferencing pointer to incomplete type
amiga/font.c:328: error: request for member 'olf_EEngine' in something not a str
ucture or union
amiga/font.c:332: error: dereferencing pointer to incomplete type
amiga/font.c:332: error: request for member 'olf_EEngine' in something not a str
ucture or union
amiga/font.c:333: error: 'OT_GlyphMap8Bit' undeclared (first use in this functio
n)
amiga/font.c:336: error: dereferencing pointer to incomplete type
amiga/font.c:336: error: request for member 'glm_BitMap' in something not a stru
cture or union
amiga/font.c:336: warning: assignment from incompatible pointer type
amiga/font.c:341: warning: implicit declaration of function 'BltBitMapTags'
amiga/font.c:341: error: 'BLITA_SrcX' undeclared (first use in this function)
amiga/font.c:341: error: dereferencing pointer to incomplete type
amiga/font.c:341: error: request for member 'glm_BlackLeft' in something not a s
tructure or union
amiga/font.c:342: error: 'BLITA_SrcY' undeclared (first use in this function)
amiga/font.c:342: error: dereferencing pointer to incomplete type
amiga/font.c:342: error: request for member 'glm_BlackTop' in something not a st
ructure or union
amiga/font.c:343: error: 'BLITA_DestX' undeclared (first use in this function)
amiga/font.c:344: error: 'BLITA_DestY' undeclared (first use in this function)
amiga/font.c:344: error: dereferencing pointer to incomplete type
amiga/font.c:344: error: request for member 'glm_Y1' in something not a structur
e or union
amiga/font.c:344: error: invalid operands to binary - (have 'ULONG' and 'ULONG *
')
amiga/font.c:345: error: 'BLITA_Width' undeclared (first use in this function)
amiga/font.c:345: error: dereferencing pointer to incomplete type
amiga/font.c:345: error: request for member 'glm_X1' in something not a structur
e or union
amiga/font.c:346: error: 'BLITA_Height' undeclared (first use in this function)
amiga/font.c:346: error: dereferencing pointer to incomplete type
amiga/font.c:346: error: request for member 'glm_BlackHeight' in something not a
 structure or union
amiga/font.c:347: error: 'BLITA_Source' undeclared (first use in this function)
amiga/font.c:348: error: 'BLITA_SrcType' undeclared (first use in this function)

amiga/font.c:348: error: 'BLITT_ALPHATEMPLATE' undeclared (first use in this fun
ction)
amiga/font.c:349: error: 'BLITA_Dest' undeclared (first use in this function)
amiga/font.c:350: error: 'BLITA_DestType' undeclared (first use in this function
)
amiga/font.c:350: error: 'BLITT_RASTPORT' undeclared (first use in this function
)
amiga/font.c:351: error: 'BLITA_SrcBytesPerRow' undeclared (first use in this fu
nction)
amiga/font.c:351: error: dereferencing pointer to incomplete type
amiga/font.c:351: error: request for member 'glm_BMModulo' in something not a st
ructure or union
amiga/font.c:355: error: dereferencing pointer to incomplete type
amiga/font.c:355: error: request for member 'glm_X1' in something not a structur
e or union
amiga/font.c:355: warning: assignment makes integer from pointer without a cast
amiga/font.c:357: error: dereferencing pointer to incomplete type
amiga/font.c:357: error: request for member 'olf_EEngine' in something not a str
ucture or union
amiga/font.c: In function 'ami_init_fonts':
amiga/font.c:377: warning: implicit declaration of function 'OpenOutlineFont'
amiga/font.c:377: error: 'OFF_OPEN' undeclared (first use in this function)
amiga/font.c:377: warning: assignment makes pointer from integer without a cast
amiga/font.c:378: warning: assignment makes pointer from integer without a cast
amiga/font.c:379: warning: assignment makes pointer from integer without a cast
amiga/font.c:380: warning: assignment makes pointer from integer without a cast
amiga/font.c:381: warning: assignment makes pointer from integer without a cast
amiga/font.c:382: warning: assignment makes pointer from integer without a cast
amiga/font.c:383: warning: assignment makes pointer from integer without a cast
amiga/font.c:389: error: dereferencing pointer to incomplete type
amiga/font.c:389: error: request for member 'olf_OTagList' in something not a st
ructure or union
amiga/font.c:389: warning: initialization from incompatible pointer type
amiga/font.c:391: warning: assignment makes pointer from integer without a cast
amiga/font.c:398: error: dereferencing pointer to incomplete type
amiga/font.c:398: error: request for member 'olf_OTagList' in something not a st
ructure or union
amiga/font.c:398: warning: initialization from incompatible pointer type
amiga/font.c:400: warning: assignment makes pointer from integer without a cast
amiga/font.c:407: error: dereferencing pointer to incomplete type
amiga/font.c:407: error: request for member 'olf_OTagList' in something not a st
ructure or union
amiga/font.c:407: warning: initialization from incompatible pointer type
amiga/font.c:409: warning: assignment makes pointer from integer without a cast
amiga/font.c: In function 'ami_close_fonts':
amiga/font.c:424: warning: implicit declaration of function 'CloseOutlineFont'

Offline apj

Re: Netsurf for 68 amigas, css capable web brower
« Reply #8 on: May 14, 2009, 12:00:56 PM »
What is  hardware/atomic.h and is for os3.x ?

Offline apj

Netsurf for 68k amigas, css capable web brower
« Reply #9 on: May 18, 2009, 08:10:23 PM »
itix when will you be on IRC?
I need help.

Offline apj

Netsurf for 68k amigas, css capable web brower
« Reply #10 on: May 18, 2009, 09:16:14 PM »
Chiark, #amigadev at amigaworld.net ?

Offline apj

Re: Netsurf for 68k amigas, css capable web brower
« Reply #11 on: June 08, 2009, 03:56:24 PM »
I have compiled Netsurf (thanks Bernd_afa for help) !
It has bugs like wrong collors on pictures or problems with text input.
But it is faster than OWB.

Netsurf uses truetype fonts so you have to install AfaOS or other truetype handler.
Fonts are included. Copy them to Fonts:TRUETYPE/ttf-bitsream-vera folder.

Use 32bpp screen depth.

I release it for testing .
Please tell how it works.

http://sites.google.com/site/amigacorner/Home/Netsurf2.zip?attredirects=0

Offline apj

Re: Netsurf for 68k amigas, css capable web brower
« Reply #12 on: June 09, 2009, 05:57:22 PM »
I compiled with -mnobitfield like Bernd suggested.
Some dependency libs are compiled with opimisations.

Maybe it is faster now, please test.
Also it probaly doesn't crash at exit now.
« Last Edit: June 09, 2009, 05:59:50 PM by apj »
 

Offline apj

Re: Netsurf for 68k amigas, css capable web brower
« Reply #13 on: June 12, 2009, 09:22:19 AM »
The internal font version is working now.

It doesn't use freetype so there may be a speed gain.

You can download it here:

http://sites.google.com/site/amigacorner/Home/Netsurf2-nofreetype.zip .

Offline apj

Re: Netsurf for 68k amigas, css capable web brower
« Reply #14 on: June 12, 2009, 12:05:35 PM »
Quote from: bernd_afa;510755
good but thats a 16 bit version and work only on 16 bit screen.


Both 16bit and 32bit binaries are in archive now.