summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:07:42 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:07:42 +0200
commit8b32b1132dd028eb502cc670932070dcd1e527c3 (patch)
treee76784303515379935179aa5bbe4d990bb3619e3 /redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch
parent2d6a8dc02b9bd60ae9c083dfb61fc097184ec436 (diff)
downloadtde-packaging-8b32b1132dd028eb502cc670932070dcd1e527c3.tar.gz
tde-packaging-8b32b1132dd028eb502cc670932070dcd1e527c3.zip
RHEL/Fedora: updates kaffeine
Diffstat (limited to 'redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch')
-rw-r--r--redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch
new file mode 100644
index 000000000..07d58235a
--- /dev/null
+++ b/redhat/applications/kaffeine/kaffeine-3.5.13-fix_temporary_location.patch
@@ -0,0 +1,31 @@
+commit b480e3db3a01b75376fa6b83e5b01efe104ccaec
+Author: Darrell Anderson <humanreadable@yahoo.com>
+Date: 1331957353 -0500
+
+ Change location where Kaffeine stores temporary pipe files from $HOME to
+ the more appropriate $TDEHOME/tmp-$HOSTNAME.
+
+diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp
+index 365b7ac..969b62b 100644
+--- a/kaffeine/src/input/dvb/dvbpanel.cpp
++++ b/kaffeine/src/input/dvb/dvbpanel.cpp
+@@ -1065,7 +1065,8 @@ void DvbPanel::setConfig()
+ connect( d, TQT_SIGNAL(isRecording(bool)), this, TQT_SLOT(setRecordLed(bool)) );
+ connect( d, TQT_SIGNAL(playDvb()), this, TQT_SLOT(pipeOpened()) );
+ }
+- fifoName = TQDir::homeDirPath()+"/.kaxtv.ts";
++// fifoName = TQDir::homeDirPath()+"/.kaxtv.ts";
++ fifoName = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv.ts";
+ TQFile f( fifoName );
+ if ( f.exists() )
+ f.remove();
+@@ -1073,7 +1074,8 @@ void DvbPanel::setConfig()
+ perror( fifoName.latin1() );
+ fifoName = "";
+ }
+- fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts";
++// fifoName1 = TQDir::homeDirPath()+"/.kaxtv1.ts";
++ fifoName1 = KGlobal::dirs()->saveLocation("tmp")+"/.kaxtv1.ts";
+ TQFile f1( fifoName1 );
+ if ( f1.exists() )
+ f1.remove();