r2842 - in vdr/vdr-plugin-alcd/trunk: . debian debian/patches
Tobias Grimm
tiber-guest at costa.debian.org
Mon Jun 5 21:08:53 UTC 2006
Author: tiber-guest
Date: 2006-06-05 21:08:53 +0000 (Mon, 05 Jun 2006)
New Revision: 2842
Added:
vdr/vdr-plugin-alcd/trunk/debian/
vdr/vdr-plugin-alcd/trunk/debian/activy_off.sh
vdr/vdr-plugin-alcd/trunk/debian/changelog
vdr/vdr-plugin-alcd/trunk/debian/compat
vdr/vdr-plugin-alcd/trunk/debian/control
vdr/vdr-plugin-alcd/trunk/debian/copyright
vdr/vdr-plugin-alcd/trunk/debian/docs
vdr/vdr-plugin-alcd/trunk/debian/install
vdr/vdr-plugin-alcd/trunk/debian/patches/
vdr/vdr-plugin-alcd/trunk/debian/patches/00list
vdr/vdr-plugin-alcd/trunk/debian/patches/01_Makefile-fPIC-fix.dpatch
vdr/vdr-plugin-alcd/trunk/debian/patches/01_script-paths.dpatch
vdr/vdr-plugin-alcd/trunk/debian/plugin.alcd.conf
vdr/vdr-plugin-alcd/trunk/debian/rules
vdr/vdr-plugin-alcd/trunk/debian/vdr-alcd.init
Log:
Load newtrunk into vdr/vdr-plugin-alcd/trunk.
Added: vdr/vdr-plugin-alcd/trunk/debian/activy_off.sh
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/activy_off.sh 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/activy_off.sh 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,4 @@
+#!/bin/sh
+# turn off Activy Display
+/bin/stty 38400 < /dev/ttyS0
+printf "\xF0\xFF" > /dev/ttyS0
Added: vdr/vdr-plugin-alcd/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/changelog 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/changelog 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,7 @@
+vdr-plugin-alcd (1.0.0-1) unstable; urgency=low
+
+ * Hanno Mueller <sockpuppet at hanno.de>
+ - Initial Release.
+
+ -- Hanno Mueller <sockpuppet at hanno.de> Mon, 5 Jun 2006 18:24:04 +0200
+
Added: vdr/vdr-plugin-alcd/trunk/debian/compat
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/compat 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/compat 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1 @@
+4
Added: vdr/vdr-plugin-alcd/trunk/debian/control
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/control 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/control 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,15 @@
+Source: vdr-plugin-alcd
+Section: misc
+Priority: extra
+Maintainer: Hanno Mueller <sockpuppet at hanno.de>
+Build-Depends: debhelper (>> 4.1.16), dpatch (>= 2.0.9), vdr-dev (>= 1.4.0-1)
+Standards-Version: 3.6.2
+
+Package: vdr-plugin-alcd
+Architecture: any
+Depends: ${shlibs:Depends}, ${vdr:Depends}
+Conflicts: ${vdr:Conflicts}
+Description: VDR plugin for LCD and IR remote of Activy 300 HTPCs
+ This plugin allows you to use the Activy 300 HTPCs remote control in VDR and
+ its LCD to display status information.
+XB-VDR-Patchlevel: ${vdr:Patchlevel}
Added: vdr/vdr-plugin-alcd/trunk/debian/copyright
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/copyright 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/copyright 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,14 @@
+This package was debianized by Hanno Mueller <sockpuppet at hanno.de>
+on Mon, 5 Jun 2006 18:24:04 +0200.
+
+It was downloaded from http://www.htpc-forum.de/index.php?url=downloads.php
+
+Upstream Authors:
+ Andreas 'Randy' Weinberger <vdr at smue.org>
+ Markus Geisler <geisler at primusnetz.de>
+ Helmut Auer <helmut at helmutauer.de>
+
+Copyright:
+
+It may be redistributed under the terms of the GNU GPL, Version 2
+found on Debian systems in the file /usr/share/common-licenses/GPL .
Added: vdr/vdr-plugin-alcd/trunk/debian/docs
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/docs 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/docs 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,3 @@
+README
+TODO
+BUGS
Added: vdr/vdr-plugin-alcd/trunk/debian/install
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/install 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/install 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,4 @@
+libvdr-alcd.so.* usr/lib/vdr/plugins/
+scripts/*.sh usr/share/vdr-plugin-alcd/
+debian/activy_off.sh usr/share/vdr-plugin-alcd/
+debian/plugin.alcd.conf etc/vdr/plugins/
Added: vdr/vdr-plugin-alcd/trunk/debian/patches/00list
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/patches/00list 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/patches/00list 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,2 @@
+01_Makefile-fPIC-fix
+01_script-paths
Added: vdr/vdr-plugin-alcd/trunk/debian/patches/01_Makefile-fPIC-fix.dpatch
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/patches/01_Makefile-fPIC-fix.dpatch 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/patches/01_Makefile-fPIC-fix.dpatch 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,20 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+
+## Makefile-fPIC-fix patch
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds -fPIC to Makefile to fix potential FTBFS.
+
+ at DPATCH@
+diff -urNad vdr-plugin-alcd-1.0.0~/Makefile vdr-plugin-alcd-1.0.0/Makefile
+--- vdr-plugin-alcd-1.0.0~/Makefile 2006-06-05 22:57:22.000000000 +0200
++++ vdr-plugin-alcd-1.0.0/Makefile 2006-06-05 22:57:46.000000000 +0200
+@@ -25,7 +25,7 @@
+ TMPDIR = /tmp
+
+ CXX = g++
+-CXXFLAGS = -O2 -Wall -Woverloaded-virtual -D_GNU_SOURCE
++CXXFLAGS = -fPIC -O2 -Wall -Woverloaded-virtual -D_GNU_SOURCE
+
+ -include $(VDRDIR)/Make.config
+
Property changes on: vdr/vdr-plugin-alcd/trunk/debian/patches/01_Makefile-fPIC-fix.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: vdr/vdr-plugin-alcd/trunk/debian/patches/01_script-paths.dpatch
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/patches/01_script-paths.dpatch 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/patches/01_script-paths.dpatch 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,18 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+
+## 01_script-paths.dpatch
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adapts paths to shell scripts used by the init script
+
+ at DPATCH@
+--- vdr-plugin-alcd-1.0.0.orig/scripts/activy.sh
++++ vdr-plugin-alcd-1.0.0/scripts/activy.sh
+@@ -1,5 +1,4 @@
+ #!/bin/sh
+ # Set activy keys and power button
+-activy_keys.sh
+-activy_pb.sh
+-
++/usr/share/vdr-plugin-alcd/activy_keys.sh
++/usr/share/vdr-plugin-alcd/activy_pb.sh
Property changes on: vdr/vdr-plugin-alcd/trunk/debian/patches/01_script-paths.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: vdr/vdr-plugin-alcd/trunk/debian/plugin.alcd.conf
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/plugin.alcd.conf 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/plugin.alcd.conf 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1 @@
+-r /usr/share/vdr-plugin-alcd/activy.sh
Added: vdr/vdr-plugin-alcd/trunk/debian/rules
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/rules 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/rules 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,97 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+# Set VDR=vdr or VDR=vdrdevel - vdrdevel always uses dpatch
+VDR=$(shell dh_listpackages | grep "^vdr.*-" | head -n 1 | sed -e "s/-.*//")
+ifeq ($(VDR), vdrdevel)
+ DPATCH=yes
+endif
+
+# To use dpatch uncomment the following line and set Build-Depends to dpatch
+DPATCH=yes
+
+ifdef DPATCH
+include /usr/share/dpatch/dpatch.make
+else
+patch:
+patch-stamp:
+unpatch:
+endif
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+ dh_testdir
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE) all DVBDIR=/usr VDRDIR=/usr/include/$(VDR) LIBDIR=.
+ touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ -$(MAKE) -o .dependencies clean
+ rm -f libvdr-*.so.*
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+ dh_installinit --name="vdr-alcd" --update-rcd-params="defaults 19 21"
+# dh_installcron
+# dh_installman
+# dh_installinfo
+# dh_undocumented
+ dh_installchangelogs HISTORY
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ /usr/lib/$(VDR)-dev/patchlevel.sh subst
+ /usr/lib/$(VDR)-dev/dependencies.sh
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure \
+ clean-patched patch unpatch
Property changes on: vdr/vdr-plugin-alcd/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: vdr/vdr-plugin-alcd/trunk/debian/vdr-alcd.init
===================================================================
--- vdr/vdr-plugin-alcd/trunk/debian/vdr-alcd.init 2006-06-05 21:08:27 UTC (rev 2841)
+++ vdr/vdr-plugin-alcd/trunk/debian/vdr-alcd.init 2006-06-05 21:08:53 UTC (rev 2842)
@@ -0,0 +1,36 @@
+#!/bin/bash
+#
+# Init scipt to configure Activy keys and to control powerbutton and LCD
+# when changing runlevels.
+#
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
+
+case "$1" in
+ start)
+ echo "Setting activy keys"
+ # set up keys
+ /usr/share/vdr-plugin-alcd/activy_keys.sh
+ # deactivate powerbutton
+ /usr/share/vdr-plugin-alcd/activy_pb.sh 0
+ ;;
+ stop)
+ # activate powerbutton
+ /usr/share/vdr-plugin-alcd/activy_pb.sh 1
+ # turn off display
+ /usr/share/vdr-plugin-alcd/activy_off.sh
+ ;;
+ reload)
+ echo "Not implemented."
+ ;;
+ force-reload|restart)
+ sh $0 stop
+ sh $0 start
+ ;;
+ *)
+ echo "Usage: /etc/init.d/atd {start|stop|restart|force-reload|reload}"
+ exit 1
+ ;;
+esac
+
+exit 0
More information about the pkg-vdr-dvb-changes
mailing list