gtk: nuke the legacy apprt from orbit

We don't really have any large outstanding regressions on -ng to warrant
keeping this alive anymore. ¡Adiós!
This commit is contained in:
Leah Amelia Chen
2025-09-04 17:19:42 +02:00
parent c3e7857a2c
commit ac52af27d3
67 changed files with 21 additions and 13098 deletions

View File

@@ -16,7 +16,6 @@ const structs = @import("apprt/structs.zig");
pub const action = @import("apprt/action.zig");
pub const ipc = @import("apprt/ipc.zig");
pub const gtk = @import("apprt/gtk.zig");
pub const gtk_ng = @import("apprt/gtk-ng.zig");
pub const none = @import("apprt/none.zig");
pub const browser = @import("apprt/browser.zig");
@@ -43,7 +42,6 @@ pub const SurfaceSize = structs.SurfaceSize;
pub const runtime = switch (build_config.artifact) {
.exe => switch (build_config.app_runtime) {
.none => none,
.gtk => gtk,
.@"gtk-ng" => gtk_ng,
},
.lib => embedded,
@@ -64,11 +62,6 @@ pub const Runtime = enum {
/// approach to building the application.
@"gtk-ng",
/// GTK-backed. Rich windowed application. GTK is dynamically linked.
/// WARNING: Deprecated. This will be removed very soon. All bug fixes
/// and features should go into the gtk-ng backend.
gtk,
pub fn default(target: std.Target) Runtime {
return switch (target.os.tag) {
// The Linux and FreeBSD default is GTK because it is a full