Rename kde-config to tde-config

pull/1/head
Timothy Pearson 13 years ago
parent 3e84031ab5
commit 1fc9d8ef36

@ -52,7 +52,7 @@ def exists(env):
return True
def detect_kde(env):
""" Detect the qt and kde environment using kde-config mostly """
""" Detect the qt and kde environment using tde-config mostly """
def getpath(varname):
if not env.has_key('ARGS'): return None
v=env['ARGS'].get(varname, None)
@ -82,15 +82,15 @@ def detect_kde(env):
if libdir: libdir = libdir+libsuffix
## Detect the kde libraries
print "Checking for kde-config : ",
str="which kde-config 2>/dev/null"
if tdedir: str="which %s 2>/dev/null" % (tdedir+'/bin/kde-config')
print "Checking for tde-config : ",
str="which tde-config 2>/dev/null"
if tdedir: str="which %s 2>/dev/null" % (tdedir+'/bin/tde-config')
kde_config = os.popen(str).read().strip()
if len(kde_config):
p('GREEN', 'kde-config was found as '+kde_config)
p('GREEN', 'tde-config was found as '+kde_config)
else:
if tdedir: p('RED','kde-config was NOT found in the folder given '+tdedir)
else: p('RED','kde-config was NOT found in your PATH')
if tdedir: p('RED','tde-config was NOT found in the folder given '+tdedir)
else: p('RED','tde-config was NOT found in your PATH')
print "Make sure kde is installed properly"
print "(missing package tdebase-devel?)"
env.Exit(1)
@ -197,7 +197,7 @@ def detect_kde(env):
p('RED',"The kde includes were NOT found")
env.Exit(1)
# kde-config options
# tde-config options
kdec_opts = {'KDEBIN' : 'exe', 'KDEAPPS' : 'apps',
'KDEDATA' : 'data', 'KDEICONS' : 'icon',
'KDEMODULE' : 'module', 'KDELOCALE' : 'locale',

@ -20,9 +20,9 @@
SRCDIR=../src
TIPSDIR=$SRCDIR/appdata
TDEDIR=`kde-config --prefix`
TDEDIR=`tde-config --prefix`
EXTRACTRC=extractrc
KDEPOT=`kde-config --prefix`/include/tde/kde.pot
KDEPOT=`tde-config --prefix`/include/tde/kde.pot
XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x $KDEPOT "
## check that kde.pot is available

Loading…
Cancel
Save