From 041ad4db33c6b8e43ca615bfe785b58c68b38804 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 6 Nov 2022 15:36:11 -0500 Subject: add debian/ --- debian/README.Debian | 5 ++ debian/changelog | 5 ++ debian/control | 16 +++++ debian/copyright | 79 ++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 19 ++++++ debian/source/format | 1 + debian/source/local-options | 4 ++ debian/source/options | 4 ++ debian/source/patch-header | 22 ++++++ debian/stackrpms-thinkpad-p50s.lintian-overrides | 1 + debian/upstream/metadata | 16 +++++ debian/watch | 2 + .../share/doc/stackrpms-thinkpad-p50s/README.md | 14 ++++ src/usr/share/man/man1/netmounts-off.1.txt | 2 +- src/usr/share/man/man1/netmounts-on.1.txt | 2 +- src/usr/share/man/man1/netmounts-trayicon.1.txt | 2 +- src/usr/share/man/man1/vpn-off.1.txt | 2 +- src/usr/share/man/man1/vpn-on.1.txt | 2 +- src/usr/share/man/man1/vpn-trayicon.1.txt | 2 +- 20 files changed, 195 insertions(+), 6 deletions(-) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/local-options create mode 100644 debian/source/options create mode 100644 debian/source/patch-header create mode 100644 debian/stackrpms-thinkpad-p50s.lintian-overrides create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..37a8046 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +stackrpms-thinkpad-p50s for Devuan + +Initial release. + + -- B. Stack Fri, 04 Nov 2022 09:28:30 -0400 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..62ee513 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +stackrpms-thinkpad-p50s (0.0.1-1) obs; urgency=low + + * Initial release. Closes: packages-want#25 + + -- B. Stack Fri, 04 Nov 2022 09:28:30 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..aecc488 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: stackrpms-thinkpad-p50s +Section: admin +Priority: optional +Maintainer: B. Stack +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.5.1 +Homepage: https://bgstack15.ddns.net/git/stackrpms-thinkpad-p50s/ +Rules-Requires-Root: no + +Package: stackrpms-thinkpad-p50s +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Common files for Thinkpad P50s platform + Useful configs and scripts for Stackrpms Thinkpad P50s + systems diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2d17934 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,79 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: stackrpms-thinkpad-p50s +Upstream-Contact: B. Stack +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .gitignore + debian/changelog + debian/control + debian/copyright + debian/patches/series + debian/README.Debian + debian/rules + debian/source/format + debian/source/options + debian/source/patch-header + debian/stackrpms-thinkpad-p50s.lintian-overrides + debian/upstream/metadata + debian/watch + .gitremotes + src/etc/stackrpms-thinkpad-p50s/fluxbox.keys + src/etc/stackrpms-thinkpad-p50s/fluxbox.startup + src/etc/stackrpms-thinkpad-p50s/Xmodmap + src/Makefile + src/usr/bin/hwset-thinkpad-p50s + src/usr/bin/netmounts-off + src/usr/bin/netmounts-on + src/usr/bin/netmounts-trayicon + src/usr/bin/vpn-off + src/usr/bin/vpn-on + src/usr/bin/vpn-trayicon + src/usr/share/doc/stackrpms-thinkpad-p50s/README.md + src/usr/share/icons/hicolor/scalable/status/netmounts-off.svg + src/usr/share/icons/hicolor/scalable/status/netmounts-on.svg + src/usr/share/icons/hicolor/scalable/status/vpn-off.svg + src/usr/share/icons/hicolor/scalable/status/vpn-on.svg + src/usr/share/man/man1/hwset-thinkpad-p50s.1.gz + src/usr/share/man/man1/netmounts-off.1.gz + src/usr/share/man/man1/netmounts-on.1.gz + src/usr/share/man/man1/netmounts-trayicon.1.gz + src/usr/share/man/man1/vpn-off.1.gz + src/usr/share/man/man1/vpn-on.1.gz + src/usr/share/man/man1/vpn-trayicon.1.gz + src/usr/share/man/man1/hwset-thinkpad-p50s.1.txt + src/usr/share/man/man1/netmounts-off.1.txt + src/usr/share/man/man1/netmounts-on.1.txt + src/usr/share/man/man1/netmounts-trayicon.1.txt + src/usr/share/man/man1/vpn-off.1.txt + src/usr/share/man/man1/vpn-on.1.txt + src/usr/share/man/man1/vpn-trayicon.1.txt +Copyright: 2022 B. Stack +License: GPL-3 + This package 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. + . + This package 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 complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +#---------------------------------------------------------------------------- +# xml and html files (skipped): +# src/usr/share/icons/hicolor/scalable/status/netmounts-off.svg +# src/usr/share/icons/hicolor/scalable/status/vpn-on.svg +# src/usr/share/icons/hicolor/scalable/status/netmounts-on.svg +# src/usr/share/icons/hicolor/scalable/status/vpn-off.svg +# src/usr/share/doc/stackrpms-thinkpad-p50s/README.md + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0dcb931 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export APPNAME=stackrpms-thinkpad-p50s + +%: + dh $@ --sourcedirectory=src + +override_dh_auto_install: + dh_auto_install -- prefix=/usr DEFAULTDIR='$$(DESTDIR)/etc/default' + +override_dh_gencontrol: + printf "misc:Depends=" > debian/${APPNAME}.substvars + make -C src deplist DISTRO=devuan DEPTYPE=dep SEPARATOR=',' | grep -vE 'make\[[0-9]' >> debian/${APPNAME}.substvars + dh_gencontrol + 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/local-options b/debian/source/local-options new file mode 100644 index 0000000..77effbe --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,4 @@ +# +# ### gbp-buildpackage(1) user may like this. ### +#abort-on-upstream-changes +#unapply-patches diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..077de7d --- /dev/null +++ b/debian/source/options @@ -0,0 +1,4 @@ +# +# ### dgit-maint-merge(7) workflow user need this ### +# single-debian-patch +# auto-commit diff --git a/debian/source/patch-header b/debian/source/patch-header new file mode 100644 index 0000000..6ff0a40 --- /dev/null +++ b/debian/source/patch-header @@ -0,0 +1,22 @@ +The automatically generated patch puts this free form text on top of it. + +If you are using gbp-buildpackage(1), you probably don't need this file. + +If you are using dgit-maint-merge(7), please consider text as follows. + +The Debian packaging of foo is maintained in git, using the merging workflow +described in dgit-maint-merge(7). There isn't a patch queue that can be +represented as a quilt series. + +A detailed breakdown of the changes is available from their canonical +representation - git commits in the packaging repository. For example, to see +the changes made by the Debian maintainer in the first upload of upstream +version 1.2.3, you could use: + + % git clone https://git.dgit.debian.org/foo + % cd foo + % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian' + +(If you have dgit, use `dgit clone foo`, rather than plain `git clone`.) + +A single combined diff, containing all the changes, follows. diff --git a/debian/stackrpms-thinkpad-p50s.lintian-overrides b/debian/stackrpms-thinkpad-p50s.lintian-overrides new file mode 100644 index 0000000..63addd9 --- /dev/null +++ b/debian/stackrpms-thinkpad-p50s.lintian-overrides @@ -0,0 +1 @@ +script-not-executable [etc/stackrpms-thinkpad-p50s/fluxbox.startup] diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..dc2feb0 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,16 @@ +# +# DEP-12: Per-package machine-readable metadata about Upstream +# Please check * https://dep-team.pages.debian.net/deps/dep12/ +# * https://wiki.debian.org/UpstreamMetadata +Reference: + Author: + Title: + Journal: + Year: + Volume: + Number: + Pages: + DOI: + PMID: + URL: + eprint: diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..fc70498 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=4 diff --git a/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md b/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md index b31326b..86efb14 100644 --- a/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md +++ b/src/usr/share/doc/stackrpms-thinkpad-p50s/README.md @@ -35,3 +35,17 @@ Some configurations include: # Using Install this package, and symlink the fluxbox config files as seen above. Optionally, install those in the /etc/skel path for `.fluxbox/`. + +# Success criteria +This project will be considered stable when the following are met: + +* F1 Toggle audio mute button works +* F2, F3 Volume up/down buttons work +* F5, F6 Screen brightness up/down buttons work +* F8 toggle wireless network button works +* Calculator button initiates the context menu + +# Building + + cd /mnt/public/Support/Platforms/ ; rm -f stackrpms-thinkpad-p50s-0.0.1.tar.gz ; tar -zcf stackrpms-thinkpad-p50s-0.0.1.tar.gz --exclude debian --exclude .git --exclude '.*.swp' stackrpms-thinkpad-p50s ; cd stackrpms-thinkpad-p50s/ + debuild -us -uc diff --git a/src/usr/share/man/man1/netmounts-off.1.txt b/src/usr/share/man/man1/netmounts-off.1.txt index 372f693..e198013 100644 --- a/src/usr/share/man/man1/netmounts-off.1.txt +++ b/src/usr/share/man/man1/netmounts-off.1.txt @@ -5,7 +5,7 @@ volume General Commands Manual date November 2022 ===== NAME - netmounts-off + netmounts-off - unmount all nfs mounts SYNOPSIS netmounts-off OPTIONS diff --git a/src/usr/share/man/man1/netmounts-on.1.txt b/src/usr/share/man/man1/netmounts-on.1.txt index a6839d9..0095f34 100644 --- a/src/usr/share/man/man1/netmounts-on.1.txt +++ b/src/usr/share/man/man1/netmounts-on.1.txt @@ -5,7 +5,7 @@ volume General Commands Manual date November 2022 ===== NAME - netmounts-on + netmounts-on - mount all defined nfs mounts SYNOPSIS netmounts-on OPTIONS diff --git a/src/usr/share/man/man1/netmounts-trayicon.1.txt b/src/usr/share/man/man1/netmounts-trayicon.1.txt index 0a2f98f..0d6ff00 100644 --- a/src/usr/share/man/man1/netmounts-trayicon.1.txt +++ b/src/usr/share/man/man1/netmounts-trayicon.1.txt @@ -5,7 +5,7 @@ volume General Commands Manual date November 2022 ===== NAME - netmounts-trayicon + netmounts-trayicon - display status of all nfs mounts in aggregate in system tray SYNOPSIS netmounts-trayicon OPTIONS diff --git a/src/usr/share/man/man1/vpn-off.1.txt b/src/usr/share/man/man1/vpn-off.1.txt index 5a916bc..cb80c8d 100644 --- a/src/usr/share/man/man1/vpn-off.1.txt +++ b/src/usr/share/man/man1/vpn-off.1.txt @@ -5,7 +5,7 @@ volume General Commands Manual date November 2022 ===== NAME - vpn-off + vpn-off - disable wireguard wg0 nic SYNOPSIS vpn-off OPTIONS diff --git a/src/usr/share/man/man1/vpn-on.1.txt b/src/usr/share/man/man1/vpn-on.1.txt index 3906749..f32ff9a 100644 --- a/src/usr/share/man/man1/vpn-on.1.txt +++ b/src/usr/share/man/man1/vpn-on.1.txt @@ -5,7 +5,7 @@ volume General Commands Manual date November 2022 ===== NAME - vpn-on + vpn-on - enable wireguard wg0 nic SYNOPSIS vpn-on OPTIONS diff --git a/src/usr/share/man/man1/vpn-trayicon.1.txt b/src/usr/share/man/man1/vpn-trayicon.1.txt index 933c007..2e59127 100644 --- a/src/usr/share/man/man1/vpn-trayicon.1.txt +++ b/src/usr/share/man/man1/vpn-trayicon.1.txt @@ -5,7 +5,7 @@ volume General Commands Manual date November 2022 ===== NAME - vpn-trayicon + vpn-trayicon - display status of wireguard vpn in system tray SYNOPSIS vpn-trayicon OPTIONS -- cgit