diff options
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/01-fix-manifest.patch | 11 | ||||
| -rw-r--r-- | debian/patches/02-fix-setup-py.patch | 53 | ||||
| -rw-r--r-- | debian/patches/04-remove-redundant-license.patch | 14 | ||||
| -rw-r--r-- | debian/patches/05-manpage-updates.patch | 61 | ||||
| -rw-r--r-- | debian/patches/06-open-with-desktop.patch | 21 | ||||
| -rw-r--r-- | debian/patches/07-disable-reporting.patch | 19 | ||||
| -rw-r--r-- | debian/patches/series | 6 |
7 files changed, 0 insertions, 185 deletions
diff --git a/debian/patches/01-fix-manifest.patch b/debian/patches/01-fix-manifest.patch deleted file mode 100644 index 4ded6f9..0000000 --- a/debian/patches/01-fix-manifest.patch +++ /dev/null @@ -1,11 +0,0 @@ -Description: Add required pieces to MANIFEST.IN file -Author: Steve Conklin <steve@conklinhouse.com> - ---- /dev/null -+++ b/MANIFEST.IN -@@ -0,0 +1,5 @@ -+include *.xsd -+include share/*.desktop -+include share/chirp.png -+include share/*.1 -+include stock_configs/* diff --git a/debian/patches/02-fix-setup-py.patch b/debian/patches/02-fix-setup-py.patch deleted file mode 100644 index 44f635f..0000000 --- a/debian/patches/02-fix-setup-py.patch +++ /dev/null @@ -1,53 +0,0 @@ -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() diff --git a/debian/patches/04-remove-redundant-license.patch b/debian/patches/04-remove-redundant-license.patch deleted file mode 100644 index bac537f..0000000 --- a/debian/patches/04-remove-redundant-license.patch +++ /dev/null @@ -1,14 +0,0 @@ -Description: The author includes a copy of the Copyright, - but it's not needed as it's the same as one we can reference. -Author: Steve Conklin <steve@conklinhouse.com> - ---- a/setup.py -+++ b/setup.py -@@ -129,7 +129,6 @@ - data_files=[('share/applications', desktop_files), - ('share/chirp/images', image_files), - ('share/chirp', xsd_files), -- ('share/doc/chirp', ['COPYING']), - ('share/pixmaps', ['share/chirp.png']), - ('share/man/man1', ["share/chirpw.1"]), - ('share/chirp/stock_configs', stock_configs), diff --git a/debian/patches/05-manpage-updates.patch b/debian/patches/05-manpage-updates.patch deleted file mode 100644 index 42ccfdc..0000000 --- a/debian/patches/05-manpage-updates.patch +++ /dev/null @@ -1,61 +0,0 @@ -Author: Iain R. Learmonth <irl@debian.org> -Last-Update: 2016-04-15 -Description: Updates to the man page for new CLI options available. - -Index: chirp/share/chirpw.1 -=================================================================== ---- chirp.orig/share/chirpw.1 -+++ chirp/share/chirpw.1 -@@ -2,7 +2,7 @@ - .\" First parameter, NAME, should be all caps - .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection - .\" other parameters are allowed: see man(7), man(1) --.TH CHIRP 1 "February 12, 2011" -+.TH CHIRP 1 "April 28, 2016" - .\" Please adjust this date whenever revising the manpage. - .\" - .\" Some roff macros, for reference: -@@ -19,7 +19,7 @@ - chirpw \- A tool for programming two-way radio equipment - .SH SYNOPSIS - .B chirpw --.RI [ options ] -+.RI [ options ][ file ] - .br - .SH DESCRIPTION - This manual page documents briefly the -@@ -37,10 +37,32 @@ A summary of options is included below. - .B \-\-help - Show summary of options. - .TP -+.B \-h, \-\-help -+Show summary of options. -+.TP -+.B \--version -+Print version and exit -+.TP - .B \-\-profile - Enable Profiling. -+.TP -+.B \-\-quiet -+Decrease verbosity -+.TP -+.B \-v, \-\-verbose -+Increase verbosity -+.TP -+.B \-\-log LOG_FILE -+Log messages to a file -+.TP -+.B \-\-log-level LOG_LEVEL -+Log file verbosity (critical, error, warn, info, debug). Defaults to 'debug'. -+.TP -+.B FILE -+Loads the specified configuration file. Accepted formats: .csv, .eve, .hmk, .itm, .icf, .tpe, .vx5 and .vx7. - .SH AUTHOR - chirpw was written by Dan Smith. - .PP --This manual page was written by Dan Smith (with help from Steve Conklin), --for the Debian project (and may be used by others). -+This manual page was written by Dan Smith (with help from Steve Conklin) and -+updated by Iain R. Learmonth, for the Debian project (and may be used by -+others). diff --git a/debian/patches/06-open-with-desktop.patch b/debian/patches/06-open-with-desktop.patch deleted file mode 100644 index f3a2dd7..0000000 --- a/debian/patches/06-open-with-desktop.patch +++ /dev/null @@ -1,21 +0,0 @@ -Author: Iain R. Learmonth <irl@debian.org> -Last-Update: 2016-04-15 -Description: Allow for files to be opened with chirpw - ---- a/share/chirp.desktop -+++ b/share/chirp.desktop -@@ -1,8 +1,7 @@ - [Desktop Entry] - Version=0.1 --Encoding=UTF-8 - Type=Application --Exec=chirpw -+Exec=chirpw %F - Icon=chirp.png - StartupNotify=true - Terminal=false -@@ -11,3 +10,4 @@ - Name=CHIRP - Comment=CHIRP Radio Programming Tool - GenericName=CHIRP Radio Programming Tool -+Keywords=Hamradio;Programming;Handheld;Radio;Amateur;Programmer diff --git a/debian/patches/07-disable-reporting.patch b/debian/patches/07-disable-reporting.patch deleted file mode 100644 index 368372b..0000000 --- a/debian/patches/07-disable-reporting.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: Disables all reporting - Prevent chirp from "phoning home" without informed consent. This also - has the nice side-effect of disabling the update nag screen, as chirp no - longer has a concept of releases upstream. -Author: Iain R. Learmonth <irl@debian.org> -Bug-Debian: https://bugs.debian.org/829494 -Last-Update: 2016-07-25 - ---- chirp-20160717.orig/chirp/ui/reporting.py -+++ chirp-20160717/chirp/ui/reporting.py -@@ -33,7 +33,7 @@ import logging - from chirp import CHIRP_VERSION, platform - - REPORT_URL = "http://chirp.danplanet.com/report/report.php?do_report" --ENABLED = True -+ENABLED = False - THREAD_SEM = threading.Semaphore(10) # Maximum number of outstanding threads - LAST = 0 - LAST_TYPE = None diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 6e329c9..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,6 +0,0 @@ -01-fix-manifest.patch -02-fix-setup-py.patch -04-remove-redundant-license.patch -05-manpage-updates.patch -06-open-with-desktop.patch -07-disable-reporting.patch |
