[hamradio-commits] [chirp] 02/19: Imported Debian patch 0.3.0-0.1

Iain R. Learmonth irl at moszumanska.debian.org
Sun Nov 1 16:02:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

irl pushed a commit to branch master
in repository chirp.

commit 33037f480af5563aaaf4139b8fa0fa6b374b5257
Author: Christopher Knadle <Chris.Knadle at coredump.us>
Date:   Sun Mar 24 16:19:14 2013 -0400

    Imported Debian patch 0.3.0-0.1
---
 debian/changelog                                 | 18 ++++++++
 debian/compat                                    |  1 +
 debian/control                                   | 16 +++++++
 debian/copyright                                 | 56 ++++++++++++++++++++++++
 debian/gbp.conf                                  | 46 +++++++++++++++++++
 debian/patches/01-fix-manifest.patch             | 12 +++++
 debian/patches/02-fix-setup-py.patch             | 52 ++++++++++++++++++++++
 debian/patches/04-remove-redundant-license.patch | 14 ++++++
 debian/patches/series                            |  3 ++
 debian/rules                                     |  8 ++++
 debian/source/format                             |  1 +
 11 files changed, 227 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..91eb229
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,18 @@
+chirp (0.3.0-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream version (Closes: #672318)
+  * updated debian/copyright for 1.0 format
+  * updated to debhelper compat 9
+  * update Standards-Version to 3.9.4 (no changes required)
+  * add dependencies python-libxml2 and python-serial
+  * update patches for new upstream version
+
+ -- Christopher Knadle <Chris.Knadle at coredump.us>  Sun, 24 Mar 2013 16:19:14 -0400
+
+chirp (0.1.12-1) unstable; urgency=low
+
+  * Latest release from upstream
+  * Ready for initial debian upload (Closes: 612965)
+
+ -- Steve Conklin <steve at conklinhouse.com>  Mon, 26 Sep 2011 12:55:16 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..541e44c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: chirp
+Section: hamradio
+Priority: optional
+Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
+Uploaders: Steve Conklin <steve at conklinhouse.com>, Kamal Mostafa <kamal at whence.com>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 9), python-support, python (>=2.6), python-libxml2, python-serial
+Standards-Version: 3.9.4
+Homepage: http://chirp.danplanet.com/
+
+Package: chirp
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, python-libxslt1, python-gtk2, python-libxml2, python-serial
+Description: Configuration tool for amateur radios
+ Chirp is a tool for saving, restoring, and managing memory
+ and preset data in amateur radios
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..09d025a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: chirp
+Upstream-Contact: Dan Smith <dsmith at danplanet.com>
+Source: http://chirp.danplanet.com/projects/chirp/wiki/Home
+Copyright: GPL-3+
+
+Files: *
+Copyright: 2012 Dan Smith <dsmith at danplanet.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2013 Christopher Knadle <Chris.Knadle at coredump.us>
+           2011 Steve Conklin AI4QR <steve at conklinhouse.com>
+License: GPL-3+
+
+Files: chirp/settings.py template.py thuv1f.py uv5r.py vx3.py
+Copyright: 2012 Dan Smith <dsmith at danplanet.com>
+License: GPL-2+
+
+Files: chrip/vx3.py
+Copyright: 2011 Rick Farina <sidhayn at gmail.com>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..b44ef0f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,46 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+# the default build command:
+#builder = debuild -i\.git/ -I.git
+# the default clean command:
+#cleaner = debuild clean
+# the default branch for upstream sources:
+upstream-branch = upstream
+# the default branch for the debian patch:
+debian-branch = debian
+# the default tag formats used:
+#upstream-tag = upstream/%(version)s
+#debian-tag = debian/%(version)s
+# use pristine-tar:
+pristine-tar = True
+
+# Options only affecting git-buildpackage
+[git-buildpackage]
+#upstream-branch = dfsgclean
+# uncomment this to automatically GPG sign tags
+#sign-tags = True
+# keyid to GPG sign tags with
+#keyid = 0xdeadbeef
+# push to a remote repository after a successful tag: 
+posttag = git push --mirror
+# use this for more svn-buildpackage like behaviour:
+export-dir = ../build-area/tar/
+#tarball-dir = ../tarballs/
+
+# Options only affecting git-import-orig
+[git-import-orig]
+#upstream-branch = newupstream
+#debian-branch = dfsgclean
+#filter = .svn
+
+# Options only affecting git-import-dsc
+[git-import-dsc]
+#upstream-branch = svn-upstream
+#filter = [ 'CVS', '.cvsignore' ]
+
+# Options only affecting git-dch
+[git-dch]
+#git-log = --no-merges
+#snapshot-number = snapshot + 1
+
diff --git a/debian/patches/01-fix-manifest.patch b/debian/patches/01-fix-manifest.patch
new file mode 100644
index 0000000..1f2557e
--- /dev/null
+++ b/debian/patches/01-fix-manifest.patch
@@ -0,0 +1,12 @@
+Description: Add required pieces to MANIFEST.IN file
+Author: Steve Conklin <steve at conklinhouse.com>
+
+--- a//dev/null
++++ b/MANIFEST.IN
+@@ -0,0 +1,5 @@
++include *.xsd
++include share/*.desktop
++include share/chirp.png
++include share/*.1
++include stock_configs/*
++include COPYING
diff --git a/debian/patches/02-fix-setup-py.patch b/debian/patches/02-fix-setup-py.patch
new file mode 100644
index 0000000..1088490
--- /dev/null
+++ b/debian/patches/02-fix-setup-py.patch
@@ -0,0 +1,52 @@
+Description: Remove unneeded bits of the setup.py file which
+ are used to build an entirely different package.
+Author: Steve Conklin <steve at conklinhouse.com>
+
+--- a/setup.py
++++ b/setup.py
+@@ -117,44 +117,10 @@
+                     ('share/chirp/stock_configs', stock_configs),
+                     ] + 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("chirpui"):
+-        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
new file mode 100644
index 0000000..99f2eda
--- /dev/null
+++ b/debian/patches/04-remove-redundant-license.patch
@@ -0,0 +1,14 @@
+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 at conklinhouse.com>
+
+--- a/setup.py
++++ b/setup.py
+@@ -111,7 +111,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/series b/debian/patches/series
new file mode 100644
index 0000000..0fc002b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+01-fix-manifest.patch
+02-fix-setup-py.patch
+04-remove-redundant-license.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4c758e0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh  $@ --with python2
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/chirp.git



More information about the pkg-hamradio-commits mailing list