summaryrefslogtreecommitdiffstats
path: root/parts/appwizard
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-05 21:46:26 -0500
committerTimothy Pearson <[email protected]>2011-11-05 21:46:26 -0500
commit437901b03b0bee99ec3fe86348e10512e8fd0c24 (patch)
tree944750b0f5b1f902743e148bdf2571a099a94176 /parts/appwizard
parentc8f54469537de810b7f57e65e0e883cb87aeba6e (diff)
downloadtdevelop-437901b03b0bee99ec3fe86348e10512e8fd0c24.tar.gz
tdevelop-437901b03b0bee99ec3fe86348e10512e8fd0c24.zip
Rename kde libraries to tde
Diffstat (limited to 'parts/appwizard')
-rw-r--r--parts/appwizard/common/scons/admin/kde.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/appwizard/common/scons/admin/kde.py b/parts/appwizard/common/scons/admin/kde.py
index f74943dd..491acca8 100644
--- a/parts/appwizard/common/scons/admin/kde.py
+++ b/parts/appwizard/common/scons/admin/kde.py
@@ -14,8 +14,8 @@ NORMAL ="\033[0m"
import os, re, types
-# Returns the name of the shared object (i.e. libkdeui.so.4)
-# referenced by a libtool archive (like libkdeui.la)
+# Returns the name of the shared object (i.e. 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)
@@ -70,8 +70,8 @@ def detect_kde(env):
print GREEN+"qt is in "+qtdir+NORMAL
else:
libdir = os.popen('kde-config --expandvars --install lib').read().strip()
- libkdeuiSO = libdir+'/'+getSOfromLA(libdir+'/libkdeui.la')
- m = re.search('(.*)/lib/libqt.*', os.popen('ldd ' + libkdeuiSO + ' | grep libqt').read().strip().split()[2])
+ libtdeuiSO = libdir+'/'+getSOfromLA(libdir+'/libtdeui.la')
+ m = re.search('(.*)/lib/libqt.*', os.popen('ldd ' + libtdeuiSO + ' | grep libqt').read().strip().split()[2])
if m:
qtdir = m.group(1)
print YELLOW+"qt was found as "+m.group(1)+NORMAL