From 8e29a45e456baf232196e8fa2fc5eae50be66993 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 17 Sep 2020 19:25:00 +0000 Subject: debian/: Initial draft for creating DEB packages. --- debian/changelog | 6 ++++ debian/control | 29 ++++++++++++++++++++ debian/copyright | 32 ++++++++++++++++++++++ .../patches/2001_adapt-install-target-path.patch | 14 ++++++++++ debian/patches/series | 1 + debian/rules | 13 +++++++++ debian/source/format | 1 + debian/upstream/metadata | 5 ++++ debian/watch | 2 ++ 9 files changed, 103 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/2001_adapt-install-target-path.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8c4b5fc --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +remote-support-desktop (0.0.1-0) unstable; urgency=medium + + * Upstream-provided Debian package for remote-support-desktop. + See upstream ChangeLog for recent changes. + + -- Mike Gabriel Thu, 17 Sep 2020 21:21:33 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c9ced02 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: remote-support-desktop +Section: x11 +Priority: optional +Maintainer: Mike Gabriel +Build-Depends: debhelper-compat (= 13), + libgles2-mesa-dev, + qtquickcontrols2-5-dev, + qtdeclarative5-dev, + quilt, +Standards-Version: 4.5.0 +Homepage: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-desktop +Vcs-Git: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-desktop.git +Vcs-Browser: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-desktop/ + +Package: remote-support-desktop +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + qml-module-qtquick-controls, + qml-module-qtquick-controls2, + qml-module-qtquick-dialogs, + qml-module-qtquick-extras, + qmlscene, +Description: Desktop App for sharing the local desktop via Remote Web App + Remote Web App is a web-based desktop support tool that shares desktop + sessions to people provinding IT support. + . + This application is the tool running on the local desktop that users can launch + when they need remote support from the IT staff team. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1a6c357 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Remote Support Desktop +Upstream-Contact: Mike Gabriel +Source: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-desktop + +Files: * +Copyright: 2020, Daniel Teichmann + 2020, Mike Gabriel +License: GPL-2+ + +Files: debian/* +Copyright: 2020, Mike Gabriel +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 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, write to the + Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/patches/2001_adapt-install-target-path.patch b/debian/patches/2001_adapt-install-target-path.patch new file mode 100644 index 0000000..684e904 --- /dev/null +++ b/debian/patches/2001_adapt-install-target-path.patch @@ -0,0 +1,14 @@ +Description: Make sure the app gets installed to /usr/bin/. +Author: Mike Gabriel + +--- a/remote-support-desktop.pro ++++ b/remote-support-desktop.pro +@@ -55,7 +55,5 @@ + # Additional import path used to resolve QML modules just for Qt Quick Designer + QML_DESIGNER_IMPORT_PATH = + +-# Default rules for deployment. +-qnx: target.path = /tmp/$${TARGET}/bin +-else: unix:!android: target.path = /opt/$${TARGET}/bin ++target.path = /usr/bin + !isEmpty(target.path): INSTALLS += target diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..34e13e6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +2001_adapt-install-target-path.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e4bab5e --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ + +get-orig-source: + uscan --noconf --force-download --rename --download-current-version --destdir=.. diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..9f8e9b6 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 \ No newline at end of file diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..487ac98 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Bug-Database: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-desktop/issues +Bug-Submit: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-desktop/issues/new +Repository: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-desktop +Repository-Browse: https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-desktop + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..33dc9b9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://gitlab.das-netzwerkteam.de/remotewebapp/remote-support-desktop/tags .*/remote-support-desktop-(\d\S+)\.tar\.gz -- cgit v1.2.3