sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (b5fb3e1d3f1d83d5b607c333024d038f81df3b55)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (b5fb3e1d3f1d83d5b607c333024d038f81df3b55)
- Date: Thu, 13 Aug 2026 23:30:09 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
http/netsurf/DEPENDS | 39
+++++-----
http/netsurf/DETAILS | 4 -
http/netsurf/HISTORY | 7 +
http/netsurf/patches/0001-Fix-build-against-LibreSSL-2.7-.patch | 35
++++++++
http/netsurf/patches/0001-Fix-libutf8proc-include.patch | 25 ++++++
http/netsurf/patches/utf8proc-path.diff | 15 ---
6 files changed, 91 insertions(+), 34 deletions(-)
New commits:
commit b5fb3e1d3f1d83d5b607c333024d038f81df3b55
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
netsurf 3.11
diff --git a/http/netsurf/DEPENDS b/http/netsurf/DEPENDS
index 6fdd7c7..73282da 100755
--- a/http/netsurf/DEPENDS
+++ b/http/netsurf/DEPENDS
@@ -10,16 +10,18 @@ depends libdom &&
depends libnsutils &&
depends libparserutils &&
depends libwapcaplet &&
-depends vim && # needed for xxd
#optional
optional_depends utf8proc \
- NETSURF_USE_UTF8PROC={YES,NO} \
+ NETSURF_USE_UTF8PROC=YES \
+ NETSURF_USE_UTF8PROC=NO \
'for UTF8 support' &&
optional_depends SSL \
- NETSURF_USE_OPENSSL={YES,NO}\
+ NETSURF_USE_OPENSSL=YES \
+ NETSURF_USE_OPENSSL=NO \
'for SSL/TLS support' &&
optional_depends curl \
- NETSURF_USE_CURL={YES,NO} \
+ NETSURF_USE_CURL=YES \
+ NETSURF_USE_CURL=NO \
'to use CURL' &&
optional_depends libnsbmp \
"NETSURF_USE_BMP=YES" \
@@ -37,40 +39,43 @@ optional_depends libpng \
"NETSURF_USE_PNG=YES" \
"NETSURF_USE_PNG=NO" \
"for displaying PNGs" &&
-optional_depends libmng \
- "NETSURF_USE_MNG=YES" \
- "NETSURF_USE_MNG=NO" \
- "for displaying MNGs, JNGs, PNGs" &&
+optional_depends libjxl \
+ NETSURF_USE_JPEGXL=YES \
+ NETSURF_USE_JPEGXL=NO \
+ 'for displaying JPEG XLs' &&
optional_depends libwebp \
- NETSURF_USE_WEBP={YES,NO} \
+ NETSURF_USE_WEBP=YES \
+ NETSURF_USE_WEBP=NO \
'for WebP support' &&
optional_depends gstreamer \
- NETSURF_USE_VIDEO={YES,NO} \
+ NETSURF_USE_VIDEO=YES \
+ NETSURF_USE_VIDEO=NO \
'for video playback support' &&
optional_depends libharu2-scm \
"NETSURF_USE_HARU_PDF=YES" \
"NETSURF_USE_HARU_PDF=NO" \
"for PDF export and GTK printing support" &&
optional_depends libsvgtiny \
- NETSURF_USE_NSSVG={YES,NO} \
+ NETSURF_USE_NSSVG=YES \
+ NETSURF_USE_NSSVG=NO \
"for displaying SVGs" &&
optional_depends librsvg2 \
"NETSURF_USE_RSVG=YES" \
"NETSURF_USE_RSVG=NO" \
"for displaying SVGs" &&
-optional_depends libpencil \
- NETSURF_USE_PENCIL={YES,NO} \
- "for displaying RISC OS Drawfiles" &&
optional_depends librosprite \
"NETSURF_USE_ROSPRITE=YES" \
"NETSURF_USE_ROSPRITE=NO" \
"for displaying RISC OS Sprites" &&
optional_depends libnslog \
- NETSURF_USE_NSLOG={YES,NO} \
+ NETSURF_USE_NSLOG=YES \
+ NETSURF_USE_NSLOG=NO \
'for logging support' &&
optional_depends libnspsl \
- NETSURF_USE_NSPSL={YES,NO} \
+ NETSURF_USE_NSPSL=YES \
+ NETSURF_USE_NSPSL=NO \
'to use NetSurf public suffix list handling' &&
optional_depends duktape \
- NETSURF_USE_DUKTAPE={YES,NO} \
+ NETSURF_USE_DUKTAPE=YES \
+ NETSURF_USE_DUKTAPE=NO \
'for Javascript support'
diff --git a/http/netsurf/DETAILS b/http/netsurf/DETAILS
index 2642102..3ea64a5 100755
--- a/http/netsurf/DETAILS
+++ b/http/netsurf/DETAILS
@@ -9,10 +9,10 @@ if [ "$NETSURF_BRANCH" = scm ]; then
SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-scm"
else
- VERSION=3.10
+ VERSION=3.11
SOURCE="$SPELL-$VERSION-src.tar.gz"
SOURCE_URL[0]="http://download.netsurf-browser.org/netsurf/releases/source/$SOURCE"
-
SOURCE_HASH=sha512:1b1153916438e08146271dc04200aefbdba3b2c4ca9432a43abfc3811b5418df7ed21bbd91767f12d04331a236227379d2c412fcf13f25349685a549723bf13d
+
SOURCE_HASH=sha512:852ed7afe891828e7e594f1906ed5a7af9c62511b61dbe37ff1ca0700e3b08151db952ad47a18f9c8cfd3f6d78fd93485aa8e39de08eca904f5dbfa747af90c3
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
fi
WEB_SITE="http://www.netsurf-browser.org/"
diff --git a/http/netsurf/HISTORY b/http/netsurf/HISTORY
index 58d87b9..3111fa1 100644
--- a/http/netsurf/HISTORY
+++ b/http/netsurf/HISTORY
@@ -1,3 +1,10 @@
+2026-08-13 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS: updated spell to 3.11
+ dropped vim, libmng and libpencil; added libjxl
+ * patches/0001-Fix-build-against-LibreSSL-2.7-.patch:
+ fixed build against LibreSSL 2.7+
+ * patches/0001-Fix-libutf8proc-include.patch: renamed & normalized
+
2021-09-27 Ismael Luceno <ismael AT sourcemage.org>
* DETAILS: updated spell to 3.10
use NETSURF_FUNCTIONS
diff --git a/http/netsurf/patches/0001-Fix-build-against-LibreSSL-2.7-.patch
b/http/netsurf/patches/0001-Fix-build-against-LibreSSL-2.7-.patch
new file mode 100644
index 0000000..02ee265
--- /dev/null
+++ b/http/netsurf/patches/0001-Fix-build-against-LibreSSL-2.7-.patch
@@ -0,0 +1,35 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT sourcemage.org>
+Date: Fri, 14 Aug 2026 00:41:42 +0200
+Subject: [PATCH] Fix build against LibreSSL 2.7+
+
+Origin: Source Mage
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ content/fetchers/about/certificate.c | 2 +-
+ content/fetchers/curl.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/content/fetchers/curl.c 2026-08-13 14:34:13.202171128 +0200
++++ b/content/fetchers/curl.c 2026-08-13 14:34:24.898340764 +0200
+@@ -98,7 +98,7 @@
+ /* OpenSSL 1.0.x to 1.1.0 certificate reference counting changed
+ * LibreSSL declares its OpenSSL version as 2.1 but only supports the old
way
+ */
+-#if (defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER <
0x1010000fL))
++#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER <
0x2070000fL)) || (OPENSSL_VERSION_NUMBER < 0x1010000fL)
+ static int ns_X509_up_ref(X509 *cert)
+ {
+ cert->references++;
+--- a/content/fetchers/about/certificate.c 2026-08-13 14:34:13.203171143
+0200
++++ b/content/fetchers/about/certificate.c 2026-08-13 14:34:24.901340808
+0200
+@@ -137,7 +137,7 @@
+ /* OpenSSL 1.0.x, 1.0.2, 1.1.0 and 1.1.1 API all changed
+ * LibreSSL declares its OpenSSL version as 2.1 but only supports 1.0.x API
+ */
+-#if (defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER <
0x1010000fL))
++#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER <
0x2070000fL)) || (OPENSSL_VERSION_NUMBER < 0x1010000fL)
+ /* 1.0.x */
+
+ #if (defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER <
0x1000200fL))
diff --git a/http/netsurf/patches/0001-Fix-libutf8proc-include.patch
b/http/netsurf/patches/0001-Fix-libutf8proc-include.patch
new file mode 100644
index 0000000..ab61608
--- /dev/null
+++ b/http/netsurf/patches/0001-Fix-libutf8proc-include.patch
@@ -0,0 +1,25 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT sourcemage.org>
+Date: Fri, 14 Aug 2026 00:42:07 +0200
+Subject: [PATCH] Fix libutf8proc include
+
+Origin: Void Linux
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ utils/idna.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/idna.c b/utils/idna.c
+index 628ef1f..f6e498a 100644
+--- a/utils/idna.c
++++ b/utils/idna.c
+@@ -167,7 +167,7 @@ idna__ace_to_ucs4(const char *ace_label,
+
+ #ifdef WITH_UTF8PROC
+
+-#include <libutf8proc/utf8proc.h>
++#include <utf8proc.h>
+
+ int32_t idna_contexto[] = {
+ /* CONTEXTO codepoints which have a rule defined */
diff --git a/http/netsurf/patches/utf8proc-path.diff
b/http/netsurf/patches/utf8proc-path.diff
deleted file mode 100644
index 86ff9c7..0000000
--- a/http/netsurf/patches/utf8proc-path.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-Origin: Void Linux
-
-diff --git a/utils/idna.c b/utils/idna.c
-index 628ef1f..f6e498a 100644
---- a/utils/idna.c
-+++ b/utils/idna.c
-@@ -167,7 +167,7 @@ idna__ace_to_ucs4(const char *ace_label,
-
- #ifdef WITH_UTF8PROC
-
--#include <libutf8proc/utf8proc.h>
-+#include <utf8proc.h>
-
- int32_t idna_contexto[] = {
- /* CONTEXTO codepoints which have a rule defined */
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (b5fb3e1d3f1d83d5b607c333024d038f81df3b55), Ismael Luceno, 08/13/2026
Archive powered by MHonArc 2.6.24.