Skip to content

Commit

Permalink
[docker] updated netsurf libs for win64-static
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Jan 2, 2024
1 parent 476e15d commit 1d67772
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 80 deletions.
19 changes: 0 additions & 19 deletions docker/djgpp/libCSS-restrict.diff

This file was deleted.

19 changes: 0 additions & 19 deletions docker/win32-static/libCSS-restrict.diff

This file was deleted.

2 changes: 1 addition & 1 deletion docker/win64-static/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM debian:bookworm

# prepare system
RUN apt-get update && apt-get -y install bash \
rsync vim screen git make automake grep sed meson
rsync vim screen git make automake grep sed meson gperf

# [*] source build tools

Expand Down
8 changes: 4 additions & 4 deletions docker/win64-static/build_hubbub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar"
cd
wget http://download.netsurf-browser.org/libs/releases/libhubbub-0.3.7-src.tar.gz
rm -rf libhubbub-0.3.7
tar -xf libhubbub-0.3.7-src.tar.gz
make -C libhubbub-0.3.7 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
wget http://download.netsurf-browser.org/libs/releases/libhubbub-0.3.8-src.tar.gz
rm -rf libhubbub-0.3.8
tar -xf libhubbub-0.3.8-src.tar.gz
make -C libhubbub-0.3.8 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
13 changes: 6 additions & 7 deletions docker/win64-static/build_libcss.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
cd
wget http://download.netsurf-browser.org/libs/releases/libcss-0.9.1-src.tar.gz; tar -xf libcss-0.9.1-src.tar.gz
rm -rf libcss-0.9.1
tar -xf libcss-0.9.1-src.tar.gz
cd libcss-0.9.1
patch -p1 < ../libCSS-restrict.diff
wget http://download.netsurf-browser.org/libs/releases/libcss-0.9.2-src.tar.gz; tar -xf libcss-0.9.2-src.tar.gz
rm -rf libcss-0.9.2
tar -xf libcss-0.9.2-src.tar.gz
cd libcss-0.9.2
printf '\ngen: $(PRE_TARGETS)\n' >> Makefile
cd ..
export LIBRARY_PATH="$HOME/lib"
Expand All @@ -16,7 +15,7 @@ export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar"
export HOST="x86_64-w64-mingw32"
export BUILD_CC=cc
make -C libcss-0.9.1 -j1 Q= PREFIX=$HOME LIBDIR=lib gen
make -C libcss-0.9.2 -j1 Q= PREFIX=$HOME LIBDIR=lib gen

export LIBRARY_PATH="$HOME/lib"
export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
Expand All @@ -27,4 +26,4 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar"
export HOST="x86_64-w64-mingw32"
make -C libcss-0.9.1 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
make -C libcss-0.9.2 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
8 changes: 4 additions & 4 deletions docker/win64-static/build_libdom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar"
cd
wget http://download.netsurf-browser.org/libs/releases/libdom-0.4.1-src.tar.gz
rm -rf libdom-0.4.1
tar -xf libdom-0.4.1-src.tar.gz
make -C libdom-0.4.1 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
wget http://download.netsurf-browser.org/libs/releases/libdom-0.4.2-src.tar.gz
rm -rf libdom-0.4.2
tar -xf libdom-0.4.2-src.tar.gz
make -C libdom-0.4.2 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
6 changes: 3 additions & 3 deletions docker/win64-static/build_netsurf.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cd
wget http://download.netsurf-browser.org/libs/releases/buildsystem-1.9.tar.gz
tar -xf buildsystem-1.9.tar.gz
make -C buildsystem-1.9 install PREFIX=$HOME
wget http://download.netsurf-browser.org/libs/releases/buildsystem-1.10.tar.gz
tar -xf buildsystem-1.10.tar.gz
make -C buildsystem-1.10 install PREFIX=$HOME
8 changes: 4 additions & 4 deletions docker/win64-static/build_parserutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar"
cd
wget http://download.netsurf-browser.org/libs/releases/libparserutils-0.2.4-src.tar.gz
rm -rf libparserutils-0.2.4
tar -xf libparserutils-0.2.4-src.tar.gz
make -C libparserutils-0.2.4 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
wget http://download.netsurf-browser.org/libs/releases/libparserutils-0.2.5-src.tar.gz
rm -rf libparserutils-0.2.5
tar -xf libparserutils-0.2.5-src.tar.gz
make -C libparserutils-0.2.5 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static
19 changes: 0 additions & 19 deletions docker/win64-static/libCSS-restrict.diff

This file was deleted.

0 comments on commit 1d67772

Please sign in to comment.