Commit Graph

69 Commits (5a9bd0e49ef11499eb0ccb63725cc882b93356e0)

Author SHA1 Message Date
Mitchell Hashimoto 5a9bd0e49e
snap: update to Zig 0.15.2 2025-10-15 20:04:37 -07:00
Mitchell Hashimoto 42a38ff672
snap: fix Zig 0.15 install 2025-10-03 14:12:04 -07:00
Mitchell Hashimoto 22caf60263
update a bunch of required Zig versions to 0.15 2025-10-03 07:10:44 -07:00
Mitchell Hashimoto 270891eee1
ci: add -Dsnap test 2025-09-19 16:07:55 -07:00
Marco Trevisan (Treviño) bf3a607db6 build: Add a new snap option and use it to build the snap
So we can limit the snap operations even at build time
2025-09-19 15:55:14 -07:00
Marco Trevisan (Treviño) 2de105e035 snap: Do not leak the launcher into the ghostty $PATH
Otherwise when launching the snap we'll get a "launcher" binary that is
provided by the own snap
2025-09-19 15:54:52 -07:00
azhn a8cad9831a Remove copying libgtk4-layer-shell.so from cache since install is fixed 2025-06-28 19:21:32 +10:00
azhn 46b86570f2 deps: Enable building gtk4-layer-shell without system integration 2025-06-28 19:02:30 +10:00
Ken VanDine 7d2da23021 snap: vendor libgtk4-layer-shell.so 2025-06-18 10:06:35 -04:00
Ken VanDine e2daf04cba snap: Build with cpu=baseline as documented in PACKAGING.md 2025-05-12 17:40:48 -04:00
Jeffrey C. Ollie 6bd9e35cd6
snap: build from source tarball 2025-04-23 08:10:01 -05:00
Mitchell Hashimoto 1dbeba7065
ci: update snap to Zig 0.14 2025-03-12 16:29:17 -07:00
Leah Amelia Chen 2f65f01fc8
gtk: add localization support, take 3 (#6004)
This is my third (!) attempt at implementing localization support. By
leveraging GTK builder to do most of the `gettext` calls, I can avoid
the whole mess about missing symbols on non-glibc platforms.

Added some documentation too for contributors and translators, just for
good measure.

Supersedes #5214, resolves the GTK half of #2357
2025-03-05 20:12:52 +01:00
Ken VanDine 2c6e6ad680 fix: Generate pixbuf loader cache on start if needed, fixes #6066 2025-03-04 08:50:11 -05:00
Leah Amelia Chen 9360afd29f
gtk: add localization support, take 3
This is my third (!) attempt at implementing localization support.
By leveraging GTK builder to do most of the `gettext` calls, I
can avoid the whole mess about missing symbols on non-glibc platforms.

Added some documentation too for contributors and translators,
just for good measure.
2025-03-03 10:19:58 +01:00
Leah Amelia Chen a85651fe4f
gtk: implement quick terminal
Using `gtk4-layer-shell` still seems like the path of least resistance,
and to my delight it pretty much Just Works. Hurrah!

This implementation could do with some further polish (e.g. animations,
which can be implemented via libadwaita's animations API, and global
shortcuts), but as a MVP it works well enough.

It even supports tabs!

Fixes #4624.
2025-02-28 18:04:42 +01:00
Jeffrey C. Ollie 32a62ff862
snap: add libxml2-utils (for xmllint) to snap 2025-02-22 16:33:22 -06:00
Jeffrey C. Ollie d4bcac0150
snap: add blueprint-compiler to snap 2025-02-22 16:33:22 -06:00
Ken VanDine b551e106a8 Comment out refresh-mode, the store rejects this. Needs fixing in
review-tools
2025-02-15 07:06:40 -08:00
Ken VanDine 0c3b873dde Merge remote-tracking branch 'origin/add_snap_package' into add_snap_package 2025-02-15 07:06:40 -08:00
Ken VanDine 2adee4290a Improved rpath handling for ghostty 2025-02-15 07:06:40 -08:00
Ken VanDine 94e2982d4b Allow snap to refresh while running 2025-02-15 07:06:40 -08:00
Ken VanDine 238b0faf5c Simplified setting snap version 2025-02-15 07:06:40 -08:00
Ken VanDine bd6a133e95 Updated stage packages 2025-02-15 07:06:40 -08:00
Ken VanDine e4cf81c2ba Clean up environment variable while launching the shell 2025-02-15 07:06:40 -08:00
Ken VanDine 5841a4f958 Stage libglib2.0-0t64 to insure we don't mix in the host's lib 2025-02-15 07:06:40 -08:00
Ken VanDine 0acf82bb9c Use patch-rpath which improves our cross distro support 2025-02-15 07:06:40 -08:00
Ken VanDine e7d4daa7c1 Removed duplicated stage-packages 2025-02-15 07:06:40 -08:00
Ken VanDine 5de0e775cb Don't stage shells 2025-02-15 07:06:40 -08:00
Ken VanDine 301fdff58f enable-patchelf is more repliable for classic snaps 2025-02-15 07:06:40 -08:00
Ken VanDine e174fb2748 no-patchelf for DRI and tidy up the mesa bits 2025-02-15 07:06:40 -08:00
Ken VanDine 403eab2cf0 Stage gnome-text-editor to open configuration, this makes it more
reliable across more distros as a classic snap.
2025-02-15 07:06:40 -08:00
Ken VanDine bdafc2227c Drop patchelf 2025-02-15 07:06:40 -08:00
Ken VanDine c9cafd3051 Enable patch-elf for libs part 2025-02-15 07:06:40 -08:00
Ken VanDine 48f94e6fcc Stage more depends to ensure we aren't getting leaks from the host 2025-02-15 07:06:40 -08:00
Ken VanDine 8dffe3450c CRAFT_TARGET_ARCH is deprecated, use CRAFT_ARCH_BUILD_FOR 2025-02-15 07:06:40 -08:00
Mitchell Hashimoto c7635201ab
Add snap to nix, add arm64 builders 2025-02-15 07:06:40 -08:00
Ken VanDine c35ca1e87f Set a more meaningful version for the snap 2025-02-15 07:06:40 -08:00
Ken VanDine 5d0dde57f9 Don't stage shells 2025-02-15 07:06:40 -08:00
Ken VanDine d0108416d0 enable-patchelf is more repliable for classic snaps 2025-02-15 07:06:40 -08:00
Ken VanDine 71297870cf Set GHOSTTY_RESOURCES_DIR 2025-02-15 07:06:40 -08:00
Ken VanDine fcde494440 Install bash-completion 2025-02-15 07:06:40 -08:00
Ken VanDine b7bd8444c7 Exit with error if building for unsupported arch 2025-02-15 07:06:40 -08:00
Ken VanDine 2b2b3c5b3b Set source-type for launcher dir 2025-02-15 07:06:40 -08:00
Ken VanDine f0842c5599 Added snap packaging 2025-02-15 07:06:40 -08:00
Mitchell Hashimoto 8c4b0f815d
prettier 2025-02-14 14:54:59 -08:00
Ken VanDine 90ce5b75f1 Simplified setting snap version 2025-02-14 14:52:08 -08:00
Ken VanDine b0edda4b69 Updated stage packages 2025-02-14 14:52:08 -08:00
Ken VanDine f239df59ca Clean up environment variable while launching the shell 2025-02-14 14:52:08 -08:00
Ken VanDine d2f82b2e40 Stage libglib2.0-0t64 to insure we don't mix in the host's lib 2025-02-14 14:52:08 -08:00