updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vdr-burn / 04_genisoimage.dpatch
blob9b6edaf8873c98c877a5ae4883644f5d4fcbd73c
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 04_genisoimage.dpatch by Tobias Grimm <tg@e-tobi.net>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Use genisoimage instead of mkisofs, which is deprecated
7 @DPATCH@
8 diff -urNad vdr-plugin-burn-0.1.0~pre21~/vdrburn-archive.sh vdr-plugin-burn-0.1.0~pre21/vdrburn-archive.sh
9 --- vdr-plugin-burn-0.1.0~pre21~/vdrburn-archive.sh 2006-08-27 20:20:13.000000000 +0200
10 +++ vdr-plugin-burn-0.1.0~pre21/vdrburn-archive.sh 2008-05-17 21:29:48.000000000 +0200
11 @@ -12,7 +12,7 @@
13 case $1 in
14 mkiso)
15 - mkisofs -V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
16 + genisoimage -V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
17 -graft-points $GRAFT_POINTS >"$ISO_FILE"
20 @@ -27,7 +27,7 @@
23 pipeiso)
24 - mkisofs -V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
25 + genisoimage -V "$DISC_ID" -f -r -J -l -allow-lowercase -allow-multidot \
26 -graft-points $GRAFT_POINTS | tee "$ISO_FILE" > $ISO_PIPE
29 diff -urNad vdr-plugin-burn-0.1.0~pre21~/vdrburn-dvd.sh vdr-plugin-burn-0.1.0~pre21/vdrburn-dvd.sh
30 --- vdr-plugin-burn-0.1.0~pre21~/vdrburn-dvd.sh 2006-08-27 20:34:30.000000000 +0200
31 +++ vdr-plugin-burn-0.1.0~pre21/vdrburn-dvd.sh 2008-05-17 21:29:32.000000000 +0200
32 @@ -207,7 +207,7 @@
35 mkiso)
36 - mkisofs -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" > "$ISO_FILE"
37 + genisoimage -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" > "$ISO_FILE"
40 burndir)
41 @@ -224,12 +224,12 @@
42 if [ $BURN_SPEED -gt 0 ]; then
43 SPEED="speed=$(($BURN_SPEED * 4))"
45 - mkisofs -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" \
46 + genisoimage -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" \
47 | cdrecord "dev=$DVD_DEVICE" driveropts=burnfree fs=10m $SPEED -
50 pipeiso)
51 - mkisofs -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" \
52 + genisoimage -V "$DISC_ID" -dvd-video "$DVDAUTHOR_PATH" \
53 | tee "$ISO_FILE" > "$ISO_PIPE"