1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[docker] updated netsurf libs for win64-static

This commit is contained in:
Witold Filipczyk 2024-01-02 11:05:50 +01:00
parent 476e15d9d8
commit 1d677720a4
9 changed files with 22 additions and 80 deletions

View File

@ -1,19 +0,0 @@
--- libcss-0.8.0/include/libcss/computed.h.orig 2018-08-22 15:27:44.000000000 +0200
+++ libcss-0.8.0/include/libcss/computed.h 2018-12-29 19:02:55.633399014 +0100
@@ -79,13 +79,13 @@
css_error css_computed_style_destroy(css_computed_style *style);
css_error css_computed_style_compose(
- const css_computed_style *restrict parent,
- const css_computed_style *restrict child,
+ const css_computed_style *__restrict parent,
+ const css_computed_style *__restrict child,
css_error (*compute_font_size)(void *pw,
const struct css_hint *parent,
struct css_hint *size),
void *pw,
- css_computed_style **restrict result);
+ css_computed_style **__restrict result);
/******************************************************************************
* Property accessors below here *

View File

@ -1,19 +0,0 @@
--- libcss-0.8.0/include/libcss/computed.h.orig 2018-08-22 15:27:44.000000000 +0200
+++ libcss-0.8.0/include/libcss/computed.h 2018-12-29 19:02:55.633399014 +0100
@@ -79,13 +79,13 @@
css_error css_computed_style_destroy(css_computed_style *style);
css_error css_computed_style_compose(
- const css_computed_style *restrict parent,
- const css_computed_style *restrict child,
+ const css_computed_style *__restrict parent,
+ const css_computed_style *__restrict child,
css_error (*compute_font_size)(void *pw,
const struct css_hint *parent,
struct css_hint *size),
void *pw,
- css_computed_style **restrict result);
+ css_computed_style **__restrict result);
/******************************************************************************
* Property accessors below here *

View File

@ -9,7 +9,7 @@ FROM debian:bookworm
# prepare system # prepare system
RUN apt-get update && apt-get -y install bash \ 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 # [*] source build tools

View File

@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc" export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar" export AR="x86_64-w64-mingw32-ar"
cd cd
wget http://download.netsurf-browser.org/libs/releases/libhubbub-0.3.7-src.tar.gz wget http://download.netsurf-browser.org/libs/releases/libhubbub-0.3.8-src.tar.gz
rm -rf libhubbub-0.3.7 rm -rf libhubbub-0.3.8
tar -xf libhubbub-0.3.7-src.tar.gz tar -xf libhubbub-0.3.8-src.tar.gz
make -C libhubbub-0.3.7 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static make -C libhubbub-0.3.8 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static

View File

@ -1,9 +1,8 @@
cd 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 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.1 rm -rf libcss-0.9.2
tar -xf libcss-0.9.1-src.tar.gz tar -xf libcss-0.9.2-src.tar.gz
cd libcss-0.9.1 cd libcss-0.9.2
patch -p1 < ../libCSS-restrict.diff
printf '\ngen: $(PRE_TARGETS)\n' >> Makefile printf '\ngen: $(PRE_TARGETS)\n' >> Makefile
cd .. cd ..
export LIBRARY_PATH="$HOME/lib" export LIBRARY_PATH="$HOME/lib"
@ -16,7 +15,7 @@ export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar" export AR="x86_64-w64-mingw32-ar"
export HOST="x86_64-w64-mingw32" export HOST="x86_64-w64-mingw32"
export BUILD_CC=cc 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 LIBRARY_PATH="$HOME/lib"
export PKG_CONFIG_PATH="$HOME/lib/pkgconfig" export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
@ -27,4 +26,4 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc" export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar" export AR="x86_64-w64-mingw32-ar"
export HOST="x86_64-w64-mingw32" 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

View File

@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc" export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar" export AR="x86_64-w64-mingw32-ar"
cd cd
wget http://download.netsurf-browser.org/libs/releases/libdom-0.4.1-src.tar.gz wget http://download.netsurf-browser.org/libs/releases/libdom-0.4.2-src.tar.gz
rm -rf libdom-0.4.1 rm -rf libdom-0.4.2
tar -xf libdom-0.4.1-src.tar.gz tar -xf libdom-0.4.2-src.tar.gz
make -C libdom-0.4.1 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static make -C libdom-0.4.2 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static

View File

@ -1,4 +1,4 @@
cd cd
wget http://download.netsurf-browser.org/libs/releases/buildsystem-1.9.tar.gz wget http://download.netsurf-browser.org/libs/releases/buildsystem-1.10.tar.gz
tar -xf buildsystem-1.9.tar.gz tar -xf buildsystem-1.10.tar.gz
make -C buildsystem-1.9 install PREFIX=$HOME make -C buildsystem-1.10 install PREFIX=$HOME

View File

@ -7,7 +7,7 @@ export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc" export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar" export AR="x86_64-w64-mingw32-ar"
cd cd
wget http://download.netsurf-browser.org/libs/releases/libparserutils-0.2.4-src.tar.gz wget http://download.netsurf-browser.org/libs/releases/libparserutils-0.2.5-src.tar.gz
rm -rf libparserutils-0.2.4 rm -rf libparserutils-0.2.5
tar -xf libparserutils-0.2.4-src.tar.gz tar -xf libparserutils-0.2.5-src.tar.gz
make -C libparserutils-0.2.4 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static make -C libparserutils-0.2.5 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static

View File

@ -1,19 +0,0 @@
--- libcss-0.8.0/include/libcss/computed.h.orig 2018-08-22 15:27:44.000000000 +0200
+++ libcss-0.8.0/include/libcss/computed.h 2018-12-29 19:02:55.633399014 +0100
@@ -79,13 +79,13 @@
css_error css_computed_style_destroy(css_computed_style *style);
css_error css_computed_style_compose(
- const css_computed_style *restrict parent,
- const css_computed_style *restrict child,
+ const css_computed_style *__restrict parent,
+ const css_computed_style *__restrict child,
css_error (*compute_font_size)(void *pw,
const struct css_hint *parent,
struct css_hint *size),
void *pw,
- css_computed_style **restrict result);
+ css_computed_style **__restrict result);
/******************************************************************************
* Property accessors below here *