diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /media-plugins/vdr-burn/files | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'media-plugins/vdr-burn/files')
3 files changed, 91 insertions, 0 deletions
diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_dmh-archive.patch b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_dmh-archive.patch new file mode 100644 index 000000000000..bd5f47853e1c --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_dmh-archive.patch @@ -0,0 +1,14 @@ +Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (27 Dev 2019) +diff -Naur burn-0.3.0.orig/Makefile burn-0.3.0/Makefile +--- burn-0.3.0.orig/Makefile 2019-12-27 17:55:11.518492713 +0100 ++++ burn-0.3.0/Makefile 2019-12-27 17:55:53.903492713 +0100 +@@ -12,6 +12,9 @@ + + PLUGIN = burn + ++# Enable DMH Archive ++#ENABLE_DMH_ARCHIVE = 1 ++ + ### The version number of this plugin (taken from the main source file): + + VERSION = $(shell grep 'const char\* plugin::VERSION *=' $(PLUGIN).c | awk '{ print $$5 }' | sed -e 's/[";]//g') diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch new file mode 100644 index 000000000000..6c16cdab9888 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_gentoo-path.patch @@ -0,0 +1,45 @@ +fixed some path for gentoo + +Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (27 Dec 2019) +diff -Naur burn-0.3.0.orig/burn.c burn-0.3.0/burn.c +--- burn-0.3.0.orig/burn.c 2019-12-27 17:35:29.724492713 +0100 ++++ burn-0.3.0/burn.c 2019-12-27 17:40:46.640492713 +0100 +@@ -90,12 +90,12 @@ + + bool plugin::Start() + { +- m_configPath = ConfigDirectory(PLUGIN_NAME); ++ m_configPath = "/usr/share/vdr/burn"; + m_resourcePath = ResourceDirectory(PLUGIN_NAME); + + manager::start(); + logger_vdr::start(); +- gdwrapper::setup::set_font_path( get_resource_path() + "/fonts" ); ++ gdwrapper::setup::set_font_path( "/usr/share/fonts/corefonts" ); + if ( !skin_list::get().load( get_resource_path() ) ) + return false; + +diff -Naur burn-0.3.0.orig/scripts/vdrburn-dvd.sh burn-0.3.0/scripts/vdrburn-dvd.sh +--- burn-0.3.0.orig/scripts/vdrburn-dvd.sh 2019-12-27 17:35:29.726492713 +0100 ++++ burn-0.3.0/scripts/vdrburn-dvd.sh 2019-12-27 17:44:42.407492713 +0100 +@@ -78,7 +78,7 @@ + ;; + + demux) +- [ -r $CONFIG_PATH/vdrburn-dvd.conf ] && . $CONFIG_PATH/vdrburn-dvd.conf ++ PROJECTX_JAR="/usr/share/projectx/lib/projectx.jar" + [ -z "$JAVA_EXE" ] && JAVA_EXE=$(which java) + + [ ! -x "$JAVA_EXE" ] && echo "ERROR: java executable \"$JAVA_EXE\" not found" && exit 1 +@@ -92,9 +92,8 @@ + CUT="-cut $MPEG_DATA_PATH/px.cut" + fi + +- $IO_NICE $JAVA_EXE -Djava.awt.headless=true \ +- -jar $PROJECTX_JAR \ +- -ini $CONFIG_PATH/ProjectX.ini \ ++ /usr/bin/projectx_cli \ ++ -ini /usr/share/vdr/burn/projectx-vdr.ini \ + $TTXT_OPTS \ + $CUT -id $USED_TRACKS \ + -demux -out "$MPEG_DATA_PATH" -name vdrsync \ diff --git a/media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch new file mode 100644 index 000000000000..ce8b968e5bc0 --- /dev/null +++ b/media-plugins/vdr-burn/files/vdr-burn-0.3.0_setdefaults.patch @@ -0,0 +1,32 @@ +set default settings +unset gentoo unsupported packages (m2vrequantizer) +disable unneeded menuentrys + +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (27 Dec 2019) +diff -Naur burn-0.3.0.orig/setup.c burn-0.3.0/setup.c +--- burn-0.3.0.orig/setup.c 2019-12-27 17:47:45.556492713 +0100 ++++ burn-0.3.0/setup.c 2019-12-27 17:50:10.063492713 +0100 +@@ -85,10 +85,10 @@ + //!--- 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( RequantType, requanttype_m2vrequantiser ), ++ PROCTOOLS_INIT_PROPERTY( RequantType, requanttype_transcode ), + PROCTOOLS_INIT_PROPERTY( PreserveLogFiles, false ), + PROCTOOLS_INIT_PROPERTY( DefaultLanguage, 0 ), + PROCTOOLS_INIT_PROPERTY( MainMenuStatus, true ), +@@ -228,8 +228,8 @@ + 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::list_edit_item( tr("Requant using"), m_setup.RequantType, requanttype_strings ) ); ++// Add( new menu::bool_edit_item( tr("Remove path component"), m_setup.RemovePath ) ); ++// 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") ) ); + Add( new menu::bool_edit_item( tr("Preserve logfiles"), m_setup.PreserveLogFiles ) ); + Add( new menu::list_edit_item( tr("Spare language code"), m_setup.DefaultLanguage, track_info::get_language_codes(), false ) ); |