1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
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
DBusActivatable=true
X-Purism-FormFactor=Workstation;Mobile;
Categories=GTK;GNOME;Utility;Maps;
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project(
- 'diebahn',
+ 'railway-gtk',
'rust',
version: '2.8.2',
meson_version: '>= 0.59',
|