Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] Zig 0.14
@ 2025-03-10 17:32 tranzystorekk
  2025-03-10 17:35 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (30 more replies)
  0 siblings, 31 replies; 32+ messages in thread
From: tranzystorekk @ 2025-03-10 17:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

There is a new pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 7196 bytes --]

From 3789b526b6d2e3fcc829141be28f207f8dba3faf Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/6] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From ae267b6c1a5d94e9e8c507a85992dc9f500ec4e3 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 2/6] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 38b2e0f6e3235d49c6f9b54bfe93f38e84ab2b68 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 3/6] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 5e3a222004feb9b9b53d8ce59836e0f63de1f711 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 4/6] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 45ae79897408ce8d37375a1356be1f5a8794f419 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 5/6] river: update to 0.3.8

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..d87d0e4392bc1c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.8
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=12c18f46df7f61a7069da67f0363e451a496ba55f85d80df7bbc6b4141a22976
 
 build_options="xwayland"
 build_options_default="xwayland"

From 2c702fd405ba2db9cf688f9ed199011ec231c368 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 6/6] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
@ 2025-03-10 17:35 ` tranzystorekk
  2025-03-10 19:21 ` tranzystorekk
                   ` (29 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-03-10 17:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 7196 bytes --]

From 3789b526b6d2e3fcc829141be28f207f8dba3faf Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/6] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From ae267b6c1a5d94e9e8c507a85992dc9f500ec4e3 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 2/6] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 38b2e0f6e3235d49c6f9b54bfe93f38e84ab2b68 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 3/6] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 5e3a222004feb9b9b53d8ce59836e0f63de1f711 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 4/6] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 55b1889d8124acd87afcf748e0dc8518f283cfe3 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 5/6] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From d64211a83c18bc44a54e8faaa648e80be27aa578 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 6/6] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
  2025-03-10 17:35 ` [PR PATCH] [Updated] " tranzystorekk
@ 2025-03-10 19:21 ` tranzystorekk
  2025-03-13 18:01 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (28 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-03-10 19:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2711600165

Comment:
Cross build failures apparently related to https://github.com/ziglang/zig/issues/22704

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
  2025-03-10 17:35 ` [PR PATCH] [Updated] " tranzystorekk
  2025-03-10 19:21 ` tranzystorekk
@ 2025-03-13 18:01 ` tranzystorekk
  2025-04-01 22:06 ` oreo639
                   ` (27 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-03-13 18:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 19669 bytes --]

From c045c06903f4842c5a76be05f5c07223a6bf78a7 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/7] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From 927ed1153be1bec0704668a6e13a4c631e3ff35d Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 2/7] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From f79831c22638276b94c85a0a92ad0be9e289e5d4 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 3/7] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 1acce7091784a06f89ce783e44c620b74c156416 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 4/7] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 6db8dd387bf572f3c8471589770d44f8a5c75df7 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 5/7] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From 23b2afc25fcb88afab29cbbf74810ba39e41cc94 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 6/7] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From 9a2eaa262963b1dc22b79db8c48a1796645713e5 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Thu, 13 Mar 2025 18:58:00 +0100
Subject: [PATCH 7/7] zf: patch for zig 0.14

---
 srcpkgs/zf/patches/zig14.patch | 285 +++++++++++++++++++++++++++++++++
 srcpkgs/zf/template            |   2 +-
 2 files changed, 286 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/zf/patches/zig14.patch

