diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 9e7bc2476729..2d048c6d76be 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -1,131 +1,137 @@ PORTNAME= elinks -DISTVERSION= 0.19.1 -PORTREVISION= 1 +DISTVERSION= 0.20.0 CATEGORIES= www MASTER_SITES= https://github.com/rkd77/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= jailbird@fdf.net COMMENT= Links text WWW browser with enhancements WWW= https://github.com/rkd77/elinks/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xmlto:textproc/xmlto LIB_DEPENDS= libidn2.so:dns/libidn2 USES= bison:alias cpe gettext-runtime gmake iconv localbase:ldflags \ meson pkgconfig python:build shebangfix ssl tar:xz SHEBANG_FILES= doc/tools/asciidoc/asciidoc.py doc/tools/help2xml \ src/protocol/ftp/test-ftp-parser MESON_ARGS= -D256-colors=true \ -D88-colors=true \ -Dapidoc=false \ -Dbzlib=true \ -Dcodepoint=false \ -Dfastmem=true \ -Dfinger=true \ -Dfsp2=true \ -Dgemini=true \ -Dgopher=true \ -Dgpm=false \ -Dhtmldoc=true \ -Didn=true \ -Dlzma=true \ -Dnntp=true \ -Dpdfdoc=false \ -Dsysmouse=true \ -Dtest=true \ -Dtrue-color=true TEST_TARGET= test LDFLAGS+= -lexecinfo -lintl OPTIONS_DEFINE= BROTLI CSS CURL EXMODE GUILE HIGHLIGHT LIBEVENT \ - LOCAL_CGI LUA MUJS NLS NOROOT PERL PYTHON SIXEL SMB \ - SPIDERMONKEY TRE XBELMARKS ZSTD + LOCAL_CGI LIBRSVG2 LUA MUJS NLS NOROOT PERL PYTHON \ + QUICKJSNG SIXEL SMB SPIDERMONKEY TRE XBELMARKS ZSTD OPTIONS_DEFAULT= BROTLI EXMODE HIGHLIGHT PERL OPTIONS_SUB= yes CSS_DESC= Cascading Style Sheets support (via libcss & libdom) EXMODE_DESC= Exmode (CLI) support HIGHLIGHT_DESC= HTML highlighting using DOM engine LIBEVENT_DESC= Use libevent as event handler LOCAL_CGI_DESC= Local CGI support MUJS_DESC= ECMAscript support (via MuJS) NOROOT_DESC= Prevention of usage by root +QUICKJSNG_DESC= ECMAScript support (via QuickJS-NG) SIXEL_DESC= Show images on sixel compatible terminals SPIDERMONKEY_DESC= ECMAScript support (via SpiderMonkey) TRE_DESC= TRE regex search support XBELMARKS_DESC= XBEL bookmarks (via expat) BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli BROTLI_MESON_TRUE= brotli CSS_IMPLIES= HIGHLIGHT CSS_LIB_DEPENDS= libcss.so:textproc/libcss \ libdom.so:www/libdom \ libwapcaplet.so:textproc/libwapcaplet CSS_MESON_TRUE= libcss CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_MESON_TRUE= libcurl EXMODE_MESON_TRUE= exmode GUILE_USES= guile:3.0 GUILE_MESON_TRUE= guile HIGHLIGHT_LIB_DEPENDS= libdom.so:www/libdom HIGHLIGHT_MESON_TRUE= html-highlight LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent LIBEVENT_MESON_TRUE= libevent +LIBRSVG2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 +LIBRSVG2_MESON_TRUE= librsvg + LOCAL_CGI_MESON_TRUE= cgi LUA_USES= lua:52+ LUA_MESON_ON= -Dluapkg=lua-${LUA_VER} MUJS_LIB_DEPENDS= libmujs.so:lang/mujs MUJS_MESON_TRUE= mujs NLS_BUILD_DEPENDS= xxd:sysutils/xxd NLS_USES= gettext NLS_MESON_TRUE= gettext nls NOROOT_MESON_TRUE= no-root PERL_USES= perl5 PERL_MESON_TRUE= perl PYTHON_USES= python:run PYTHON_MESON_TRUE= python +QUICKJSNG_LIB_DEPENDS= libqjs.so:lang/quickjs-ng +QUICKJSNG_MESON_TRUE= quickjs + SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_MESON_TRUE= libsixel SMB_USES= samba # smbclient SMB_MESON_TRUE= smb SPIDERMONKEY_IMPLIES= CSS CURL HIGHLIGHT -SPIDERMONKEY_BUILD_DEPENDS= ${LOCALBASE}/lib/libmozjs-128.so:lang/spidermonkey128 -SPIDERMONKEY_LIB_DEPENDS= libmozjs-128.so:lang/spidermonkey128 +SPIDERMONKEY_BUILD_DEPENDS= ${LOCALBASE}/lib/libmozjs-140.so:lang/spidermonkey140 +SPIDERMONKEY_LIB_DEPENDS= libmozjs-140.so:lang/spidermonkey140 SPIDERMONKEY_USES= compiler:c++17-lang sqlite SPIDERMONKEY_MESON_TRUE= sm-scripting spidermonkey -SPIDERMONKEY_CFLAGS= -I${LOCALBASE}/include/js-128 -SPIDERMONKEY_CXXFLAGS= -I${LOCALBASE}/include/js-128 +SPIDERMONKEY_CFLAGS= -I${LOCALBASE}/include/js-140 +SPIDERMONKEY_CXXFLAGS= -I${LOCALBASE}/include/js-140 SPIDERMONKEY_LDFLAGS= -lm -lpthread TRE_LIB_DEPENDS= libtre.so:textproc/libtre TRE_MESON_TRUE= tre XBELMARKS_LIB_DEPENDS= libexpat.so:textproc/expat2 XBELMARKS_MESON_TRUE= xbel ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_TRUE= zstd .include diff --git a/www/elinks/distinfo b/www/elinks/distinfo index 7362efbdc0da..ccd2a77e0b97 100644 --- a/www/elinks/distinfo +++ b/www/elinks/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1770666666 -SHA256 (elinks-0.19.1.tar.xz) = 31960cd471246692b84008bffec89182f25818472f86ee1a41a09bf0dad09eeb -SIZE (elinks-0.19.1.tar.xz) = 2204284 +TIMESTAMP = 1785060000 +SHA256 (elinks-0.20.0.tar.xz) = 75af7ba88af99ff5069ec7b4b7a3241d5920f4089764c7297cff3c8484a9e33f +SIZE (elinks-0.20.0.tar.xz) = 2220344 diff --git a/www/elinks/files/patch-meson.build b/www/elinks/files/patch-meson.build index 97a4eca20dc1..068d9bfcf0ca 100644 --- a/www/elinks/files/patch-meson.build +++ b/www/elinks/files/patch-meson.build @@ -1,29 +1,20 @@ ---- meson.build.orig 2025-12-25 11:06:07 UTC -+++ meson.build -@@ -563,7 +563,7 @@ conf_data.set('CONFIG_LIBCSS', false) - endif - - conf_data.set('CONFIG_LIBCSS', false) --cssdeps = false -+cssdeps = [] - - if conf_data.get('CONFIG_ECMASCRIPT') - cssdeps = dependency('libcss', static: st, version: '>=0.9.2', required: false) -@@ -1158,7 +1158,7 @@ endif +--- meson.build.orig 2026-07-26 09:58:12.000000000 +0000 ++++ meson.build 2026-07-27 00:33:05.299286000 +0000 +@@ -1160,7 +1160,7 @@ conf_data.set('HAVE_ICONV', 1) endif -if conf_data.get('CONFIG_OS_DOS') or compiler.has_function('alloca', prefix: '#include ') +if conf_data.get('CONFIG_OS_DOS') or compiler.has_function('alloca', prefix: '#include ') conf_data.set('HAVE_ALLOCA', 1) endif -@@ -1174,7 +1174,7 @@ endif +@@ -1181,7 +1181,7 @@ conf_data.set('HAVE_GNUTLS_CERTIFICATE_SET_X509_SYSTEM_TRUST', 1) endif -if compiler.has_function('mkstemps', prefix: '#include ', args: '-D_GNU_SOURCE') +if compiler.has_function('mkstemps', prefix: '#include ') conf_data.set('HAVE_MKSTEMPS', 1) endif diff --git a/www/elinks/files/patch-src_dom_test_meson.build b/www/elinks/files/patch-src_dom_test_meson.build deleted file mode 100644 index 66ea2ccd1fbc..000000000000 --- a/www/elinks/files/patch-src_dom_test_meson.build +++ /dev/null @@ -1,11 +0,0 @@ ---- src/dom/test/meson.build.orig 2024-10-05 06:29:15 UTC -+++ src/dom/test/meson.build -@@ -45,6 +45,6 @@ test('sgml-parser-incomplete', t5, depends:[exe2], env - test('sgml-parser-basic', t3, depends:[exe2], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false) - test('sgml-parser-error', t4, depends:[exe2], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false) - test('sgml-parser-incomplete', t5, depends:[exe2], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false) --test('sgml-parser-incremental', t6, depends:[exe2], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false, should_fail:true) -+test('sgml-parser-incremental', t6, depends:[exe2], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false) - test('sgml-parser-lines', t7, depends:[exe2], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false) --test('sgml-parser-random', t8, depends:[exe1], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false, should_fail:true) -+test('sgml-parser-random', t8, depends:[exe1], env:test_lib, workdir:meson.current_build_dir(), is_parallel:false)