Re: Zig packaging guidelines

2025-06-17 Thread Daurnimator
On 17/6/25 16:21, Jelle van der Waa wrote: On 17/06/2025 03:38, Daurnimator wrote:    - zig targets include a kernel version and glibc version; make sure you include them! So glibc in general should be fine, but for the kernel version we should target our LTS version or what we specify as bas

Re: Zig packaging guidelines

2025-06-16 Thread Jelle van der Waa
Hi, On 17/06/2025 03:38, Daurnimator wrote: On 16/6/25 06:18, kpcyrd wrote: The example based on my notes is quite straight-forward: snip } ``` More input very welcome, but I'm also fine with adding a very basic one by myself and whoever has something to add can just edit the wiki. I've

Re: Zig packaging guidelines

2025-06-16 Thread Daurnimator
On 16/6/25 06:18, kpcyrd wrote: The example based on my notes is quite straight-forward: ``` depends=(   glibc ) makedepends=(   zig ) build() {   cd "${pkgname}-${pkgver}"   zig build --verbose -Dcpu=baseline -Doptimize=ReleaseSmall } package() {   cd "${pkgname}-${pkgver}"   install -D

Re: Zig packaging guidelines

2025-06-16 Thread gromit
On 25/06/15 10:18PM, kpcyrd wrote: > hello, Hey kpcyrd! > I've just changed minisign from C to Zig since this is now supported by > upstream (it was quite the journey though). I noticed we don't have any > packaging guideline for Zig yet so I would like to propose adding one. Thanks for starting

Re: Zig packaging guidelines

2025-06-15 Thread Jan Alexander Steffens (heftig)
On Sun, 15 Jun 2025 at 22:19, kpcyrd wrote: > hello, > > I've just changed minisign from C to Zig since this is now supported by > upstream (it was quite the journey though). I noticed we don't have any > packaging guideline for Zig yet so I would like to propose adding one. > > The example based