From d0682c839ab12c7bdcf486a9c1162d1da0f0205c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:51 +0700 Subject: [PATCH 01/20] an: rebuild with libicu78 --- srcpkgs/an/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/an/template b/srcpkgs/an/template index c3e4315ff8534d..bcf812c41768bb 100644 --- a/srcpkgs/an/template +++ b/srcpkgs/an/template @@ -1,7 +1,7 @@ # Template file for 'an' pkgname=an version=1.2 -revision=12 +revision=13 build_style=gnu-makefile makedepends="icu-devel" depends="words-en" @@ -9,8 +9,8 @@ short_desc="Very fast anagram generator" maintainer="Leah Neukirchen " license="GPL-2.0-or-later" homepage="https://packages.debian.org/sid/an" -distfiles="${DEBIAN_SITE}/main/a/an/an_${version}.orig.tar.xz" -checksum=b925d57d80bd0d83b755f5b8d78e6d5bf05eb059ec84a7d8fbb77b18c73b17a5 +distfiles="${DEBIAN_SITE}/main/a/an/an_${version}.orig.tar.gz" +checksum=b81a8db74cdfdf39e6ca7dd752cf4722435d2fb7fb3a1b971d4f4fae5142db2b post_extract() { sed -i "s|usr/games|usr/bin|g" Makefile From df5e7f3f35f3fda1982df7addc6493482ea33fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:51 +0700 Subject: [PATCH 02/20] geary: rebuild with libicu78 --- srcpkgs/geary/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/geary/template b/srcpkgs/geary/template index b14078af104ad9..d08131336910d7 100644 --- a/srcpkgs/geary/template +++ b/srcpkgs/geary/template @@ -1,7 +1,7 @@ # Template file for 'geary' pkgname=geary version=46.0 -revision=2 +revision=3 build_helper="gir" build_style=meson configure_args="-Dprofile=release -Dcontractor=enabled" From 8df8bdc5bdd01dee1556e335555a0f9915085b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:51 +0700 Subject: [PATCH 03/20] gnustep-base: rebuild with libicu78 --- srcpkgs/gnustep-base/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gnustep-base/template b/srcpkgs/gnustep-base/template index 44491b7094c08d..46b065e47e7d35 100644 --- a/srcpkgs/gnustep-base/template +++ b/srcpkgs/gnustep-base/template @@ -1,7 +1,7 @@ # Template file for 'gnustep-base' pkgname=gnustep-base version=1.31.1 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="gnustep-make gcc-objc pkg-config which tar" makedepends="libobjc-devel libffi-devel libxml2-devel gnutls-devel From f78d1575943ee912662ada26a6149065879e8002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:52 +0700 Subject: [PATCH 04/20] gnustep-gui: rebuild with libicu78 --- srcpkgs/gnustep-gui/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gnustep-gui/template b/srcpkgs/gnustep-gui/template index 44656dc94e22dd..b1998f7830a6b0 100644 --- a/srcpkgs/gnustep-gui/template +++ b/srcpkgs/gnustep-gui/template @@ -1,7 +1,7 @@ # Template file for 'gnustep-gui' pkgname=gnustep-gui version=0.32.0 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="gnustep-make pkg-config tar" makedepends="gnustep-base-devel libjpeg-turbo-devel tiff-devel libpng-devel From ecddf535504d76b4f24faa011815873ca79f8b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:52 +0700 Subject: [PATCH 05/20] kdb: rebuild with libicu78 --- srcpkgs/kdb/patches/cmake-4.patch | 12 ++++++++++++ srcpkgs/kdb/template | 10 ++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/kdb/patches/cmake-4.patch diff --git a/srcpkgs/kdb/patches/cmake-4.patch b/srcpkgs/kdb/patches/cmake-4.patch new file mode 100644 index 00000000000000..9be0ce40ad30e9 --- /dev/null +++ b/srcpkgs/kdb/patches/cmake-4.patch @@ -0,0 +1,12 @@ +--- a/cmake/modules/SetKDbCMakePolicies.cmake ++++ b/cmake/modules/SetKDbCMakePolicies.cmake +@@ -8,9 +8,6 @@ cmake_policy(SET CMP0048 NEW) # for PROJ + cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's Qt5ModuleLocation.cmake + # "Simplify variable reference and escape sequence evaluation" + +-if(POLICY CMP0059) # Don’t treat DEFINITIONS as a built-in directory property. +- cmake_policy(SET CMP0059 OLD) +-endif() + if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3) + cmake_policy(SET CMP0063 NEW) + endif() diff --git a/srcpkgs/kdb/template b/srcpkgs/kdb/template index 57bff38724881a..527199773f07f7 100644 --- a/srcpkgs/kdb/template +++ b/srcpkgs/kdb/template @@ -1,9 +1,11 @@ # Template file for 'kdb' pkgname=kdb version=3.2.0 -revision=10 +revision=11 build_style=cmake -hostmakedepends="extra-cmake-modules doxygen pkg-config kcoreaddons python3" +configure_args="-DCMAKE_CXX_STANDARD=17" +hostmakedepends="extra-cmake-modules doxygen pkg-config kcoreaddons python3 + qt5-qmake qt5-host-tools python3" makedepends="kcoreaddons-devel postgresql-libs-devel libmariadbclient-devel sqlite-devel" short_desc="Database connectivity and creation framework" @@ -13,10 +15,6 @@ homepage="http://www.kexi-project.org/" distfiles="${KDE_SITE}/kdb/src/kdb-${version}.tar.xz" checksum=8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069 -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-qmake qt5-host-tools python3" -fi - kdb-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" From b8a183086c54aaddb82f4e1cd3102f8f14263238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:52 +0700 Subject: [PATCH 06/20] kiwix-lib: rebuild with libicu78 --- srcpkgs/kiwix-lib/patches/icu-78.patch | 14 ++++++++++++++ srcpkgs/kiwix-lib/template | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/kiwix-lib/patches/icu-78.patch diff --git a/srcpkgs/kiwix-lib/patches/icu-78.patch b/srcpkgs/kiwix-lib/patches/icu-78.patch new file mode 100644 index 00000000000000..b7bfed3560aa44 --- /dev/null +++ b/srcpkgs/kiwix-lib/patches/icu-78.patch @@ -0,0 +1,14 @@ +--- a/meson.build ++++ b/meson.build +@@ -20,7 +20,10 @@ if (compiler.get_id() == 'gcc' and build + else + thread_dep = dependency('', required:false) + endif +-libicu_dep = dependency('icu-i18n', static:static_deps) ++libicu_dep = [ ++ dependency('icu-i18n', static:static_deps), ++ dependency('icu-uc', static:static_deps) ++] + pugixml_dep = dependency('pugixml', static:static_deps) + libcurl_dep = dependency('libcurl', static:static_deps) + microhttpd_dep = dependency('libmicrohttpd', static:static_deps) diff --git a/srcpkgs/kiwix-lib/template b/srcpkgs/kiwix-lib/template index ed20d63cebe091..aec85ebf4b0fd3 100644 --- a/srcpkgs/kiwix-lib/template +++ b/srcpkgs/kiwix-lib/template @@ -1,7 +1,7 @@ # Template file for 'kiwix-lib' pkgname=kiwix-lib version=14.0.0 -revision=2 +revision=3 build_style=meson hostmakedepends="pkg-config" makedepends="icu-devel libzim-devel pugixml-devel xapian-core-devel From 90cad97a785e4531f12d60f83d32bc8e5c55824f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:52 +0700 Subject: [PATCH 07/20] liblcf: rebuild with libicu78 --- srcpkgs/liblcf/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/liblcf/template b/srcpkgs/liblcf/template index 8e1623233b31fe..9955522a7e4068 100644 --- a/srcpkgs/liblcf/template +++ b/srcpkgs/liblcf/template @@ -1,7 +1,7 @@ # Template file for 'liblcf' pkgname=liblcf version=0.8.1 -revision=1 +revision=2 build_style=cmake hostmakedepends="pkg-config" makedepends="expat-devel icu-devel inih-devel" From 3f1dc7fdb46a75e002c2cf7efa1aa4c39e581bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:52 +0700 Subject: [PATCH 08/20] mozjs115: rebuild with libicu78 --- ...{armv6l-isb.patch => 018-armv6l-isb.patch} | 0 ...-ppc32.patch => 019-fix-build-ppc32.patch} | 0 ...fdlibm.patch => 020-fix-i386-fdlibm.patch} | 0 ...ST_LTO.patch => 021-MOZ_NO_RUST_LTO.patch} | 0 .../mozjs115/patches/022-python-3.14.patch | 53 +++++++++++++++++++ srcpkgs/mozjs115/patches/023-icu-78.patch | 11 ++++ srcpkgs/mozjs115/template | 4 +- 7 files changed, 66 insertions(+), 2 deletions(-) rename srcpkgs/mozjs115/patches/{armv6l-isb.patch => 018-armv6l-isb.patch} (100%) rename srcpkgs/mozjs115/patches/{fix-build-ppc32.patch => 019-fix-build-ppc32.patch} (100%) rename srcpkgs/mozjs115/patches/{fix-i386-fdlibm.patch => 020-fix-i386-fdlibm.patch} (100%) rename srcpkgs/mozjs115/patches/{MOZ_NO_RUST_LTO.patch => 021-MOZ_NO_RUST_LTO.patch} (100%) create mode 100644 srcpkgs/mozjs115/patches/022-python-3.14.patch create mode 100644 srcpkgs/mozjs115/patches/023-icu-78.patch diff --git a/srcpkgs/mozjs115/patches/armv6l-isb.patch b/srcpkgs/mozjs115/patches/018-armv6l-isb.patch similarity index 100% rename from srcpkgs/mozjs115/patches/armv6l-isb.patch rename to srcpkgs/mozjs115/patches/018-armv6l-isb.patch diff --git a/srcpkgs/mozjs115/patches/fix-build-ppc32.patch b/srcpkgs/mozjs115/patches/019-fix-build-ppc32.patch similarity index 100% rename from srcpkgs/mozjs115/patches/fix-build-ppc32.patch rename to srcpkgs/mozjs115/patches/019-fix-build-ppc32.patch diff --git a/srcpkgs/mozjs115/patches/fix-i386-fdlibm.patch b/srcpkgs/mozjs115/patches/020-fix-i386-fdlibm.patch similarity index 100% rename from srcpkgs/mozjs115/patches/fix-i386-fdlibm.patch rename to srcpkgs/mozjs115/patches/020-fix-i386-fdlibm.patch diff --git a/srcpkgs/mozjs115/patches/MOZ_NO_RUST_LTO.patch b/srcpkgs/mozjs115/patches/021-MOZ_NO_RUST_LTO.patch similarity index 100% rename from srcpkgs/mozjs115/patches/MOZ_NO_RUST_LTO.patch rename to srcpkgs/mozjs115/patches/021-MOZ_NO_RUST_LTO.patch diff --git a/srcpkgs/mozjs115/patches/022-python-3.14.patch b/srcpkgs/mozjs115/patches/022-python-3.14.patch new file mode 100644 index 00000000000000..91f7e4dde40181 --- /dev/null +++ b/srcpkgs/mozjs115/patches/022-python-3.14.patch @@ -0,0 +1,53 @@ +--- a/python/mozbuild/mozbuild/frontend/reader.py ++++ b/python/mozbuild/mozbuild/frontend/reader.py +@@ -477,7 +477,7 @@ class TemplateFunction(object): + return c( + ast.Subscript( + value=c(ast.Name(id=self._global_name, ctx=ast.Load())), +- slice=c(ast.Index(value=c(ast.Str(s=node.id)))), ++ slice=c(ast.Index(value=c(ast.Constant(value=node.id)))), + ctx=node.ctx, + ) + ) +@@ -1010,7 +1010,7 @@ class BuildReader(object): + else: + # Others + assert isinstance(target.slice, ast.Index) +- assert isinstance(target.slice.value, ast.Str) ++ assert isinstance(target.slice.value, ast.Constant) + key = target.slice.value.s + + return name, key +@@ -1019,10 +1019,10 @@ class BuildReader(object): + value = node.value + if isinstance(value, ast.List): + for v in value.elts: +- assert isinstance(v, ast.Str) ++ assert isinstance(v, ast.Constant) + yield v.s + else: +- assert isinstance(value, ast.Str) ++ assert isinstance(value, ast.Constant) + yield value.s + + assignments = [] +--- a/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py ++++ b/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py +@@ -336,15 +336,13 @@ def assignment_node_to_source_filename_l + """ + if isinstance(node.value, ast.List) and "elts" in node.value._fields: + for f in node.value.elts: +- if not isinstance(f, ast.Constant) and not isinstance(f, ast.Str): ++ if not isinstance(f, ast.Constant): + log( + "Found non-constant source file name in list: ", + ast_get_source_segment(code, f), + ) + return [] +- return [ +- f.value if isinstance(f, ast.Constant) else f.s for f in node.value.elts +- ] ++ return [f.value for f in node.value.elts] + elif isinstance(node.value, ast.ListComp): + # SOURCES += [f for f in foo if blah] + log("Could not find the files for " + ast_get_source_segment(code, node.value)) diff --git a/srcpkgs/mozjs115/patches/023-icu-78.patch b/srcpkgs/mozjs115/patches/023-icu-78.patch new file mode 100644 index 00000000000000..3fcbd708996201 --- /dev/null +++ b/srcpkgs/mozjs115/patches/023-icu-78.patch @@ -0,0 +1,11 @@ +--- a/js/moz.configure ++++ b/js/moz.configure +@@ -1104,7 +1104,7 @@ set_define( + # ====================================================== + system_lib_option("--with-system-icu", help="Use system ICU") + +-system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1", when="--with-system-icu") ++system_icu = pkg_check_modules("MOZ_ICU", "icu-uc icu-i18n >= 73.1", when="--with-system-icu") + + + @depends("--with-system-icu") diff --git a/srcpkgs/mozjs115/template b/srcpkgs/mozjs115/template index 5f311c2367ed09..9dba043ee862f5 100644 --- a/srcpkgs/mozjs115/template +++ b/srcpkgs/mozjs115/template @@ -1,7 +1,7 @@ # Template file for 'mozjs115' pkgname=mozjs115 version=115.8.0 -revision=1 +revision=2 build_wrksrc=js/src build_style=gnu-configure build_helper=rust @@ -12,7 +12,7 @@ configure_args="--disable-jemalloc --disable-strip --disable-tests \ --with-system-nspr --with-system-zlib --enable-hardening --enable-release" hostmakedepends="make pkg-config python3 python3-setuptools python3-six perl m4 rust cargo llvm19 clang19" -makedepends="libicu73-devel libffi-devel nspr-devel python3-devel readline-devel +makedepends="icu-devel libffi-devel nspr-devel python3-devel readline-devel zlib-devel rust-std" checkdepends="python3" short_desc="SpiderMonkey JavaScript interpreter and library (115.x)" From 03faf84ea61d466387689f640c42ebd95b8ac61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:52 +0700 Subject: [PATCH 09/20] mozjs128: rebuild with libicu78 --- ...{armv6l-isb.patch => 018-armv6l-isb.patch} | 0 ...a931a46c78.patch => 019-python-3.11.patch} | 0 ...-ppc32.patch => 020-fix-build-ppc32.patch} | 0 ...fdlibm.patch => 021-fix-i386-fdlibm.patch} | 0 ...ST_LTO.patch => 022-MOZ_NO_RUST_LTO.patch} | 0 srcpkgs/mozjs128/patches/023-icu-78.patch | 11 ++++ .../mozjs128/patches/024-python-3.14.patch | 53 +++++++++++++++++++ srcpkgs/mozjs128/template | 2 +- 8 files changed, 65 insertions(+), 1 deletion(-) rename srcpkgs/mozjs128/patches/{armv6l-isb.patch => 018-armv6l-isb.patch} (100%) rename srcpkgs/mozjs128/patches/{d535cd70e034b4ccdccf8b7d9243ffa931a46c78.patch => 019-python-3.11.patch} (100%) rename srcpkgs/mozjs128/patches/{fix-build-ppc32.patch => 020-fix-build-ppc32.patch} (100%) rename srcpkgs/mozjs128/patches/{fix-i386-fdlibm.patch => 021-fix-i386-fdlibm.patch} (100%) rename srcpkgs/mozjs128/patches/{MOZ_NO_RUST_LTO.patch => 022-MOZ_NO_RUST_LTO.patch} (100%) create mode 100644 srcpkgs/mozjs128/patches/023-icu-78.patch create mode 100644 srcpkgs/mozjs128/patches/024-python-3.14.patch diff --git a/srcpkgs/mozjs128/patches/armv6l-isb.patch b/srcpkgs/mozjs128/patches/018-armv6l-isb.patch similarity index 100% rename from srcpkgs/mozjs128/patches/armv6l-isb.patch rename to srcpkgs/mozjs128/patches/018-armv6l-isb.patch diff --git a/srcpkgs/mozjs128/patches/d535cd70e034b4ccdccf8b7d9243ffa931a46c78.patch b/srcpkgs/mozjs128/patches/019-python-3.11.patch similarity index 100% rename from srcpkgs/mozjs128/patches/d535cd70e034b4ccdccf8b7d9243ffa931a46c78.patch rename to srcpkgs/mozjs128/patches/019-python-3.11.patch diff --git a/srcpkgs/mozjs128/patches/fix-build-ppc32.patch b/srcpkgs/mozjs128/patches/020-fix-build-ppc32.patch similarity index 100% rename from srcpkgs/mozjs128/patches/fix-build-ppc32.patch rename to srcpkgs/mozjs128/patches/020-fix-build-ppc32.patch diff --git a/srcpkgs/mozjs128/patches/fix-i386-fdlibm.patch b/srcpkgs/mozjs128/patches/021-fix-i386-fdlibm.patch similarity index 100% rename from srcpkgs/mozjs128/patches/fix-i386-fdlibm.patch rename to srcpkgs/mozjs128/patches/021-fix-i386-fdlibm.patch diff --git a/srcpkgs/mozjs128/patches/MOZ_NO_RUST_LTO.patch b/srcpkgs/mozjs128/patches/022-MOZ_NO_RUST_LTO.patch similarity index 100% rename from srcpkgs/mozjs128/patches/MOZ_NO_RUST_LTO.patch rename to srcpkgs/mozjs128/patches/022-MOZ_NO_RUST_LTO.patch diff --git a/srcpkgs/mozjs128/patches/023-icu-78.patch b/srcpkgs/mozjs128/patches/023-icu-78.patch new file mode 100644 index 00000000000000..ec6b231e33bb17 --- /dev/null +++ b/srcpkgs/mozjs128/patches/023-icu-78.patch @@ -0,0 +1,11 @@ +--- a/js/moz.configure ++++ b/js/moz.configure +@@ -1305,7 +1305,7 @@ def enable_system_icu_option(enable_syst + return enable_system_icu + + +-system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1", when="--with-system-icu") ++system_icu = pkg_check_modules("MOZ_ICU", "icu-uc icu-i18n >= 73.1", when="--with-system-icu") + + + @depends(enable_system_icu_option) diff --git a/srcpkgs/mozjs128/patches/024-python-3.14.patch b/srcpkgs/mozjs128/patches/024-python-3.14.patch new file mode 100644 index 00000000000000..034d8ec1bc4cb1 --- /dev/null +++ b/srcpkgs/mozjs128/patches/024-python-3.14.patch @@ -0,0 +1,53 @@ +--- a/python/mozbuild/mozbuild/frontend/reader.py ++++ b/python/mozbuild/mozbuild/frontend/reader.py +@@ -470,7 +470,7 @@ class TemplateFunction(object): + return c( + ast.Subscript( + value=c(ast.Name(id=self._global_name, ctx=ast.Load())), +- slice=c(ast.Index(value=c(ast.Str(s=node.id)))), ++ slice=c(ast.Index(value=c(ast.Constant(value=node.id)))), + ctx=node.ctx, + ) + ) +@@ -1035,7 +1035,7 @@ class BuildReader(object): + else: + # Others + assert isinstance(target.slice, ast.Index) +- assert isinstance(target.slice.value, ast.Str) ++ assert isinstance(target.slice.value, ast.Constant) + key = target.slice.value.s + + return name, key +@@ -1044,10 +1044,10 @@ class BuildReader(object): + value = node.value + if isinstance(value, ast.List): + for v in value.elts: +- assert isinstance(v, ast.Str) ++ assert isinstance(v, ast.Constant) + yield v.s + else: +- assert isinstance(value, ast.Str) ++ assert isinstance(value, ast.Constant) + yield value.s + + assignments = [] +--- a/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py ++++ b/python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py +@@ -327,15 +327,13 @@ def assignment_node_to_source_filename_l + """ + if isinstance(node.value, ast.List) and "elts" in node.value._fields: + for f in node.value.elts: +- if not isinstance(f, ast.Constant) and not isinstance(f, ast.Str): ++ if not isinstance(f, ast.Constant): + log( + "Found non-constant source file name in list: ", + ast_get_source_segment(code, f), + ) + return [] +- return [ +- f.value if isinstance(f, ast.Constant) else f.s for f in node.value.elts +- ] ++ return [f.value for f in node.value.elts] + elif isinstance(node.value, ast.ListComp): + # SOURCES += [f for f in foo if blah] + log("Could not find the files for " + ast_get_source_segment(code, node.value)) diff --git a/srcpkgs/mozjs128/template b/srcpkgs/mozjs128/template index 1a56366d7b4f9d..7870f82f9e2d48 100644 --- a/srcpkgs/mozjs128/template +++ b/srcpkgs/mozjs128/template @@ -1,7 +1,7 @@ # Template file for 'mozjs128' pkgname=mozjs128 version=128.7.0 -revision=2 +revision=3 build_wrksrc=js/src build_style=gnu-configure build_helper=rust From a98c691697c222eb747a846894a57136736299d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 10/20] neovide: rebuild with libicu78 --- srcpkgs/neovide/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/neovide/template b/srcpkgs/neovide/template index 601916256326f8..fa84626698b030 100644 --- a/srcpkgs/neovide/template +++ b/srcpkgs/neovide/template @@ -1,7 +1,7 @@ # Template file for 'neovide' pkgname=neovide version=0.15.1 -revision=2 +revision=3 archs="x86_64* aarch64*" # the skia-bindings crate only supports these archs build_style=cargo hostmakedepends="pkg-config clang ninja python gn curl git" From 78d1c7310d784c630fa355c7b61fd9741892c944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 11/20] nuspell: rebuild with libicu78 --- srcpkgs/nuspell/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/nuspell/template b/srcpkgs/nuspell/template index 6f606fb7351024..a03626cec6416b 100644 --- a/srcpkgs/nuspell/template +++ b/srcpkgs/nuspell/template @@ -1,7 +1,7 @@ # Template file for 'nuspell' pkgname=nuspell version=5.1.6 -revision=2 +revision=3 build_style=cmake configure_args="-DBUILD_SHARED_LIBS=ON" hostmakedepends="pandoc" From 385adace0d44f6798d53ff51a425261c32d03c1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 12/20] peaclock: rebuild with libicu78 --- srcpkgs/peaclock/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/peaclock/template b/srcpkgs/peaclock/template index 4618c2ae5582ac..788bc330c19466 100644 --- a/srcpkgs/peaclock/template +++ b/srcpkgs/peaclock/template @@ -1,7 +1,7 @@ # Template file for 'peaclock' pkgname=peaclock version=0.4.3 -revision=6 +revision=7 build_style=cmake makedepends="icu-devel" short_desc="Colourful binary clock for the terminal" From 75efb50ddca6a1b4400933d943747b714869839c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 13/20] php8.2: rebuild with libicu78 --- srcpkgs/php8.2/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/php8.2/template b/srcpkgs/php8.2/template index 9d9c9edf218817..5d8a8c21a6bd7b 100644 --- a/srcpkgs/php8.2/template +++ b/srcpkgs/php8.2/template @@ -2,7 +2,7 @@ # rebuild php8.2-apcu and php8.2-imagick when updating this package pkgname=php8.2 version=8.2.26 -revision=1 +revision=2 _php_version=8.2 build_helper="qemu" hostmakedepends="bison pkg-config apache-devel autoconf" From 33ad882c5ffeaab4e317db2baece0f3d2a8319a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 14/20] php8.3: rebuild with libicu78 --- srcpkgs/php8.3/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/php8.3/template b/srcpkgs/php8.3/template index 433314bae525a5..57927c1c496ff4 100644 --- a/srcpkgs/php8.3/template +++ b/srcpkgs/php8.3/template @@ -2,7 +2,7 @@ # rebuild php8.3-apcu and php8.3-imagick when updating this package pkgname=php8.3 version=8.3.14 -revision=1 +revision=2 _php_version=8.3 build_helper="qemu" hostmakedepends="bison pkg-config apache-devel autoconf" From 1dedb0e13832ac0a6400af3aed47b0ca072f5c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 15/20] php8.4: rebuild with libicu78 --- srcpkgs/php8.4/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/php8.4/template b/srcpkgs/php8.4/template index 75d1ac479eca90..882ac5fe8e45b0 100644 --- a/srcpkgs/php8.4/template +++ b/srcpkgs/php8.4/template @@ -2,7 +2,7 @@ # rebuild php8.4-apcu and php8.4-imagick when updating this package pkgname=php8.4 version=8.4.7 -revision=1 +revision=2 _php_version=8.4 build_helper="qemu" hostmakedepends="bison pkg-config apache apache-devel autoconf" From 107bedc27fd19aacd54b6e2a326f974c25d2b0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:53 +0700 Subject: [PATCH 16/20] rspamd: rebuild with libicu78 --- srcpkgs/rspamd/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/rspamd/template b/srcpkgs/rspamd/template index 87cbe96b8b957c..ddd46d66f58559 100644 --- a/srcpkgs/rspamd/template +++ b/srcpkgs/rspamd/template @@ -1,7 +1,7 @@ # Template file for 'rspamd' pkgname=rspamd version=1.9.4 -revision=11 +revision=12 archs="x86_64* i686* aarch64* armv[67]* ppc64*" build_style=cmake configure_args="-DRSPAMD_USER=rspamd -DCONFDIR=/etc/rspamd @@ -38,14 +38,13 @@ if [ "$CROSS_BUILD" ]; then fi pre_configure() { - case "$XBPS_TARGET_MACHINE" in - *-musl) # Remove non existing library nsl - vsed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d" - esac + if [ "$XBPS_TARGET_LIBC" = musl ]; then + vsed -i CMakeLists.txt -e "/LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl)/d" + fi if [ "$CROSS_BUILD" ]; then configure_args+=" -C ${FILESDIR}/TryRunResults.cmake" mkdir -p build_native - ( cd build_native; LD= CC= CFLAGS= LDFLAGS= cmake .. ) + ( cd build_native; LD= CC= CFLAGS= LDFLAGS= cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. ) fi } From 1b232c2d5c70ccde0c0968c7badd16e580dd4d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:54 +0700 Subject: [PATCH 17/20] sile: rebuild with libicu78 --- srcpkgs/sile/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/sile/template b/srcpkgs/sile/template index dcbe316eca5f19..378e6ac64234cc 100644 --- a/srcpkgs/sile/template +++ b/srcpkgs/sile/template @@ -1,7 +1,7 @@ # Template file for 'sile' pkgname=sile version=0.15.13 -revision=1 +revision=2 build_style=gnu-configure build_helper=rust configure_args="--with-system-lua-sources --with-system-luarocks --disable-emdedded-resources" From 6efa032c5af2064471e111cfe02b4a24ed6c7ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:54 +0700 Subject: [PATCH 18/20] tectonic: rebuild with libicu78 --- srcpkgs/tectonic/patches/ftbfs.patch | 11 +++++++++++ srcpkgs/tectonic/patches/icu-78.patch | 22 ++++++++++++++++++++++ srcpkgs/tectonic/template | 8 ++++++-- 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/tectonic/patches/ftbfs.patch create mode 100644 srcpkgs/tectonic/patches/icu-78.patch diff --git a/srcpkgs/tectonic/patches/ftbfs.patch b/srcpkgs/tectonic/patches/ftbfs.patch new file mode 100644 index 00000000000000..575121b87996cc --- /dev/null +++ b/srcpkgs/tectonic/patches/ftbfs.patch @@ -0,0 +1,11 @@ +--- a/crates/engine_bibtex/src/xbuf.rs ++++ b/crates/engine_bibtex/src/xbuf.rs +@@ -52,7 +52,7 @@ pub unsafe fn xrealloc_zeroed Option<&'static mut [T]> { +- let old_len = (*old).len(); ++ let old_len = (&(*old)).len(); + let new_size = new_len * mem::size_of::(); + // SAFETY: realloc can be called with any size, even 0, that will just deallocate and return null + let ptr = unsafe { xrealloc(old.cast(), new_size) }.cast::(); diff --git a/srcpkgs/tectonic/patches/icu-78.patch b/srcpkgs/tectonic/patches/icu-78.patch new file mode 100644 index 00000000000000..16377adf4674bd --- /dev/null +++ b/srcpkgs/tectonic/patches/icu-78.patch @@ -0,0 +1,22 @@ +--- a/crates/engine_xetex/build.rs ++++ b/crates/engine_xetex/build.rs +@@ -184,7 +184,7 @@ const C_FILES: &[&str] = &[ + ]; + + const CXX_FLAGS: &[&str] = &[ +- "-std=c++14", ++ "-std=c++17", + "-Wall", + "-Wdate-time", + "-Wendif-labels", +--- a/crates/xetex_layout/build.rs ++++ b/crates/xetex_layout/build.rs +@@ -86,7 +86,7 @@ fn main() { + let mut cppcfg = cc::Build::new(); + + let cppflags = [ +- "-std=c++14", ++ "-std=c++17", + "-Wall", + "-Wdate-time", + "-Wendif-labels", diff --git a/srcpkgs/tectonic/template b/srcpkgs/tectonic/template index e2d65c4e240e3c..1465f43cf17f69 100644 --- a/srcpkgs/tectonic/template +++ b/srcpkgs/tectonic/template @@ -1,7 +1,7 @@ # Template file for 'tectonic' pkgname=tectonic version=0.15.0 -revision=2 +revision=3 build_style=cargo configure_args="--features=external-harfbuzz" hostmakedepends="pkg-config" @@ -14,7 +14,11 @@ homepage="https://tectonic-typesetting.github.io" changelog="https://raw.githubusercontent.com/tectonic-typesetting/tectonic/release/CHANGELOG.md" distfiles="https://github.com/tectonic-typesetting/tectonic/archive/tectonic@${version}.tar.gz" checksum=3c13de312c4fe39ff905ad17e64a15a3a59d33ab65dacb0a8b9482c57e6bc6aa -broken=yes +# broken=yes + +pre_patch() { + cargo update --package time@0.3.34 --precise 0.3.47 +} post_install() { vlicense LICENSE From 58b2d609f1959ae38963de8725a7918e97aa6beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 17 Mar 2026 13:37:54 +0700 Subject: [PATCH 19/20] xerces-c: rebuild with libicu78 --- srcpkgs/xerces-c/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/xerces-c/template b/srcpkgs/xerces-c/template index 9da01274b50f91..7ac01fb0b4049e 100644 --- a/srcpkgs/xerces-c/template +++ b/srcpkgs/xerces-c/template @@ -1,7 +1,7 @@ # Template file for 'xerces-c' pkgname=xerces-c version=3.2.5 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="libcurl-devel icu-devel" From b88db0fa60d152905a001c675b58194c8f215dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 19 Mar 2026 09:36:34 +0700 Subject: [PATCH 20/20] libicu73: remove package --- srcpkgs/icu-libs | 1 - srcpkgs/libicu73-devel | 1 - .../patches/standardize-vtzone-output.patch | 33 ----- srcpkgs/libicu73/template | 124 ------------------ srcpkgs/removed-packages/template | 2 + 5 files changed, 2 insertions(+), 159 deletions(-) delete mode 120000 srcpkgs/icu-libs delete mode 120000 srcpkgs/libicu73-devel delete mode 100644 srcpkgs/libicu73/patches/standardize-vtzone-output.patch delete mode 100644 srcpkgs/libicu73/template diff --git a/srcpkgs/icu-libs b/srcpkgs/icu-libs deleted file mode 120000 index d82cfe3c4998ab..00000000000000 --- a/srcpkgs/icu-libs +++ /dev/null @@ -1 +0,0 @@ -libicu73 \ No newline at end of file diff --git a/srcpkgs/libicu73-devel b/srcpkgs/libicu73-devel deleted file mode 120000 index d82cfe3c4998ab..00000000000000 --- a/srcpkgs/libicu73-devel +++ /dev/null @@ -1 +0,0 @@ -libicu73 \ No newline at end of file diff --git a/srcpkgs/libicu73/patches/standardize-vtzone-output.patch b/srcpkgs/libicu73/patches/standardize-vtzone-output.patch deleted file mode 100644 index 7274f539991a74..00000000000000 --- a/srcpkgs/libicu73/patches/standardize-vtzone-output.patch +++ /dev/null @@ -1,33 +0,0 @@ -Patch-Source: https://github.com/chimera-linux/cports/blob/c48ec38c2d88f6e5962299583a8f862159c89349/main/icu/patches/standardize-vtzone-output.patch -https://bugzilla.mozilla.org/show_bug.cgi?id=1790071 -https://unicode-org.atlassian.net/browse/ICU-22132 -needed for thunderbird --- -diff --git a/intl/icu/source/i18n/vtzone.cpp b/intl/icu/source/i18n/vtzone.cpp ---- a/source/i18n/vtzone.cpp -+++ b/source/i18n/vtzone.cpp -@@ -1735,14 +1735,17 @@ VTimeZone::write(VTZWriter& writer, UErr - } - } - } else { -- UnicodeString icutzprop; -- UVector customProps(nullptr, uhash_compareUnicodeString, status); -+ UVector customProps(uprv_deleteUObject, uhash_compareUnicodeString, status); - if (olsonzid.length() > 0 && icutzver.length() > 0) { -- icutzprop.append(olsonzid); -- icutzprop.append(u'['); -- icutzprop.append(icutzver); -- icutzprop.append(u']'); -- customProps.addElement(&icutzprop, status); -+ LocalPointer icutzprop(new UnicodeString(ICU_TZINFO_PROP), status); -+ if (U_FAILURE(status)) { -+ return; -+ } -+ icutzprop->append(olsonzid); -+ icutzprop->append(u'['); -+ icutzprop->append(icutzver); -+ icutzprop->append(u']'); -+ customProps.adoptElement(icutzprop.orphan(), status); - } - writeZone(writer, *tz, &customProps, status); - } diff --git a/srcpkgs/libicu73/template b/srcpkgs/libicu73/template deleted file mode 100644 index 9efdfb8e9dbce6..00000000000000 --- a/srcpkgs/libicu73/template +++ /dev/null @@ -1,124 +0,0 @@ -# Template file for 'libicu73' -pkgname=libicu73 -version=73.2 -revision=6 -build_wrksrc=source -build_style=gnu-configure -# use archive data instead of .so data for correct cross-compiling -configure_args="--with-data-packaging=archive --enable-static" -hostmakedepends="pkg-config" -checkdepends="diffutils python3" -short_desc="Robust and fully-featured Unicode libraries" -maintainer="Orphaned " -license="ICU" -homepage="https://home.unicode.org/" -distfiles="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz" -checksum=818a80712ed3caacd9b652305e01afc7fa167e6f2e94996da44b90c2ab604ce1 -# replaces="icu-libs>=0" -provides="icu-libs-${version}_${revision}" - -CFLAGS="-fPIC -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64" -CXXFLAGS="-fPIC -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64" - -# we will be managing icudata manually, because when cross-compiling for -# another endianness the output data is broken... fortunately, we can use -# icupkg to convert host-endianness data to target-endianness data -_icu_dat="icudt${version%.*}" -_icu_data="source/data/in" - -if [ $XBPS_TARGET_LIBC = musl ]; then - configure_args+=" ac_cv_func_strtod_l=no" -fi - -pre_configure() { - if [ "$CROSS_BUILD" ]; then - # Configure and build for host. - mkdir host-build - ( - cd host-build - env CC=cc LD=ld CXX=g++ AR=ar RANLIB=ranlib \ - AS=as STRIP=strip CFLAGS="-Os -fPIE" CXXFLAGS="-Os -fPIE" \ - LDFLAGS="" ../configure --prefix=/ - make ${makejobs} - mkdir -p ${wrksrc}/host-icu/config - cp config/icucross.* ${wrksrc}/host-icu/config - make DESTDIR=${wrksrc}/host-icu install - mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin - make distclean - ) - configure_args+=" --with-cross-build=${wrksrc}/host-icu" - fi - - # libicudata must be linked to libc, otherwise it's soft-float on ARM. - # probably other stuff breaks too, so let's just do it. - # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457 - sed -e 's,-nostdlib,,g' -i ${wrksrc}/source/config/mh-linux - - export CFLAGS="${CFLAGS} -DICU_DATA_DIR=\\\"/usr/share/icu/${version}\\\"" - export CXXFLAGS="${CFLAGS} -DICU_DATA_DIR=\\\"/usr/share/icu/${version}\\\"" - - # makefile dependency bug: this directory needs to be created manually - mkdir -p ${wrksrc}/source/data/out/tmp -} - -_rm_tools() { - # Remove files of icu-tools - for _file in ${DESTDIR}/usr/bin/* \ - ${DESTDIR}/usr/share/man/man1/*; do - case "${_file}" in - *icu-config*) ;; - *) rm -f ${_file} ;; - esac - done - rm -rf ${DESTDIR}/usr/share/man/man8 -} - -post_install() { - vlicense $wrksrc/LICENSE - _rm_tools - - # for little endian just use the file that's there - if [ "$XBPS_TARGET_ENDIAN" != "be" ]; then - return - fi - - rm -f ${DESTDIR}/usr/share/icu/${version}/${_icu_dat}l.dat - # for big endian, we need to convert the file that's there with icupkg - local _icupkg_path="${DESTDIR}/usr" - if [ "$CROSS_BUILD" ]; then - _icupkg_path="${wrksrc}/host-icu" - fi - - rm -f ${wrksrc}/${_icu_data}/${_icu_dat}b.dat - - LD_LIBRARY_PATH="${_icupkg_path}/lib" ${_icupkg_path}/bin/icupkg -tb \ - ${wrksrc}/${_icu_data}/${_icu_dat}l.dat \ - ${wrksrc}/${_icu_data}/${_icu_dat}b.dat - vinstall ${wrksrc}/${_icu_data}/${_icu_dat}b.dat \ - 0644 usr/share/icu/${version}/ -} - -libicu73-devel_package() { - depends="${sourcepkg}>=${version}_${revision}" - replaces="libicu-devel>=0" - provides="libicu-devel-${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove usr/lib/icu - vmove "usr/lib/*.a" - vmove usr/lib/pkgconfig - vmove usr/share/icu/${version}/config - vmove "usr/share/icu/${version}/*install*" - vmove usr/bin/icu-config - vmove "usr/share/man/man1/icu-config*" - vmove "usr/lib/*.so" - } -} - -icu-libs_package() { - short_desc+=" - transitional package" - lib32mode=full - depends="${sourcepkg}>=${version}_${revision}" - metapackage=yes -} diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index ad66b81212ee2a..fab4e5c55bbfda 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -338,6 +338,7 @@ replaces=" icecat-i18n-zh-CN<=78.6.1_1 icecat-i18n-zh-TW<=78.6.1_1 icecat<=78.6.1_1 + icu-libs<=73.2_6 icu4lua-devel<=0.2B_14 icu4lua<=0.2B_14 ilmbase-devel<=2.4.2_2 @@ -463,6 +464,7 @@ replaces=" libgnome-keyring<=3.12.0_5 libgroff<=1.22.4_3 libgtkhtml<=4.10.0_1 + libicu73<=73.2_6 libkcddb<=24.08.0_1 libksane-devel<=24.08.3_1 libksane<=24.08.3_1