diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-05-07 10:26:31 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-05-07 10:26:31 +0000 |
commit | 2f3bcab93127244abb773e4eda8048786fe3becb (patch) | |
tree | 83e8c33f381867cb14b02fa7b43c489ce55ef7e0 /media-plugins/vdr-burn/files | |
parent | add media-plugins/vdr-burn:projectx to use.local.desc (diff) | |
download | gentoo-2-2f3bcab93127244abb773e4eda8048786fe3becb.tar.gz gentoo-2-2f3bcab93127244abb773e4eda8048786fe3becb.tar.bz2 gentoo-2-2f3bcab93127244abb773e4eda8048786fe3becb.zip |
version bump; total rewrite of vdr-burn sources
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-plugins/vdr-burn/files')
8 files changed, 215 insertions, 0 deletions
diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/confd b/media-plugins/vdr-burn/files/0.1.0_pre21/confd new file mode 100644 index 000000000000..dddd41d2fb1e --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/confd @@ -0,0 +1,27 @@ +# Global config file for vdr burn plugin +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/0.1.0_pre21/confd,v 1.1 2007/05/07 10:26:31 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" + + diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/i18n.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/i18n.diff new file mode 100644 index 000000000000..8819a6f86c0d --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/i18n.diff @@ -0,0 +1,38 @@ +--- i18n.c 2006-09-16 20:33:36.000000000 +0200 ++++ i18n.c.patched 2007-01-03 13:37:08.000000000 +0100 +@@ -2,7 +2,7 @@ + * See the files COPYING and README for copyright information and how to reach + * the author. + * +- * $Id: i18n.diff,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ ++ * $Id: i18n.diff,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ + */ + + #include "i18n.h" +@@ -210,7 +210,7 @@ + #endif + #endif + }, +- { "Total size: %1$.1f MB %2$s", ++ { "$Total size: %1$.1f MB %2$s", + "Gesamtgröße: %1$.1f MB %2$s", + "", + "", +@@ -782,7 +782,7 @@ + #endif + #endif + }, +- { "Job active (Writing: %1$d%%)", ++ { "$Job active (Writing: %1$d%%)", + "Auftrag aktiv (Schreibe: %1$d%%)", + "", + "", +@@ -1874,7 +1874,7 @@ + #endif + #endif + }, +- { "Recordings: %1$d, total size: %2$.1f MB", ++ { "$Recordings: %1$d, total size: %2$.1f MB", + "Aufzeichnungen: %1$d, Gesamtgröße: %2$.1f MB", + "", + "", diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff new file mode 100644 index 000000000000..46acaa6e7ad7 --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/menuburn.diff @@ -0,0 +1,29 @@ +--- menuburn.c 2006-09-16 20:33:36.000000000 +0200 ++++ menuburn.c.patched 2007-01-03 13:37:41.000000000 +0100 +@@ -2,7 +2,7 @@ + * See the files COPYING and README for copyright information and how to reach + * the author. + * +- * $Id: menuburn.diff,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ ++ * $Id: menuburn.diff,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ + */ + + #include "common.h" +@@ -226,7 +226,7 @@ + { + const recording_list& recordings( job_.get_recordings() ); + if ( recordings.size() > 0 ) +- return str( boost::format( tr("Recordings: %1$d, total size: %2$.1f MB") ) ++ return str( boost::format( tr("$Recordings: %1$d, total size: %2$.1f MB") ) + % recordings.size() % ( double( job_.get_tracks_size() ) / MEGABYTE(1) ) ); + else + return tr("No recordings marked for burning"); +@@ -566,7 +566,7 @@ + + int percent; + if (manager::get_active()->get_is_burning(percent)) +- Add( new menu::text_item( str( boost::format( tr("Job active (Writing: %1$d%%)") ) % percent ) ) ); ++ Add( new menu::text_item( str( boost::format( tr("$Job active (Writing: %1$d%%)") ) % percent ) ) ); + else + Add(new menu::text_item(tr("Job active (Converting)"))); + diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff new file mode 100644 index 000000000000..0138637d2c1f --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/menuitems.diff @@ -0,0 +1,20 @@ +--- menuitems.c 2006-09-16 20:33:36.000000000 +0200 ++++ menuitems.c.patched 2007-01-03 13:38:09.000000000 +0100 +@@ -2,7 +2,7 @@ + * See the files COPYING and README for copyright information and how to reach + * the author. + * +- * $Id: menuitems.diff,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ ++ * $Id: menuitems.diff,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ + */ + + #include "menuitems.h" +@@ -102,7 +102,7 @@ + + void size_text_item::update( bool cut_ ) + { +- SetText( str( boost::format( tr("Total size: %1$.1f MB %2$s") ) ++ SetText( str( boost::format( tr("$Total size: %1$.1f MB %2$s") ) + % ( double( m_job.get_tracks_size( cut_ ) ) / MEGABYTE(1) ) + % ( m_job.get_requant_factor( cut_ ) > 1 ? tr("(would be shrinked)") : "" ) ).c_str() ); + } diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh b/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh new file mode 100644 index 000000000000..fbb56d3f0545 --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh @@ -0,0 +1,22 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh,v 1.1 2007/05/07 10:26:31 hd_brummy Exp $ +# +# rc-addon-script for plugin burn +# +# Joerg Bornkessel hd_brummy@gentoo.org + +source /etc/conf.d/vdr.burn + +: ${BURN_TMPDIR:=/tmp} +: ${BURN_DATADIR:=/var/vdr/video} +: ${BURN_DVDWRITER:=/dev/dvd} +: ${BURN_ISODIR:=/var/vdr/video/dvd-images} + +plugin_pre_vdr_start() { + + add_plugin_param "-t ${BURN_TMPDIR}" + add_plugin_param "-d ${BURN_DATADIR}" + add_plugin_param "-D ${BURN_DVDWRITER}" + add_plugin_param "-i ${BURN_ISODIR}" + +} + diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff new file mode 100644 index 000000000000..6541721a0499 --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff @@ -0,0 +1,51 @@ +diff -Naur burn-0.1.0-pre21.orig/burn.c burn-0.1.0-pre21/burn.c +--- burn-0.1.0-pre21.orig/burn.c 2006-09-17 18:36:06.572462419 +0200 ++++ burn-0.1.0-pre21/burn.c 2006-09-17 18:40:10.319695668 +0200 +@@ -80,7 +80,7 @@ + + bool plugin::Start() + { +- m_configPath = ConfigDirectory(PLUGIN_NAME); ++ m_configPath = ("/usr/share/vdr/burn"); + + manager::start(); + logger_vdr::start(); +diff -Naur burn-0.1.0-pre21.orig/vdrburn-dvd.sh burn-0.1.0-pre21/vdrburn-dvd.sh +--- burn-0.1.0-pre21.orig/vdrburn-dvd.sh 2006-09-17 18:36:06.732472419 +0200 ++++ burn-0.1.0-pre21/vdrburn-dvd.sh 2006-09-17 18:45:42.924482170 +0200 +@@ -32,10 +32,6 @@ + export JAVA_HOME=/opt/j2re1.4.2 + fi + +-if [ -z $PROJECTX_HOME ]; then +- export PROJECTX_HOME=/opt/ProjectX +-fi +- + # Some versions of growisofs refuse to start when run with sudo, and may + # misdetect this condition if vdr itself is started from a sudo session. + unset SUDO_COMMAND +@@ -75,9 +71,8 @@ + CUT="-cut $MPEG_DATA_PATH/px.cut" + fi + +- $JAVA_HOME/bin/java -Djava.awt.headless=true \ +- -jar $PROJECTX_HOME/ProjectX.jar \ +- -ini $CONFIG_PATH/ProjectX.ini \ ++ /usr/bin/projectx_nogui \ ++ -ini /usr/share/vdr/burn/projectx-vdr.ini \ + $CUT -id $USED_TRACKS,0x1f,0x20 \ + -demux -out "$MPEG_DATA_PATH" -name vdrsync \ + $(ls "$MPEG_TMP_PATH/convert/"[0-9][0-9][0-9].vdr) + +diff -Naur burn-0.1.0-pre21.orig/burn.c burn-0.1.0-pre21/burn.c +--- burn-0.1.0-pre21.orig/burn.c 2006-09-19 21:23:48.871275190 +0200 ++++ burn-0.1.0-pre21/burn.c 2006-09-19 21:31:52.173479689 +0200 +@@ -85,7 +85,7 @@ + manager::start(); + logger_vdr::start(); + RegisterI18n( i18n::get_phrases() ); +- gdwrapper::setup::set_font_path( m_configPath + "/fonts" ); ++ gdwrapper::setup::set_font_path( "/usr/share/fonts/ttf-bitstream-vera" ); + if ( !skin_list::get().load( get_config_path() ) ) + return false; + diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff new file mode 100644 index 000000000000..2221658df8f9 --- /dev/null +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff @@ -0,0 +1,25 @@ +will set a always missconfigured part to a default setup and remove +the config part from osd plugin setup + +07 May 2007 ,Joerg Bornkessel <hd_brummy@gentoo.org> +diff -Naur burn-0.1.0-pre21.orig/setup.c burn-0.1.0-pre21/setup.c +--- burn-0.1.0-pre21.orig/setup.c 2007-01-16 22:57:03.078284171 +0100 ++++ burn-0.1.0-pre21/setup.c 2007-01-16 22:57:45.124680261 +0100 +@@ -83,7 +83,7 @@ + //!--- plugin_setup ----------------------------------------------------------- + + plugin_setup::plugin_setup(): +- PROCTOOLS_INIT_PROPERTY( RemovePath, false ), ++ PROCTOOLS_INIT_PROPERTY( RemovePath, true ), + PROCTOOLS_INIT_PROPERTY( CustomDiskSize, 200 ), + PROCTOOLS_INIT_PROPERTY( BurnSpeed, 0 ), + PROCTOOLS_INIT_PROPERTY( DemuxType, demuxtype_vdrsync ), +@@ -199,7 +199,7 @@ + m_defaults = job_defaults(); + + Add( new menu::text_item( tr("--- Common settings --------------------------------------------------") ) ); +- Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); ++// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); + Add( new menu::list_edit_item( tr("Demux using"), m_setup.DemuxType, demuxtype_strings ) ); + Add( new menu::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) ); + Add( new menu::number_edit_item( tr("Burn speed"), m_setup.BurnSpeed, 0, 32, tr("unlimited") ) );
\ No newline at end of file diff --git a/media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r2 b/media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r2 new file mode 100644 index 000000000000..1c12b83dff38 --- /dev/null +++ b/media-plugins/vdr-burn/files/digest-vdr-burn-0.1.0_pre21-r2 @@ -0,0 +1,3 @@ +MD5 11217a15e753b7affaf663a0446e22bb vdr-burn-0.1.0-pre21.tgz 257165 +RMD160 a1c838c698c71b4be626ec5e1bd089a1655f68c4 vdr-burn-0.1.0-pre21.tgz 257165 +SHA256 43bdcb6d52fc01f56cb36e865f2ed98f7a05d689c565b18de20a0a6830a68159 vdr-burn-0.1.0-pre21.tgz 257165 |