Difference between revisions of "NetSurf Source"


From SamyGO
Jump to: navigation, search
(Created page with 'NetSurf is Open Source and licensed under the GPL. Of course, the source code is available. Get it [http://rrobek.de/download/netsurf-src.tgz here]. == Compilation instructions…')
 
Line 1: Line 1:
NetSurf is Open Source and licensed under the GPL.
+
The [[NetSurf_Web_Browser]] is Open Source and licensed under the GPL.
 
Of course, the source code is available.  
 
Of course, the source code is available.  
 
Get it [http://rrobek.de/download/netsurf-src.tgz here].
 
Get it [http://rrobek.de/download/netsurf-src.tgz here].

Revision as of 20:10, 14 March 2010

The NetSurf_Web_Browser is Open Source and licensed under the GPL. Of course, the source code is available. Get it here.

Compilation instructions

  • setup environment (install cross compiler)
  • compile and make install required dependency libraries:
    • libiconv
    • zlib
    • libjpeg
    • libpng
    • libxml2
    • libidn
    • (openssl)
    • curl
    • SamyGO libSDL
  • setup environment for netsurf compilation
#!/bin/sh
#export PATH=/usr/local/arm-linux-gnueabi/bin:$PATH
export PKGCONFIG=arm-linux-gnueabi-pkg-config
export PKG_CONFIG=arm-linux-gnueabi-pkg-config
export XML2_CONFIG=/usr/local/arm-linux-gnueabi/bin/xml2-config
export CC=arm-linux-gnueabi-gcc
export CXX=arm-linux-gnueabi-g++
export LD=arm-linux-gnueabi-ld
export STRIP=arm-linux-gnueabi-strip
export AR=arm-linux-gnueabi-ar
export HOST_CC=/usr/bin/gcc
export CFLAGS="-fPIC -O2 -D_REENTRANT"
export CXXFLAGS="-fPIC -O2 -D_REENTRANT"
export PREFIX=/usr/local/arm-linux-gnueabi
# turns off silencing of compiler commands in netsurf compilation
export Q=
  • compile and make install netsurf member libraries

(each time: make HOST=SamsungDTV; make HOST=SamsungDTV install)

    • libparserutils
    • libwapcaplet
    • libnsbmp
    • libnsgif
    • libnsfb
    • libcss
    • hubbub
  • compile netsurf

make HOST=SamsungDTV TARGET=framebuffer