|
|
|
@ -100,30 +100,30 @@ pytde_modules = ["dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources
|
|
|
|
|
"tdehtml", "tdespell", "tdeprint", "tdemdi"] #, "tdespell2"]
|
|
|
|
|
|
|
|
|
|
pytde_imports = {
|
|
|
|
|
"dcop": ["qt"],
|
|
|
|
|
"tdecore": ["qt", "dcop"],
|
|
|
|
|
# "tdesu": ["qt", "dcop", "tdecore"],
|
|
|
|
|
"tdefx": ["qt", "dcop", "tdecore"],
|
|
|
|
|
"tdeui": ["qt", "qtxml", "dcop", "tdecore", "tdefx"],
|
|
|
|
|
"tdeio": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
|
"tderesources": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdeabc": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
|
|
|
|
|
"tdeutils": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdefile": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdeparts": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdehtml": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
|
|
|
|
|
"tdespell": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
|
|
|
|
|
"tdeprint": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
|
"tdemdi": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
|
|
|
|
|
"tdespell2": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui"]
|
|
|
|
|
"dcop": ["PyTQt.qt"],
|
|
|
|
|
"tdecore": ["PyTQt.qt", "dcop"],
|
|
|
|
|
# "tdesu": ["PyTQt.qt", "dcop", "tdecore"],
|
|
|
|
|
"tdefx": ["PyTQt.qt", "dcop", "tdecore"],
|
|
|
|
|
"tdeui": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx"],
|
|
|
|
|
"tdeio": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
|
"tderesources": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdeabc": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
|
|
|
|
|
"tdeutils": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdefile": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdeparts": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
|
"tdehtml": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
|
|
|
|
|
"tdespell": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
|
|
|
|
|
"tdeprint": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
|
"tdemdi": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
|
|
|
|
|
"tdespell2": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kde_includes = {
|
|
|
|
|
"dcop": None,
|
|
|
|
|
"tdecore": None,
|
|
|
|
|
# "tdesu": ["tdesu"],
|
|
|
|
|
"tdefx": None,
|
|
|
|
|
"tdeui": None,
|
|
|
|
|
"dcop": None,
|
|
|
|
|
"tdecore": None,
|
|
|
|
|
# "tdesu": ["tdesu"],
|
|
|
|
|
"tdefx": None,
|
|
|
|
|
"tdeui": None,
|
|
|
|
|
"tdeio": ["tdeio"],
|
|
|
|
|
"tderesources": ["tdeio", "../tdeio", "tderesources"],
|
|
|
|
|
"tdeabc": ["tdeio", "../tdeio", "tderesources", "tdeabc"],
|
|
|
|
@ -131,20 +131,20 @@ kde_includes = {
|
|
|
|
|
"tdeparts": ["tdeio", "../tdeio", "tdeparts"],
|
|
|
|
|
"tdehtml": ["tdeio", "../tdeio", "tdeparts", "dom"],
|
|
|
|
|
"tdespell": ["tdeio"],
|
|
|
|
|
"tdeprint": ["tdeprint"],
|
|
|
|
|
"tdeprint": ["tdeprint"],
|
|
|
|
|
"tdemdi": ["tdemdi", "tdeio", "../tdeio", "tdeparts"],
|
|
|
|
|
"tdeutils": ["tdeio", "../tdeio"] #,
|
|
|
|
|
# "tdespell2": None
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
postProcess = {
|
|
|
|
|
"dcop": None,
|
|
|
|
|
"tdecore": [["-p ", "tdecore", "-o", "appQuit", "tdecore.py"],
|
|
|
|
|
#["-p ", "tdecore", "-o", "fixTQVariant", "tdecore.sbf"],
|
|
|
|
|
["-p ", "tdecore", "-o", "fixSignal", "tdecorepart0.*"]],
|
|
|
|
|
# "tdesu": None,
|
|
|
|
|
"tdefx": None,
|
|
|
|
|
"tdeui": None, #[["-p ", "tdeui", "-o", "shpix", "siptdeuiTDESharedPixmap.cpp"]],
|
|
|
|
|
"dcop": None,
|
|
|
|
|
"tdecore": [["-p ", "tdecore", "-o", "appQuit", "tdecore.py"],
|
|
|
|
|
#["-p ", "tdecore", "-o", "fixTQVariant", "tdecore.sbf"],
|
|
|
|
|
["-p ", "tdecore", "-o", "fixSignal", "tdecorepart0.*"]],
|
|
|
|
|
# "tdesu": None,
|
|
|
|
|
"tdefx": None,
|
|
|
|
|
"tdeui": None, #[["-p ", "tdeui", "-o", "shpix", "siptdeuiTDESharedPixmap.cpp"]],
|
|
|
|
|
"tderesources": None,
|
|
|
|
|
"tdeabc": None,
|
|
|
|
|
"tdeio": None,
|
|
|
|
@ -152,7 +152,7 @@ postProcess = {
|
|
|
|
|
"tdeparts": None,
|
|
|
|
|
"tdehtml": None,
|
|
|
|
|
"tdespell": None,
|
|
|
|
|
"tdeprint": None,
|
|
|
|
|
"tdeprint": None,
|
|
|
|
|
"tdemdi": None,
|
|
|
|
|
"tdeutils": None #,
|
|
|
|
|
# "tdespell2": None
|
|
|
|
@ -624,7 +624,7 @@ def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, e
|
|
|
|
|
|
|
|
|
|
pyqtInclPathSeen = 0
|
|
|
|
|
for mod in pytde_imports [mname]:
|
|
|
|
|
if string.find (mod, "q") == 0 and not pyqtInclPathSeen:
|
|
|
|
|
if string.find (mod, "PyTQt.q") == 0 and not pyqtInclPathSeen:
|
|
|
|
|
argv.append ("-I")
|
|
|
|
|
argv.append (pyqtcfg.pyqt_sip_dir)
|
|
|
|
|
pyqtInclPathSeen = 1
|
|
|
|
|