1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 02_projectx.dpatch by Tobias Grimm <tg@e-tobi.net>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Set paths in vdrburn-dvd.sh to make it work with projectx Debian package.
8 diff -urNad vdr-plugin-burn-0.0
.009+pre21~
/vdrburn-dvd.sh vdr-plugin-burn-0.0
.009+pre21
/vdrburn-dvd.sh
9 --- vdr-plugin-burn-0.0
.009+pre21~
/vdrburn-dvd.sh
2006-09-23 21:23:06.000000000 +0200
10 +++ vdr-plugin-burn-0.0
.009+pre21
/vdrburn-dvd.sh
2006-09-23 21:23:45.000000000 +0200
12 # $TEMP_PATH Full path to burn's temp directory (namely the same
15 -if [ -z $JAVA_HOME ]; then
16 - export JAVA_HOME
=/opt
/j2re1.4
.2
19 -if [ -z $PROJECTX_HOME ]; then
20 - export PROJECTX_HOME
=/opt
/ProjectX
23 # Some versions of growisofs refuse to start when run with sudo, and may
24 # misdetect this condition if vdr itself is started from a sudo session.
27 CUT
="-cut $MPEG_DATA_PATH/px.cut"
30 - $JAVA_HOME/bin
/java
-Djava.awt.headless
=true \
31 - -jar $PROJECTX_HOME/ProjectX.jar \
33 -ini $CONFIG_PATH/ProjectX.ini \
34 $CUT -id $USED_TRACKS,0x1f,0x20 \
35 -demux -out "$MPEG_DATA_PATH" -name vdrsync \