summaryrefslogtreecommitdiff
path: root/docs/building-Kolibrios.md
blob: 13f7fb3b53e817eb7e42683334c16baf3a9bdbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--------------------------------------------------------------------------------
  Build Instructions for KolibriOS NetSurf                          11 June 2017
--------------------------------------------------------------------------------

  Building
=================

  Obtaining the build dependencies
----------------------------------
    mkdir $HOME/NETSURFSTUFF
    cd $HOME/NETSURFSTUFF
    
    # Git clone all ns libs
    for lib in libcss libdom libhubbub libnsbmp libnsfb libnsgif libnsutils libparserutils libsvgtiny libutf8proc libwapcaplet; do 
        git://git.netsurf-browser.org/${lib}.git
    done

    # Git clone toolchains
    git clone git://git.netsurf-browser.org/toolchains.git
    
    # Git clone buildsystem
    git clone git://git.netsurf-browser.org/buildsystem.git

    # Git clone Netsurf
    git clone git://git.netsurf-browser.org/netsurf.git

 Building Netsurf with it's dependencies
----------------------------------------

  cd $HOME/NETSURFSTUFF

  # Set up the kolibrios compiler toolchain
  cd toolchains/kos32-gcc
  make
  cd ..

  # Set up the buildsystem 
  cd buildsystem
  make install
  cd ..

  # Set up all netsurf libs (Order is important for libs)
  for lib in libparserutils libwapcaplet libcss libhubbub libdom libnsbmp libnsfb libnsgif libnsutils libsvgtiny libutf8proc; do 
      cd $lib
      HOST=kolibrios make install
      cd ..
  done

 Binaries can be found in /opt/netsurf/kos32-gcc/env/bin