--- vdr-plugin-music-0.9.2~testing.orig/debian/copyright +++ vdr-plugin-music-0.9.2~testing/debian/copyright @@ -0,0 +1,38 @@ +Upstream Homepage: + http://www.vdr.glaserei-franz.de/vdrplugins.htm + +Upstream Author: + Stefan Franz + +Debian Maintainer(s): + Holger Schvestka + +Copyright: + (C) Stefan Franz + +Copyright (Debian packaging): + (C) 2009 Holger Schvestka + +License: + 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 program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + The complete text of the GNU General Public License can be found + in /usr/share/common-licenses/GPL-2 on most Debian systems. + +License (Debian packaging): + The Debian packaging is licensed under the GPL, version 2 or any + later version, see /usr/share/common-licenses/GPL-2. + + --- vdr-plugin-music-0.9.2~testing.orig/debian/plugin.music.conf +++ vdr-plugin-music-0.9.2~testing/debian/plugin.music.conf @@ -0,0 +1,2 @@ +--config=/var/lib/vdr/plugins/music +--mount=/etc/vdr/plugins/mount --- vdr-plugin-music-0.9.2~testing.orig/debian/install +++ vdr-plugin-music-0.9.2~testing/debian/install @@ -0,0 +1,7 @@ +libvdr-music.so.* usr/lib/vdr/plugins/ +debian/tmp/usr/share/locale +fonts/VDRMusicSymbols.ttf /usr/share/fonts/truetype/ +debian/plugin.music.conf /etc/vdr/plugins/ +music /usr/share/vdr-plugin-music/ +debian/mount /etc/vdr/plugins/ + --- vdr-plugin-music-0.9.2~testing.orig/debian/watch +++ vdr-plugin-music-0.9.2~testing/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.vdr.glaserei-franz.de/files/vdr-music-(.*)\.tgz --- vdr-plugin-music-0.9.2~testing.orig/debian/compat +++ vdr-plugin-music-0.9.2~testing/debian/compat @@ -0,0 +1 @@ +7 --- vdr-plugin-music-0.9.2~testing.orig/debian/docs +++ vdr-plugin-music-0.9.2~testing/debian/docs @@ -0,0 +1,2 @@ +README +README_ORIGINAL_MP3 --- vdr-plugin-music-0.9.2~testing.orig/debian/postrm +++ vdr-plugin-music-0.9.2~testing/debian/postrm @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +# Remove cache files +if [ "$1" = "purge" ]; then + /bin/rm -rf /var/lib/vdr/plugins/music +fi + +#DEBHELPER# --- vdr-plugin-music-0.9.2~testing.orig/debian/rules +++ vdr-plugin-music-0.9.2~testing/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +DEB_INSTALL_CHANGELOGS_ALL = HISTORY + +MAKE_OPTIONS = DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. \ + LOCALEDIR=debian/tmp/usr/share/locale + +common-build-arch:: + $(MAKE) all $(MAKE_OPTIONS) + +cleanbuilddir:: + $(MAKE) -o .dependencies clean $(MAKE_OPTIONS) + rm -f libvdr-*.so.* + +common-binary-predeb-arch:: + sh /usr/share/vdr-dev/dependencies.sh --- vdr-plugin-music-0.9.2~testing.orig/debian/mount +++ vdr-plugin-music-0.9.2~testing/debian/mount @@ -0,0 +1,34 @@ +#!/bin/bash +# +# This script is called from VDR to mount/unmount/eject +# the sources for MP3 play. +# +# argument 1: wanted action, one of mount,unmount,eject,status +# argument 2: mountpoint to act on +# +# mount,unmount,eject must return 0 if succeeded, 1 if failed +# status must return 0 if device is mounted, 1 if not +# + +action="$1" +path="$2" + +case "$action" in +mount) + eject -t "$path" || exit 1 # close the tray + mount "$path" || exit 1 # mount it + ;; +unmount) + umount "$path" || exit 1 # unmount it + ;; +eject) + eject "$path" || exit 1 # eject disk + ;; +status) + cat /proc/mounts | grep -q "$path" # check if mounted + if [ $? -ne 0 ]; then # not mounted ... + exit 1 + fi +esac + +exit 0 --- vdr-plugin-music-0.9.2~testing.orig/debian/examples +++ vdr-plugin-music-0.9.2~testing/debian/examples @@ -0,0 +1 @@ +examples/* --- vdr-plugin-music-0.9.2~testing.orig/debian/links +++ vdr-plugin-music-0.9.2~testing/debian/links @@ -0,0 +1,2 @@ +usr/share/vdr-plugin-music/music var/lib/vdr/plugins/music +var/lib/vdr/plugins/music/musicsources.conf /etc/vdr/plugins/musicsources.conf --- vdr-plugin-music-0.9.2~testing.orig/debian/control +++ vdr-plugin-music-0.9.2~testing/debian/control @@ -0,0 +1,14 @@ +Source: vdr-plugin-music +Section: video +Priority: extra +Maintainer: Holger Schvestka +Build-Depends: cdbs, debhelper (>= 7), vdr-dev (>= 1.7.10), dpatch, gettext, libid3tag0-dev, libmad0-dev, libmagick++-dev, libsndfile1-dev, libvorbis-dev +Standards-Version: 3.8.3 +Homepage: http://www.vdr.glaserei-franz.de/vdrplugins.htm + +Package: vdr-plugin-music +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${vdr:Depends}, eject +Description: This is an audio plugin for VDR + This is an audio plugin for VDR. Forked from MP3-Plugin, + with Coverviewer --- vdr-plugin-music-0.9.2~testing.orig/debian/postinst +++ vdr-plugin-music-0.9.2~testing/debian/postinst @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for vdr-plugin-music +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +. /usr/share/debconf/confmodule + +case "$1" in +configure) +# ensure that the config-dir is correctly owned +[ ! -d /var/lib/vdr/plugins/music ] || chown -R vdr:vdr /var/lib/vdr/plugins/music || true +[ ! -d /usr/share/vdr-plugin-music/music ] || chown -R vdr:vdr /usr/share/vdr-plugin-music/music || true +;; + +abort-upgrade|abort-remove|abort-deconfigure) +;; + +*) +echo "postinst called with unknown argument \`$1'" >&2 +exit 1 +;; +esac + +#DEBHELPER# + +exit 0 --- vdr-plugin-music-0.9.2~testing.orig/debian/changelog +++ vdr-plugin-music-0.9.2~testing/debian/changelog @@ -0,0 +1,12 @@ +vdr-plugin-music (0.9.2~testing-1tvt1) karmic; urgency=low + + * new upstream release + + -- Holger Schvestka Thu, 31 Dec 2009 15:39:53 +0100 + +vdr-plugin-music (0.9.1~testing-3tvt1) karmic; urgency=low + + * Initial release + + -- Holger Schvestka Sun, 29 Nov 2009 00:03:25 +0100 + --- vdr-plugin-music-0.9.2~testing.orig/debian/patches/00list +++ vdr-plugin-music-0.9.2~testing/debian/patches/00list @@ -0,0 +1 @@ +02_Makefile --- vdr-plugin-music-0.9.2~testing.orig/debian/patches/02_Makefile.dpatch +++ vdr-plugin-music-0.9.2~testing/debian/patches/02_Makefile.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_Makefile.dpatch by