|
|
@ -70,7 +70,7 @@ def detect_kde(env):
|
|
|
|
|
|
|
|
|
|
|
|
kdedir = getstr('kdedir')
|
|
|
|
kdedir = getstr('kdedir')
|
|
|
|
kdeincludes = getpath('kdeincludes')
|
|
|
|
kdeincludes = getpath('kdeincludes')
|
|
|
|
kdelibs = getpath('kdelibs')
|
|
|
|
tdelibs = getpath('tdelibs')
|
|
|
|
|
|
|
|
|
|
|
|
qtdir = getstr('qtdir')
|
|
|
|
qtdir = getstr('qtdir')
|
|
|
|
qtincludes = getpath('qtincludes')
|
|
|
|
qtincludes = getpath('qtincludes')
|
|
|
@ -92,7 +92,7 @@ def detect_kde(env):
|
|
|
|
if kdedir: p('RED','kde-config was NOT found in the folder given '+kdedir)
|
|
|
|
if kdedir: p('RED','kde-config was NOT found in the folder given '+kdedir)
|
|
|
|
else: p('RED','kde-config was NOT found in your PATH')
|
|
|
|
else: p('RED','kde-config was NOT found in your PATH')
|
|
|
|
print "Make sure kde is installed properly"
|
|
|
|
print "Make sure kde is installed properly"
|
|
|
|
print "(missing package kdebase-devel?)"
|
|
|
|
print "(missing package tdebase-devel?)"
|
|
|
|
env.Exit(1)
|
|
|
|
env.Exit(1)
|
|
|
|
if kdedir: env['KDEDIR']=kdedir
|
|
|
|
if kdedir: env['KDEDIR']=kdedir
|
|
|
|
else: env['KDEDIR'] = os.popen(kde_config+' -prefix').read().strip()
|
|
|
|
else: env['KDEDIR'] = os.popen(kde_config+' -prefix').read().strip()
|
|
|
@ -236,9 +236,9 @@ def detect_kde(env):
|
|
|
|
|
|
|
|
|
|
|
|
## kde libs and includes
|
|
|
|
## kde libs and includes
|
|
|
|
env['KDEINCLUDEPATH']=kdeincludes
|
|
|
|
env['KDEINCLUDEPATH']=kdeincludes
|
|
|
|
if not kdelibs:
|
|
|
|
if not tdelibs:
|
|
|
|
kdelibs=os.popen(kde_config+' --expandvars --install lib').read().strip()
|
|
|
|
tdelibs=os.popen(kde_config+' --expandvars --install lib').read().strip()
|
|
|
|
env['KDELIBPATH']=kdelibs
|
|
|
|
env['KDELIBPATH']=tdelibs
|
|
|
|
|
|
|
|
|
|
|
|
## qt libs and includes
|
|
|
|
## qt libs and includes
|
|
|
|
env['QTINCLUDEPATH']=qtincludes
|
|
|
|
env['QTINCLUDEPATH']=qtincludes
|
|
|
@ -276,7 +276,7 @@ def generate(env):
|
|
|
|
p('BOLD','* libsuffix ','suffix of libraries on amd64, ie: 64, 32')
|
|
|
|
p('BOLD','* libsuffix ','suffix of libraries on amd64, ie: 64, 32')
|
|
|
|
p('BOLD','* kdeincludes','kde includes path (/usr/include/kde on debian, ..)')
|
|
|
|
p('BOLD','* kdeincludes','kde includes path (/usr/include/kde on debian, ..)')
|
|
|
|
p('BOLD','* qtincludes ','qt includes path (/usr/include/qt on debian, ..)')
|
|
|
|
p('BOLD','* qtincludes ','qt includes path (/usr/include/qt on debian, ..)')
|
|
|
|
p('BOLD','* kdelibs ','kde libraries path, for linking the programs')
|
|
|
|
p('BOLD','* tdelibs ','kde libraries path, for linking the programs')
|
|
|
|
p('BOLD','* qtlibs ','qt libraries path, for linking the program')
|
|
|
|
p('BOLD','* qtlibs ','qt libraries path, for linking the program')
|
|
|
|
|
|
|
|
|
|
|
|
p('BOLD','* scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt\n')
|
|
|
|
p('BOLD','* scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt\n')
|
|
|
|