diff --git a/srcpkgs/zf/patches/zig14.patch b/srcpkgs/zf/patches/zig14.patch
new file mode 100644
index 00000000000000..46ab647f4b7db9
--- /dev/null
+++ b/srcpkgs/zf/patches/zig14.patch
@@ -0,0 +1,285 @@
+diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
+index 8e6b7bf..783c8b1 100644
+--- a/.github/workflows/tests.yml
++++ b/.github/workflows/tests.yml
+@@ -20,7 +20,7 @@ jobs:
+     - name: Setup Zig
+       uses: mlugg/setup-zig@v1
+       with:
+-        version: 0.13.0
++        version: 0.14.0
+ 
+     - name: Run tests
+       run: zig build test
+diff --git a/build.zig.zon b/build.zig.zon
+index bec6796..ead683f 100644
+--- a/build.zig.zon
++++ b/build.zig.zon
+@@ -1,11 +1,13 @@
+ .{
+-    .name = "zf",
++    .name = .zf,
++    .fingerprint = 0x30d847eef1728438,
+     .description = "a commandline fuzzy finder designed for filtering filepaths",
+-    .version = "0.10.2",
++    .version = "0.10.3",
+     .dependencies = .{
+         .vaxis = .{
+-            .url = "https://github.com/rockorager/libvaxis/archive/refs/tags/v0.5.1.tar.gz",
+-            .hash = "1220de23a3240e503397ea579de4fd85db422f537e10036ef74717c50164475813ce",
++            .url = "git+https://github.com/rockorager/libvaxis/?ref=main#6a37605dde55898dcca4769dd3eb1e333959c209",
++            .hash = "vaxis-0.1.0-BWNV_K3yCACrTy3A5cbZElLyICx5a2O2EzPxmgVRcbKJ",
++            .lazy = true,
+         },
+     },
+     .paths = .{
+diff --git a/src/tui/EditBuffer.zig b/src/tui/EditBuffer.zig
+index 07520fe..8df9ccd 100644
+--- a/src/tui/EditBuffer.zig
++++ b/src/tui/EditBuffer.zig
+@@ -10,7 +10,7 @@ const ArrayList = std.ArrayList;
+ const EditBuffer = @This();
+ 
+ buffer: ArrayList(u8),
+-cursor: usize,
++cursor: u16,
+ dirty: bool,
+ 
+ pub fn init(allocator: Allocator) EditBuffer {
+@@ -25,8 +25,8 @@ pub fn deinit(eb: *EditBuffer) void {
+     eb.buffer.deinit();
+ }
+ 
+-pub fn len(eb: *const EditBuffer) usize {
+-    return eb.buffer.items.len;
++pub fn len(eb: *const EditBuffer) u16 {
++    return @intCast(eb.buffer.items.len);
+ }
+ 
+ pub fn slice(eb: *EditBuffer) []const u8 {
+@@ -36,7 +36,8 @@ pub fn slice(eb: *EditBuffer) []const u8 {
+ /// Insert utf-8 encoded text into the buffer at the cursor position
+ pub fn insert(eb: *EditBuffer, bytes: []const u8) !void {
+     try eb.buffer.insertSlice(eb.cursor, bytes);
+-    eb.cursor += bytes.len;
++    const bytes_len: u16 = @intCast(bytes.len);
++    eb.cursor += bytes_len;
+     eb.dirty = true;
+ }
+ 
+@@ -64,15 +65,24 @@ pub fn deleteTo(eb: *EditBuffer, pos: usize) void {
+ }
+ 
+ /// Set the cursor to an absolute position
+-pub fn setCursor(eb: *EditBuffer, pos: usize) void {
++pub fn setCursor(eb: *EditBuffer, pos: u16) void {
+     eb.cursor = if (pos > eb.len()) eb.len() else pos;
+ }
+ 
+ /// Move the cursor relative to it's current position
+-pub fn moveCursor(eb: *EditBuffer, amount: usize, direction: Direction) void {
++pub fn moveCursor(eb: *EditBuffer, amount: u16, direction: Direction) void {
+     eb.cursor = switch (direction) {
+         .left => if (amount >= eb.cursor) 0 else eb.cursor - amount,
+-        .right => if (eb.cursor + amount > eb.len()) eb.len() else eb.cursor + amount,
++        .right => blk: {
++            const destination = @addWithOverflow(eb.cursor, amount);
++
++            // if an overflow happened
++            if (destination[1] != 0) {
++                break :blk eb.len();
++            } else {
++                if (destination[0] > eb.len()) break :blk eb.len() else break :blk destination[0];
++            }
++        },
+     };
+ }
+ 
+@@ -103,7 +113,7 @@ test "EditBuffer set and move cursor" {
+     try eb.insert("Ä is for Äpfel 🍎, B is for Bear 🧸");
+ 
+     // test clamping
+-    eb.setCursor(10000);
++    eb.setCursor(65535);
+     try testing.expectEqual(41, eb.cursor);
+     eb.setCursor(0);
+     try testing.expectEqual(0, eb.cursor);
+@@ -124,9 +134,9 @@ test "EditBuffer set and move cursor" {
+     try testing.expectEqualStrings("The Awesome 💥 Alphabet: Ä is for Äpfel 🍎, B is for Bear 🧸 ...", eb.slice());
+ 
+     // clamping
+-    eb.moveCursor(100000, .right);
++    eb.moveCursor(65535, .right);
+     try testing.expectEqual(72, eb.cursor);
+-    eb.moveCursor(100000, .left);
++    eb.moveCursor(65535, .left);
+     try testing.expectEqual(0, eb.cursor);
+ }
+ 
+diff --git a/src/tui/main.zig b/src/tui/main.zig
+index 8044519..af6a2aa 100644
+--- a/src/tui/main.zig
++++ b/src/tui/main.zig
+@@ -11,7 +11,7 @@ const ArrayList = std.ArrayList;
+ const Candidate = candidate.Candidate;
+ const Color = ui.Color;
+ 
+-pub const std_options = .{
++pub const std_options: std.Options = .{
+     .log_level = .err,
+ };
+ 
+diff --git a/src/tui/opts.zig b/src/tui/opts.zig
+index b671865..5600842 100644
+--- a/src/tui/opts.zig
++++ b/src/tui/opts.zig
+@@ -94,7 +94,7 @@ const OptionIter = struct {
+ pub const Config = struct {
+     // Commandline options
+     keep_order: bool = false,
+-    height: usize = 10,
++    height: u16 = 10,
+     filter: ?[]const u8 = null,
+     plain: bool = false,
+     delimiter: []const u8 = "\n",
+@@ -144,7 +144,7 @@ pub fn parse(allocator: Allocator, args: []const []const u8, stderr: File.Writer
+         // height
+         else if (mem.eql(u8, opt, "height") or mem.eql(u8, opt, "l") or mem.eql(u8, opt, "lines")) {
+             const height_str = iter.getArg() orelse missingArg(stderr, iter, opt);
+-            const height = fmt.parseUnsigned(usize, height_str, 10) catch argError(stderr, "height must be an integer");
++            const height = fmt.parseUnsigned(u16, height_str, 10) catch argError(stderr, "height must be an integer");
+             if (height < 2) argError(stderr, "height must be an integer greater than 1");
+             config.height = height;
+         }
+diff --git a/src/tui/ui.zig b/src/tui/ui.zig
+index fa56a5d..1b36d30 100644
+--- a/src/tui/ui.zig
++++ b/src/tui/ui.zig
+@@ -75,7 +75,7 @@ fn numDigits(number: usize) u16 {
+ /// split the query on spaces and return a slice of query tokens
+ pub fn splitQuery(query_tokens: [][]const u8, query: []const u8) [][]const u8 {
+     var index: u8 = 0;
+-    var it = std.mem.tokenize(u8, query, " ");
++    var it = std.mem.tokenizeScalar(u8, query, ' ');
+     while (it.next()) |token| : (index += 1) {
+         if (index == query_tokens.len) break;
+         query_tokens[index] = token;
+@@ -298,18 +298,18 @@ pub const State = struct {
+         win.clear();
+ 
+         const width = state.vx.screen.width;
+-        const preview_width: usize = if (state.preview) |_|
++        const preview_width: u16 = if (state.preview) |_|
+             @intFromFloat(@as(f64, @floatFromInt(width)) * state.config.preview_width)
+         else
+             0;
+ 
+         const items_width = width - preview_width;
+-        const items = win.child(.{ .height = .{ .limit = state.config.height }, .width = .{ .limit = items_width } });
++        const items = win.child(.{ .height = state.config.height, .width = items_width });
+ 
+         const height = @min(state.vx.screen.height, state.config.height);
+ 
+         // draw the candidates
+-        var line: usize = 0;
++        var line: u16 = 0;
+         while (line < height - 1) : (line += 1) {
+             if (line < candidates.len) state.drawCandidate(
+                 items,
+@@ -328,18 +328,18 @@ pub const State = struct {
+             if (num_selected > 0) {
+                 const stats = try std.fmt.bufPrint(&buf, "{}/{} [{}]", .{ candidates.len, total_candidates, num_selected });
+                 const stats_width = numDigits(candidates.len) + numDigits(total_candidates) + numDigits(num_selected) + 4;
+-                _ = try items.printSegment(.{ .text = stats }, .{ .col_offset = items_width - stats_width, .row_offset = 0 });
++                _ = items.printSegment(.{ .text = stats }, .{ .col_offset = items_width - stats_width, .row_offset = 0 });
+             } else {
+                 const stats = try std.fmt.bufPrint(&buf, "{}/{}", .{ candidates.len, total_candidates });
+                 const stats_width = numDigits(candidates.len) + numDigits(total_candidates) + 1;
+-                _ = try items.printSegment(.{ .text = stats }, .{ .col_offset = items_width - stats_width, .row_offset = 0 });
++                _ = items.printSegment(.{ .text = stats }, .{ .col_offset = items_width - stats_width, .row_offset = 0 });
+             }
+         }
+ 
+         // draw the prompt
+         // TODO: handle display of queries longer than the screen width
+         // const query_width = state.query.slice().len;
+-        _ = try items.print(&.{
++        _ = items.print(&.{
+             .{ .text = state.config.prompt },
+             .{ .text = state.query.slice() },
+         }, .{ .col_offset = 0, .row_offset = 0 });
+@@ -349,15 +349,16 @@ pub const State = struct {
+             const preview_win = win.child(.{
+                 .x_off = items_width,
+                 .y_off = 0,
+-                .height = .{ .limit = state.config.height },
+-                .width = .{ .limit = preview_width },
++                .height = state.config.height,
++                .width = preview_width,
+                 .border = .{ .where = .left },
+             });
+ 
+             var lines = std.mem.splitScalar(u8, preview.output, '\n');
+-            for (0..height) |l| {
++            for (0..height) |captured_l| {
++                const l: u16 = @intCast(captured_l);
+                 if (lines.next()) |preview_line| {
+-                    _ = try preview_win.printSegment(
++                    _ = preview_win.printSegment(
+                         .{ .text = preview_line },
+                         .{ .row_offset = l, .wrap = .none },
+                     );
+@@ -365,14 +366,15 @@ pub const State = struct {
+             }
+         }
+ 
+-        items.showCursor(state.config.prompt.len + state.query.cursor, 0);
++        const config_prompt_len: u16 = @intCast(state.config.prompt.len);
++        items.showCursor(config_prompt_len + state.query.cursor, 0);
+         try state.vx.render(state.tty.anyWriter());
+     }
+ 
+     fn drawCandidate(
+         state: *State,
+         win: vaxis.Window,
+-        line: usize,
++        line: u16,
+         str: []const u8,
+         tokens: [][]const u8,
+         selected: bool,
+@@ -383,7 +385,7 @@ pub const State = struct {
+ 
+         // no highlights, just output the string
+         if (matches.len == 0) {
+-            _ = try win.print(&.{
++            _ = win.print(&.{
+                 .{ .text = if (selected) "* " else "  " },
+                 .{
+                     .text = str,
+@@ -397,7 +399,7 @@ pub const State = struct {
+         } else {
+             var slicer = HighlightSlicer.init(str, matches);
+ 
+-            var res = try win.printSegment(.{
++            var res = win.printSegment(.{
+                 .text = if (selected) "* " else "  ",
+             }, .{
+                 .row_offset = line,
+@@ -413,7 +415,7 @@ pub const State = struct {
+                     } else .default,
+                 };
+ 
+-                res = try win.printSegment(.{
++                res = win.printSegment(.{
+                     .text = slice.str,
+                     .style = highlight_style,
+                 }, .{
+@@ -428,6 +430,8 @@ pub const State = struct {
+ 
+ /// Deletes a word to the left of the cursor. Words are separated by space or slash characters
+ fn deleteWord(query: *EditBuffer) void {
++    if (query.cursor == 0) return;
++
+     var slice = query.slice()[0..query.cursor];
+     var end = slice.len - 1;
+ 
diff --git a/srcpkgs/zf/template b/srcpkgs/zf/template
index 841fccdc64308e..a2472fc692fcdd 100644
--- a/srcpkgs/zf/template
+++ b/srcpkgs/zf/template
@@ -1,7 +1,7 @@
 # Template file for 'zf'
 pkgname=zf
 version=0.10.2
-revision=1
+revision=2
 build_style=zig-build
 configure_args="-Dpie"
 short_desc="Commandline fuzzy finder designed for filtering filepaths"

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (2 preceding siblings ...)
  2025-03-13 18:01 ` [PR PATCH] [Updated] " tranzystorekk
@ 2025-04-01 22:06 ` oreo639
  2025-04-22 12:33 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (26 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: oreo639 @ 2025-04-01 22:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2770791527

Comment:
This is what changed: https://github.com/ziglang/zig/blob/master/src/main.zig#L3997-L4008
https://github.com/ziglang/zig/commit/e567abb339e1edaf5a3c86fe632522a3b8005275

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (3 preceding siblings ...)
  2025-04-01 22:06 ` oreo639
@ 2025-04-22 12:33 ` tranzystorekk
  2025-04-22 12:34 ` tranzystorekk
                   ` (25 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-22 12:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 7196 bytes --]

From 705779ee753c7606bc323823f1884414edb4bb47 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/6] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From c66ab528dacdf11e01b6a5bbae55a97c40103ea0 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 2/6] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From fcd45308a06c2f6c9d532ac91cc5be6f48b70918 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 3/6] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 204c512bf621477778d82d387f8eede3b42271ee Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 4/6] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 6f1c116d7f5ed8577ce5716ef2ef0fbe0e5c5393 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 5/6] river: update to 0.3.8

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..d87d0e4392bc1c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.8
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=12c18f46df7f61a7069da67f0363e451a496ba55f85d80df7bbc6b4141a22976
 
 build_options="xwayland"
 build_options_default="xwayland"

From fc10132b26250fa793a93fc4824ad22761187089 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 6/6] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (4 preceding siblings ...)
  2025-04-22 12:33 ` [PR PATCH] [Updated] " tranzystorekk
@ 2025-04-22 12:34 ` tranzystorekk
  2025-04-22 18:21 ` tranzystorekk
                   ` (24 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-22 12:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 7196 bytes --]

From b77d0bf38655626d8f588c9e6bab4e1a3366fce6 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/6] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From 29dde2c627402fb0054fec0012334fa3a9754d92 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 2/6] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 9b7e3d3f0b872813bf100407f8abfcaf66b9e9ee Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 3/6] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 1c3790450ab9acfd0a0b87d3cb0e4ae84773210a Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 4/6] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 64163cbf9a3872dbe4c57234def8d72f490663b0 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 5/6] river: update to 0.3.8

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..d87d0e4392bc1c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.8
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=12c18f46df7f61a7069da67f0363e451a496ba55f85d80df7bbc6b4141a22976
 
 build_options="xwayland"
 build_options_default="xwayland"

From 70bc8bbc9dafe423ca7354e1b5b87558eba10718 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 6/6] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (5 preceding siblings ...)
  2025-04-22 12:34 ` tranzystorekk
@ 2025-04-22 18:21 ` tranzystorekk
  2025-04-25  5:19 ` krydos
                   ` (23 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-22 18:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 7196 bytes --]

From df08f9923dec5a03efbc427b189cfc5864546d3a Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/6] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From 2fda5b273d7be46b40c65a9087547befcb89c01f Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 2/6] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 4ab8e571e54712d6df904790c648331235d745fd Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 3/6] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 629027d3c5b9b924d9b23b5131f91c2d5087ec9a Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 4/6] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 9ab846b9fc7bb0a163db8358db86a3bd40ba6ba3 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 5/6] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From ccb71414b5bad696965ee7e1e666d04083479ed6 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 6/6] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (6 preceding siblings ...)
  2025-04-22 18:21 ` tranzystorekk
@ 2025-04-25  5:19 ` krydos
  2025-04-25  9:36 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (22 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: krydos @ 2025-04-25  5:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

New comment by krydos on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2829399156

Comment:
hey @tranzystorekk,
I've spent some time digging into zig's source code. It seems like this patch should do it. 
At least now I can compile **waylock** for my **x86_64** and cross-compile it for **aarch64** with no issues. 

The way zig works with sysroot and search-prefix is a bit convoluted. 

I'm not sure if it's gonna make the whole PR green but I think it should work. 

```patch
diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5..91acd23a9fd 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -31,7 +31,7 @@ do_build() {
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
 		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--search-prefix "/" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

```

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (7 preceding siblings ...)
  2025-04-25  5:19 ` krydos
@ 2025-04-25  9:36 ` tranzystorekk
  2025-04-25  9:58 ` tranzystorekk
                   ` (21 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-25  9:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 8690 bytes --]

From a238aa13db22ba1d9d426f18183796a7955af044 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/7] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From f19a4b30b605d3b2859a6ccbd4697075c6697ad0 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/7] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From f6ea52f0b556f1f149c80ede6ed6e636c624b449 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/7] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 31f613a92ef61144e410b47ff211ffbd5092a5ff Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/7] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 011b618d4afd513b67da4da59a0ecd72fcdbc65b Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/7] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 653b9a5c880edb6899b740911e084d5a0c8d8e67 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/7] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From f9b45e7117b90da7d54479824af6f24c5800862d Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/7] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (8 preceding siblings ...)
  2025-04-25  9:36 ` [PR PATCH] [Updated] " tranzystorekk
@ 2025-04-25  9:58 ` tranzystorekk
  2025-04-25 11:18 ` tranzystorekk
                   ` (20 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-25  9:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 9787 bytes --]

From a238aa13db22ba1d9d426f18183796a7955af044 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/8] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From f19a4b30b605d3b2859a6ccbd4697075c6697ad0 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/8] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From f6ea52f0b556f1f149c80ede6ed6e636c624b449 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/8] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 31f613a92ef61144e410b47ff211ffbd5092a5ff Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/8] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 011b618d4afd513b67da4da59a0ecd72fcdbc65b Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/8] zls: update to 0.14.0

---
 srcpkgs/zls/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..2968f91b0fd5f5 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,6 +1,6 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -8,16 +8,8 @@ short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
-
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
 post_install() {
 	vlicense LICENSE

From 653b9a5c880edb6899b740911e084d5a0c8d8e67 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/8] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From f9b45e7117b90da7d54479824af6f24c5800862d Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/8] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From 14cda15f6ad2f91458e69ddb7388b9b31c455366 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:57:24 +0200
Subject: [PATCH 8/8] mepo: update to 1.3.4

---
 srcpkgs/mepo/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mepo/template b/srcpkgs/mepo/template
index f2ae4636ebc5a0..2bdc0cab0746cb 100644
--- a/srcpkgs/mepo/template
+++ b/srcpkgs/mepo/template
@@ -1,13 +1,14 @@
 # Template file for 'mepo'
 pkgname=mepo
-version=1.3.3
+version=1.3.4
 revision=1
 build_style=zig-build
+hostmakedepends="pkg-config"
 makedepends="SDL2_image-devel SDL2_gfx-devel SDL2_ttf-devel SDL2-devel libcurl-devel"
 short_desc="Fast, simple, and hackable OSM map viewer"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-3.0-or-later"
 homepage="https://git.sr.ht/~mil/mepo"
 distfiles="https://git.sr.ht/~mil/mepo/archive/${version}.tar.gz"
-checksum=83dcd04dc38230e4b0beebb1f8ea72100adc551dac5b451b8f185b71f04fab68
+checksum=6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
 nopie=yes

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (9 preceding siblings ...)
  2025-04-25  9:58 ` tranzystorekk
@ 2025-04-25 11:18 ` tranzystorekk
  2025-04-30  8:37 ` krydos
                   ` (19 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-25 11:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 9876 bytes --]

From a238aa13db22ba1d9d426f18183796a7955af044 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/8] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From f19a4b30b605d3b2859a6ccbd4697075c6697ad0 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/8] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From f6ea52f0b556f1f149c80ede6ed6e636c624b449 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/8] ncdu2: update to 2.8

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..2a0f254d6c6e24 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=aa61576f7ec9fdf532cb178142ef5b32aad42567705992cf3e0d1c6fe7e38e40
 conflicts="ncdu"
 
 post_install() {

From 31f613a92ef61144e410b47ff211ffbd5092a5ff Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/8] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 356ece0b4f4edc49eee7f7e13defb981f77771f7 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/8] zls: update to 0.14.0

---
 srcpkgs/zls/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..1bbde7372a4755 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,23 +1,19 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
-configure_args="-Dpie"
 short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+case "${XBPS_TARGET_MACHINE}" in
+	armv[67]*) nopie=yes ;;
+	*) configure_args+=" -Dpie" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

From 95ee01d0f24b26bd1b21c494de5567569b348b21 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/8] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From bf2271233ba519211800d131f3d604e3e404182c Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/8] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From eb10555720508cab554d0f44222b90afad3a94b3 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:57:24 +0200
Subject: [PATCH 8/8] mepo: update to 1.3.4

---
 srcpkgs/mepo/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mepo/template b/srcpkgs/mepo/template
index f2ae4636ebc5a0..2bdc0cab0746cb 100644
--- a/srcpkgs/mepo/template
+++ b/srcpkgs/mepo/template
@@ -1,13 +1,14 @@
 # Template file for 'mepo'
 pkgname=mepo
-version=1.3.3
+version=1.3.4
 revision=1
 build_style=zig-build
+hostmakedepends="pkg-config"
 makedepends="SDL2_image-devel SDL2_gfx-devel SDL2_ttf-devel SDL2-devel libcurl-devel"
 short_desc="Fast, simple, and hackable OSM map viewer"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-3.0-or-later"
 homepage="https://git.sr.ht/~mil/mepo"
 distfiles="https://git.sr.ht/~mil/mepo/archive/${version}.tar.gz"
-checksum=83dcd04dc38230e4b0beebb1f8ea72100adc551dac5b451b8f185b71f04fab68
+checksum=6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
 nopie=yes

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (10 preceding siblings ...)
  2025-04-25 11:18 ` tranzystorekk
@ 2025-04-30  8:37 ` krydos
  2025-04-30  9:11 ` tranzystorekk
                   ` (18 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: krydos @ 2025-04-30  8:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

New comment by krydos on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2841236053

Comment:
hey @tranzystorekk, 
it seems like all the packages compiling with no issues (including river wm). Is there any other packages you're thinking of? Let me know if I can help with any. 

Otherwise let's merge :rocket: 

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (11 preceding siblings ...)
  2025-04-30  8:37 ` krydos
@ 2025-04-30  9:11 ` tranzystorekk
  2025-04-30 18:52 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (17 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-30  9:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2841321678

Comment:
`zf` and `ghostty` are still pending a zig0.14 release

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (12 preceding siblings ...)
  2025-04-30  9:11 ` tranzystorekk
@ 2025-04-30 18:52 ` tranzystorekk
  2025-05-06 10:30 ` tranzystorekk
                   ` (16 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-04-30 18:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 9880 bytes --]

From 3853eeda6a04f4f5e84bcd6342a988fa1c312f92 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/8] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From abd54a258cdfec366d32eb12ae2c943c729b7dc7 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/8] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From 1203c26ea1913fc3f226ef7b3e12ce5c8db23042 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/8] ncdu2: update to 2.8.1

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..24890832440f09 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8.1
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=58104006d8a9e94f35e4df1d89119391250d2545d6c982cbc83ea37f375026e6
 conflicts="ncdu"
 
 post_install() {

From e8be5452aae1f39ef869d3065b2e7085c631ca43 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/8] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 45f15f52bb4580282b0d5c23717693ccc7b6a14b Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/8] zls: update to 0.14.0

---
 srcpkgs/zls/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..1bbde7372a4755 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,23 +1,19 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
-configure_args="-Dpie"
 short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+case "${XBPS_TARGET_MACHINE}" in
+	armv[67]*) nopie=yes ;;
+	*) configure_args+=" -Dpie" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

From 33d1c94728f7471e7d65ba5c59fdfa2a5456d041 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/8] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From 10579428347d91264661803b547ed35eead788c1 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/8] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From 99e1ec6911656dedc7c79ca0cf29797aab94b8a4 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:57:24 +0200
Subject: [PATCH 8/8] mepo: update to 1.3.4

