summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-28 15:44:20 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-28 15:48:28 +0100
commit97cc2f31724f5b79a9c4661a5f83abee22c41cd5 (patch)
tree04e45fe08a26ca266f791145a7bd7e6230ce8aa8 /debian
parentb45c243a37a7a843c355b32de753cf69c547f442 (diff)
Return binary names
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/02-fix-setup-py.patch11
-rw-r--r--debian/patches/08-disable-incorrect-mime-type2
-rw-r--r--debian/patches/desktop-file.patch11
-rw-r--r--debian/patches/series2
4 files changed, 25 insertions, 1 deletions
diff --git a/debian/patches/02-fix-setup-py.patch b/debian/patches/02-fix-setup-py.patch
new file mode 100644
index 0000000..125a279
--- /dev/null
+++ b/debian/patches/02-fix-setup-py.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -20,7 +20,6 @@
+ 'wx': ['wxPython'],
+ },
+ entry_points={
+- 'console_scripts': ["chirp=chirp.wxui:chirpmain",
+- "chirpc=chirp.cli.main:main"],
++ 'console_scripts': ["chirpw=chirp.wxui:chirpmain"],
+ },
+ )
diff --git a/debian/patches/08-disable-incorrect-mime-type b/debian/patches/08-disable-incorrect-mime-type
index ce32c10..2ba327d 100644
--- a/debian/patches/08-disable-incorrect-mime-type
+++ b/debian/patches/08-disable-incorrect-mime-type
@@ -7,7 +7,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+++ b/chirp/share/chirp.desktop
@@ -7,7 +7,6 @@
Icon=chirp
- Exec=chirp %F
+ Exec=chirpw %F
Terminal=false
-MimeType=inode/directory
Categories=Utility;HamRadio
diff --git a/debian/patches/desktop-file.patch b/debian/patches/desktop-file.patch
new file mode 100644
index 0000000..58c6247
--- /dev/null
+++ b/debian/patches/desktop-file.patch
@@ -0,0 +1,11 @@
+--- a/chirp/share/chirp.desktop
++++ b/chirp/share/chirp.desktop
+@@ -5,7 +5,7 @@
+ GenericName=Radio Programming Tool
+ Comment=Program amateur radios
+ Icon=chirp
+-Exec=chirp %F
++Exec=chirpw %F
+ Terminal=false
+ MimeType=inode/directory
+ Categories=Utility;HamRadio
diff --git a/debian/patches/series b/debian/patches/series
index 07c8c4a..0207c52 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,5 @@
+desktop-file.patch
+02-fix-setup-py.patch
wxui-chirp-share.patch
distutils-migration.patch
01-fix-manifest.patch