File: 0001-build-rename-executable-to-passes-gtk.patch

package info (click to toggle)
passes-gtk 0.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704 kB
  • sloc: python: 1,923; ansic: 79; xml: 38; sh: 35; makefile: 3
file content (50 lines) | stat: -rw-r--r-- 1,535 bytes parent folder | download
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
46
47
48
49
50
From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Date: Mon, 10 Oct 2022 16:06:01 +0200
Subject: build: rename executable to `passes-gtk`

As the Debian package is named `passes-gtk` in order to avoid using a
too generic name, the single executable should be renamed accordingly.

Forwarded: not-needed
---
 data/me.sanchezrodriguez.passes.desktop.in | 2 +-
 meson.build                                | 2 +-
 src/meson.build                            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/me.sanchezrodriguez.passes.desktop.in b/data/me.sanchezrodriguez.passes.desktop.in
index ff00f2d..ea147db 100644
--- a/data/me.sanchezrodriguez.passes.desktop.in
+++ b/data/me.sanchezrodriguez.passes.desktop.in
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Passes
 Comment=A digital pass manager
-Exec=passes
+Exec=passes-gtk
 Icon=me.sanchezrodriguez.passes
 Terminal=false
 Type=Application
diff --git a/meson.build b/meson.build
index 8bb69f7..ffb3273 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('passes', 'c',
+project('passes-gtk', 'c',
           version: '0.10',
     meson_version: '>= 0.59.0',
   default_options: [ 'warning_level=2',
diff --git a/src/meson.build b/src/meson.build
index dc856e8..bfe05e7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -49,7 +49,7 @@ conf.set('pkgdatadir', pkgdatadir)
 
 configure_file(
   input: 'passes.in',
-  output: 'passes',
+  output: 'passes-gtk',
   configuration: conf,
   install: true,
   install_dir: get_option('bindir')