diff options
-rw-r--r-- | data/com.github.theironrobin.siglo.desktop.in | 2 | ||||
-rw-r--r-- | debian/.gitignore | 7 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/control | 36 | ||||
-rw-r--r-- | debian/copyright | 39 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/gbp.conf | 4 | ||||
-rw-r--r-- | debian/patches/desktop-entry-main-category.patch | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/siglo.1 | 22 | ||||
-rw-r--r-- | debian/siglo.manpages | 1 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 5 |
14 files changed, 141 insertions, 1 deletions
diff --git a/data/com.github.theironrobin.siglo.desktop.in b/data/com.github.theironrobin.siglo.desktop.in index 4e5cac1..5148432 100644 --- a/data/com.github.theironrobin.siglo.desktop.in +++ b/data/com.github.theironrobin.siglo.desktop.in @@ -3,7 +3,7 @@ Name=Siglo Exec=siglo Terminal=false Type=Application -Categories=GTK; +Categories=GTK;System; StartupNotify=true Icon=com.github.theironrobin.siglo X-Purism-FormFactor=Workstation;Mobile; diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..87c81a8 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,7 @@ +/.debhelper/ +/siglo.postinst.debhelper +/siglo.prerm.debhelper +/siglo.substvars +/siglo/ +/debhelper-build-stamp +/files diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d9e8aa5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +siglo (0.9.9-1) UNRELEASED; urgency=medium + + * Initial release. (Closes: #XXXXXX) + + -- "P. J. McDermott" <pj@pehjota.net> Sun, 01 Oct 2023 15:05:11 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7e91da3 --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: siglo +Maintainer: "P. J. McDermott" <pj@pehjota.net> +Section: electronics +Priority: optional +Build-Depends: + debhelper-compat (= 13), + dh-python, + python3, + meson, + python3-dbus, + python3-urllib3, + python3-idna, + python3-charset-normalizer, + python3-certifi, + python3-requests, + libglib2.0-dev, + libgtk-3-dev, + gettext, + gtk-update-icon-cache, + desktop-file-utils, +Standards-Version: 4.6.2 +Homepage: https://github.com/theironrobin/siglo +#Vcs-Browser: +#Vcs-Git: +Rules-Requires-Root: no + +Package: siglo +Architecture: all +Section: electronics +Priority: optional +Depends: ${misc:Depends}, ${python3:Depends} +Description: InfiniTime smartwatch companion application + Siglo is a GTK application to sync a smartwatch running the InfiniTime firmware + with a host device, e.g. a PinePhone. + . + "Siglo" means "century" in Spanish. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..526a550 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: siglo +Source: https://github.com/theironrobin/siglo + +Files: * +Copyright: Alex Robinson and others +License: MPL-2.0 + +Files: src/ota/* +Copyright: Daniel Thompson +License: Apache-2.0 + +Files: debian/* +Copyright: 2023 P. J. McDermott +License: MPL-2.0 + +License: MPL-2.0 + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. +Comment: + On Debian systems, the full text of the Mozilla Public License Version 2.0 can + be found in the the file '/usr/share/common-licenses/MPL-2.0'. + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +Comment: + On Debian systems, the full text of the Apache License Version 2.0 can be found + in the file '/usr/share/common-licenses/Apache-2.0'. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..ecc856f --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +pristine-tar = True +debian-branch = debian/latest +upstream-branch = upstream/latest diff --git a/debian/patches/desktop-entry-main-category.patch b/debian/patches/desktop-entry-main-category.patch new file mode 100644 index 0000000..f321d65 --- /dev/null +++ b/debian/patches/desktop-entry-main-category.patch @@ -0,0 +1,14 @@ +Author: "P. J. McDermott" <pj@pehjota.net> +Description: Add a Main Category to the desktop entry + +--- a/data/com.github.theironrobin.siglo.desktop.in ++++ b/data/com.github.theironrobin.siglo.desktop.in +@@ -3,7 +3,7 @@ Name=Siglo + Exec=siglo + Terminal=false + Type=Application +-Categories=GTK; ++Categories=GTK;System; + StartupNotify=true + Icon=com.github.theironrobin.siglo + X-Purism-FormFactor=Workstation;Mobile; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6e3ea57 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +desktop-entry-main-category.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..016f8b3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with=python3 diff --git a/debian/siglo.1 b/debian/siglo.1 new file mode 100644 index 0000000..1b316f4 --- /dev/null +++ b/debian/siglo.1 @@ -0,0 +1,22 @@ +.TH SIGLO "1" "2023-10-01" "Siglo 0.9.9" "User Commands" + +.SH NAME +siglo \- app to sync InfiniTime watch + +.SH SYNOPSIS +\fBsiglo\fP [\fB\-\-start\fP | \fB\-\-stop\fP] + +.SH OPTIONS +.TP +\fB\-h\fP, \fB\-\-help\fP +Show a help message and exit +.TP +\fB\-\-start\fP, \fB-d\fP +Start daemon +.TP +\fB\-\-stop\fP, \fB-x\fP +Stop daemon + +.SH AUTHOR +This manual page was written by P. J. McDermott <pj@pehjota.net> for the Debian +system (but may be used by others). diff --git a/debian/siglo.manpages b/debian/siglo.manpages new file mode 100644 index 0000000..c256e43 --- /dev/null +++ b/debian/siglo.manpages @@ -0,0 +1 @@ +debian/siglo.1 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..a61a20d --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +version=4 +opts="searchmode=plain,\ +filenamemangle=s%v?@ANY_VERSION@%@PACKAGE@-$1.tar.xz%" \ +https://api.github.com/repos/theironrobin/siglo/releases?per_page=100 \ +https://api.github.com/repos/[^/]+/[^/]+/tarball/v?@ANY_VERSION@ |