From f46b2c7ae17c2bba1fc15c2d35ac60510328e09d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 5 Nov 2011 21:46:14 -0500 Subject: [PATCH] Rename kde libraries to tde --- bksys/kde.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bksys/kde.py b/bksys/kde.py index 23343c8..95361c9 100644 --- a/bksys/kde.py +++ b/bksys/kde.py @@ -4,8 +4,8 @@ import os, re, types from SCons.Script.SConscript import SConsEnvironment -# Returns the name of the shared object (eg: libkdeui.so.4) -# referenced by a libtool archive (like libkdeui.la) +# Returns the name of the shared object (eg: libtdeui.so.4) +# referenced by a libtool archive (like libtdeui.la) def getSOfromLA(lafile): contents = open(lafile, 'r').read() match = re.search("^dlname='([^']*)'$", contents, re.M) @@ -116,8 +116,8 @@ def detect_kde(env): else: try: tmplibdir = os.popen(kde_config+' --expandvars --install lib').read().strip() - libkdeuiSO = env.join(tmplibdir, getSOfromLA(env.join(tmplibdir,'/libkdeui.la')) ) - m = re.search('(.*)/lib/libtqt.*', os.popen('ldd ' + libkdeuiSO + ' | grep libtqt').read().strip().split()[2]) + libtdeuiSO = env.join(tmplibdir, getSOfromLA(env.join(tmplibdir,'/libtdeui.la')) ) + m = re.search('(.*)/lib/libtqt.*', os.popen('ldd ' + libtdeuiSO + ' | grep libtqt').read().strip().split()[2]) except: m=None if m: qtdir = m.group(1)