From ac624916d541518c7cf00b36fb7aef8d2fea6b01 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 24 Aug 2011 07:39:35 +0000 Subject: [PATCH] Fix kvirc FTBFS git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1249212 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- acinclude.m4 | 2 +- admin/acinclude.m4.in | 2 +- src/kvirc/kernel/kvi_app_fs.cpp | 2 +- src/kvirc/kernel/kvi_app_setup.cpp | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 207d3d2..2404c5d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2149,7 +2149,7 @@ AC_DEFUN([AC_SS_FIND_KDE_GENERAL_DIR], if test -n "$KDEDIR"; then ss_kde_general_test_dirs="$KDEDIR $ss_kde_general_test_dirs" fi - ss_kde_general_test_path_suffix="kde trinity.0 trinity KDE Kde KDE3 trinity ." + ss_kde_general_test_path_suffix="kde kde3.0 kde3 KDE Kde KDE3 kde3 ." AC_SS_FIND_FILE_PATH_EXT($SS_KDE_GENERAL_FILE_TO_SEARCH,$ss_kde_general_test_dirs,$ss_kde_general_test_path_suffix,SS_KDE_GENERAL_DIR) diff --git a/admin/acinclude.m4.in b/admin/acinclude.m4.in index 57e5ad0..3cb3638 100644 --- a/admin/acinclude.m4.in +++ b/admin/acinclude.m4.in @@ -2149,7 +2149,7 @@ AC_DEFUN([AC_SS_FIND_KDE_GENERAL_DIR], if test -n "$KDEDIR"; then ss_kde_general_test_dirs="$KDEDIR $ss_kde_general_test_dirs" fi - ss_kde_general_test_path_suffix="kde trinity.0 trinity KDE Kde KDE3 trinity ." + ss_kde_general_test_path_suffix="kde kde3.0 kde3 KDE Kde KDE3 kde3 ." AC_SS_FIND_FILE_PATH_EXT($SS_KDE_GENERAL_FILE_TO_SEARCH,$ss_kde_general_test_dirs,$ss_kde_general_test_path_suffix,SS_KDE_GENERAL_DIR) diff --git a/src/kvirc/kernel/kvi_app_fs.cpp b/src/kvirc/kernel/kvi_app_fs.cpp index 51e6383..6a9ad8a 100644 --- a/src/kvirc/kernel/kvi_app_fs.cpp +++ b/src/kvirc/kernel/kvi_app_fs.cpp @@ -55,7 +55,7 @@ void KviApp::getGlobalKvircDirectory(TQString &szData,KvircSubdir dir,const TQSt // Local hack for Debian case Modules : - case Plugins : szData = "/opt/trinity/lib/kvirc/" KVI_VERSION_BRANCH "/modules"; break; + case Plugins : szData = "/opt/kde3/lib/kvirc/" KVI_VERSION_BRANCH "/modules"; break; case EasyPlugins : szData.append("easyplugins"); break; case ConfigPlugins : KviTQString::appendFormatted(szData,"config%smodules",KVI_PATH_SEPARATOR); break; diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp index 212ee56..27555f0 100644 --- a/src/kvirc/kernel/kvi_app_setup.cpp +++ b/src/kvirc/kernel/kvi_app_setup.cpp @@ -501,11 +501,11 @@ void KviApp::setupFileAssociations() const char * usualKvircGlobalPrePath[]= { "/usr/local", "/opt/kde", "/usr", - "/usr/local/lib", "/opt/trinity", "/usr/lib", + "/usr/local/lib", "/opt/kde3", "/usr/lib", "/usr/local/kde", "/opt", "/usr/etc", - "/usr/local/trinity", "/usr/lib/X11R6", "/usr/X11R6", + "/usr/local/kde3", "/usr/lib/X11R6", "/usr/X11R6", "/usr/local/X11R6", "/lib/X11", "/usr/kde", - "/usr/local/X11", "/etc", "/usr/trinity", + "/usr/local/X11", "/etc", "/usr/kde3", "/usr/local/etc", "/lib", "/usr/X11", "/etc/X11", "/home", "/home/kvirc", 0