diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:17:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:17:25 -0600 |
commit | e7d6dbc5fa50e40f0bf05d7fe7e2032313533525 (patch) | |
tree | ae7321839a58aba6fee5538c60e01b2a30ccc489 /src | |
parent | bceaed59bfdda04b7fac65b47024600db693e87b (diff) | |
download | pytdeextensions-e7d6dbc5fa50e40f0bf05d7fe7e2032313533525.tar.gz pytdeextensions-e7d6dbc5fa50e40f0bf05d7fe7e2032313533525.zip |
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r-- | src/kdedistutils.py | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py index 26e0290..5a444e8 100644 --- a/src/kdedistutils.py +++ b/src/kdedistutils.py @@ -824,38 +824,38 @@ class BuildKControlModule(Command): cmdlist.append("-rpath"); cmdlist.append(self.kde_kcm_lib_dir) cmdlist.append("-o"); cmdlist.append(os.path.join(self.build_dir,stub_la_name)) # Link libs - linklist = [] - linklist.append("-lpython%s" % python_version) - linklist.extend(sysconfig.get_config_var("LIBS").split()) + lintdelist = [] + lintdelist.append("-lpython%s" % python_version) + lintdelist.extend(sysconfig.get_config_var("LIBS").split()) # FIXME I doubt half of these libraries need to be here. - linklist.append(self.sip_dir+"/sip.so") + lintdelist.append(self.sip_dir+"/sip.so") # PyQt libs - linklist.append(self.pyqt_dir+"/qt.so") + lintdelist.append(self.pyqt_dir+"/qt.so") # PyTDE libs - linklist.append(self.pytde_dir+"/tdecore.so") - linklist.append(self.pytde_dir+"/tdeui.so") + lintdelist.append(self.pytde_dir+"/tdecore.so") + lintdelist.append(self.pytde_dir+"/tdeui.so") -# linklist.append("-L"+self.sip_dir); linklist.append("-lsip") +# lintdelist.append("-L"+self.sip_dir); lintdelist.append("-lsip") # # PyQt libs -# linklist.append("-L"+self.pyqt_dir); linklist.append("-lqtcmodule") +# lintdelist.append("-L"+self.pyqt_dir); lintdelist.append("-lqtcmodule") # # PyTDE libs -# linklist.append("-L"+self.pytde_dir); linklist.append("-ltdecorecmodule"); linklist.append("-ltdeuicmodule") - - linklist.append("-L"+self.kde_lib_dir); linklist.append("-L/opt/trinity/lib"); linklist.append("-ltdecore"); linklist.append("-lpythonize") - linklist.append("-L"+self.qt_lib_dir); linklist.append("-ltqt-mt") - linklist.append("-lm") - linklist.append("-lc") - linklist.append(self.clib) - - linklist.append("-R"); linklist.append(self.python_dir) - linklist.append("-R"); linklist.append(self.qt_lib_dir) - linklist.append("-R"); linklist.append(self.sip_dir) - linklist.append("-R"); linklist.append(self.pyqt_dir) - linklist.append("-R"); linklist.append(self.pytde_dir) - linklist.append("-R"); linklist.append(self.kde_lib_dir) - - cmdlist.extend(linklist) +# lintdelist.append("-L"+self.pytde_dir); lintdelist.append("-ltdecorecmodule"); lintdelist.append("-ltdeuicmodule") + + lintdelist.append("-L"+self.kde_lib_dir); lintdelist.append("-L/opt/trinity/lib"); lintdelist.append("-ltdecore"); lintdelist.append("-lpythonize") + lintdelist.append("-L"+self.qt_lib_dir); lintdelist.append("-ltqt-mt") + lintdelist.append("-lm") + lintdelist.append("-lc") + lintdelist.append(self.clib) + + lintdelist.append("-R"); lintdelist.append(self.python_dir) + lintdelist.append("-R"); lintdelist.append(self.qt_lib_dir) + lintdelist.append("-R"); lintdelist.append(self.sip_dir) + lintdelist.append("-R"); lintdelist.append(self.pyqt_dir) + lintdelist.append("-R"); lintdelist.append(self.pytde_dir) + lintdelist.append("-R"); lintdelist.append(self.kde_lib_dir) + + cmdlist.extend(lintdelist) spawn(cmdlist) # Execute!! print @@ -1748,37 +1748,37 @@ class BuildKioslave(Command): cmdlist.append("-rpath"); cmdlist.append(self.kde_tdeioslave_lib_dir) cmdlist.append("-o"); cmdlist.append(os.path.join(self.build_dir,stub_la_name)) # Link libs - linklist = [] - linklist.append("-lpython%s" % python_version) - linklist.extend(sysconfig.get_config_var("LIBS").split()) + lintdelist = [] + lintdelist.append("-lpython%s" % python_version) + lintdelist.extend(sysconfig.get_config_var("LIBS").split()) # FIXME I doubt half of these libraries need to be here. - linklist.append(self.sip_dir+"/sip.so") + lintdelist.append(self.sip_dir+"/sip.so") # PyQt libs - linklist.append(self.pyqt_dir+"/qt.so") + lintdelist.append(self.pyqt_dir+"/qt.so") # PyTDE libs - linklist.append(self.pytde_dir+"/tdecore.so") + lintdelist.append(self.pytde_dir+"/tdecore.so") -# linklist.append("-L"+self.sip_dir); linklist.append("-lsip") +# lintdelist.append("-L"+self.sip_dir); lintdelist.append("-lsip") # # PyQt libs -# linklist.append("-L"+self.pyqt_dir); linklist.append("-lqtcmodule") +# lintdelist.append("-L"+self.pyqt_dir); lintdelist.append("-lqtcmodule") # # PyTDE libs -# linklist.append("-L"+self.pytde_dir); linklist.append("-ltdecorecmodule"); linklist.append("-ltdeuicmodule") - - linklist.append("-L"+self.kde_lib_dir); linklist.append("-L/opt/trinity/lib"); linklist.append("-ltdecore"); linklist.append("-lpythonize") - linklist.append("-L"+self.qt_lib_dir); linklist.append("-lqt-mt") - linklist.append("-lm") - linklist.append("-lc") - linklist.append(self.clib) - - linklist.append("-R"); linklist.append(self.python_dir) - linklist.append("-R"); linklist.append(self.qt_lib_dir) - linklist.append("-R"); linklist.append(self.sip_dir) - linklist.append("-R"); linklist.append(self.pyqt_dir) - linklist.append("-R"); linklist.append(self.pytde_dir) - linklist.append("-R"); linklist.append(self.kde_lib_dir) - - cmdlist.extend(linklist) +# lintdelist.append("-L"+self.pytde_dir); lintdelist.append("-ltdecorecmodule"); lintdelist.append("-ltdeuicmodule") + + lintdelist.append("-L"+self.kde_lib_dir); lintdelist.append("-L/opt/trinity/lib"); lintdelist.append("-ltdecore"); lintdelist.append("-lpythonize") + lintdelist.append("-L"+self.qt_lib_dir); lintdelist.append("-lqt-mt") + lintdelist.append("-lm") + lintdelist.append("-lc") + lintdelist.append(self.clib) + + lintdelist.append("-R"); lintdelist.append(self.python_dir) + lintdelist.append("-R"); lintdelist.append(self.qt_lib_dir) + lintdelist.append("-R"); lintdelist.append(self.sip_dir) + lintdelist.append("-R"); lintdelist.append(self.pyqt_dir) + lintdelist.append("-R"); lintdelist.append(self.pytde_dir) + lintdelist.append("-R"); lintdelist.append(self.kde_lib_dir) + + cmdlist.extend(lintdelist) spawn(cmdlist) # Execute!! print |