summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/building-Kolibrios.md50
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/building-Kolibrios.md b/docs/building-Kolibrios.md
new file mode 100644
index 0000000..13f7fb3
--- a/dev/null
+++ b/docs/building-Kolibrios.md
@@ -0,0 +1,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
+