@ -1391,21 +1391,18 @@ void QuantaInit::checkRuntimeDependencies()
Dependency dependency ;
dependency . name = " Kommander " ;
dependency . execName = " kmdr-executor " ;
dependency . url = " http://kommander.tdewebdev.org " ;
dependency . description = i18n ( " various script based dialogs including the Quick Start dialog " ) ;
dependency . type = Dependency : : Executable ;
dependencies . append ( dependency ) ;
dependency . name = " Tidy " ;
dependency . execName = " tidy " ;
dependency . url = " http://tidy.sourceforge.net " ;
dependency . description = i18n ( " HTML syntax checking " ) ;
dependency . type = Dependency : : Executable ;
dependencies . append ( dependency ) ;
dependency . name = " Kompare " ;
dependency . execName = " kompare " ;
dependency . url = " http://bruggie.dnsalias.org/kompare " ;
dependency . description = i18n ( " comparing of files by content " ) ;
dependency . type = Dependency : : Executable ;
dependencies . append ( dependency ) ;
@ -1413,28 +1410,24 @@ void QuantaInit::checkRuntimeDependencies()
dependency . name = i18n ( " Control Center (tdebase) " ) ;
dependency . execName = " tdecmshell " ;
dependency . url = " http://www.kde.org " ;
dependency . description = i18n ( " preview browser configuration " ) ;
dependency . type = Dependency : : Executable ;
dependencies . append ( dependency ) ;
dependency . name = " GPG (OpenPGP) " ;
dependency . execName = " gpg " ;
dependency . url = " http://www.gnupg.de " ;
dependency . description = i18n ( " preview browser configuration " ) ;
dependency . type = Dependency : : Executable ;
dependencies . append ( dependency ) ;
dependency . name = " KFileReplace " ;
dependency . execName = " KFileReplace " ;
dependency . url = " http://tdefilereplace.tdewebdev.org " ;
dependency . description = i18n ( " search and replace in files " ) ;
dependency . type = Dependency : : Plugin ;
dependencies . append ( dependency ) ;
dependency . name = " KXSLDbg " ;
dependency . execName = " XSLT Debugger " ;
dependency . url = " http://xsldbg.sourceforge.net/ " ;
dependency . description = i18n ( " XSLT debugging " ) ;
dependency . type = Dependency : : Plugin ;
dependencies . append ( dependency ) ;
@ -1442,7 +1435,6 @@ void QuantaInit::checkRuntimeDependencies()
dependency . name = " KImageMapEditor " ;
dependency . execName = " KImageMapEditor " ;
dependency . url = " http://www.nongnu.org/kimagemap/ " ;
dependency . description = i18n ( " editing HTML image maps " ) ;
dependency . type = Dependency : : Plugin ;
dependencies . append ( dependency ) ;
@ -1450,33 +1442,31 @@ void QuantaInit::checkRuntimeDependencies()
dependency . name = " KLinkStatus " ;
dependency . execName = " Link Checker " ;
dependency . url = " http://kde-apps.org/content/show.php?content=12318 " ;
dependency . description = i18n ( " link validity checking " ) ;
dependency . type = Dependency : : Plugin ;
dependencies . append ( dependency ) ;
dependency . name = " Cervisia " ;
dependency . execName = " CVS Management (Cervisia) " ;
dependency . url = " http://www.kde.org/apps/cervisia " ;
dependency . description = i18n ( " CVS management plugin " ) ;
dependency . type = Dependency : : Plugin ;
dependencies . append ( dependency ) ;
TQString errorStr ;
TQString stdErrorMsg = i18n ( " <br><b>- %1</b> [<i>%2</i>] - %3 will not be available;" ) ;
TQString stdErrorMsg = i18n ( " <br><b>- %1</b> [<i>%2</i>] will not be available;" ) ;
for ( TQValueList < Dependency > : : ConstIterator it = dependencies . constBegin ( ) ; it ! = dependencies . constEnd ( ) ; + + it )
{
dependency = * it ;
if ( dependency . type = = Dependency : : Executable )
{
if ( TDEStandardDirs : : findExe ( dependency . execName ) . isNull ( ) )
errorStr + = TQString ( stdErrorMsg ) . arg ( dependency . name ) . arg ( dependency . url) . arg ( dependency . description) ;
errorStr + = TQString ( stdErrorMsg ) . arg ( dependency . name ) . arg ( dependency . description) ;
} else
if ( dependency . type = = Dependency : : Plugin )
{
if ( ! QuantaPlugin : : validatePlugin ( m_quanta - > m_pluginInterface - > plugin ( dependency . execName ) ) )
errorStr + = TQString ( stdErrorMsg ) . arg ( dependency . name ) . arg ( dependency . url) . arg ( dependency . description) ;
errorStr + = TQString ( stdErrorMsg ) . arg ( dependency . name ) . arg ( dependency . description) ;
}
}
@ -1505,7 +1495,7 @@ void QuantaInit::checkRuntimeDependencies()
{
m_quanta - > slotHideSplash ( ) ;
errorStr [ errorStr . length ( ) - 1 ] = ' . ' ;
KMessageBox : : information ( m_quanta , " <qt> " + i18n ( " Some applications required for full functionality are missing :<br>" ) + errorStr + i18n ( " <br><br> You may download the applications from the specified location s.</qt>" ) , i18n ( " Missing Applications " ) , " RuntimeDependencyCheck " ) ;
KMessageBox : : information ( m_quanta , " <qt> " + i18n ( " Some applications required for full functionality are missing or installed incorrectly :<br>" ) + errorStr + i18n ( " <br><br> Please verify the package content s.</qt>" ) , i18n ( " Missing Applications " ) , " RuntimeDependencyCheck " ) ;
}
}