summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/kiosktool
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-13 15:14:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-13 15:14:51 -0600
commitce06bb2d2bcf6bb1a7e41708a9dc506626bdcdb1 (patch)
tree72ace0c88f4b490202646de5fc2273a6ba5726bc /ubuntu/precise/applications/kiosktool
parent7d1dd08a218ccfc6020faaae9016641be7c869fe (diff)
downloadtde-packaging-ce06bb2d2bcf6bb1a7e41708a9dc506626bdcdb1.tar.gz
tde-packaging-ce06bb2d2bcf6bb1a7e41708a9dc506626bdcdb1.zip
Fix kiosktool FTBFS on Ubuntu
Diffstat (limited to 'ubuntu/precise/applications/kiosktool')
-rw-r--r--ubuntu/precise/applications/kiosktool/debian/patches/kubuntu_03_sudo_support.diff16
1 files changed, 8 insertions, 8 deletions
diff --git a/ubuntu/precise/applications/kiosktool/debian/patches/kubuntu_03_sudo_support.diff b/ubuntu/precise/applications/kiosktool/debian/patches/kubuntu_03_sudo_support.diff
index 789be3e4a..bc86fe694 100644
--- a/ubuntu/precise/applications/kiosktool/debian/patches/kubuntu_03_sudo_support.diff
+++ b/ubuntu/precise/applications/kiosktool/debian/patches/kubuntu_03_sudo_support.diff
@@ -33,9 +33,9 @@
#include "kiosksync.h"
#include <tdeio/netaccess.h>
--#define NETACCESS KIO::NetAccess
+-#define NETACCESS TDEIO::NetAccess
+// Kiosktool wants to use fish://root@localhost/... which won't work on Kubuntu because we don't run ssh by default, we don't allow ssh to do root logins and root doesn't even have a password, so implement the functions here for local copies using tdesu instead
-+// #define NETACCESS KIO::NetAccess
++// #define NETACCESS TDEIO::NetAccess
#undef DEBUG_ENTRIES
@@ -45,7 +45,7 @@
+ bool exists = TQFile::exists(url.path());
+ return exists;
+ } else {
-+ bool result = KIO::NetAccess::exists(url, source, window);
++ bool result = TDEIO::NetAccess::exists(url, source, window);
+ return result;
+ }
+}
@@ -64,7 +64,7 @@
+ bool exists = TQFile::exists(url.path());
+ return exists;
+ } else {
-+ bool result = KIO::NetAccess::mkdir(url, window, permissions);
++ bool result = TDEIO::NetAccess::mkdir(url, window, permissions);
+ return result;
+ }
+}
@@ -102,7 +102,7 @@
+ bool exists = TQFile::exists(dest.path());
+ return exists;
+ } else {
-+ bool result = KIO::NetAccess::file_copy(src, dest, permissions, overwrite, resume, window);
++ bool result = TDEIO::NetAccess::file_copy(src, dest, permissions, overwrite, resume, window);
+ return result;
+ }
+}
@@ -121,7 +121,7 @@
+ bool exists = !TQFile::exists(url.path());
+ return exists;
+ } else {
-+ bool result = KIO::NetAccess::del(url, window);
++ bool result = TDEIO::NetAccess::del(url, window);
+ return result;
+ }
+}
@@ -141,7 +141,7 @@
+ bool exists = TQFile::exists(target.path());
+ return exists;
+ } else {
-+ bool result = KIO::NetAccess::file_move(src, target, permissions, overwrite, resume, window);
++ bool result = TDEIO::NetAccess::file_move(src, target, permissions, overwrite, resume, window);
+ return result;
+ }
+}
@@ -149,7 +149,7 @@
+//only used for local files
+bool NETACCESS::copy(const KURL &src, const KURL &target, TQWidget *window)
+{
-+ return KIO::NetAccess::copy(src, target, window);
++ return TDEIO::NetAccess::copy(src, target, window);
+}
+
KioskRun *KioskRun::s_self = 0;