File: 0003-meson.build-rename-executable-to-gnome-decoder.patch

package info (click to toggle)
gnome-decoder 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,936 kB
  • sloc: sh: 61; xml: 32; makefile: 27; sql: 6
file content (39 lines) | stat: -rw-r--r-- 1,208 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
From: Arnaud Ferraris <aferraris@debian.org>
Date: Fri, 21 Mar 2025 13:09:47 +0100
Subject: meson.build: rename executable to gnome-decoder

This will ensure we don't have any conflict in the future, as `decoder`
is too generic of a name.

Forwarded: not-needed
---
 data/com.belmoussaoui.Decoder.desktop.in.in | 2 +-
 src/meson.build                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/com.belmoussaoui.Decoder.desktop.in.in b/data/com.belmoussaoui.Decoder.desktop.in.in
index d8a64aa..fb6768e 100644
--- a/data/com.belmoussaoui.Decoder.desktop.in.in
+++ b/data/com.belmoussaoui.Decoder.desktop.in.in
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Decoder
 Comment=Scan and Generate QR Codes
-Exec=decoder
+Exec=gnome-decoder
 Terminal=false
 Type=Application
 Categories=Utility;GTK;GNOME;Scanning;
diff --git a/src/meson.build b/src/meson.build
index 41f6fd0..27f6a8f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -36,7 +36,7 @@ cargo_build = custom_target(
   'cargo-build',
   build_by_default: true,
   build_always_stale: true,
-  output: meson.project_name(),
+  output: 'gnome-decoder',
   console: true,
   install: true,
   install_dir: bindir,