From bd53cab9477843d97a2ed54907fdd147fd894de8 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 17 Jul 2023 23:13:51 +0100 Subject: [PATCH] First commit of prior packaging work --- debian/changelog | 5 +++++ debian/control | 20 ++++++++++++++++++++ debian/copyright | 29 +++++++++++++++++++++++++++++ debian/gbp.conf | 3 +++ debian/gitlab-ci.yml | 6 ++++++ debian/patches/Install.patch | 10 ++++++++++ debian/patches/series | 0 debian/qttermtcp.install | 1 + debian/rules | 7 +++++++ debian/source/format | 1 + debian/source/lintian-overrides | 0 11 files changed, 82 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/gitlab-ci.yml create mode 100644 debian/patches/Install.patch create mode 100644 debian/patches/series create mode 100644 debian/qttermtcp.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e549cd0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +qttermtcp (0.0.0.66-1) UNRELEASED; urgency=medium + + * Initial release. + + -- Dave Hibberd Mon, 17 Jul 2023 23:01:47 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0dadb32 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: qttermtcp +Section: hamradio +Priority: optional +Maintainer: Debian Hamradio Maintainers +Uploaders: + Dave Hibberd , + Christoph Berg , +Standards-Version: 4.6.0.0 +Vcs-Browser: https://salsa.debian.org/debian-hamradio-team/qsstv +Vcs-Git: https://salsa.debian.org/debian-hamradio-team/qsstv.git +Homepage: https://www.cantab.net/users/john.wiseman/Documents/QtTermTCP.html +Build-Depends: debhelper-compat (= 13), qtbase5-dev, qt5-qmake, libqt5serialport5-dev +Rules-Requires-Root: no + +Package: qttermtcp +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Qt-based Terminal for packet + QtTermTCP is a multiplatform terminal for packet that will work over TCP, KISS + and other modes of connectivity diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9b0d976 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: QtTermTCP +Upstream-Contact: John Wiseman +Source: https://www.cantab.net/users/john.wiseman/Documents/QtTermTCP.html + +Files: * +Copyright: 2000-2023 John Wiseman +License: GPL-3 + +Files: debian/* + 2023 Dave Hibberd +License: GPL-3 + +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 program 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 . + . + The GPL License which applies to this package can be found on your Debian + system at /usr/share/common-licenses/GPL-3. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..59cebc9 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch = debian/latest +upstream-branch = upstream/latest diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..cd460cf --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,6 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +reprotest: + extends: .test-reprotest-diffoscope diff --git a/debian/patches/Install.patch b/debian/patches/Install.patch new file mode 100644 index 0000000..1efa153 --- /dev/null +++ b/debian/patches/Install.patch @@ -0,0 +1,10 @@ +--- a/QtTermTCP.pro ++++ b/QtTermTCP.pro +@@ -40,4 +40,7 @@ + + RC_ICONS = QtTermTCP.ico + ++target.patch += debian/qttermtcp/usr/bin ++INSTALLS += target ++ + QMAKE_LFLAGS += -no-pie diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/debian/qttermtcp.install b/debian/qttermtcp.install new file mode 100644 index 0000000..9ca5e4a --- /dev/null +++ b/debian/qttermtcp.install @@ -0,0 +1 @@ +QtTermTCP /opt/oarc/QtTermTCP diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..78ec0a2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export QT_SELECT=5 +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ 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) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..e69de29