---
 srcpkgs/mepo/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mepo/template b/srcpkgs/mepo/template
index f2ae4636ebc5a0..2bdc0cab0746cb 100644
--- a/srcpkgs/mepo/template
+++ b/srcpkgs/mepo/template
@@ -1,13 +1,14 @@
 # Template file for 'mepo'
 pkgname=mepo
-version=1.3.3
+version=1.3.4
 revision=1
 build_style=zig-build
+hostmakedepends="pkg-config"
 makedepends="SDL2_image-devel SDL2_gfx-devel SDL2_ttf-devel SDL2-devel libcurl-devel"
 short_desc="Fast, simple, and hackable OSM map viewer"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-3.0-or-later"
 homepage="https://git.sr.ht/~mil/mepo"
 distfiles="https://git.sr.ht/~mil/mepo/archive/${version}.tar.gz"
-checksum=83dcd04dc38230e4b0beebb1f8ea72100adc551dac5b451b8f185b71f04fab68
+checksum=6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
 nopie=yes

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (13 preceding siblings ...)
  2025-04-30 18:52 ` [PR PATCH] [Updated] " tranzystorekk
@ 2025-05-06 10:30 ` tranzystorekk
  2025-05-07 22:09 ` dkwo
                   ` (15 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-05-06 10:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 9880 bytes --]

