summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2006-03-05 21:01:00 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2006-03-05 21:01:00 +0000
commit15c039cb26f1e718b309aab3381238344b9cfd6f (patch)
treefe00c6c58472580475bba03982fa32c20cdf8218 /media-plugins/vdr-burn/files
parentINSTALL cleanup (diff)
downloadhistorical-15c039cb26f1e718b309aab3381238344b9cfd6f.tar.gz
historical-15c039cb26f1e718b309aab3381238344b9cfd6f.tar.bz2
historical-15c039cb26f1e718b309aab3381238344b9cfd6f.zip
import ebuild from gentoo.de CVS; rewritten
Package-Manager: portage-2.0.54
Diffstat (limited to 'media-plugins/vdr-burn/files')
-rw-r--r--media-plugins/vdr-burn/files/confd62
-rw-r--r--media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r21
-rw-r--r--media-plugins/vdr-burn/files/rc-addon.sh37
-rw-r--r--media-plugins/vdr-burn/files/reccmds.burn.conf23
-rw-r--r--media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff46
5 files changed, 169 insertions, 0 deletions
diff --git a/media-plugins/vdr-burn/files/confd b/media-plugins/vdr-burn/files/confd
new file mode 100644
index 000000000000..42d6a2c52b2e
--- /dev/null
+++ b/media-plugins/vdr-burn/files/confd
@@ -0,0 +1,62 @@
+# Global config file for vdr burn plugin
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/confd,v 1.1 2006/03/05 21:01:00 hd_brummy Exp $
+
+############## Global config for vdr-burn #########################
+#
+# Restart of VDR is needed after some changes
+
+# Set way to your DVD Writer Drive
+# allowed values: directory names
+# default: /dev/dvd
+#BURN_DVDWRITER="/dev/dvd"
+
+# Set your tmp DIR where the files will be converted
+# ! >= 10 Gb free Disc Space needed
+# allowed values: directory names
+# default: /var/vdr/video
+#BURN_DATADIR="/var/vdr/video"
+
+# Way to your not burned iso files
+# allowed values: directory names
+# default: /var/vdr/video/dvd-images
+#BURN_ISODIR="/var/vdr/video/dvd-images"
+
+
+# This will create an ISO file _only_
+# allowed values: yes no
+# default: no
+# This value works only in burn-0.0.5
+# on >=vdr-burn-0.0.9 change this on OSD Menu
+#BURN_CREATEONLY_ISO="no"
+
+
+###
+####
+##### Next Parameter are only availabel from vdr-burn-0.0.9 up #####
+####
+###
+
+# Length in minutes of each chapter when DVD without menues is created
+# allowed values: time in minutes
+# default: 5
+#CHAPTER_LEN="5"
+
+# Start Command with nice ? If not wished then set NICE=""
+# allowed values: nice -n x
+# default: nice -n 19
+#NICE="nice -n 19"
+
+# Use cut function of vdrsync
+# allowed value: yes|no
+# default: yes
+#USE_CUT="yes"
+
+# Use "tcrequant" or plain "requant" command
+# allowed values. yes|no
+# default: yes
+#USE_TCREQUANT="yes"
+
+# Use "tcmplex" or "mplex" command
+# allowed value: yes|no
+# default: no
+#USE_TCMPLEX="no"
diff --git a/media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2 b/media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2
new file mode 100644
index 000000000000..a6289aae6531
--- /dev/null
+++ b/media-plugins/vdr-burn/files/digest-vdr-burn-0.0.9-r2
@@ -0,0 +1 @@
+MD5 77878ca94b4107335797bd4d7ae11dc2 vdr-burn-0.0.009.tgz 422213
diff --git a/media-plugins/vdr-burn/files/rc-addon.sh b/media-plugins/vdr-burn/files/rc-addon.sh
new file mode 100644
index 000000000000..05ca745a1e3a
--- /dev/null
+++ b/media-plugins/vdr-burn/files/rc-addon.sh
@@ -0,0 +1,37 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/rc-addon.sh,v 1.1 2006/03/05 21:01:00 hd_brummy Exp $
+#
+# rc-addon-script for plugin burn
+#
+
+: ${BURN_DVDWRITER:=/dev/dvd}
+: ${BURN_DATADIR:=/var/vdr/video}
+: ${BURN_ISODIR:=/var/vdr/video/dvd-images}
+
+plugin_pre_vdr_start() {
+
+add_plugin_param "-d ${BURN_DATADIR}"
+
+if [[ ! -f /usr/bin/burnmark.sh ]] ; then
+
+ # works on burn-0.0.5
+ if [[ ${BURN_CREATEONLY_ISO:=no} == "yes" ]] ; then
+ add_plugin_param "-i ${BURN_ISODIR}"
+ else
+ add_plugin_param "-D ${BURN_DVDWRITER}"
+ fi
+
+else
+
+ # works on >=burn-0.0.9
+ add_plugin_param "-i ${BURN_ISODIR}"
+ add_plugin_param "-D ${BURN_DVDWRITER}"
+
+fi
+
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+fi
+
diff --git a/media-plugins/vdr-burn/files/reccmds.burn.conf b/media-plugins/vdr-burn/files/reccmds.burn.conf
new file mode 100644
index 000000000000..15684f53158a
--- /dev/null
+++ b/media-plugins/vdr-burn/files/reccmds.burn.conf
@@ -0,0 +1,23 @@
+Markiere für DVD-Writer : /usr/bin/burnmark.sh -add
+Lösche Marke : /usr/bin/burnmark.sh -del
+Entferne archivierte Aufzeichnung : /usr/bin/handlearchived.sh -clean
+Spiele archivierte Aufzeichnung wieder ein : /usr/bin/handlearchived.sh -restore
+Lösche Archivmarkierung : /usr/bin/handlearchived.sh -delmark
+
+## for english users, plz uncomment next lines
+#Mark for DVD-Writer : /usr/bin/burnmark.sh -add
+#Delete mark : /usr/bin/burnmark.sh -del
+#Clean archived recording : /usr/bin/handlearchived.sh -clean
+#Restore archived recording : /usr/bin/handlearchived.sh -restore
+#Delete archive mark : /usr/bin/handlearchived.sh -delmark
+
+## for finish users, plz uncoment next lines
+#Lisää DVD-polttolistalle : /usr/bin/burnmark.sh -add
+#Poista DVD-polttolistalta : /usr/bin/burnmark.sh -del
+#Siivoa arkistoitu tallenne : /usr/bin/handlearchived.sh -clean
+#Palauta arkistoitu tallenne : /usr/bin/handlearchived.sh -restore
+#Poista arkistomerkintä : /usr/bin/handlearchived.sh -delmark
+
+## for italian users, plz uncomment next lines
+#BURN - Aggiungi al DVD : /usr/bin/burnmark.sh -add
+#BURN - Rimuovi dal DVD : /usr/bin/burnmark.sh -del
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff b/media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff
new file mode 100644
index 000000000000..fa9f32970cb5
--- /dev/null
+++ b/media-plugins/vdr-burn/files/vdr-burn-0.0.9-gentoo.diff
@@ -0,0 +1,46 @@
+diff -Naur burn-0.0.009.orig/render.c burn-0.0.009/render.c
+--- burn-0.0.009.orig/render.c 2006-03-05 16:31:31.330198000 +0100
++++ burn-0.0.009/render.c 2006-03-05 16:32:24.885545000 +0100
+@@ -27,12 +27,12 @@
+ cBurnRender::cBurnRender(void)
+ {
+ asprintf(&mBackground, "%s/menu-bg.png",
+- cPlugin::ConfigDirectory("burn"));
++ cPlugin::ConfigDirectory("../../../usr/share/vdr/burn"));
+ asprintf(&mButton, "%s/menu-button.png",
+- cPlugin::ConfigDirectory("burn"));
++ cPlugin::ConfigDirectory("../../../usr/share/vdr/burn"));
+ mFontFace = strdup("helmetr");
+ mFontSize = 16;
+- mFontPath = strdup(cPlugin::ConfigDirectory("burn"));
++ mFontPath = strdup(cPlugin::ConfigDirectory("../../../usr/share/vdr/burn"));
+ mJob = NULL;
+ mRecording = NULL;
+ }
+diff -Naur burn-0.0.009.orig/scripts/vdrburn.sh burn-0.0.009/scripts/vdrburn.sh
+--- burn-0.0.009.orig/scripts/vdrburn.sh 2006-03-05 16:31:31.338198500 +0100
++++ burn-0.0.009/scripts/vdrburn.sh 2006-03-05 16:34:42.974175000 +0100
+@@ -1,7 +1,7 @@
+ #!/bin/bash
+
+ # read user customization if any, otherwise use default values
+-BURNSETUPCONF=/etc/vdr/plugins/burn/vdrburnscript.conf
++BURNSETUPCONF=/etc/conf.d/vdr.burn
+ if [ "!" -f "$BURNSETUPCONF" ]; then
+ echo ""
+ echo "You could customize '$0'"
+@@ -190,12 +190,12 @@
+ if [ "$USE_TCMPLEX" == "yes" ]; then
+ Png2Yuv "$2/menu-bg-$3.png" |
+ mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o "$2/menu-bg-$3.m2v" &&
+- $TCMPLEX -i "$2/menu-bg-$3.m2v" -p "$4/menu-silence.mp2" -m d -o /dev/stdout |
++ $TCMPLEX -i "$2/menu-bg-$3.m2v" -p "/usr/share/vdr/burn/menu-silence.mp2" -m d -o /dev/stdout |
+ spumux -v 2 "$2/menu-$3.xml" > "$2/menu-bg-$3.mpg"
+ else
+ Png2Yuv "$2/menu-bg-$3.png" |
+ mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o "$2/menu-bg-$3.m2v" &&
+- mplex -f 8 -vbr -v 0 -o /dev/stdout "$2/menu-bg-$3.m2v" "$4/menu-silence.mp2" |
++ mplex -f 8 -vbr -v 0 -o /dev/stdout "$2/menu-bg-$3.m2v" "/usr/share/vdr/burn/menu-silence.mp2" |
+ spumux -v 2 "$2/menu-$3.xml" > "$2/menu-bg-$3.mpg"
+ fi
+ ;;