diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-12-28 20:29:52 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-12-28 20:29:52 +0100 |
commit | 4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade (patch) | |
tree | cac0d48146738d2991bbeadbd50ecd956bdb31ff /redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch | |
parent | 173aeaded0e4e6ca4dee09ed401e3c483fd2ff7d (diff) | |
parent | c55ee4f291ee28be12e57a83d59b050f3952258b (diff) | |
download | tde-packaging-4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade.tar.gz tde-packaging-4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade.zip |
RPM Packaging: updates for R14
Diffstat (limited to 'redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch')
-rw-r--r-- | redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch new file mode 100644 index 000000000..bcd6156df --- /dev/null +++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch @@ -0,0 +1,33 @@ +--- pytdeextensions/src/qtuicompiler.py.ORI 2013-12-28 17:06:51.749357267 +0100 ++++ pytdeextensions/src/qtuicompiler.py 2013-12-28 17:07:03.539275908 +0100 +@@ -17,7 +17,7 @@ + + import os + import sys +-import pyqtconfig ++from python_tqt import pyqtconfig + from distutils.spawn import * + import traceback + +--- pytdeextensions/src/kdedistutils.py.ORI2 2013-12-28 17:20:38.828670001 +0100 ++++ pytdeextensions/src/kdedistutils.py 2013-12-28 17:21:04.731492545 +0100 +@@ -930,8 +930,8 @@ + } + + // Inject a helper function +- TQString bridge = TQString("import sip\n" +- "import qt\n" ++ TQString bridge = TQString("from sip4_tqt import sip\n" ++ "from python_tqt import qt\n" + "def kcontrol_bridge_" FACTORY "(parent,name):\n" + " if parent!=0:\n" + #if SIP_VERSION >= 0x040200 +@@ -2019,7 +2019,7 @@ + self.announce("Found Qt version %s." % qtver) + try: + self.announce("Checking for a working PyQt...") +- import qt ++ from python_tqt import qt + self.announce(" ...PyQt is working") + except: + raise SystemExit, "Couldn't import Qt! Please make sure that PyQt is installed and working." |