From 7a455b34948ee55ddd875798563b809bc42a72e9 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/8] zig: update to 0.14.0

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..70437a7497d999 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=c76638c03eb204c4432ae092f6fa07c208567e110fbd4d862d131a7332584046
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From e9a9878485ffc010e404b10127e49c6baf56c507 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/8] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From 024d1949b9b45813c7fe45d2d64d709e9bb6fa14 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/8] ncdu2: update to 2.8.2

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..7a69752f026727 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8.2
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=022fa765d35a79797acdc80c831707df43c9a3ba60d1ae3e6ea4cc1b7a2c013d
 conflicts="ncdu"
 
 post_install() {

From 6bd2df282dcef749622d5f94d41b6e9bea3be856 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/8] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 30c674026d09819f7cad1a1169183ff75e1f5566 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/8] zls: update to 0.14.0

---
 srcpkgs/zls/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..1bbde7372a4755 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,23 +1,19 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
-configure_args="-Dpie"
 short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+case "${XBPS_TARGET_MACHINE}" in
+	armv[67]*) nopie=yes ;;
+	*) configure_args+=" -Dpie" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

From 1d6b61dad3d7810a6f078b9b688b62ad25c09aae Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/8] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From 459ed7a81d13421ecde422a5e755583f9ea78fc9 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/8] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From d41e90225aecac3299d92c9f03caca1d0a8c9880 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:57:24 +0200
Subject: [PATCH 8/8] mepo: update to 1.3.4

