From cf561fcc5569c6a4282c29df1de47b6f84485d89 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Wed, 25 Jun 2025 10:11:45 -0500 Subject: [PATCH] rename templated files with .in suffix --- dist/linux/{app.desktop => app.desktop.in} | 0 ...metainfo.xml => com.mitchellh.ghostty.metainfo.xml.in} | 0 dist/linux/{dbus.service => dbus.service.in} | 0 dist/linux/{systemd.service => systemd.service.in} | 0 src/build/GhosttyResources.zig | 8 ++++---- 5 files changed, 4 insertions(+), 4 deletions(-) rename dist/linux/{app.desktop => app.desktop.in} (100%) rename dist/linux/{com.mitchellh.ghostty.metainfo.xml => com.mitchellh.ghostty.metainfo.xml.in} (100%) rename dist/linux/{dbus.service => dbus.service.in} (100%) rename dist/linux/{systemd.service => systemd.service.in} (100%) diff --git a/dist/linux/app.desktop b/dist/linux/app.desktop.in similarity index 100% rename from dist/linux/app.desktop rename to dist/linux/app.desktop.in diff --git a/dist/linux/com.mitchellh.ghostty.metainfo.xml b/dist/linux/com.mitchellh.ghostty.metainfo.xml.in similarity index 100% rename from dist/linux/com.mitchellh.ghostty.metainfo.xml rename to dist/linux/com.mitchellh.ghostty.metainfo.xml.in diff --git a/dist/linux/dbus.service b/dist/linux/dbus.service.in similarity index 100% rename from dist/linux/dbus.service rename to dist/linux/dbus.service.in diff --git a/dist/linux/systemd.service b/dist/linux/systemd.service.in similarity index 100% rename from dist/linux/systemd.service rename to dist/linux/systemd.service.in diff --git a/src/build/GhosttyResources.zig b/src/build/GhosttyResources.zig index f72006b4b..364818a1a 100644 --- a/src/build/GhosttyResources.zig +++ b/src/build/GhosttyResources.zig @@ -228,7 +228,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { formatService( b, cfg, - b.path("dist/linux/app.desktop"), + b.path("dist/linux/app.desktop.in"), b.fmt( "share/applications/com.mitchellh.ghostty{s}.desktop", .{ @@ -245,7 +245,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { formatService( b, cfg, - b.path("dist/linux/dbus.service"), + b.path("dist/linux/dbus.service.in"), b.fmt( "share/dbus-1/services/com.mitchellh.ghostty{s}.service", .{ @@ -263,7 +263,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { formatService( b, cfg, - b.path("dist/linux/systemd.service"), + b.path("dist/linux/systemd.service.in"), b.fmt( "{s}/systemd/user/com.mitchellh.ghostty{s}.service", .{ @@ -282,7 +282,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { formatService( b, cfg, - b.path("dist/linux/com.mitchellh.ghostty.metainfo.xml"), + b.path("dist/linux/com.mitchellh.ghostty.metainfo.xml.in"), b.fmt( "share/metainfo/com.mitchellh.ghostty{s}.metainfo.xml", .{