aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-17 19:25:00 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-09-17 19:28:45 +0000
commit8e29a45e456baf232196e8fa2fc5eae50be66993 (patch)
tree0ecbff00fa526860b3458e152f02441c5caaf668
parent187c3ff5d4029549f2603d3dc014b92b3a9ac21f (diff)
downloadRWA.Support.DesktopApp-8e29a45e456baf232196e8fa2fc5eae50be66993.tar.gz
RWA.Support.DesktopApp-8e29a45e456baf232196e8fa2fc5eae50be66993.tar.bz2
RWA.Support.DesktopApp-8e29a45e456baf232196e8fa2fc5eae50be66993.zip
debian/: Initial draft for creating DEB packages.
-rw-r--r--debian/changelog6
-rw-r--r--debian/control29
-rw-r--r--debian/copyright32
-rw-r--r--debian/patches/2001_adapt-install-target-path.patch14
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules13
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch2
-rw-r--r--remote-support-desktop.pro4
10 files changed, 104 insertions, 3 deletions
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 <mike.gabriel@das-netzwerkteam.de> 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 <mike.gabriel@das-netzwerkteam.de>
+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 <mike.gabriel@das-netzwerkteam.de>
+Source: https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-desktop
+
+Files: *
+Copyright: 2020, Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
+ 2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+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 <mike.gabriel@das-netzwerkteam.de>
+
+--- 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
diff --git a/remote-support-desktop.pro b/remote-support-desktop.pro
index e2b4fde..692fc8b 100644
--- a/remote-support-desktop.pro
+++ b/remote-support-desktop.pro
@@ -55,7 +55,5 @@ QML_IMPORT_PATH =
# 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