From: OliveThePuffin <OliveThePuffin@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] zig: update to 0.12.0.
Date: Thu, 23 May 2024 02:53:52 +0200 [thread overview]
Message-ID: <20240523005352.90F7B223B1@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49935@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]
There is an updated pull request by OliveThePuffin against master on the void-packages repository
https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935
zig: update to 0.12.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: YES
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc
<!-- 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 these architectures (if supported. mark crossbuilds): x86_64
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 3100 bytes --]
From 47f1e114ed9cc7e23ab44b07cb202a7c13dcb444 Mon Sep 17 00:00:00 2001
From: Samuel Clay <samuel.clay99@gmail.com>
Date: Wed, 22 May 2024 18:52:20 -0600
Subject: [PATCH 1/2] zig: update to 0.12.0.
---
srcpkgs/zig/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..9cebec03ddb286 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
# Template file for 'zig'
pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
archs="x86_64* aarch64*"
build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_STATIC_ZLIB=ON"
make_cmd=make
# we add xml2, zstd, zlib and ncurses
# because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-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=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
nopie=yes
nocross=yes
From 2b21f093f3937a1447470b1a92c65c07aa243ebd Mon Sep 17 00:00:00 2001
From: Samuel Clay <samuel.clay99@gmail.com>
Date: Wed, 22 May 2024 18:53:46 -0600
Subject: [PATCH 2/2] waylock: update to 1.1.0.
---
srcpkgs/waylock/template | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/waylock/template b/srcpkgs/waylock/template
index 18a0c1813ca98d..e0adbfa75355e7 100644
--- a/srcpkgs/waylock/template
+++ b/srcpkgs/waylock/template
@@ -1,9 +1,8 @@
# Template file for 'waylock'
pkgname=waylock
-version=0.6.2
+version=1.1.0
revision=1
build_style=zig-build
-configure_args="-Dpie"
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="libxkbcommon-devel pam-devel wayland-protocols wayland-devel"
short_desc="Simple screenlocker for wayland compositors"
@@ -11,7 +10,19 @@ 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=4a794dedd1b11f3b9bb7b46f8a93c20aac5ac1d40a851cabaa7ae84fd36686fa
+checksum=fd200ddaf416e45a8dc6e212fb8b0fba2cf7bdcfaf5f65a361d8b0313600d02e
+_deps="https://codeberg.org/ifreund/zig-wayland/archive/v0.1.0.tar.gz
+ https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.1.0.tar.gz"
+
+post_fetch() {
+ for _d in $_deps; do
+ zig fetch --global-cache-dir $XBPS_BUILDDIR/zig-input $_d
+ done
+}
+
+do_build() {
+ DESTDIR="zig-out" zig build --system $XBPS_BUILDDIR/zig-input/p -Doptimize=ReleaseSafe -Dpie --prefix /usr -Dcpu=baseline install
+}
post_install() {
vlicense LICENSE
next prev parent reply other threads:[~2024-05-23 0:53 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-20 16:14 [PR PATCH] " OliveThePuffin
2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
2024-04-20 16:25 ` OliveThePuffin
2024-04-20 16:27 ` OliveThePuffin
2024-04-20 16:34 ` [PR REVIEW] " OliveThePuffin
2024-04-20 18:23 ` dkwo
2024-04-20 23:54 ` OliveThePuffin
2024-04-21 8:21 ` icp1994
2024-04-21 15:59 ` OliveThePuffin
2024-04-21 19:13 ` tranzystorekk
2024-04-22 2:39 ` OliveThePuffin
2024-05-03 12:41 ` realcharmer
2024-05-03 16:48 ` OliveThePuffin
2024-05-03 16:50 ` OliveThePuffin
2024-05-03 19:10 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-05 17:35 ` Luciogi
2024-05-07 15:05 ` [PR PATCH] [Closed]: " OliveThePuffin
2024-05-07 15:05 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-07 15:11 ` OliveThePuffin
2024-05-07 15:48 ` OliveThePuffin
2024-05-07 16:00 ` tranzystorekk
2024-05-20 18:30 ` dkwo
2024-05-20 18:32 ` dkwo
2024-05-20 18:42 ` dkwo
2024-05-20 18:44 ` tranzystorekk
2024-05-20 18:46 ` dkwo
2024-05-20 20:14 ` tranzystorekk
2024-05-20 22:04 ` realcharmer
2024-05-22 2:23 ` jason1987d
2024-05-23 0:36 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-23 0:43 ` OliveThePuffin
2024-05-23 0:52 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-23 0:53 ` OliveThePuffin [this message]
2024-05-23 1:20 ` OliveThePuffin
2024-05-23 7:34 ` tranzystorekk
2024-05-23 7:36 ` tranzystorekk
2024-05-23 7:48 ` tranzystorekk
2024-05-23 8:48 ` tranzystorekk
2024-05-23 11:13 ` OutOfContainment
2024-05-23 13:26 ` dkwo
2024-05-25 14:56 ` icp1994
2024-05-25 16:10 ` tranzystorekk
2024-05-25 18:23 ` tranzystorekk
2024-06-12 1:21 ` [PR PATCH] [Updated] " OliveThePuffin
2024-06-12 1:21 ` [PR PATCH] [Closed]: " OliveThePuffin
2024-06-12 2:08 ` [PR PATCH] [Updated] " OliveThePuffin
2024-06-12 2:11 ` OliveThePuffin
2024-06-12 2:12 ` OliveThePuffin
2024-06-12 2:44 ` OliveThePuffin
2024-06-12 3:05 ` Luciogi
2024-06-12 6:48 ` tranzystorekk
2024-06-12 22:35 ` [PR PATCH] [Updated] " OliveThePuffin
2024-06-12 22:59 ` OliveThePuffin
2024-06-12 23:25 ` [PR PATCH] [Updated] zig: update to 0.12.1 OliveThePuffin
2024-06-13 0:15 ` OliveThePuffin
2024-06-13 0:39 ` OliveThePuffin
2024-06-13 0:42 ` OliveThePuffin
2024-06-13 0:52 ` OliveThePuffin
2024-06-13 6:04 ` tranzystorekk
2024-06-13 7:08 ` tranzystorekk
2024-06-13 7:14 ` dataCobra
2024-06-13 7:16 ` dataCobra
2024-06-13 7:18 ` tranzystorekk
2024-06-14 0:47 ` [PR PATCH] [Updated] " OliveThePuffin
2024-06-14 0:48 ` OliveThePuffin
2024-06-20 6:25 ` OutOfContainment
2024-06-20 6:31 ` tranzystorekk
2024-06-20 9:10 ` OliveThePuffin
2024-06-20 9:12 ` tranzystorekk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240523005352.90F7B223B1@inbox.vuxu.org \
--to=olivethepuffin@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).