summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-05 21:46:11 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-05 21:46:11 -0500
commit7427007bb6acc1726405bc67f4b3ad7de353d6bd (patch)
tree295d2d13e3d467885d33e804c3ba6bd6868d6604 /admin
parent1373cb5e14a55c1979c5f2845b0e99ab58c9e9a0 (diff)
downloadkstreamripper-7427007bb6acc1726405bc67f4b3ad7de353d6bd.tar.gz
kstreamripper-7427007bb6acc1726405bc67f4b3ad7de353d6bd.zip
Rename kde libraries to tde
Diffstat (limited to 'admin')
-rw-r--r--admin/kde.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/kde.py b/admin/kde.py
index 237a0c9..2133cd2 100644
--- a/admin/kde.py
+++ b/admin/kde.py
@@ -17,8 +17,8 @@ YELLOW ="\033[1m" #"\033[93m" # unreadable on white backgrounds
CYAN ="\033[96m"
NORMAL ="\033[0m"
-# 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)
@@ -69,8 +69,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