diff options
| author | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
|---|---|---|
| committer | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
| commit | 0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch) | |
| tree | 11517ce0d3d2977c6732b3aa583b0008083e0bd3 /plugins/picselshow | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'plugins/picselshow')
| -rw-r--r-- | plugins/picselshow/patches/picselshow-0.0.2_vdr150.diff | 51 | ||||
| -rw-r--r-- | plugins/picselshow/plugin.sh | 61 |
2 files changed, 112 insertions, 0 deletions
diff --git a/plugins/picselshow/patches/picselshow-0.0.2_vdr150.diff b/plugins/picselshow/patches/picselshow-0.0.2_vdr150.diff new file mode 100644 index 0000000..f6c112f --- /dev/null +++ b/plugins/picselshow/patches/picselshow-0.0.2_vdr150.diff @@ -0,0 +1,51 @@ +--- control-image.c~ 2007-05-18 12:00:59.000000000 +0200 ++++ control-image.c 2007-06-11 15:38:54.000000000 +0200 +@@ -194,7 +194,11 @@ + + void cImageControl::FadeIn(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 0; + +@@ -237,13 +241,21 @@ + fd--; + } + +-needsFastResponse = false; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else ++ needsFastResponse = false; ++#endif + } + + + void cImageControl::FadeOut(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 255; + int fd = 16; +@@ -283,7 +295,11 @@ + fd--; + } + ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else + needsFastResponse = false; ++#endif + } + + diff --git a/plugins/picselshow/plugin.sh b/plugins/picselshow/plugin.sh new file mode 100644 index 0000000..ba170a0 --- /dev/null +++ b/plugins/picselshow/plugin.sh @@ -0,0 +1,61 @@ +#!/bin/sh + +# x-vdr (Installations-Skript fuer einen VDR mit Debian als Basis) +# von Marc Wernecke - www.zulu-entertainment.de +# 03.06.2007 +# +# vdr-picselshow + +# defaults +source ./../../x-vdr.conf +source ./../../setup.conf +source ./../../functions + +WEB="http://www.glaserei-franz.de/VDR/Moronimo2/files/moron-suite-0.0.2.tar.bz2" +VERSION="picselshow-0.0.2" +LINK="picselshow" +VAR_picsel="vdr-picselshow-0.0.2.tar.gz" + +VAR=`basename $WEB` +DIR=`pwd` + +# plugin entfernen +function clean_plugin() { + cd $SOURCEDIR/VDR/PLUGINS/src + rm -rf $LINK* + rm -f $VDRLIBDIR/libvdr-$LINK* + log "cleaning $LINK" +} + +# plugin installieren +function install_plugin() { + download_plugin + + if [ ! -f "$FILES/plugins/$VAR_picsel" ] && [ -f "$FILES/plugins/$VAR" ]; then + [ -d "$FILES/plugins/moron" ] && rm -rf $FILES/plugins/moron + tar xjf "$FILES/plugins/$VAR" -C "$FILES/plugins" + mv -f $FILES/plugins/moron/vdr-*.tar.gz $FILES/plugins + [ -d "$FILES/plugins/moron" ] && rm -rf $FILES/plugins/moron + fi + VAR="$VAR_picsel" + + extract_plugin + cd $SOURCEDIR/VDR/PLUGINS/src + rm -f $LINK + ln -vfs $VERSION $LINK + patch_plugin + + ## plugin specials - start ## + ## plugin specials - ende ## +} + +# plugin commands +if [ $# \> 0 ]; then + cmd=$1 + cmd_plugin +else + install_plugin + log "install-plugin fuer $VERSION ist fertig" +fi + +exit 0 |
