From 3fcd32aa6d295ac62fe0e526931fc556a4060343 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 13 Jul 2023 09:56:51 -0400 Subject: initial commit --- debian/README.Debian | 5 +++++ debian/_service | 28 ++++++++++++++++++++++++++++ debian/changelog | 5 +++++ debian/control | 20 ++++++++++++++++++++ debian/copyright | 35 +++++++++++++++++++++++++++++++++++ debian/fix-alttab.dsc | 16 ++++++++++++++++ debian/fix-alttab.lintian-overrides | 0 debian/patches/series | 1 + debian/rules | 17 +++++++++++++++++ debian/source/format | 1 + debian/source/lintian-overrides | 0 debian/source/local-options | 4 ++++ debian/source/options | 4 ++++ debian/source/patch-header | 22 ++++++++++++++++++++++ debian/upstream/metadata | 16 ++++++++++++++++ debian/watch | 2 ++ 16 files changed, 176 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/_service create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/fix-alttab.dsc create mode 100644 debian/fix-alttab.lintian-overrides create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/source/local-options create mode 100644 debian/source/options create mode 100644 debian/source/patch-header create mode 100644 debian/upstream/metadata create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..ee149a1 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +fix-alttab for Devuan + +Initial package for Devuan + + -- B. Stack Wed, 12 Jul 2023 16:30:59 -0400 diff --git a/debian/_service b/debian/_service new file mode 100644 index 0000000..c956bf2 --- /dev/null +++ b/debian/_service @@ -0,0 +1,28 @@ + + + git + https://bgstack15.ddns.net/cgit/fix-alttab + fix-alttab/debian + debian + master + _none_ + + + *.tar + xz + + + git + https://bgstack15.ddns.net/cgit/fix-alttab + master + _none_ + + + *.tar + gz + + + *.tar.xz + */*.dsc + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d35fcff --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +fix-alttab (0.0.1-1) obs; urgency=low + + * Initial release. Closes: packages-want#29 + + -- B. Stack Wed, 12 Jul 2023 16:30:59 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..38b15da --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: fix-alttab +Section: x11 +Priority: optional +Maintainer: B. Stack +Build-Depends: debhelper-compat (= 13), + bgscripts-core, + txt2man +Standards-Version: 4.5.1 +Homepage: https://bgstack15.ddns.net/ +Rules-Requires-Root: no +Vcs-Git: https://bgstack15.ddns.net/git/fix-alttab +Vcs-Browser: https://bgstack15.ddns.net/git/fix-alttab + +Package: fix-alttab +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: rerun alttab if monitor config changes + This small utility restarts alttab with various parameters + depending on which monitors are active. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a888660 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: fix-alttab +Upstream-Contact: B. Stack +Source: https://bgstack15.ddns.net/ + +Files: src/Makefile + src/etc/sysconfig/fix-alttab + src/etc/xdg/autostart/fix-alttab-daemon.desktop + src/usr/bin/fix-alttab-daemon + src/usr/libexec/fix-alttab + src/usr/share/man/man1/fix-alttab-daemon.1.txt + src/usr/share/man/man1/fix-alttab.1.txt + debian/* + README.md +Copyright: 2023 B. Stack +License: GPL-3.0 + 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 complete text of the GNU General Public License + Version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/fix-alttab.dsc b/debian/fix-alttab.dsc new file mode 100644 index 0000000..d412f9d --- /dev/null +++ b/debian/fix-alttab.dsc @@ -0,0 +1,16 @@ +Format: 3.0 (quilt) +Source: fix-alttab +Binary: fix-alttab +Architecture: all +Version: 0.0.1-1 +Maintainer: B. Stack +Homepage: https://bgstack15.ddns.net/ +Standards-Version: 4.5.1 +Vcs-Browser: https://bgstack15.ddns.net/git/fix-alttab +Vcs-Git: https://bgstack15.ddns.net/git/fix-alttab +Build-Depends: debhelper-compat (= 13), bgscripts-core, txt2man +Package-List: + fix-alttab deb x11 optional arch=all +Files: + 00000000000000000000000000000000 1 fix-alttab.orig.tar.gz + 00000000000000000000000000000000 1 fix-alttab.debian.tar.xz diff --git a/debian/fix-alttab.lintian-overrides b/debian/fix-alttab.lintian-overrides new file mode 100644 index 0000000..e69de29 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..9d50627 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/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=fix-alttab + +%: + dh $@ --sourcedirectory=src + +override_dh_auto_install: + dh_auto_install -- prefix=/usr DEFAULTDIR='$$(DESTDIR)/etc/default' + +override_dh_auto_build: + dh_auto_build + make-dsc-for-obs 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/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..e69de29 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/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..76575dc --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit