File kde3-kdvdramtools-0.4.99rc1-kdedir.patch of Package kde3-kdvdramtools
Description: Use real KDE 3 directory. Author: Kyrill Detinov <lazy.kent.suse@gmail.com> Index: src/dvd-ram_copy.sh =================================================================== --- src/dvd-ram_copy.sh.orig 2007-10-07 13:03:49.000000000 +0400 +++ src/dvd-ram_copy.sh 2010-01-21 17:47:15.000000000 +0300 @@ -14,6 +14,4 @@ UDIMEDIA=`hal-find-by-property --key blo MOUNTSTATUS=`hal-get-property --udi $UDIMEDIA --key volume.is_mounted` echo $MOUNTSTATUS # Status check -kmdr-executor $KDEDIR/bin/dvd-ram_copy.kmdr - - +kmdr-executor /opt/kde3/bin/dvd-ram_copy.kmdr Index: src/dvd-ram_create_udf.sh =================================================================== --- src/dvd-ram_create_udf.sh.orig 2007-06-17 20:36:29.000000000 +0400 +++ src/dvd-ram_create_udf.sh 2010-01-21 17:47:15.000000000 +0300 @@ -7,4 +7,4 @@ # License: GPL 2.0 # Version: 0.3.1 (English version) export NEWDEVICE=`echo $1` -kmdr-executor $KDEDIR/bin/dvd-ram_create_udf.kmdr \ No newline at end of file +kmdr-executor /opt/kde3/bin/dvd-ram_create_udf.kmdr Index: src/dvd-ram_format.sh =================================================================== --- src/dvd-ram_format.sh.orig 2007-06-17 20:36:47.000000000 +0400 +++ src/dvd-ram_format.sh 2010-01-21 17:47:15.000000000 +0300 @@ -7,4 +7,4 @@ # License: GPL 2.0 # Version: 0.3.1 (English version) export NEWDEVICE=`echo $1` -kmdr-executor $KDEDIR/bin/dvd-ram_format.kmdr \ No newline at end of file +kmdr-executor /opt/kde3/bin/dvd-ram_format.kmdr Index: src/dvd-ram_info.sh =================================================================== --- src/dvd-ram_info.sh.orig 2007-06-17 20:37:00.000000000 +0400 +++ src/dvd-ram_info.sh 2010-01-21 17:47:15.000000000 +0300 @@ -7,4 +7,4 @@ # License: GPL 2.0 # Version: 0.3.1 (English version) export NEWDEVICE=`echo $1` -kmdr-executor $KDEDIR/bin/dvd-ram_info.kmdr \ No newline at end of file +kmdr-executor /opt/kde3/bin/dvd-ram_info.kmdr Index: src/dvd-ram_properties.sh =================================================================== --- src/dvd-ram_properties.sh.orig 2008-05-12 21:55:29.000000000 +0400 +++ src/dvd-ram_properties.sh 2010-01-21 17:47:15.000000000 +0300 @@ -14,4 +14,4 @@ export MPPATH1=`hal-get-property --udi $ export MPPATH2=`hal-get-property --udi $UDIDEVICE --key volume.mount_point | cut -d"/" -f 3` export MPPERMISSIONS=`ls -ld /$MPPATH1/$MPPATH2 | grep $MPPATH2` echo $MPPERMISSIONS -kmdr-executor $KDEDIR/bin/dvd-ram_properties.kmdr \ No newline at end of file +kmdr-executor /opt/kde3/bin/dvd-ram_properties.kmdr Index: src/dvd-ram_spindown.sh =================================================================== --- src/dvd-ram_spindown.sh.orig 2007-09-30 22:26:04.000000000 +0400 +++ src/dvd-ram_spindown.sh 2010-01-21 17:47:15.000000000 +0300 @@ -22,4 +22,4 @@ kdesu -d -c "sdparm --command=stop $NEWD else kdialog --icon "cdwriter_unmount" --caption "KDVD-RAM Tools" --error "ERROR \n Please check if hdparm (for IDE device) or sdparm (for SCSI/SATA device) is installed!" -fi \ No newline at end of file +fi