---
 srcpkgs/mepo/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mepo/template b/srcpkgs/mepo/template
index f2ae4636ebc5a0..2bdc0cab0746cb 100644
--- a/srcpkgs/mepo/template
+++ b/srcpkgs/mepo/template
@@ -1,13 +1,14 @@
 # Template file for 'mepo'
 pkgname=mepo
-version=1.3.3
+version=1.3.4
 revision=1
 build_style=zig-build
+hostmakedepends="pkg-config"
 makedepends="SDL2_image-devel SDL2_gfx-devel SDL2_ttf-devel SDL2-devel libcurl-devel"
 short_desc="Fast, simple, and hackable OSM map viewer"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-3.0-or-later"
 homepage="https://git.sr.ht/~mil/mepo"
 distfiles="https://git.sr.ht/~mil/mepo/archive/${version}.tar.gz"
-checksum=83dcd04dc38230e4b0beebb1f8ea72100adc551dac5b451b8f185b71f04fab68
+checksum=6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
 nopie=yes

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (14 preceding siblings ...)
  2025-05-06 10:30 ` tranzystorekk
@ 2025-05-07 22:09 ` dkwo
  2025-05-07 22:12 ` dkwo
                   ` (14 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: dkwo @ 2025-05-07 22:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2860537826

Comment:
On (native) aarch64, during do_build of zig, I get
ninja: error: '/usr/aarch64-linux-gnu/usr/lib/libz3.so', needed by 'zig2', missing and no known rule to make it


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (15 preceding siblings ...)
  2025-05-07 22:09 ` dkwo
@ 2025-05-07 22:12 ` dkwo
  2025-05-24  7:50 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (13 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: dkwo @ 2025-05-07 22:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2860537826

Comment:
On (native) aarch64, during do_build of zig, I get
`ninja: error: '/usr/aarch64-linux-gnu/usr/lib/libz3.so', needed by 'zig2', missing and no known rule to make it`


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (16 preceding siblings ...)
  2025-05-07 22:12 ` dkwo
@ 2025-05-24  7:50 ` tranzystorekk
  2025-06-12 14:55 ` tranzystorekk
                   ` (12 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-05-24  7:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 9880 bytes --]

From 79a7b42d366aa087332f5c694e5e0c2a96072b40 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/8] zig: update to 0.14.1

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..faa66cf0106ac7 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.1
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=237f8abcc8c3fd68c70c66cdbf63dce4fb5ad4a2e6225ac925e3d5b4c388f203
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From e939f2c93a1e118b967941e1e9483e5a2153804f Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/8] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From 099e309f5f1fbb4dbfde30dcb7e44808f88114f5 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/8] ncdu2: update to 2.8.2

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..7a69752f026727 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8.2
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=022fa765d35a79797acdc80c831707df43c9a3ba60d1ae3e6ea4cc1b7a2c013d
 conflicts="ncdu"
 
 post_install() {

From 8b78c00f8add1fc6952ca9b277582c06476f5cfb Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/8] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 177b87b7a0881e64ce5d73ca9e94bf095d7db598 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/8] zls: update to 0.14.0

---
 srcpkgs/zls/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..1bbde7372a4755 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,23 +1,19 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
-configure_args="-Dpie"
 short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+case "${XBPS_TARGET_MACHINE}" in
+	armv[67]*) nopie=yes ;;
+	*) configure_args+=" -Dpie" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

