bug#75237: Packaging ghostty terminal

2025-02-21 Thread Frank J. Cameron
On Sun, Feb 2, 2025, at 4:13 AM, Frank J. Cameron wrote: > https://gitlab.com/fjc/guix/-/commit/23dfd144d98d38f2a47e102fbf17f8d9bf02e8f5 Updated to ghostty 1.1.2: https://gitlab.com/fjc/guix/-/commit/063ad76f142dffdf662fc73daf3fc87dcd04f151 Major difference is building zig-gobject from source and

bug#75237: Packaging ghostty terminal

2025-02-01 Thread Frank J. Cameron
On Fri, Jan 31, 2025, at 4:03 AM, Frank J. Cameron wrote: > Quick and dirty update for ghostty 1.1.0: > https://gitlab.com/-/snippets/4792310 Reworked into zig-xyz.scm: https://gitlab.com/fjc/guix/-/commit/23dfd144d98d38f2a47e102fbf17f8d9bf02e8f5 $ guix repl -L . scheme@(guix-user)> ,module (gnu

bug#75237: Packaging ghostty terminal

2025-01-30 Thread Frank J. Cameron
Quick and dirty update for ghostty 1.1.0: https://gitlab.com/-/snippets/4792310 $ /gnu/store/3vk4qi1mvgmmi6mwzli1lix7klrkdigk-ghostty-1.1.0/bin/ghostty +version Ghostty 1.1.0-dev+000 Version - version: 1.1.0-dev+000 - channel: tip Build Config - Zig version: 0.13.0 - build mode :

bug#75237: Packaging ghostty terminal

2025-01-10 Thread Frank J. Cameron
On Thu, Jan 9, 2025, at 11:10 PM, Frank J. Cameron wrote: > error: sub-compilation of libcxx failed > /gnu/store/...-zig-pkgdir-xcode_frameworks-.../include/i386/_types.h:48:33: > note: typedef redefinition with different types ('long long' vs 'long') > [...] > /gnu/store/...-glibc-2.39/in

bug#75237: Packaging ghostty terminal

2025-01-10 Thread Frank J. Cameron
On Fri, Jan 10, 2025, at 3:26 PM, Frank J. Cameron wrote: > starting phase `build' > running: ("zig" "build" "--prefix" "" "--prefix-lib-dir" "lib" > "--prefix-exe-dir" "bin" "--prefix-include-dir" "include" "--verbose" > "-Dtarget=x86_64-linux-gnu" "-j2" "--release=fast") > thread 1257 panic: un

bug#75237: Packaging ghostty terminal

2025-01-10 Thread Frank J. Cameron
On Fri, Jan 10, 2025, at 1:49 PM, Murilo wrote: > I took a glance at the package definition in the link you sent, it seems to me > that this error is caused because ghostty vendors [1] various zig custom > builds > [2] from the C sources within its own source repository. > What I suspect is happen

bug#75237: Packaging ghostty terminal

2025-01-10 Thread Murilo
I essentially gave up on packaging ghostty for upstreaming, already spent too much time on this so I'm moving on. Will continue to update the current working version on my channel, for personal use. Here's my WIP guix branch for ghostty if someone wants to give it a shot, in the hopes that it might

bug#75237: Packaging ghostty terminal

2025-01-10 Thread Murilo
Hi Frank, > error: sub-compilation of libcxx failed > > /gnu/store/...-zig-pkgdir-xcode_frameworks-.../include/i386/_types.h:48:33: > note: typedef redefinition with different types ('long long' vs 'long') > [...] > /gnu/store/...-glibc-2.39/include/bits/types.h:44:25: note: previous

bug#75237: Packaging ghostty terminal

2025-01-10 Thread Frank J. Cameron
Murilo wrote on 1 Jan 14:44 +0100 > Fortunately I've already went through the trouble and packaged it on my > channel > a couple days ago so you can use it right away :) Thanks for the package; I can confirm it built successfully for me as well. So, I took your code and munged it with the versio

bug#75237: Packaging ghostty terminal

2025-01-02 Thread boogs via Bug reports for GNU Guix
Thank you so much for providing your work as a point of reference!It works on my machine now. I'm still learning how to effectively write packages, so I'm not sure I'd be of help just yet :^) On Jan 1, 2025 8:44 AM, Murilo wrote:Hi, sadly its not an easy task as you might be expecting it to be.

bug#75237: Packaging ghostty terminal

2025-01-01 Thread Murilo
Hi, sadly its not an easy task as you might be expecting it to be. It vendors a lot of dependencies in the repository and recursive dependency replacing with zig fetch isn't quite there yet so we have to do some more work, create a cache and vendor it with --system. I don't know if this is the bes

bug#75237: Packaging ghostty terminal

2025-01-01 Thread boogs via Bug reports for GNU Guix
Hi, I'm looking to package the ghostty terminal (https://ghostty.org/docs/install/build) but I ran into an issue with the zig build system pertaining to the dependencies? I've attached the package definition including the error output below. I would appreciate some pointers here please. (defin