diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 126 | ||||
-rw-r--r-- | debian/copyright | 48 | ||||
-rw-r--r-- | debian/dtv-scan-tables.install | 4 | ||||
-rw-r--r-- | debian/get-vcs-snapshot.sh | 33 | ||||
-rwxr-xr-x | debian/rules | 7 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/lintian-overrides | 2 |
9 files changed, 227 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..28be6f1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dtv-scan-tables (0+git20130622.edc0bc3-1) unstable; urgency=low + + * Initial release (Closes: #697898) + + -- Jonathan McCrohan <jmccrohan@gmail.com> Wed, 07 Aug 2013 00:22:59 +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..a2152eb --- /dev/null +++ b/debian/control @@ -0,0 +1,126 @@ +Source: dtv-scan-tables +Section: video +Priority: extra +Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org> +Uploaders: Jonathan McCrohan <jmccrohan@gmail.com>, Tobias Grimm <etobi@debian.org> +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.4 +Homepage: http://git.linuxtv.org/dtv-scan-tables.git + +Package: dtv-scan-tables +Architecture: all +Depends: ${misc:Depends} +Breaks: dvb-apps (<< 1.1.1+rev1483-2) +Description: Digital Video Broadcasting (DVB) initial scan files + Initial setup tables for use with DVB devices supporting the DVB-C, DVB-T, + DVB-S, and ATSC standards. + . + These scan tables were once provided as part of the dvb-apps package, however + upstream has since decided to split the scan tables out into their own + separate dtv-scan-tables repository to ease maintenance of both packages. + . + Contains DVB-C scan tables for the following countries: + Austria + Belgium + Brazil + Switzerland + Czech Republic + Germany + Denmark + Spain + Finland + France + Hungary + Iceland + Luxembourg + Netherlands + Norway + Sweden + . + Contains DVB-S scan tables for the following providers: + ABS + Agila + Amazonas + AMC + Amos + Anik F1 + Apstar + AsiaSat + Astra + Atlantic Bird + BrasilSAT + ChinaSat + Estrela do Sul + Eurobird + Eutelsat + Express + Galaxy + Hispasat + Hotbird + IA-7 + Insat + Intelsat + JCSat + Measat + Nahuel + Nilesat + NSS + Optus + Palapa + PAS + Satmex + SBS 6 + SES 2 + Sirius + ST 1 + Telecom2 + Telkom1 + Telstar + Thaicom + Thor + Turkstat + Vinasat 1 + Yamal 201 + . + Contains DVB-T scan tables for the following countries: + Andorra + Argentina + Austria + Australia + Ă…land Islands + Belgium + Brazil + Switzerland + Czech Republic + Germany + Denmark + Spain + Finland + France + Greece + Hong Kong + Croatia + Hungary + Ireland + Israel + Iran, Islamic Republic of + Iceland + Italy + Lithuania + Luxembourg + Latvia + Netherlands + Norway + New Zealand + Poland + Portugal + Romania + Sweden + Slovenia + Slovakia + United Kingdom + Taiwan, Province of China + Vietnam + . + Contains ATSC scan tables for the following countries: + United States diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e252ea5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,48 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dtv-scan-tables +Source: http://git.linuxtv.org/dtv-scan-tables.git + +Files: * +Copyright: 2013 Oliver Schinagl <oliver@schinagl.nl> + 2012 Jiri Slaby <jirislaby@gmail.com> + 2012-2013 Jonathan McCrohan <jmccrohan@gmail.com> + 2007 Marcel Siegert <mws@linuxtv.org> + 2006 Michael Krufky <mkrufky@linuxtv.org> + 2006 Andrew de Quincey <adq_dvb@lidskialf.net> + 2006-2012 Christoph Pfister <pfister@linuxtv.org> + 2006, 2011, 2013 Mauro Carvalho Chehab <mchehab@redhat.com> + 2005 Patrick Boettcher <pb@linuxtv.org> + 2004 Holger Waechtler <holger@linuxtv.org> + 2004-2006 Manu Abraham <manu@linuxtv.org> + 2004-2006 Johannes Stezenbach <js@linuxtv.org> +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + See /usr/share/common-licenses/LGPL-2.1 for the full license text. + +Files: debian/* +Copyright: 2012 Jonathan McCrohan <jmccrohan@gmail.com> +License: GPL-2+ + This package 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 package 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 complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/dtv-scan-tables.install b/debian/dtv-scan-tables.install new file mode 100644 index 0000000..008613f --- /dev/null +++ b/debian/dtv-scan-tables.install @@ -0,0 +1,4 @@ +dvb-c/ /usr/share/dvb/ +dvb-s/ /usr/share/dvb/ +dvb-t/ /usr/share/dvb/ +atsc/ /usr/share/dvb/ diff --git a/debian/get-vcs-snapshot.sh b/debian/get-vcs-snapshot.sh new file mode 100644 index 0000000..de39e9e --- /dev/null +++ b/debian/get-vcs-snapshot.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +set -e + +GIT=git://linuxtv.org/dtv-scan-tables.git + +echo Downloading latest snapshot from git repository... + +DEB_SOURCE_PACKAGE=`egrep '^Source: ' debian/control | cut -f 2 -d ' '` +VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:\s*//' -e s/-[^-]*$// -e s/\+git.*//` + +git clone --depth 1 ${GIT} + +GIT_SHA=`git --git-dir="${DEB_SOURCE_PACKAGE}/.git" show --pretty=format:"%h" --quiet | head -1 || true` + +VERSION_DATE=`git --git-dir="${DEB_SOURCE_PACKAGE}/.git" log --no-color -1 --date=iso | sed -ne "s/Date:\s\+\(.*\).*/\1/p" | cut -d" " -f1 | tr -d "-"` +VERSION_FULL="${VERSION_UPSTREAM}+git${VERSION_DATE}.${GIT_SHA}" +TARBALL="../${DEB_SOURCE_PACKAGE}_${VERSION_FULL}.orig.tar.gz" + +tar --exclude-vcs -c ${DEB_SOURCE_PACKAGE} | gzip -9 >"${TARBALL}" + +rm -rf ${DEB_SOURCE_PACKAGE} + +if [ -d .git ]; then + read -p "Import '${TARBALL}' into Git (y/N)?" ANSWER + case ${ANSWER} in + [Yy] ) + git-import-orig --pristine-tar "${TARBALL}" + dch -v "${VERSION_FULL}-1" "New Upstream Snapshot (commit ${GIT_SHA})" + break + ;; + esac +fi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cb2ffaa --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +get-vcs-snapshot: + sh debian/get-vcs-snapshot.sh 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..9c93ed7 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# we build from upstream git revisions, ignore watchfile. +dtv-scan-tables source: debian-watch-file-is-missing |