From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Date: Thu, 16 Nov 2023 17:48:24 +0100
Subject: Rename executable to `railway-gtk`

This is done by modifying Cargo.toml and meson.build so both the
executable and appdata folder names match the package name, and also
requires changing the .desktop file accordingly.

Forwarded: not-needed, Debian-only change
Last-Update: 2024-03-04
---
 Cargo.toml                                 | 2 +-
 data/de.schmidhuberj.DieBahn.desktop.in.in | 2 +-
 meson.build                                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
 [package]
-name = "diebahn"
+name = "railway-gtk"
 description = "Find all your travel information" # keep in sync with metainfo
 authors = ["Julian Schmidhuber <mobile@schmidhuberj.de>", "Markus Göllnitz <camelcasenick@bewares.it>"]
 homepage = "https://mobile.schmidhuberj.de/railway"
--- a/data/de.schmidhuberj.DieBahn.desktop.in.in
+++ b/data/de.schmidhuberj.DieBahn.desktop.in.in
@@ -4,7 +4,7 @@
 Name=Railway
 Comment=Find all your travel information
 StartupWMClass=Railway
-Exec=@bindir@/diebahn
+Exec=@bindir@/railway-gtk
 X-Purism-FormFactor=Workstation;Mobile;
 Categories=GTK;GNOME;Utility;Maps;
 # Translators: The keywords from the desktop file.
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project(
-  'diebahn',
+  'railway-gtk',
   'rust',
   version: '2.7.3',
   meson_version: '>= 0.59',
