summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAna C. Custura <ana@netstat.org.uk>2018-08-16 13:01:17 +0100
committerAna C. Custura <ana@netstat.org.uk>2018-08-16 13:01:17 +0100
commitdb979ff0a2c85432deae9d813919ae3028d9a9f5 (patch)
treed52601f0587b4f98ef7317024a435c81970cd8a0
parente96a764dd51a868f28f20e91a27dd235f8c71ab4 (diff)
Updates patch file
-rw-r--r--debian/patches/02-fix-setup-py.patch60
-rw-r--r--debian/patches/series2
2 files changed, 10 insertions, 52 deletions
diff --git a/debian/patches/02-fix-setup-py.patch b/debian/patches/02-fix-setup-py.patch
index 44f635f..347c658 100644
--- a/debian/patches/02-fix-setup-py.patch
+++ b/debian/patches/02-fix-setup-py.patch
@@ -1,53 +1,11 @@
-Description: Remove unneeded bits of the setup.py file which
- are used to build an entirely different package.
-Author: Steve Conklin <steve@conklinhouse.com>
-
--- a/setup.py
+++ b/setup.py
-@@ -136,45 +136,9 @@
- ] + locale_files)
-
-
--def rpttool_build():
-- from distutils.core import setup
--
-- setup(name="rpttool",
-- packages=["chirp"],
-- version="0.3",
-- scripts=["rpttool"],
-- description="A frequency tool for ICOM D-STAR Repeaters",
-- data_files=[('/usr/sbin', ["tools/icomsio.sh"])],
-- )
--
--
--def nuke_manifest(*files):
-- for i in ["MANIFEST", "MANIFEST.in"]:
-- if os.path.exists(i):
-- os.remove(i)
--
-- if not files:
-- return
--
-- f = file("MANIFEST.in", "w")
-- for fn in files:
-- print >>f, fn
-- f.close()
--
--
- if sys.platform == "darwin":
- macos_build()
- elif sys.platform == "win32":
- win32_build()
- else:
-- if os.path.exists("rpttool"):
-- nuke_manifest("include tools/icomsio.sh", "include README.rpttool")
-- rpttool_build()
-- if os.path.exists("chirp/ui"):
-- nuke_manifest("include *.xsd",
-- "include share/*.desktop",
-- "include share/chirp.png",
-- "include share/*.1",
-- "include stock_configs/*",
-- "include COPYING")
-- default_build()
-+ default_build()
+@@ -125,7 +125,7 @@
+ name="chirp",
+ packages=["chirp", "chirp.drivers", "chirp.ui"],
+ version=CHIRP_VERSION,
+- scripts=["chirpw", "rpttool"],
++ scripts=["chirpw"],
+ data_files=[('share/applications', desktop_files),
+ ('share/chirp/images', image_files),
+ ('share/chirp', xsd_files),
diff --git a/debian/patches/series b/debian/patches/series
index 6e329c9..b852676 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,5 +2,5 @@
02-fix-setup-py.patch
04-remove-redundant-license.patch
05-manpage-updates.patch
-06-open-with-desktop.patch
+#06-open-with-desktop.patch
07-disable-reporting.patch