From e6cb6115e56e159d1a230c05317a756b72e55624 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/8] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From e14d3aaf420bb33cb6ecf5d9c7d4895259b66978 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/8] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From 6ac004b2dfa40ae7e3e7f4d2f64c1f31743ff445 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:57:24 +0200
Subject: [PATCH 8/8] mepo: update to 1.3.4

---
 srcpkgs/mepo/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mepo/template b/srcpkgs/mepo/template
index f2ae4636ebc5a0..2bdc0cab0746cb 100644
--- a/srcpkgs/mepo/template
+++ b/srcpkgs/mepo/template
@@ -1,13 +1,14 @@
 # Template file for 'mepo'
 pkgname=mepo
-version=1.3.3
+version=1.3.4
 revision=1
 build_style=zig-build
+hostmakedepends="pkg-config"
 makedepends="SDL2_image-devel SDL2_gfx-devel SDL2_ttf-devel SDL2-devel libcurl-devel"
 short_desc="Fast, simple, and hackable OSM map viewer"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-3.0-or-later"
 homepage="https://git.sr.ht/~mil/mepo"
 distfiles="https://git.sr.ht/~mil/mepo/archive/${version}.tar.gz"
-checksum=83dcd04dc38230e4b0beebb1f8ea72100adc551dac5b451b8f185b71f04fab68
+checksum=6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
 nopie=yes

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (17 preceding siblings ...)
  2025-05-24  7:50 ` [PR PATCH] [Updated] " tranzystorekk
@ 2025-06-12 14:55 ` tranzystorekk
  2025-06-17 13:35 ` dkwo
                   ` (11 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-06-12 14:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]

There is an updated pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages zig14
https://github.com/void-linux/void-packages/pull/54650

[WIP] Zig 0.14
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/54650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zig14-54650.patch --]
[-- Type: text/x-diff, Size: 9880 bytes --]

From c14203c3b1f89502bd7322b3223cf2159193be40 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 10:56:36 +0100
Subject: [PATCH 1/8] zig: update to 0.14.1

---
 srcpkgs/zig/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index c70e908c3842be..faa66cf0106ac7 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,25 +1,23 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.13.0
+version=0.14.1
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
-make_cmd=make
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_PIE=ON"
+_llvmver=19
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang18-devel llvm18-devel lld18-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang${_llvmver}-devel llvm${_llvmver}-devel lld${_llvmver}-devel
+ libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=06c73596beeccb71cc073805bdb9c0e05764128f16478fa53bf17dfabc1d4318
-nopie=yes
+checksum=237f8abcc8c3fd68c70c66cdbf63dce4fb5ad4a2e6225ac925e3d5b4c388f203
 nocross=yes
 
-export CMAKE_GENERATOR="Unix Makefiles"
-
 post_install() {
 	vlicense LICENSE
 }

From 60fed86b5fe1b0aabfa8d6ce5809f79e761a4ea4 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:34:47 +0200
Subject: [PATCH 2/8] common/build-style/zig-build: adjust sysroot and search
 path for zig 0.14

---
 common/build-style/zig-build.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh
