summaryrefslogtreecommitdiffstats
path: root/redhat/libraries
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-01-24 20:50:56 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-01-24 20:50:56 +0100
commitf1a07f9bc2d63e7760411e23f588c78bf4449aa7 (patch)
treee9dadd194ec0331fea6c67083649b0b30f24fb43 /redhat/libraries
parentd27118499ec63eb6a9c68374b38ab11fe9c7f5f4 (diff)
downloadtde-packaging-f1a07f9bc2d63e7760411e23f588c78bf4449aa7.tar.gz
tde-packaging-f1a07f9bc2d63e7760411e23f588c78bf4449aa7.zip
RPM Packaging: update R14 packages
Diffstat (limited to 'redhat/libraries')
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_extra_module_dir.patch41
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch11
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch33
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch58
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0-python_tqt.patch11
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0-sip4_tqt.patch23
6 files changed, 0 insertions, 177 deletions
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_extra_module_dir.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_extra_module_dir.patch
deleted file mode 100644
index d72fdc928..000000000
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_extra_module_dir.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- pykdeextensions-3.5.13.1/src/kdedistutils.py.extramodule 2012-09-08 17:33:05.000000000 +0000
-+++ pykdeextensions-3.5.13.1/src/kdedistutils.py 2012-10-02 19:19:40.185384207 +0000
-@@ -712,6 +712,8 @@
-
- # Build the 'stub' code.
- cppcode = self.cpptemplate % {"moduledir": self.data_dir,
-+ "extramodule": os.getenv("EXTRA_MODULE_DIR"),
-+ "pyqt_dir": self.pyqt_dir,
- "modulename": modulename,
- "factoryfunction": factoryfunction,
- "python_version": python_version}
-@@ -854,6 +856,8 @@
- #include <sip.h>
-
- #define MODULE_DIR "%(moduledir)s"
-+#define EXTRA_MODULE_DIR "%(extramodule)s"
-+#define PYQT_DIR "%(pyqt_dir)s"
- #define MODULE_NAME "%(modulename)s"
- #define FACTORY "%(factoryfunction)s"
- #define CPP_FACTORY %(factoryfunction)s
---- pykdeextensions-14.0.0/src/kdedistutils.py.ORI 2013-04-07 17:54:28.531813437 +0200
-+++ pykdeextensions-14.0.0/src/kdedistutils.py 2013-04-07 17:56:15.510529614 +0200
-@@ -903,6 +907,18 @@
- if(!pyize->appendToSysPath (path.latin1 ())) {
- return report_error ("***Failed to set sys.path\n");
- }
-+
-+ // Add the extra path to the python script to the interpreter search path.
-+ TQString extrapath = TQString(EXTRA_MODULE_DIR);
-+ if(!pyize->appendToSysPath (extrapath.latin1 ())) {
-+ return report_error ("***Failed to set extra sys.path\n");
-+ }
-+
-+ // Add the PYQT path to the python script to the interpreter search path.
-+ TQString pyqt_dir = TQString(PYQT_DIR);
-+ if(!pyize->appendToSysPath (pyqt_dir.latin1 ())) {
-+ return report_error ("***Failed to set PYQT sys.path\n");
-+ }
-
- // Load the Python script.
- PyObject *pyModule = pyize->importModule ((char *)script.latin1 ());
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch
deleted file mode 100644
index 40c466e4e..000000000
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- trinity-pytdeextensions-14.0.0~pre116+64c969d7/src/kdedistutils.py.ORI 2013-07-04 20:30:36.889883389 +0200
-+++ trinity-pytdeextensions-14.0.0~pre116+64c969d7/src/kdedistutils.py 2013-07-04 20:30:54.729085109 +0200
-@@ -539,7 +539,7 @@
- canidatepaths.append(os.path.join(tdedir,"include"))
- canidatepaths.append(os.path.join(install.prefix,"include"))
- canidatepaths.append('/opt/trinity/include')
-- canidatepaths.append('/opt/kde/include')
-+ canidatepaths.append('/opt/trinity/include/tde')
- self.kde_inc_dir = FindFileInPaths('tdeapplication.h',canidatepaths)
- if self.kde_inc_dir is None:
- raise SystemExit, "Failed to find the KDE header file directory."
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch
deleted file mode 100644
index bcd6156df..000000000
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-python_tqt.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- 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."
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch
deleted file mode 100644
index 7b004d8c5..000000000
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-tqt.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- pytdeextensions/src/kdedistutils.py.ORI 2013-12-28 14:50:50.209401866 +0100
-+++ pytdeextensions/src/kdedistutils.py 2013-12-28 15:36:18.381316251 +0100
-@@ -892,7 +892,7 @@
- return NULL;
- }
-
--static TDECModule* return_instance( QWidget *parent, const char *name ) {
-+static TDECModule* return_instance( TQWidget *parent, const char *name ) {
- TDECModule* tdecmodule;
- PyObject *pyTDECModuleTuple;
- PyObject *pyTDECModule;
-@@ -901,7 +901,7 @@
-
- // Try to determine what py script we're loading. Note that "name"
- // typically appears to be NULL.
-- QString script(MODULE_NAME);
-+ TQString script(MODULE_NAME);
-
- // Reload libpython, but this time tell the runtime linker to make the
- // symbols global and available for later loaded libraries/module.
-@@ -914,8 +914,8 @@
- }
-
- // Add the path to the python script to the interpreter search path.
-- QString path = QString(MODULE_DIR);
-- if(path == QString::null) {
-+ TQString path = TQString(MODULE_DIR);
-+ if(path == TQString::null) {
- return report_error ("***Failed to locate script path");
- }
- if(!pyize->appendToSysPath (path.latin1 ())) {
-@@ -930,14 +930,14 @@
- }
-
- // Inject a helper function
-- QString bridge = QString("import sip\n"
-+ TQString bridge = TQString("import sip\n"
- "import qt\n"
- "def kcontrol_bridge_" FACTORY "(parent,name):\n"
- " if parent!=0:\n"
- #if SIP_VERSION >= 0x040200
-- " wparent = sip.wrapinstance(parent,qt.QWidget)\n"
-+ " wparent = sip.wrapinstance(parent,qt.TQWidget)\n"
- #else
-- " wparent = sip.wrapinstance(parent,'QWidget')\n"
-+ " wparent = sip.wrapinstance(parent,'TQWidget')\n"
- #endif
- " else:\n"
- " wparent = None\n"
-@@ -997,7 +997,7 @@
-
- extern "C" {
- // Factory function that kcontrol will call.
-- TDECModule* CPP_FACTORY(QWidget *parent, const char *name) {
-+ TDECModule* CPP_FACTORY(TQWidget *parent, const char *name) {
- return return_instance(parent, name);
- }
- }
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0-python_tqt.patch b/redhat/libraries/python-trinity/python-trinity-14.0.0-python_tqt.patch
deleted file mode 100644
index 361a00a35..000000000
--- a/redhat/libraries/python-trinity/python-trinity-14.0.0-python_tqt.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- python-trinity/configure.py.ORI2 2013-12-28 17:02:32.849146767 +0100
-+++ python-trinity/configure.py 2013-12-28 17:02:44.143068602 +0100
-@@ -37,7 +37,7 @@
- sys.exit (-1)
-
- try:
-- import pyqtconfig
-+ from python_tqt import pyqtconfig
- except:
- sipconfig.error ("Can't find pyqtconfig.py in sys.path - exiting")
-
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0-sip4_tqt.patch b/redhat/libraries/python-trinity/python-trinity-14.0.0-sip4_tqt.patch
deleted file mode 100644
index e73fbdff0..000000000
--- a/redhat/libraries/python-trinity/python-trinity-14.0.0-sip4_tqt.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- python-trinity/configure.py.ORI 2013-12-28 15:55:54.269299304 +0100
-+++ python-trinity/configure.py 2013-12-28 15:56:05.611221484 +0100
-@@ -30,7 +30,7 @@
- import py_compile
-
- try:
-- import sipconfig
-+ from sip4_tqt import sipconfig
- except:
- print ("Can't find sipconfig.py (expected in sys.path)")
- print ("Have you built the correct version of sip?")
---- python-trinity/pytdeconfig.py.in.ORI 2013-12-28 15:57:53.618481027 +0100
-+++ python-trinity/pytdeconfig.py.in 2013-12-28 15:58:05.467399833 +0100
-@@ -22,7 +22,8 @@
- # modules that %Import PyKDE modules.
-
-
--import sipconfig, pyqtconfig
-+from sip4_tqt import sipconfig
-+import pyqtconfig
-
-
- # These are installation specific values created when PyTQt was configured.