r7572 - in /vdr/vdr-plugin-webvideo/trunk/debian: ./ changelog control copyright install manpages rules vdr-plugin-webvideo.webvid.default vdr-plugin-webvideo.webvid.init watch webvi.1.txt webvid.1.txt
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Wed Feb 25 10:07:17 UTC 2009
Author: tiber-guest
Date: Wed Feb 25 10:07:16 2009
New Revision: 7572
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=7572
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
vdr/vdr-plugin-webvideo/trunk/debian/ (with props)
vdr/vdr-plugin-webvideo/trunk/debian/changelog
vdr/vdr-plugin-webvideo/trunk/debian/control
vdr/vdr-plugin-webvideo/trunk/debian/copyright
vdr/vdr-plugin-webvideo/trunk/debian/install
vdr/vdr-plugin-webvideo/trunk/debian/manpages
vdr/vdr-plugin-webvideo/trunk/debian/rules (with props)
vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.default
vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.init
vdr/vdr-plugin-webvideo/trunk/debian/watch
vdr/vdr-plugin-webvideo/trunk/debian/webvi.1.txt
vdr/vdr-plugin-webvideo/trunk/debian/webvid.1.txt
Propchange: vdr/vdr-plugin-webvideo/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: vdr/vdr-plugin-webvideo/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/changelog?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/changelog (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/changelog Wed Feb 25 10:07:16 2009
@@ -1,0 +1,66 @@
+vdr-plugin-webvideo (0.1.1-2) unstable; urgency=low
+
+ * Changed XS-Python-Version to current to fix FTBS problem
+ * Changed maintainer to Debian VDR Team
+ * Added Python to dependencies
+ * Removed dh_make boilerplates from debian/copyright
+ * Fixed homepage field in debian/control
+ * Bumped standards version to 3.8.0
+ * Install init script as /etc/init.d/webvid
+ * Fixed LOCALEDIR to build locales in correct directory
+ * Deactivated postinst-script-order.diff - seems not to be required anymore
+ * Added debian/watch
+ * Depend on libmms0
+ * Dropped patchlevel control field
+ * Build-Depend on vdr-dev (>=1.6.0-5)
+
+ -- Tobias Grimm <etobi at debian.org> Tue, 24 Feb 2009 23:39:18 +0100
+
+vdr-plugin-webvideo (0.1.1-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Tue, 24 Feb 2009 19:38:28 +0300
+
+vdr-plugin-webvideo (0.1.0-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Sat, 7 Feb 2009 18:07:37 +0300
+
+vdr-plugin-webvideo (0.0.6-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Sat, 6 Dec 2008 11:27:05 +0300
+
+vdr-plugin-webvideo (0.0.5-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Tue, 2 Sep 2008 21:41:50 +0300
+
+vdr-plugin-webvideo (0.0.4-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Thu, 21 Aug 2008 12:29:38 +0300
+
+vdr-plugin-webvideo (0.0.3-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Tue, 19 Aug 2008 18:19:19 +0300
+
+vdr-plugin-webvideo (0.0.2-1) unstable; urgency=low
+
+ * New release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Thu, 24 Jul 2008 20:44:15 +0300
+
+vdr-plugin-webvideo (0.0.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Antti Ajanki <antti.ajanki at iki.fi> Wed, 25 Jun 2008 17:53:54 +0300
+
Added: vdr/vdr-plugin-webvideo/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/control?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/control (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/control Wed Feb 25 10:07:16 2009
@@ -1,0 +1,19 @@
+Source: vdr-plugin-webvideo
+Section: misc
+Priority: extra
+Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
+Uploaders: Tobias Grimm <etobi at debian.org>
+Build-Depends: debhelper (>= 5), cdbs, txt2man, vdr-dev (>= 1.6.0-5), gettext, libxml2-dev, python-dev, python-central, libglib2.0-dev
+Standards-Version: 3.8.0
+Homepage: http://users.tkk.fi/~aajanki/vdr/webvideo
+XS-Python-Version: current
+
+Package: vdr-plugin-webvideo
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${vdr:Depends}, python, python-libxml2, python-libxslt1, python-pycurl, libmms0
+Suggests: libmms0 (>= 0.4-1), python-ctypes, vdr-plugin-mplayer|vdr-plugin-xineliboutput
+Description: VDR plugin for downloading videos from the Web
+ This plugin for the Linux Video Disc Recorder (VDR) provides ability
+ to download video files from popular video sharing websites, such as
+ YouTube or Google Video.
+XB-Python-Version: ${python:Versions}
Added: vdr/vdr-plugin-webvideo/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/copyright?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/copyright (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/copyright Wed Feb 25 10:07:16 2009
@@ -1,0 +1,38 @@
+Upstream Homepage:
+ http://users.tkk.fi/~aajanki/vdr/webvideo
+
+Upstream Author:
+ Antti Ajanki <antti.ajanki at iki.fi>
+
+Debian Maintainers:
+ Antti Ajanki <antti.ajanki at iki.fi>
+ Tobias Grimm <etobi at debian.org>
+
+Copyright:
+ (C) 2008, 2009 Antti Ajanki
+
+Copyright (Debian packaging):
+ (C) 2008, 2009 Antti Ajanki
+ (C) 2009 Tobias Grimm
+
+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 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, 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-3 on most Debian systems.
+
+License (Debian packaging):
+ The Debian packaging is licensed under the GPL, version 3 or any
+ later version, see /usr/share/common-licenses/GPL-3.
Added: vdr/vdr-plugin-webvideo/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/install?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/install (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/install Wed Feb 25 10:07:16 2009
@@ -1,0 +1,5 @@
+vdr-plugin/libvdr-webvideo.so.* usr/lib/vdr/plugins/
+debian/plugin.webvideo.conf etc/vdr/plugins/
+debian/tmp/usr/share/locale
+vdr-plugin/mime.types var/lib/vdr/plugins/webvideo/
+webvidaemon/services/* usr/share/webvid/
Added: vdr/vdr-plugin-webvideo/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/manpages?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/manpages (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/manpages Wed Feb 25 10:07:16 2009
@@ -1,0 +1,2 @@
+debian/webvid.1
+debian/webvi.1
Added: vdr/vdr-plugin-webvideo/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/rules?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/rules (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/rules Wed Feb 25 10:07:16 2009
@@ -1,0 +1,36 @@
+#! /bin/sh /usr/share/vdr-dev/make-special-vdr.sh
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+# include /usr/share/cdbs/1/rules/dpatch.mk
+
+DEB_PYTHON_SYSTEM = pycentral
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+DEB_COMPRESS_EXCLUDE := .py
+
+DEB_INSTALL_CHANGELOGS_ALL = HISTORY
+
+DEB_DH_INSTALLINIT_ARGS = --name=webvid
+
+MAKE_OPTIONS = DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. \
+ LOCALEDIR=$(CURDIR)/debian/tmp/usr/share/locale
+
+#DEB_DH_STRIP_ARGS = -Xlibvdr-webvideo
+
+TXT2MANPAGES = debian/webvid.1 debian/webvi.1
+
+$(TXT2MANPAGES): %.1: %.1.txt
+ cat $< | grep -v "^###" | \
+ eval "`cat $< | grep "^### txt2man" | sed "s/### //"`" >$@
+
+common-build-arch:: $(TXT2MANPAGES)
+ $(MAKE) all $(MAKE_OPTIONS)
+
+cleanbuilddir::
+ $(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
+ rm -f libvdr-*.so.*
+ rm -f $(TXT2MANPAGES)
+
+common-binary-predeb-arch::
+ sh /usr/share/vdr-dev/dependencies.sh
+
Propchange: vdr/vdr-plugin-webvideo/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.default
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.default?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.default (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.default Wed Feb 25 10:07:16 2009
@@ -1,0 +1,5 @@
+# webvid configure options
+#
+# Run "webvid --help" to see the allowed options.
+
+#WEBVID_OPTIONS="-p 2357 -r/usr/share/webvid"
Added: vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.init
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.init?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.init (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/vdr-plugin-webvideo.webvid.init Wed Feb 25 10:07:16 2009
@@ -1,0 +1,164 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: webvid
+# Required-Start: networking
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start the webvid
+# Description: Start the web video download service
+### END INIT INFO
+
+# Author: Antti Ajanki <antti.ajanki at iki.fi>
+#
+# Please remove the "Author" lines above and replace them
+# with your own name if you copy and modify this script.
+
+# Do NOT "set -e"
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="web video download service"
+NAME=webvid
+DAEMON=/usr/bin/$NAME
+DAEMON_ARGS="-d -l/tmp/webvid.log"
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/vdr-plugin-webvideo
+
+# Exit if the package is not installed
+[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+if [ "x$WEBVID_OPTIONS" != "x" ]; then
+ DAEMON_ARGS="$DAEMON_ARGS $WEBVID_OPTIONS"
+fi
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service
+#
+do_start()
+{
+ # Return
+ # 0 if daemon has been started
+ # 1 if daemon was already running
+ # 2 if daemon could not be started
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+ || return 1
+
+ # daemon user may not have permissions to write to the pid
+ # directory. Create a pidfile here before changing the user to
+ # daemon.
+ touch $PIDFILE
+ chown daemon:daemon $PIDFILE
+
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid daemon:daemon \
+ --exec $DAEMON -- $DAEMON_ARGS \
+ || return 2
+ # Add code here, if necessary, that waits for the process to be ready
+ # to handle requests from services started subsequently which depend
+ # on this one. As a last resort, sleep for some time.
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+ # Return
+ # 0 if daemon has been stopped
+ # 1 if daemon was already stopped
+ # 2 if daemon could not be stopped
+ # other if a failure occurred
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+ RETVAL="$?"
+ [ "$RETVAL" = 2 ] && return 2
+ # Wait for children to finish too if this is a daemon that forks
+ # and if the daemon is only ever run from this initscript.
+ # If the above conditions are not satisfied then add some other code
+ # that waits for the process to drop all resources that could be
+ # needed by services started subsequently. A last resort is to
+ # sleep for some time.
+ start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
+ [ "$?" = 2 ] && return 2
+ # Many daemons don't delete their pidfiles when they exit.
+ rm -f $PIDFILE
+ return "$RETVAL"
+}
+
+#
+# Function that sends a SIGHUP to the daemon/service
+#
+do_reload() {
+ #
+ # If the daemon can reload its configuration without
+ # restarting (for example, when it is sent a SIGHUP),
+ # then implement that here.
+ #
+ start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+ return 0
+}
+
+case "$1" in
+ start)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
+ do_start
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ stop)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ #reload|force-reload)
+ #
+ # If do_reload() is not implemented then leave this commented out
+ # and leave 'force-reload' as an alias for 'restart'.
+ #
+ #log_daemon_msg "Reloading $DESC" "$NAME"
+ #do_reload
+ #log_end_msg $?
+ #;;
+ restart|force-reload)
+ #
+ # If the "reload" option is implemented then remove the
+ # 'force-reload' alias
+ #
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1)
+ do_start
+ case "$?" in
+ 0) log_end_msg 0 ;;
+ 1) log_end_msg 1 ;; # Old process is still running
+ *) log_end_msg 1 ;; # Failed to start
+ esac
+ ;;
+ *)
+ # Failed to stop
+ log_end_msg 1
+ ;;
+ esac
+ ;;
+ *)
+ #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+ echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+ exit 3
+ ;;
+esac
+
+:
Added: vdr/vdr-plugin-webvideo/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/watch?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/watch (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/watch Wed Feb 25 10:07:16 2009
@@ -1,0 +1,2 @@
+version=2
+http://users.tkk.fi/~aajanki/vdr/webvideo/vdr-webvideo-(.*)\.tgz
Added: vdr/vdr-plugin-webvideo/trunk/debian/webvi.1.txt
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/webvi.1.txt?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/webvi.1.txt (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/webvi.1.txt Wed Feb 25 10:07:16 2009
@@ -1,0 +1,47 @@
+### txt2man -s 1 -t WEBVI -v "download utility for media sharing websites"
+
+NAME
+ webvi - download video and audio from media sharing websites
+
+SYNOPSIS
+ webvi [options]
+
+DESCRIPTION
+ webvi is a command line tool for downloading video and audio files
+ from certain media sharing websites, such as YouTube or Google Video.
+ It requires the webvid daemon.
+
+OPTIONS
+ -h, --help show this help message and exit
+ -s SERVER, --server=SERVER connect to webvid daemon SERVER, default is localhost
+ -p PORT, --port=PORT connect to webvid daemon PORT, default is 2357
+
+USAGE
+ The program communicates with webvid daemon, which must be running in
+ the background.
+
+ The content of video sharing websites is presented as series of menus.
+ The menus consists of two kinds of links. Navigation links, which can
+ be identified by [brackets], are used to navigate the site.
+ Non-bracketed links are media objects that can be downloaded.
+
+ Following commands are recognized:
+
+ help Show help
+ select x Select a link whose index is x
+ download x Download a media object whose index is x
+ stream x Play a media object whose index is x
+ back Go backward in history
+ forward Go forward in history
+ display Redisplay the current menu
+ menu Go back to the main menu
+ quit Quit the program
+
+ x is an index of a link in the current menu. Entering an index number
+ x without any command is a shorthand for "select x".
+
+SEE ALSO
+ webvid(1)
+
+AUTHOR
+ This manual page was written by Tobias Grimm <tg at e-tobi.net>.
Added: vdr/vdr-plugin-webvideo/trunk/debian/webvid.1.txt
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-webvideo/trunk/debian/webvid.1.txt?rev=7572&op=file
==============================================================================
--- vdr/vdr-plugin-webvideo/trunk/debian/webvid.1.txt (added)
+++ vdr/vdr-plugin-webvideo/trunk/debian/webvid.1.txt Wed Feb 25 10:07:16 2009
@@ -1,0 +1,25 @@
+### txt2man -s 1 -t WEBVID -v "webvideo download daemon"
+
+NAME
+ webvid - Starts the webvideo download daemon
+
+SYNOPSIS
+ webvid [options]
+
+DESCRIPTION
+ webvid is a server that downloads web pages from certain media sharing
+ websites, such as YouTube or Google Video, and transforms them into an
+ XML-based menu format.
+
+OPTIONS
+ -h, --help show this help message and exit
+ -p PORT, --port=PORT server port
+ -r PATH, --servicepath=PATH load service definitions from PATH
+ -d, --daemonize run in the background
+ -l LOG, --logfile=LOG write log messages to file LOG. The default is to write to stdout.
+
+SEE ALSO
+ webvi(1)
+
+AUTHOR
+ This manual page was written by Tobias Grimm <tg at e-tobi.net>.
More information about the pkg-vdr-dvb-changes
mailing list