[packages/elinks] - updated to 0.19.0 - bconds avif, kitty, webp - do not require fsplib-devel - removed quickjs patch
witekfl
witekfl at pld-linux.org
Fri Dec 26 12:16:20 CET 2025
commit 81ca17cd6dc8dcf0d6612a55e85006100cdde36c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Dec 26 12:13:47 2025 +0100
- updated to 0.19.0
- bconds avif, kitty, webp
- do not require fsplib-devel
- removed quickjs patch
elinks.spec | 20 +++++++++++++-------
quickjs.patch | 21 ---------------------
2 files changed, 13 insertions(+), 28 deletions(-)
---
diff --git a/elinks.spec b/elinks.spec
index 89b4b76..a439e12 100644
--- a/elinks.spec
+++ b/elinks.spec
@@ -25,7 +25,10 @@
# - display and UI
%bcond_without 256 # 256 colors support
%bcond_without led # LEDs
+%bcond_without kitty # kitty image protocol support
%bcond_without sixel # image display support in SIXEL capable terminals
+%bcond_without webp # webp image support (requires kitty or sixel)
+%bcond_without avif # avif image support (requires kitty or sixel)
%bcond_without truecolor # true color
%bcond_with x # Use the X Window System
# - misc
@@ -45,21 +48,19 @@ Summary(es.UTF-8): El links es un browser para modo texto, similar a lynx
Summary(pl.UTF-8): Eksperymentalny Links (tekstowa przeglądarka WWW)
Summary(pt_BR.UTF-8): O links é um browser para modo texto, similar ao lynx
Name: elinks
-Version: 0.18.0
-Release: 2
+Version: 0.19.0
+Release: 1
Epoch: 1
License: GPL v2
Group: Applications/Networking
Source0: https://github.com/rkd77/elinks/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 43ac5edc5735117317827550607e9035
+# Source0-md5: e8d5064498c59c104b570462c31a038b
Source1: %{name}.desktop
Source2: links.png
-Patch0: quickjs.patch
URL: http://www.elinks.cz/
BuildRequires: bzip2-devel
%{?with_curl:BuildRequires: curl-devel >= 7.66.0}
BuildRequires: expat-devel
-%{?with_fsp:BuildRequires: fsplib-devel}
BuildRequires: gettext-tools
BuildRequires: git-core
%{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5}
@@ -69,6 +70,7 @@ BuildRequires: gpm-devel
%ifnarch %{arch_with_atomics64}
BuildRequires: libatomic-devel
%endif
+%{?with_avif:BuildRequires: libavif-devel}
BuildRequires: libstdc++-devel >= 6:8
BuildRequires: rpmbuild(macros) >= 2.042
%{?with_js:BuildRequires: sqlite3-devel}
@@ -80,6 +82,7 @@ BuildRequires: libdom-devel >= 0.4.2
%{?with_idn:BuildRequires: libidn2-devel}
%{?with_sixel:BuildRequires: libsixel-devel}
%{?with_smb:BuildRequires: libsmbclient-devel}
+%{?with_webp:BuildRequires: libwebp-devel}
%{?with_lua:BuildRequires: lua53-devel}
%{?with_lzma:BuildRequires: lzma-devel}
BuildRequires: meson >= 1.0.1
@@ -138,7 +141,6 @@ keepalive.
%prep
%setup -q
-%patch -P0 -p1
%build
%meson \
@@ -155,13 +157,17 @@ keepalive.
%{?debug:-Ddebug=true} \
%{!?debug:-Dfastmem=true} \
-Dfinger=true \
- -Dfsp=%{__true_false fsp} \
+ -Dfsp=false \
+ -Dfsp2=%{__true_false fsp} \
-Dgemini=true \
-Dgettext=true \
-Dgopher=true \
-Dhtml-highlight=true \
%{!?with_ipv6:-Dipv6=false} \
%{?with_leds:-Dleds=true} \
+ %{?with_avif:-Dlibavif=true} \
+ %{?with_webp:-Dlibwebp=true} \
+ -Dkitty=%{__true_false kitty} \
-Dlibsixel=%{__true_false sixel} \
-Dmarks=true \
-Dnntp=true \
diff --git a/quickjs.patch b/quickjs.patch
deleted file mode 100644
index 7ff9dea..0000000
--- a/quickjs.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit 5cc976da218e72ae268ac3e3a310c14700b8b513
-Author: Witold Filipczyk <witekfl at poczta.onet.pl>
-Date: Fri May 16 15:07:28 2025 +0200
-
- [quickjs] Compilation fix for quickjs-2025-04-26
-
-diff --git a/src/js/quickjs.h b/src/js/quickjs.h
-index 749af098a..34425de8f 100644
---- a/src/js/quickjs.h
-+++ b/src/js/quickjs.h
-@@ -14,6 +14,10 @@ inline int operator<(JSValueConst a, JSValueConst b)
- extern "C" {
- #endif
-
-+#ifndef JS_VALUE_GET_STRING
-+#define JS_VALUE_GET_STRING(v) ((JSString *)JS_VALUE_GET_PTR(v))
-+#endif
-+
- #ifdef ECMASCRIPT_DEBUG
-
- #define RETURN_JS(obj) \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elinks.git/commitdiff/81ca17cd6dc8dcf0d6612a55e85006100cdde36c
More information about the pld-cvs-commit
mailing list