[debian-edu-commits] debian-edu/pkg-team/ 01/07: initial packaging draft
Mike Gabriel
sunweaver at debian.org
Tue Jun 6 22:26:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository surf-display.
commit 57b03c09c78a618e00e16a1bf3e5ca3954a29acf
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Mar 21 19:50:15 2017 +0100
initial packaging draft
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 46 ++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 42 ++++++++++++++++++++++++++++++++++++++
debian/midori-display.default | 1 +
debian/midori-display.postinst | 42 ++++++++++++++++++++++++++++++++++++++
debian/midori-display.prerm | 44 ++++++++++++++++++++++++++++++++++++++++
debian/rules | 12 +++++++++++
debian/source/format | 1 +
debian/watch | 3 +++
10 files changed, 197 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b7a5d1c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+midori-display (0.0.1-1) UNRELEASED; urgency=medium
+
+ * Initial release to Debian. (Closes: #858378).
+
+ -- Mike Gabriel <sunweaver at debian.org> Fri, 21 Mar 2017 18:39:18 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bc2b619
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: midori-display
+Section: admin
+Priority: extra
+Maintainer: Debian Edu Packaging Team <debian-edu-pkg-team at lists.alioth.debian.org>
+Uploaders:
+ Mike Gabriel <sunweaver at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ cdbs,
+ texlive-latex-extra,
+ texlive-fonts-recommended,
+ lmodern,
+Standards-Version: 3.9.8
+Homepage: https://code.it-zukunft-schule.de/cgit/midori-display/
+Vcs-Git: https://anonscm.debian.org/git/debian-edu/pkg-team/midori-display.git
+Vcs-Browser: https://anonscm.debian.org/git/debian-edu/pkg-team/midori-display.git
+
+Package: midori-display
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${perl:Depends},
+ psmisc,
+ xdotool,
+ xinit,
+ xprintidle,
+Recommends:
+ matchbox-window-manager,
+ pulseaudio,
+ texlive-extra-utils,
+ unclutter,
+ x11-xserver-utils,
+ wmctrl,
+Suggests:
+ nodm,
+Description: Display screen / web browser terminal based on Midori browser in kiosk mode
+ Provide an X11 session manager script that launches a minimal window
+ manager and then opens an entry web page via stripped down Midori web
+ browser in kiosk mode. The web page can be consumed "read-only" or
+ in interactive mode.
+ .
+ In combination with the nodm display manager you can provide an
+ easy-to-setup html'ish display screen or a web terminal.
+ .
+ After a configurable idle time, the browser session is fully
+ reset and started anew.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1b3d863
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Midori WWW Display
+Upstream-Contact: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Source: https://code.it-zukunft-schule.de/cgit/midori-display/
+
+Files: bin/*
+ data/*
+ examples/*
+ ChangeLog
+ Makefile
+ VERSION
+Copyright: 2012-2017, Debian Edu project (http://wiki.debian.org/DebianEdu=
+ 2012-2017, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+ 2016, Daniel Teichmann <daniel.letsplay007 at gmail.com>
+ 2017, Benjamin Schlüter <bschlueter at posteo.de>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2017, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+License: GPL-2+
+
+License: GPL-2+
+ 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 2 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/midori-display.default b/debian/midori-display.default
new file mode 100644
index 0000000..db6775d
--- /dev/null
+++ b/debian/midori-display.default
@@ -0,0 +1 @@
+FIXME: todo, wait for upstream to provide this file
\ No newline at end of file
diff --git a/debian/midori-display.postinst b/debian/midori-display.postinst
new file mode 100755
index 0000000..24ca5c5
--- /dev/null
+++ b/debian/midori-display.postinst
@@ -0,0 +1,42 @@
+#!/bin/sh
+# postinst script for midori-display
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ configure)
+ update-alternatives --install /usr/bin/x-session-manager \
+ x-session-manager /usr/bin/midori-display 20 \
+ --slave /usr/share/man/man1/x-session-manager.1.gz \
+ x-session-manager.1.gz /usr/share/man/man1/midori-display.1.gz
+
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/midori-display.prerm b/debian/midori-display.prerm
new file mode 100755
index 0000000..d328066
--- /dev/null
+++ b/debian/midori-display.prerm
@@ -0,0 +1,44 @@
+#! /bin/sh
+
+# prerm script for midori-display
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
+
+ update-alternatives --remove x-session-manager /usr/bin/midori-display
+
+fi
+
+
+case "$1" in
+ remove)
+ :
+ ;;
+ deconfigure|upgrade|failed-upgrade)
+ :
+ ;;
+ *) echo "$0: didn't understand being called with \`$1'" 1>&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b4e7a38
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+export PREFIX=/usr
+export DESTDIR=$(DEB_DESTDIR)
+
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_MAKE_INSTALL_TARGET=install
+
+get-orig-source:
+ uscan --noconf --force-download --rename --download-current-version --destdir=..
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/watch b/debian/watch
new file mode 100644
index 0000000..183c92c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.it-zukunft-schule.de/cgit/midori-display/ \
+ snapshot/midori-display-(\d\.\d\.\d)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/surf-display.git
More information about the debian-edu-commits
mailing list