mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[docker] Updated netsurf libs for djgpp
This commit is contained in:
parent
2fdb04a6ab
commit
e727982d7d
@ -60,6 +60,7 @@ ADD build_wapcaplet.sh /home/elinks/
|
||||
RUN runuser -u elinks bash /home/elinks/build_wapcaplet.sh
|
||||
|
||||
# libhubbub
|
||||
RUN dnf -y install gperf
|
||||
ADD build_hubbub.sh /home/elinks/
|
||||
RUN runuser -u elinks bash /home/elinks/build_hubbub.sh
|
||||
|
||||
|
@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
|
||||
export CC="i586-pc-msdosdjgpp-gcc"
|
||||
export AR="i586-pc-msdosdjgpp-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
|
||||
|
@ -1,9 +1,9 @@
|
||||
cd
|
||||
rm -rf libcss-0.9.1
|
||||
wget http://download.netsurf-browser.org/libs/releases/libcss-0.9.1-src.tar.gz; tar -xf libcss-0.9.1-src.tar.gz
|
||||
tar xf libcss-0.9.1-src.tar.gz
|
||||
cd libcss-0.9.1
|
||||
patch -p1 < ../libCSS-restrict.diff || exit 1
|
||||
rm -rf libcss-0.9.2
|
||||
wget http://download.netsurf-browser.org/libs/releases/libcss-0.9.2-src.tar.gz; tar -xf libcss-0.9.2-src.tar.gz
|
||||
tar xf libcss-0.9.2-src.tar.gz
|
||||
cd libcss-0.9.2
|
||||
#patch -p1 < ../libCSS-restrict.diff || exit 1
|
||||
printf '\ngen: $(PRE_TARGETS)\n' >> Makefile
|
||||
cd ..
|
||||
export CFLAGS="-O2 -Wno-error"
|
||||
@ -12,7 +12,7 @@ export CC="i586-pc-msdosdjgpp-gcc"
|
||||
export AR="i586-pc-msdosdjgpp-ar"
|
||||
export HOST="i586-pc-msdosdjgpp"
|
||||
export BUILD_CC=gcc
|
||||
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"
|
||||
@ -23,4 +23,4 @@ export LDFLAGS="-L$HOME/lib"
|
||||
export CC="i586-pc-msdosdjgpp-gcc"
|
||||
export AR="i586-pc-msdosdjgpp-ar"
|
||||
export HOST="i586-pc-msdosdjgpp"
|
||||
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
|
||||
|
@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
|
||||
export CC="i586-pc-msdosdjgpp-gcc"
|
||||
export AR="i586-pc-msdosdjgpp-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
|
||||
|
@ -1,5 +1,5 @@
|
||||
cd
|
||||
wget http://download.netsurf-browser.org/libs/releases/buildsystem-1.9.tar.gz
|
||||
rm -rf buildsystem-1.9
|
||||
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
|
||||
rm -rf buildsystem-1.10
|
||||
tar -xf buildsystem-1.10.tar.gz
|
||||
make -C buildsystem-1.10 install PREFIX=$HOME
|
||||
|
@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
|
||||
export CC="i586-pc-msdosdjgpp-gcc"
|
||||
export AR="i586-pc-msdosdjgpp-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
|
||||
|
@ -9,7 +9,7 @@ PKG_CONFIG_PATH="$HOME/lib/pkgconfig" \
|
||||
C_INCLUDE_PATH="$HOME/include" \
|
||||
CFLAGS="-O2 -I$HOME/include -DWATT32_NO_NAMESPACE -DWATT32_NO_OLDIES" \
|
||||
CXXFLAGS="-O2 -I$HOME/include -DWATT32_NO_NAMESPACE -DWATT32_NO_OLDIES" \
|
||||
LDFLAGS="-L$HOME/lib" \
|
||||
LDFLAGS="-lm -L$HOME/lib" \
|
||||
meson setup /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
|
||||
-D88-colors=false \
|
||||
-D256-colors=false \
|
||||
|
Loading…
Reference in New Issue
Block a user