Add debian packaging files

This doesn't quite work, since the debuild stuff refuses to see the
rustup-installed cargo/rustc, which is required for our build.
This commit is contained in:
2022-05-11 22:37:38 -07:00
parent 712467f433
commit df81c14871
9 changed files with 152 additions and 9 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
bscreensaver (0.1.0-1) UNRELEASED; urgency=medium
* Initial release.
-- Brian Tarricone <brian@tarricone.org> Thu, 05 May 2022 01:22:57 -0700

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
13

27
debian/control vendored Normal file
View File

@ -0,0 +1,27 @@
Source: bscreensaver
Maintainer: Brian Tarricone <brian@tarricone.org>
Section: x11
Priority: optional
Standards-Version: 3.9.2
Build-Depends:
debhelper (>= 13),
pkg-config,
libxcb-randr0-dev,
libxcb-xfixes0-dev,
libxcb1-dev,
libgtk-3-dev,
libpam0g-dev,
cargo,
rustc,
help2man
Package: bscreensaver
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: secure X11 screen locker
BScreensaver is a privilege-separated screen locker that attempts to
be as secure as possible, meaning that a crash one one of its
non-critical components will not cause the screen to unlock.
.
It is fairly barebones so far, and only supports blanking the screen.
There is a single unlock dialog implementation that uses GTK3.

26
debian/copyright vendored Normal file
View File

@ -0,0 +1,26 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bscreensaver
Upstream-Contact: Brian Tarricone <brian@tarricone.org>
Source: https://github.com/kelnos/bscreensaver
Files: *
Copyright: 2022 Brian Tarricone <brian@tarricone.org>
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 <http://www.gnu.org/licenses/>.
.
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'.

26
debian/rules vendored Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/make -f
RUST_RELEASE_CHANNEL = nightly
MAKE_ARGS = \
RUST_RELEASE_CHANNEL=$(RUST_RELEASE_CHANNEL) \
PREFIX=/usr \
SYSCONFDIR=/etc \
DESTDIR=debian/bscreensaver
%:
dh $@
override_dh_auto_clean:
@echo "HOME=$$HOME"
@echo "PATH=$$PATH"
ls $$HOME/.rustup
ls $$HOME/.cargo
dh_auto_clean -- $(MAKE_ARGS)
override_dh_auto_build:
dh_auto_build -- $(MAKE_ARGS)
override_dh_auto_install:
dh_auto_install -- $(MAKE_ARGS)

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)