summaryrefslogtreecommitdiff
blob: 6c16cdab9888f9f1c56b87ab9120312a2f7895eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 \