diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2007-05-07 10:26:31 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2007-05-07 10:26:31 +0000 |
commit | f81060b76c816698011c7eb7c08393bd1ae558d0 (patch) | |
tree | 2c466e1ad7f65be2beee991bc96f14c1d4ad35fe /media-plugins | |
parent | add media-plugins/vdr-burn:projectx to use.local.desc (diff) | |
download | historical-f81060b76c816698011c7eb7c08393bd1ae558d0.tar.gz historical-f81060b76c816698011c7eb7c08393bd1ae558d0.tar.bz2 historical-f81060b76c816698011c7eb7c08393bd1ae558d0.zip |
version bump; total rewrite of vdr-burn sources
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'media-plugins')
11 files changed, 391 insertions, 9 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog index bda3d7e97230..af49feb196fd 100644 --- a/media-plugins/vdr-burn/ChangeLog +++ b/media-plugins/vdr-burn/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for media-plugins/vdr-burn # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.18 2007/04/17 12:40:40 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.19 2007/05/07 10:26:30 hd_brummy Exp $ + +*vdr-burn-0.1.0_pre21-r2 (07 May 2007) + + 07 May 2007; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/0.1.0_pre21/confd, +files/0.1.0_pre21/i18n.diff, + +files/0.1.0_pre21/menuburn.diff, +files/0.1.0_pre21/menuitems.diff, + +files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff, + +files/0.1.0_pre21/rc-addon.sh, + +files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff, + +vdr-burn-0.1.0_pre21-r2.ebuild: + version bump; total rewrite of vdr-burn sources 17 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> files/rc-addon-0.0.9.sh: diff --git a/media-plugins/vdr-burn/Manifest b/media-plugins/vdr-burn/Manifest index 9867e2ee938a..c6c21e9f9219 100644 --- a/media-plugins/vdr-burn/Manifest +++ b/media-plugins/vdr-burn/Manifest @@ -1,6 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 0.1.0_pre21/confd 739 RMD160 f260dddcd9806e00baa09790e31e4accd3259f20 SHA1 1eb4fd5cb403a3edc407bf549f39a547bee18200 SHA256 81dc2df24b8658230f38af8055e5aab7dbf284390f21e091463721370c074d2c +MD5 bf4311537cbf67efd7ad84538a9bee37 files/0.1.0_pre21/confd 739 +RMD160 f260dddcd9806e00baa09790e31e4accd3259f20 files/0.1.0_pre21/confd 739 +SHA256 81dc2df24b8658230f38af8055e5aab7dbf284390f21e091463721370c074d2c files/0.1.0_pre21/confd 739 +AUX 0.1.0_pre21/i18n.diff 923 RMD160 8aa23534a623a9fb6ceffbd7e072dfcdc655b08b SHA1 f5197fef1f35338687c5aa4abdc62b5ec06dcfd2 SHA256 a0faa717e5591922d0e836d7811990fc5d59d329156dbd237ccf5167bd4ebffa +MD5 b5a20c2caeba41193f3e883b05705810 files/0.1.0_pre21/i18n.diff 923 +RMD160 8aa23534a623a9fb6ceffbd7e072dfcdc655b08b files/0.1.0_pre21/i18n.diff 923 +SHA256 a0faa717e5591922d0e836d7811990fc5d59d329156dbd237ccf5167bd4ebffa files/0.1.0_pre21/i18n.diff 923 +AUX 0.1.0_pre21/menuburn.diff 1198 RMD160 85710007caf520da10cf92fcb9939727f66a0440 SHA1 05a7fed68b6a4fcf0541c0cba4af35f219489235 SHA256 3eadfab09aaa5d476c466de8a0be64ebf94e91c8b5fd328aad1d9789f955489a +MD5 013d8683cf6789cbd44d37e3aadbdc68 files/0.1.0_pre21/menuburn.diff 1198 +RMD160 85710007caf520da10cf92fcb9939727f66a0440 files/0.1.0_pre21/menuburn.diff 1198 +SHA256 3eadfab09aaa5d476c466de8a0be64ebf94e91c8b5fd328aad1d9789f955489a files/0.1.0_pre21/menuburn.diff 1198 +AUX 0.1.0_pre21/menuitems.diff 764 RMD160 de6c82b153980edd33199230168d8e651c7ef863 SHA1 fc8969364e379ac995d433516840741de3a44362 SHA256 2254b6a41a5e662e5550d0f140ec8958d69f3659b9741988f0be05b2c161fb20 +MD5 87d53950027f6921c06a77e2b9f2b561 files/0.1.0_pre21/menuitems.diff 764 +RMD160 de6c82b153980edd33199230168d8e651c7ef863 files/0.1.0_pre21/menuitems.diff 764 +SHA256 2254b6a41a5e662e5550d0f140ec8958d69f3659b9741988f0be05b2c161fb20 files/0.1.0_pre21/menuitems.diff 764 +AUX 0.1.0_pre21/rc-addon.sh 561 RMD160 ee5fc27a4ba253b3e287cefb06db7c026e480f02 SHA1 baf72de78e205fce4f49d5ca555a76f466a71a1b SHA256 36aa6eb7cdb8ddec54bf0d484e415216bbfbe27a95f4f36fa5035902ea439a06 +MD5 4d935bd09ec931111546435f9811d7f4 files/0.1.0_pre21/rc-addon.sh 561 +RMD160 ee5fc27a4ba253b3e287cefb06db7c026e480f02 files/0.1.0_pre21/rc-addon.sh 561 +SHA256 36aa6eb7cdb8ddec54bf0d484e415216bbfbe27a95f4f36fa5035902ea439a06 files/0.1.0_pre21/rc-addon.sh 561 +AUX 0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847 RMD160 2870491be90fc6143a1fd02e89e1605a776c84b8 SHA1 320eec0a457ce544f8c0ffb894fd8f8e744b62a9 SHA256 3b0e233e26ef2b057d9dcff88e5c4cff6091e7d9e3853de6333dca65636dc972 +MD5 49f221e838eb6e87a4ed574214c65543 files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847 +RMD160 2870491be90fc6143a1fd02e89e1605a776c84b8 files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847 +SHA256 3b0e233e26ef2b057d9dcff88e5c4cff6091e7d9e3853de6333dca65636dc972 files/0.1.0_pre21/vdr-burn-0.1.0_pre21-gentoo.diff 1847 +AUX 0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff 1432 RMD160 f16a7b7afdac14cf81992b65278a5320b41f1ce6 SHA1 20f008caea5fb2beb0001cf2a881a3ae2c9b0729 SHA256 364ceadd7ce72fa6ac25ea92ebbf97bd154fc4b9028a70a006cf4ae5e4e709cb +MD5 82fd9b44b04d6b06e3fffab77a73c15b files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff 1432 +RMD160 f16a7b7afdac14cf81992b65278a5320b41f1ce6 files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff 1432 +SHA256 364ceadd7ce72fa6ac25ea92ebbf97bd154fc4b9028a70a006cf4ae5e4e709cb files/0.1.0_pre21/vdr-burn-0.1.0_pre21_RemovePath-fix.diff 1432 AUX confd-0.0.9 1552 RMD160 afb753609bd4f8551d1abe32ec466dc9d237943f SHA1 36fd3aa43b29fc0f809a05a6c5ed651c9f3d7cc6 SHA256 a0e30cc2b0b87a09bcc1d425d3eabbeb82ed31cbcc009b8697e3e0c602c9480e MD5 d8a1cf609617ac3c6872b0685c7f7ffa files/confd-0.0.9 1552 RMD160 afb753609bd4f8551d1abe32ec466dc9d237943f files/confd-0.0.9 1552 @@ -22,6 +50,7 @@ MD5 594b10a03a0ebf5b3594560c24f5d54b files/vdr-burn-0.0.9_vdr-1.3.47-compile.dif RMD160 b2d7ac5bac2f0761a981e04496aaca283342f830 files/vdr-burn-0.0.9_vdr-1.3.47-compile.diff 992 SHA256 1851da3a6ce53815064f487424fd3dfbc23f0edef65d0b944690e2bce24e1f95 files/vdr-burn-0.0.9_vdr-1.3.47-compile.diff 992 DIST vdr-burn-0.0.009.tgz 422213 RMD160 c7c1427fca58498388ea90075aaa144d0f92cb8b SHA1 9a2aa81ef1e13d7f046e7e1653ee18e532a28bf0 SHA256 eec5df262a2de0a233044eb8a47170741fba55dbc811dd8697389771d4d73242 +DIST vdr-burn-0.1.0-pre21.tgz 257165 RMD160 a1c838c698c71b4be626ec5e1bd089a1655f68c4 SHA1 06f441b8641636a2a0a143d4c8006333eec39398 SHA256 43bdcb6d52fc01f56cb36e865f2ed98f7a05d689c565b18de20a0a6830a68159 EBUILD vdr-burn-0.0.9-r2.ebuild 2211 RMD160 51ffc883e1399d19b805c56caa3d978927454009 SHA1 44c085c4aea1c92e3c8e9e8789016caf3ebcba87 SHA256 74a11aefec62e0cea22f7641bff9f65cd348bbe59168d2c7890b504a7319c9cc MD5 c60257c296e3d1a6488bc23ccb54c0a3 vdr-burn-0.0.9-r2.ebuild 2211 RMD160 51ffc883e1399d19b805c56caa3d978927454009 vdr-burn-0.0.9-r2.ebuild 2211 @@ -30,10 +59,14 @@ EBUILD vdr-burn-0.0.9-r3.ebuild 2222 RMD160 8971131a431ce33730fcd17033d5b9ed6ee4 MD5 3b747ea55742d3552408ae2a4bc99aea vdr-burn-0.0.9-r3.ebuild 2222 RMD160 8971131a431ce33730fcd17033d5b9ed6ee4c3a8 vdr-burn-0.0.9-r3.ebuild 2222 SHA256 8b36870037e9416af639e5a09bfe7c489f25ff99c0873134debcca60a6a4be54 vdr-burn-0.0.9-r3.ebuild 2222 -MISC ChangeLog 2870 RMD160 ac428f1753426097dfbb319e0ed57eeb185e6b4b SHA1 bd28e7bd21116057d08e71b55e175273f62c3781 SHA256 5351604075a4e3d9da2c365dbe07bc61fbed8a872d2750c51c55899f40638866 -MD5 8c968dffd94193a5907dfeb65e831c91 ChangeLog 2870 -RMD160 ac428f1753426097dfbb319e0ed57eeb185e6b4b ChangeLog 2870 -SHA256 5351604075a4e3d9da2c365dbe07bc61fbed8a872d2750c51c55899f40638866 ChangeLog 2870 +EBUILD vdr-burn-0.1.0_pre21-r2.ebuild 3247 RMD160 c7fb11d1308c588e5a3050ccd88dee31193bec5f SHA1 52ea2c44ba86fd990a32d9a54d2fedf2e17f16ed SHA256 c417c2c18a574396cfd65507baa5a602d2560544e80c6bcb8ff579f8aa2727ae +MD5 3eb4122c18962ac87bd6b43621e95f04 vdr-burn-0.1.0_pre21-r2.ebuild 3247 +RMD160 c7fb11d1308c588e5a3050ccd88dee31193bec5f vdr-burn-0.1.0_pre21-r2.ebuild 3247 +SHA256 c417c2c18a574396cfd65507baa5a602d2560544e80c6bcb8ff579f8aa2727ae vdr-burn-0.1.0_pre21-r2.ebuild 3247 +MISC ChangeLog 3337 RMD160 de5bc61861a0d7f946ed41aebeafe572d4510d3b SHA1 44be47bff61851e6c520e4f51e7ef642ff946482 SHA256 10a800279837523330f01d0dcecaff0566d11ee7c370f71a52bd271ea75e4e80 +MD5 1469b6ef5cb540ef1233563629d647d1 ChangeLog 3337 +RMD160 de5bc61861a0d7f946ed41aebeafe572d4510d3b ChangeLog 3337 +SHA256 10a800279837523330f01d0dcecaff0566d11ee7c370f71a52bd271ea75e4e80 ChangeLog 3337 MISC metadata.xml 350 RMD160 d0b901374bdc1a0891427d10fc60e9105b91e9d7 SHA1 5c83b2fadb6e91b9b019c2c8bd2e4bbd4d324cbd SHA256 900ccfedc8cb763645f7677742bc2ab59d09a332e465875fd1faf4912c13b171 MD5 35e2c1345c89be1c7032114adeb7ad39 metadata.xml 350 RMD160 d0b901374bdc1a0891427d10fc60e9105b91e9d7 metadata.xml 350 @@ -44,10 +77,14 @@ SHA256 2e4b89253892bff360cbd57dce405b726c05c88da6d249201c187be75522a255 files/di MD5 485d933c3b404fa4dc7cca5c74651c97 files/digest-vdr-burn-0.0.9-r3 241 RMD160 39bee176fa2404ebdabae76bf6db485d04d49245 files/digest-vdr-burn-0.0.9-r3 241 SHA256 2e4b89253892bff360cbd57dce405b726c05c88da6d249201c187be75522a255 files/digest-vdr-burn-0.0.9-r3 241 +MD5 0d4f65205f442134f526b2c5483606ae files/digest-vdr-burn-0.1.0_pre21-r2 253 +RMD160 e5b38fe9e276199f66befaea27dbbce1afa28a4c files/digest-vdr-burn-0.1.0_pre21-r2 253 +SHA256 bca1dc80cfd0435e9a670c4b83329893a8a28a9e54105a1b1ab6c674679fe07c files/digest-vdr-burn-0.1.0_pre21-r2 253 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v1.4.5 (GNU/Linux) +Comment: added by hd_brummy@gentoo.org -iD8DBQFGJMBOt2vP6XvVdOcRAmMbAJ9LHJLi0auXP8rbPjRkzfd2PgXeMgCfQuma -kGndhce7+OZitDPl8erSkvQ= -=ksDS +iD8DBQFGPv7idn07HTTCgIoRAn11AJ9v8XwXmsQqykZ0HeI5fq41d6Ce7QCgsS5F +RrUJSbSeliJ7B00Z9fIe6wU= +=5kse -----END PGP SIGNATURE----- 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 diff --git a/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r2.ebuild b/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r2.ebuild new file mode 100644 index 000000000000..8a3413c82dcd --- /dev/null +++ b/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r2.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/vdr-burn-0.1.0_pre21-r2.ebuild,v 1.1 2007/05/07 10:26:30 hd_brummy Exp $ + +inherit vdr-plugin eutils + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +S="${WORKDIR}/burn-${MY_PV}" + +DESCRIPTION="VDR: DVD Burn Plugin" +HOMEPAGE="http://www.xeatre.de/community/burn" +SRC_URI="http://www.magoa.net/linux/contrib/${MY_P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="projectx" + +PATCHES="${FILESDIR}/${PV}/i18n.diff + ${FILESDIR}/${PV}/menuburn.diff + ${FILESDIR}/${PV}/menuitems.diff + ${FILESDIR}/${PV}/${P}_RemovePath-fix.diff" + +DEPEND=">=media-video/vdr-1.4 + >=dev-libs/libcdio-0.71 + >=dev-libs/boost-1.32.0 + media-libs/gd" + +RDEPEND=">=media-video/dvdauthor-0.6.10 + >=media-video/mjpegtools-1.6.2 + >=media-video/vdrsync-0.1.3_pre1-r5 + >=media-video/m2vrequantizer-20060306 + media-fonts/ttf-bitstream-vera + media-video/vdrtools-genindex + >=app-cdr/cdrtools-2.01.01_alpha10 + >=app-cdr/dvd+rw-tools-5.21 + projectx? ( >=media-video/projectx-0.90.4.00-r2 )" + +VDR_CONFD_FILE="${FILESDIR}/${PV}/confd" +VDR_RCADDON_FILE="${FILESDIR}/${PV}/rc-addon.sh" + +pkg_setup() { + + if use projectx && [[ ! -d /usr/share/java-config-2 ]] ; then + echo + eerror "ProjectX need an upgraded version of your Java install" + eerror "Please upgrade your Java/Java-config install" + einfo "http://www.gentoo.org/proj/en/java/java-upgrade.xml" + die "ProjectX need an upgrade of Java/Java-config" + echo + fi + + if ! built_with_use media-libs/gd png truetype ; then + echo + eerror "Please recompile media-libs/gd with" + eerror "USE=\"png truetype\"" + die "media-libs/gd need png and truetype support" + fi + + vdr-plugin_pkg_setup +} + +src_unpack() { + vdr-plugin_src_unpack + + epatch ${FILESDIR}/${PV}/${P}-gentoo.diff + + sed -i Makefile \ + -e 's#^TMPDIR = .*$#TMPDIR = /tmp#' \ + -e 's#^ISODIR=.*$#ISODIR=/var/vdr/video/dvd-images#' +} + +src_install() { + vdr-plugin_src_install + + dobin ${S}/burn-buffers + dobin ${S}/*.sh + + insinto /usr/share/vdr/burn + doins ${S}/burn/menu-silence.mp2 + newins ${S}/burn/menu-button.png menu-button-default.png + newins ${S}/burn/menu-bg.png menu-bg-default.png + dosym menu-bg-default.png /usr/share/vdr/burn/menu-bg.png + dosym menu-button-default.png /usr/share/vdr/burn/menu-button.png + + use projectx && newins ${S}/burn/ProjectX.ini projectx-vdr.ini + + if [[ ! -f ${root}/usr/share/vdr/burn/counters/standard ]]; then + insinto /usr/share/vdr/burn/counters + doins ${S}/burn/counters/standard + fi + + fowners -R vdr:vdr /usr/share/vdr/burn +} + +pkg_preinst() { + if [[ -d ${ROOT}/etc/vdr/plugins/burn && ( ! -L ${ROOT}/etc/vdr/plugins/burn ) ]]; then + einfo "Moving /etc/vdr/plugins/burn away" + mv ${ROOT}/etc/vdr/plugins/burn ${ROOT}/etc/vdr/plugins/burn_old + fi +} + +pkg_postinst() { + vdr-plugin_pkg_postinst + + echo + einfo "This ebuild comes only with the standard template" + einfo "'emerge vdr-burn-templates' for more templates" + einfo "To change the templates, use the vdr-image plugin" + + if [[ -e ${ROOT}/etc/vdr/reccmds/reccmds.burn.conf ]]; then + echo + eerror "Please remove the following unneeded file:" + einfo "--> /etc/vdr/reccmds/reccmds.burn.conf" + echo + fi +} |