Skip to content
Snippets Groups Projects
Unverified Commit 33c01a5b authored by Clayton Craft's avatar Clayton Craft Committed by Sebastian Krzyszkowiak
Browse files

debian: add initial packaging files


Signed-off-by: default avatarClayton Craft <clayton@craftyguy.net>
parent 51d0be4b
No related branches found
No related tags found
No related merge requests found
osk-sdl (0.58-1) amber-phone; urgency=medium
* Initial release
* Add patch to use ttf font location on Debian
* Add initramfs boot scripts and install hook
-- Clayton Craft <clayton@craftyguy.net> Wed, 23 Sep 2020 23:42:37 -0700
11
Source: osk-sdl
Section: utils
Priority: optional
Maintainer: Clayton Craft <clayton@craftyguy.net>
Build-Depends: debhelper (>= 11), libsdl2-dev, libsdl2-ttf-dev, libcryptsetup-dev
Standards-Version: 4.1.3
Homepage: https://gitlab.com/postmarketOS/osk-sdl
Vcs-Browser: https://gitlab.com/postmarketOS/osk-sdl
Vcs-Git: https://gitlab.com/postmarketOS/osk-sdl.git
Package: osk-sdl
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, fonts-dejavu-core
Description: Lightweight On-Screen-Keyboard based on SDL2
This keyboard is designed to unlock encrypted root partitions on boot
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: osk-sdl
Source: https://gitlab.com/postmarketOS/osk-sdl
Files: *
Copyright: 2017-2020, Clayton Craft <clayton@craftyguy.net>
2017-2020, Martijn Braam
2017, Ian Shehadeh
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 GNU/Linux systems, the complete text of the GNU General Public
License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
README.source
README.Debian
bin/osk-sdl usr/bin
osk.conf etc
debian/initramfs/hooks/osk-sdl usr/share/initramfs-tools/hooks
debian/initramfs/scripts/local-block/osk-sdl usr/share/initramfs-tools/scripts/local-block
debian/initramfs/scripts/local-top/osk-sdl usr/share/initramfs-tools/scripts/local-top
#! /bin/sh
set -e
case "$1" in
configure)
if which update-initramfs >/dev/null; then
update-initramfs -u
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
#! /bin/sh
set -e
case "$1" in
remove)
if which update-initramfs >/dev/null; then
update-initramfs -u
fi
;;
esac
#DEBHELPER#
set-font.patch
Index: osk-sdl/osk.conf
===================================================================
--- osk-sdl.orig/osk.conf
+++ osk-sdl/osk.conf
@@ -5,7 +5,7 @@ wallpaper = #000000
keyboard-background = #333333;
keyboard-map = us
-keyboard-font = /usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
+keyboard-font = /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
key-radius = 0
inputbox-radius = 0
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
%:
dh $@
3.0 (quilt)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment