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

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

Loading…
Cancel
Save