|
|
@ -94,8 +94,8 @@ def detect_kde(env):
|
|
|
|
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)
|
|
|
|
if kdedir: env['KDEDIR']=kdedir
|
|
|
|
if kdedir: env['TDEDIR']=kdedir
|
|
|
|
else: env['KDEDIR'] = os.popen(kde_config+' -prefix').read().strip()
|
|
|
|
else: env['TDEDIR'] = os.popen(kde_config+' -prefix').read().strip()
|
|
|
|
|
|
|
|
|
|
|
|
print "Checking for kde version : ",
|
|
|
|
print "Checking for kde version : ",
|
|
|
|
kde_version = os.popen(kde_config+" --version|grep KDE").read().strip().split()[1]
|
|
|
|
kde_version = os.popen(kde_config+" --version|grep KDE").read().strip().split()[1]
|
|
|
@ -305,7 +305,7 @@ def generate(env):
|
|
|
|
('QT_MOC', 'moc command'),
|
|
|
|
('QT_MOC', 'moc command'),
|
|
|
|
('QTPLUGINS', 'uic executable command'),
|
|
|
|
('QTPLUGINS', 'uic executable command'),
|
|
|
|
|
|
|
|
|
|
|
|
('KDEDIR', ''),
|
|
|
|
('TDEDIR', ''),
|
|
|
|
('KDELIBPATH', 'path to the installed kde libs'),
|
|
|
|
('KDELIBPATH', 'path to the installed kde libs'),
|
|
|
|
('KDEINCLUDEPATH', 'path to the installed kde includes'),
|
|
|
|
('KDEINCLUDEPATH', 'path to the installed kde includes'),
|
|
|
|
|
|
|
|
|
|
|
@ -332,7 +332,7 @@ def generate(env):
|
|
|
|
return instdir
|
|
|
|
return instdir
|
|
|
|
|
|
|
|
|
|
|
|
# reconfigure when things are missing
|
|
|
|
# reconfigure when things are missing
|
|
|
|
if not env['HELP'] and (env['_CONFIGURE'] or not env.has_key('QTDIR') or not env.has_key('KDEDIR')):
|
|
|
|
if not env['HELP'] and (env['_CONFIGURE'] or not env.has_key('QTDIR') or not env.has_key('TDEDIR')):
|
|
|
|
detect_kde(env)
|
|
|
|
detect_kde(env)
|
|
|
|
opts.Save(cachefile, env)
|
|
|
|
opts.Save(cachefile, env)
|
|
|
|
|
|
|
|
|
|
|
|