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 51 52 53 54 55 56 57
|
From: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Date: Mon, 10 Oct 2022 12:55:56 +0200
Subject: Rename executable to powersupply-gtk
As the Debian package is named `powersupply-gtk` in order to avoid using
a too generic name, the single executable should be renamed accordingly.
Forwarded: not-needed
---
data/nl.brixit.powersupply.desktop | 2 +-
meson.build | 4 ++--
powersupply/meson.build | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/data/nl.brixit.powersupply.desktop b/data/nl.brixit.powersupply.desktop
index 1608053..a6c118c 100644
--- a/data/nl.brixit.powersupply.desktop
+++ b/data/nl.brixit.powersupply.desktop
@@ -4,7 +4,7 @@ Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
-Exec=powersupply
+Exec=powersupply-gtk
GenericName=Power info
Icon=nl.brixit.powersupply
Categories=GTK;GNOME;Utility
diff --git a/meson.build b/meson.build
index aac75fd..55509d9 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('powersupply',
+project('powersupply-gtk',
version: '0.9.0',
meson_version: '>= 0.50.0',
default_options: ['warning_level=2'])
@@ -8,4 +8,4 @@ dependency('libhandy-1', version: '>=1.0.0')
subdir('powersupply')
subdir('data')
-meson.add_install_script('build-aux/meson/postinstall.py')
\ No newline at end of file
+meson.add_install_script('build-aux/meson/postinstall.py')
diff --git a/powersupply/meson.build b/powersupply/meson.build
index 2a88b79..3210679 100644
--- a/powersupply/meson.build
+++ b/powersupply/meson.build
@@ -18,7 +18,7 @@ conf.set('pkgdatadir', pkgdatadir)
configure_file(
input: 'powersupply.in',
- output: 'powersupply',
+ output: 'powersupply-gtk',
configuration: conf,
install: true,
install_mode: 'rwxr-xr-x',
|