diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9c5fcd6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +eg25-manager (0.0.1-1) unstable; urgency=medium + + * Initial Debian packaging + + -- Arnaud Ferraris Thu, 10 Dec 2020 15:19:15 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4a1e0bb --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: eg25-manager +Section: libs +Priority: optional +Maintainer: Arnaud Ferraris +Standards-Version: 4.5.1 +Rules-Requires-Root: no +Build-Depends: debhelper-compat (= 13), + libglib2.0-dev, + libgpiod-dev, + libmm-glib-dev, + meson, +Homepage: https://gitlab.com/mobian1/devices/eg25-manager +Vcs-Git: https://gitlab.com/mobian1/devices/eg25-manager.git +Vcs-Browser: https://gitlab.com/mobian1/devices/eg25-manager + +Package: eg25-manager +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + modemmanager, +Conflicts: pinephone-modem-scripts, +Replaces: pinephone-modem-scripts, +Description: Manager daemon for the Quectel EG25 mobile broadband modem + A set of scripts for the PinePhone modem, allowing to power on/off the modem, + and configure its audio interface to work properly with the A64 audio codec. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c050b3b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: eg25-manager +Upstream-Contact: Arnaud Ferraris +Source: https://gitlab.com/mobian1/devices/eg25-manager + +Files: * +Copyright: 2020 Arnaud Ferraris +License: GPL-3+ + +Files: src/mm-iface.c +Copyright: 2019 Purism SPC + 2020 Arnaud Ferraris +License: GPL-3+ + +Files: src/suspend.c +Copyright: 2012 Red Hat, Inc + 2020 Arnaud Ferraris +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 . + . + On Debian systems, the full text of the GNU General Public License + version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. diff --git a/debian/eg25-manager.service b/debian/eg25-manager.service new file mode 100644 index 0000000..51e17e0 --- /dev/null +++ b/debian/eg25-manager.service @@ -0,0 +1,10 @@ +[Unit] +Description=Quectel EG25 modem +Before=ModemManager.service + +[Service] +Type=simple +ExecStart=/usr/bin/eg25manager + +[Install] +WantedBy=multi-user.target diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..9b59c49 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,8 @@ +[DEFAULT] +debian-branch = debian/latest +upstream-branch = upstream/latest +upstream-tag = %(version)s +pristine-tar = True + +[tag] +sign-tags = True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6d726c7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ --builddirectory=_build + +override_dh_installsystemd: + dh_installsystemd --name=eg25-manager --no-restart-on-upgrade --no-restart-after-upgrade 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/watch b/debian/watch new file mode 100644 index 0000000..d76aa4e --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ + + +version=4 +opts=filenamemangle=s/.*\/archive\/(\d\S+)\/eg25-manager.*\.tar\.gz/eg25-manager-$1\.tar\.gz/g \ + https://gitlab.com/mobian1/eg25-manager/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*