index 5c334b1e1e5110..c888a9b5eb7ff4 100644
--- a/common/build-style/zig-build.sh
+++ b/common/build-style/zig-build.sh
@@ -1,5 +1,5 @@
 do_build() {
-	local zig_target zig_cpu
+	local zig_target zig_cpu zig_search_prefix
 
 	# TODO: This duplication between build-profiles and cross-profiles
 	# is totally unnecessary. It would be nice if there was some way to
@@ -7,9 +7,11 @@ do_build() {
 	if [ "$CROSS_BUILD" ]; then
 		zig_target="${XBPS_CROSS_ZIG_TARGET}"
 		zig_cpu="${XBPS_CROSS_ZIG_CPU}"
+		zig_search_prefix=/
 	else
 		zig_target="${XBPS_ZIG_TARGET}"
 		zig_cpu="${XBPS_ZIG_CPU}"
+		zig_search_prefix=/usr
 	fi
 
 	# Inform zig of the required libc include paths.
@@ -30,8 +32,8 @@ do_build() {
 	# prefix used by the zig build system.
 	DESTDIR="zig-out" zig build \
 		-j"${XBPS_MAKEJOBS}" \
-		--sysroot "${XBPS_CROSS_BASE}" \
-		--search-prefix "${XBPS_CROSS_BASE}/usr" \
+		--sysroot "${XBPS_CROSS_BASE:-/}" \
+		--search-prefix "${zig_search_prefix}" \
 		--prefix /usr \
 		--global-cache-dir /host/zig \
 		--libc xbps_zig_libc.txt \

From e317ec6387c6910d73d79f79e90978bd44de7f56 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 5 Mar 2025 23:18:56 +0100
Subject: [PATCH 3/8] ncdu2: update to 2.8.2

---
 srcpkgs/ncdu2/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ncdu2/template b/srcpkgs/ncdu2/template
index c1c8f672d8ddf5..7a69752f026727 100644
--- a/srcpkgs/ncdu2/template
+++ b/srcpkgs/ncdu2/template
@@ -1,6 +1,6 @@
 # Template file for 'ncdu2'
 pkgname=ncdu2
-version=2.7
+version=2.8.2
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -12,7 +12,7 @@ license="MIT"
 homepage="https://dev.yorhel.nl/ncdu"
 changelog="https://dev.yorhel.nl/ncdu/changes2"
 distfiles="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz"
-checksum=b218cc14a2bb9852cf951db4e21aec8980e7a8c3aca097e3aa3417f20eb93000
+checksum=022fa765d35a79797acdc80c831707df43c9a3ba60d1ae3e6ea4cc1b7a2c013d
 conflicts="ncdu"
 
 post_install() {

From 20412e6d3e4ab1f0fa6d6c3ae5a1f09ccc394f08 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 00:33:22 +0100
Subject: [PATCH 4/8] linuxwave: update to 0.3.0

---
 srcpkgs/linuxwave/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linuxwave/template b/srcpkgs/linuxwave/template
index 7af1d8db42ba9a..8cff020b7e0278 100644
--- a/srcpkgs/linuxwave/template
+++ b/srcpkgs/linuxwave/template
@@ -1,6 +1,6 @@
 # Template file for 'linuxwave'
 pkgname=linuxwave
-version=0.2.0
+version=0.3.0
 revision=1
 build_style=zig-build
 short_desc="Generate music from the entropy of Linux"
@@ -9,7 +9,7 @@ license="MIT"
 homepage="https://orhun.dev/linuxwave/"
 changelog="https://raw.githubusercontent.com/orhun/linuxwave/main/CHANGELOG.md"
 distfiles="https://github.com/orhun/linuxwave/releases/download/v${version}/v${version}.tar.gz"
-checksum=593b05809f68c830c95a3176fbec358306aff19238ca2ecdacfbeaabfefdab83
+checksum=7f334a3d84a18b13799b9c00bf01dfb615718ead54a71b00ce13a0422811764f
 
 post_install() {
 	vlicense LICENSE

From 7944a1bc4093509d76a267e2118293bba7ac50fb Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:01:09 +0100
Subject: [PATCH 5/8] zls: update to 0.14.0

---
 srcpkgs/zls/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/zls/template b/srcpkgs/zls/template
index 887475ed8d2eab..1bbde7372a4755 100644
--- a/srcpkgs/zls/template
+++ b/srcpkgs/zls/template
@@ -1,23 +1,19 @@
 # Template file for 'zls'
 pkgname=zls
-version=0.13.0
+version=0.14.0
 revision=1
 build_style=zig-build
-configure_args="-Dpie"
 short_desc="Zig language server"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/zigtools/zls"
-_tracy_gitrev="37aff70dfa50cf6307b3fee6074d627dc2929143"
-distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz
- https://github.com/wolfpld/tracy/archive/${_tracy_gitrev}.tar.gz"
-checksum="2e8046b6b0de765a4bf4bb828345e2badc8b828bc257dc931d0f56b147684d9f
- c24ce6179df7efb8a114fe409d197e26e4b937c6fc1258bea15840b15b1f79ff"
-skip_extraction="${_tracy_gitrev}.tar.gz"
+distfiles="https://github.com/zigtools/zls/archive/refs/tags/${version}.tar.gz"
+checksum=44cae74073b2f75cf627755398afadafaa382cccf7555b5b66b147dcaa6cef0d
 
-post_extract() {
-	vsrcextract -C src/tracy ${_tracy_gitrev}.tar.gz
-}
+case "${XBPS_TARGET_MACHINE}" in
+	armv[67]*) nopie=yes ;;
+	*) configure_args+=" -Dpie" ;;
+esac
 
 post_install() {
 	vlicense LICENSE

From 8e1a06e71b2ec8f38b9e40f4fd56a333869cb215 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:06:21 +0100
Subject: [PATCH 6/8] river: update to 0.3.9

---
 srcpkgs/river/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/river/template b/srcpkgs/river/template
index c61fce973e913a..76340bcd46e33c 100644
--- a/srcpkgs/river/template
+++ b/srcpkgs/river/template
@@ -1,6 +1,6 @@
 # Template file for 'river'
 pkgname=river
-version=0.3.7
+version=0.3.9
 revision=1
 archs="~i686* ~armv6l* ~armv7l*"
 build_style=zig-build
@@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-only"
 homepage="https://codeberg.org/river/river"
 distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
-checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
+checksum=49d8a2b679597cf5dff07008a1215892cc05525fb4085b5226b51611666335e5
 
 build_options="xwayland"
 build_options_default="xwayland"

From 6c442bc3dd8e997c49e29c751fa3b638b1b09a27 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Sat, 8 Mar 2025 01:10:02 +0100
Subject: [PATCH 7/8] waylock: update to 1.4.0

---
 srcpkgs/waylock/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index de1d55799f9533..3eff617e76ffbd 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,6 +1,6 @@
 # Template file for 'waylock'
 pkgname=waylock
-version=1.3.0
+version=1.4.0
 revision=1
 build_style=zig-build
 configure_args="-Dpie"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="ISC"
 homepage="https://codeberg.org/ifreund/waylock"
 distfiles="https://codeberg.org/ifreund/waylock/releases/download/v${version}/waylock-${version}.tar.gz"
-checksum=b7ec04c1dc0c6adb47045b4f604cb35988e9ca93bd4f3317fcc91bfac7bf075a
+checksum=67d468b91450fc669767cddb1abd652442c82ede7b5a265ae910f4e4dbb72520
 
 post_install() {
 	vlicense LICENSE

From bf6a9f3036ff7c7ea74bbe32b3a535278842297c Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 25 Apr 2025 11:57:24 +0200
Subject: [PATCH 8/8] mepo: update to 1.3.4

---
 srcpkgs/mepo/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mepo/template b/srcpkgs/mepo/template
index f2ae4636ebc5a0..2bdc0cab0746cb 100644
--- a/srcpkgs/mepo/template
+++ b/srcpkgs/mepo/template
@@ -1,13 +1,14 @@
 # Template file for 'mepo'
 pkgname=mepo
-version=1.3.3
+version=1.3.4
 revision=1
 build_style=zig-build
+hostmakedepends="pkg-config"
 makedepends="SDL2_image-devel SDL2_gfx-devel SDL2_ttf-devel SDL2-devel libcurl-devel"
 short_desc="Fast, simple, and hackable OSM map viewer"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
 license="GPL-3.0-or-later"
 homepage="https://git.sr.ht/~mil/mepo"
 distfiles="https://git.sr.ht/~mil/mepo/archive/${version}.tar.gz"
-checksum=83dcd04dc38230e4b0beebb1f8ea72100adc551dac5b451b8f185b71f04fab68
+checksum=6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
 nopie=yes

^ permalink raw reply related	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (18 preceding siblings ...)
  2025-06-12 14:55 ` tranzystorekk
@ 2025-06-17 13:35 ` dkwo
  2025-08-06 11:58 ` LightSrc
                   ` (10 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: dkwo @ 2025-06-17 13:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-2980414900

Comment:
Native `aarch64` (glibc, 16k page size, on apple silicon) is now able to build `zig` from this pr:
```
[18/19] Linking CXX executable zig2
[19/19] Building stage3
```
and then successfully use it to build `river`.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (19 preceding siblings ...)
  2025-06-17 13:35 ` dkwo
@ 2025-08-06 11:58 ` LightSrc
  2025-08-06 13:31 ` tranzystorekk
                   ` (9 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: LightSrc @ 2025-08-06 11:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

New comment by LightSrc on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3159868399

Comment:
any progress?

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (20 preceding siblings ...)
  2025-08-06 11:58 ` LightSrc
@ 2025-08-06 13:31 ` tranzystorekk
  2025-08-24  9:48 ` MIvanchev
                   ` (8 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-08-06 13:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3160194921

Comment:
Zig 0.14.x is affected by https://github.com/ziglang/zig/issues/23978. I'll be testing the upcoming 0.15 release, but that also depends on us packaging LLVM 20, so a bit more work still.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (21 preceding siblings ...)
  2025-08-06 13:31 ` tranzystorekk
@ 2025-08-24  9:48 ` MIvanchev
  2025-09-09  6:25 ` moabeat-berlin
                   ` (7 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: MIvanchev @ 2025-08-24  9:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

New comment by MIvanchev on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3217979953

Comment:
@tranzystorekk

if you compile with `export CMAKE_GENERATOR="Unix Makefiles"` you'll see there is a "Segmentation fault (core dumped)" message at stage3 but I dunno how to get additional info.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (22 preceding siblings ...)
  2025-08-24  9:48 ` MIvanchev
@ 2025-09-09  6:25 ` moabeat-berlin
  2025-10-04  5:16 ` moabeat-berlin
                   ` (6 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: moabeat-berlin @ 2025-09-09  6:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

New comment by moabeat-berlin on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3269058867

Comment:
> Zig 0.14.x is affected by [ziglang/zig#23978](https://github.com/ziglang/zig/issues/23978). I'll be testing the upcoming 0.15 release, but that also depends on us packaging LLVM 20, so a bit more work still.

I just created PR #57060, which would provide LLVM 20.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (23 preceding siblings ...)
  2025-09-09  6:25 ` moabeat-berlin
@ 2025-10-04  5:16 ` moabeat-berlin
  2025-11-08  3:54 ` Vinfall
                   ` (5 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: moabeat-berlin @ 2025-10-04  5:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

New comment by moabeat-berlin on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3367912789

Comment:
Unfortunately my PR for LLVM 20 got dismissed, without someone really looking at the content. 😢

So, I went back to Zig 0.14.1 and tried to apply the result from ziglang/zig#23978 as [a patch for LLVM 19](https://github.com/void-linux/void-packages/commit/7f5ff6076b880a5b6471ec9784c31664c6715d62). This way I got it compiling natively on all relevant architectures (x86_64, x86_64-musl, aarch64 and aarch64-musl).

I have also tested (cross-)compiling all updated packages from this PR and they work fine. However there some other packages in the repos:

* **ghostty**: 1.2.0 is a Zig 0.14 release, but it only compiles natively on x86_64. Musl C-library and cross compilation has various issues. I might look into this later again.
* **zf**: Seems to have released version 0.10.3 for Zig 0.15 directly
* **zelbar**: No Zig 0.14 release.
* **river-bedload**: Released version 0.2.0 for Zig 0.15 directly.

So, if someone would get ghostty working, it would be as good as it can get with Zig 0.14. A combined branch of the patch and the changes of this PR [is here](https://github.com/moabeat-berlin/void-packages/tree/zig14/combined).

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (24 preceding siblings ...)
  2025-10-04  5:16 ` moabeat-berlin
@ 2025-11-08  3:54 ` Vinfall
  2025-11-08 14:54 ` tranzystorekk
                   ` (4 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: Vinfall @ 2025-11-08  3:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

New comment by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3505775368

Comment:
LLVM-21 merged now, and Zig-0.15.2 tagged last month, maybe it's time to resume the work?

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (25 preceding siblings ...)
  2025-11-08  3:54 ` Vinfall
@ 2025-11-08 14:54 ` tranzystorekk
  2025-11-20 12:05 ` al20ov
                   ` (3 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: tranzystorekk @ 2025-11-08 14:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3506612278

Comment:
Zig has strict dependency on specific major llvm versions, and Zig 0.15 depends on llvm20, so it's not trivial to update at this moment.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (26 preceding siblings ...)
  2025-11-08 14:54 ` tranzystorekk
@ 2025-11-20 12:05 ` al20ov
  2026-01-25 18:26 ` dm17
                   ` (2 subsequent siblings)
  30 siblings, 0 replies; 32+ messages in thread
From: al20ov @ 2025-11-20 12:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

New comment by al20ov on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3557664587

Comment:
> Zig has strict dependency on specific major llvm versions, and Zig 0.15 depends on llvm20, so it's not trivial to update at this moment.

Apparently we went from llvm19 straight to llvm21, skipping 20 entirely. But the next release of zig (so 0.16?) should depend on llvm21. At least that's what zig's master branch is built against currently.
And it looks like it's coming soon too: https://github.com/ziglang/zig/milestone/30

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (27 preceding siblings ...)
  2025-11-20 12:05 ` al20ov
@ 2026-01-25 18:26 ` dm17
  2026-01-26  1:47 ` Vinfall
  2026-01-26  2:20 ` dm17
  30 siblings, 0 replies; 32+ messages in thread
From: dm17 @ 2026-01-25 18:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

New comment by dm17 on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3797053801

Comment:
> * Musl C-library and cross compilation has various issues

Is this still the main blocker? I'm not clear on the root issue after reading this thread... Can someone fill me in on what to focus on? 

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (28 preceding siblings ...)
  2026-01-25 18:26 ` dm17
@ 2026-01-26  1:47 ` Vinfall
  2026-01-26  2:20 ` dm17
  30 siblings, 0 replies; 32+ messages in thread
From: Vinfall @ 2026-01-26  1:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

New comment by Vinfall on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3797589125

Comment:
Basically we have three options:
1. get ghostty compiled with Zig-0.14 and merge this
2. package LLVM-20 and update to Zig-0.15
3. wait for unreleased Zig-0.16

It looks like no one is following 1, 2 is too hard to get merged in void, so we are just waiting for 3.

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: [WIP] Zig 0.14
  2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
                   ` (29 preceding siblings ...)
  2026-01-26  1:47 ` Vinfall
@ 2026-01-26  2:20 ` dm17
  30 siblings, 0 replies; 32+ messages in thread
From: dm17 @ 2026-01-26  2:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

New comment by dm17 on void-packages repository

https://github.com/void-linux/void-packages/pull/54650#issuecomment-3797642723

Comment:
> Basically we have three options:

Thanks - those make sense. I just didn't follow why it wouldn't compile on void while it does on other distros. Perhaps the musl support and I do have a musl box, so I'll try that out with zig 0.15.

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2026-01-26  2:20 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10 17:32 [PR PATCH] [WIP] Zig 0.14 tranzystorekk
2025-03-10 17:35 ` [PR PATCH] [Updated] " tranzystorekk
2025-03-10 19:21 ` tranzystorekk
2025-03-13 18:01 ` [PR PATCH] [Updated] " tranzystorekk
2025-04-01 22:06 ` oreo639
2025-04-22 12:33 ` [PR PATCH] [Updated] " tranzystorekk
2025-04-22 12:34 ` tranzystorekk
2025-04-22 18:21 ` tranzystorekk
2025-04-25  5:19 ` krydos
2025-04-25  9:36 ` [PR PATCH] [Updated] " tranzystorekk
2025-04-25  9:58 ` tranzystorekk
2025-04-25 11:18 ` tranzystorekk
2025-04-30  8:37 ` krydos
2025-04-30  9:11 ` tranzystorekk
2025-04-30 18:52 ` [PR PATCH] [Updated] " tranzystorekk
2025-05-06 10:30 ` tranzystorekk
2025-05-07 22:09 ` dkwo
2025-05-07 22:12 ` dkwo
2025-05-24  7:50 ` [PR PATCH] [Updated] " tranzystorekk
2025-06-12 14:55 ` tranzystorekk
2025-06-17 13:35 ` dkwo
2025-08-06 11:58 ` LightSrc
2025-08-06 13:31 ` tranzystorekk
2025-08-24  9:48 ` MIvanchev
2025-09-09  6:25 ` moabeat-berlin
2025-10-04  5:16 ` moabeat-berlin
2025-11-08  3:54 ` Vinfall
2025-11-08 14:54 ` tranzystorekk
2025-11-20 12:05 ` al20ov
2026-01-25 18:26 ` dm17
2026-01-26  1:47 ` Vinfall
2026-01-26  2:20 ` dm17

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).