debian packaging updates plus fix two typos #325

Closed
barak wants to merge 10 commits from master into master
9 changed files with 67 additions and 34 deletions
+1
View File
@@ -1,4 +1,5 @@
/*.debhelper.log
/*.substvars
/cool-retro-term.1
/cool-retro-term/
/files
+13
View File
@@ -1,3 +1,16 @@
cool-retro-term (1.0-1) unstable; urgency=medium
* Adopt packaging
* Track upstream changes
* Put in section x11
* Bump debian standards version
* Allow parallel builds
* Hardened build per policy, for no particularly good reason
* Register as alternative x-terminal-emulator
* Generate & install man page using help2man
-- Barak A. Pearlmutter <bap@debian.org> Wed, 07 Dec 2016 08:10:20 +0000
cool-retro-term (0.9-2) UNRELEASED; urgency=medium
* Adding missing dependencies
+1 -1
View File
@@ -2,7 +2,7 @@ Source: cool-retro-term
Maintainer: Jeka Der <jekader@gmail.com>
Section: x11
Priority: optional
Standards-Version: 3.9.6
Standards-Version: 3.9.7
Homepage: https://github.com/Swordfish90/cool-retro-term
Vcs-Git: git://github.com/barak/cool-retro-term.git
Vcs-Browser: https://github.com/barak/cool-retro-term
-31
View File
@@ -1,31 +0,0 @@
.TH cool-retro-term 1 "August 22 2016"
.SH NAME
cool-retro-term \- terminal emulator mimicing the old cathode display
.SH SYNOPSIS
"Usage: ./cool\-retro\-term [\-\-default\-settings] [\-\-workdir <dir>] [\-\-program <prog>] [\-p|\-\-profile <prof>] [\-\-fullscreen] [\-h|\-\-help]"
.SH DESCRIPTION
This manual page documents briefly the
.B cool-retro-term
command.
.SH OPTIONS
.TP
\fB\-\-default\-settings\fR
Run cool\-retro\-term with the default settings
.TP
\fB\-\-workdir\fR <dir>
Change working directory to 'dir'
.TP
\fB\-e\fR <cmd>
Command to execute. This option will catch all following arguments, so use it as the last option.
.TP
\fB\-\-fullscreen\fR
Run cool\-retro\-term in fullscreen.
.HP
\fB\-p\fR|\-\-profile <prof> Run cool\-retro\-term with the given profile.
.TP
\fB\-h\fR|\-\-help
Print this help.
.TP
\fB\-\-verbose\fR
Print additional informations such as profiles and settings.
.PP
@@ -0,0 +1 @@
debian/cool-retro-term.1
+16
View File
@@ -0,0 +1,16 @@
#! /bin/sh
set -e
case "$1" in
configure)
# Alternatives
update-alternatives --quiet \
--install /usr/bin/x-terminal-emulator \
x-terminal-emulator /usr/bin/cool-retro-term 20 \
--slave /usr/share/man/man1/x-terminal-emulator.1.gz \
x-terminal-emulator.1.gz /usr/share/man/man1/cool-retro-term.1.gz
;;
esac
#DEBHELPER#
+12
View File
@@ -0,0 +1,12 @@
#! /bin/sh
set -e
case "$1" in
remove|deconfigure)
# Alternatives
update-alternatives --quiet --remove x-terminal-emulator /usr/bin/cool-retro-term
;;
esac
#DEBHELPER#
+22 -2
View File
@@ -1,4 +1,24 @@
#!/usr/bin/make -f
%:
dh $@
export QT_SELECT = 5
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@ --parallel
ver := $(shell dpkg-parsechangelog --show-field 'Version')
debian/cool-retro-term.1: cool-retro-term
help2man --no-info \
--no-discard-stderr \
--version-string="$(ver)" \
--name="Terminal for X with a highly-configurable highly-retro look." \
--section=1 \
./$< \
> $@
override_dh_auto_install: debian/cool-retro-term.1
dh_auto_install
+1
View File
@@ -0,0 +1 @@
single-debian-patch