diff options
author | Philip Balister <philip@balister.org> | 2007-08-16 21:45:57 +0000 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2007-08-16 21:45:57 +0000 |
commit | 1aeb81320d30622f09609f5569d302d527b3cef7 (patch) | |
tree | e0d8751fbaf10f4d08bf5058ca79f5484c43a172 /packages/python/python24-pyqt2 | |
parent | 8aef461d33cd252c0d2d3f89a8a6aea3d807f9bf (diff) | |
parent | fe2ab64f4ad985b59b6bbc33d990bb96ed64b607 (diff) |
merge of 'e1d538a40dd18336f9f3f275226a93557d9741cf'
and 'e6ff7fada36b2dd0f2a75f05cada2bc073f0bd4b'
Diffstat (limited to 'packages/python/python24-pyqt2')
-rw-r--r-- | packages/python/python24-pyqt2/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/python/python24-pyqt2/features | 31 | ||||
-rw-r--r-- | packages/python/python24-pyqt2/qt2-fix.patch | 124 |
3 files changed, 155 insertions, 0 deletions
diff --git a/packages/python/python24-pyqt2/.mtn2git_empty b/packages/python/python24-pyqt2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/python/python24-pyqt2/.mtn2git_empty diff --git a/packages/python/python24-pyqt2/features b/packages/python/python24-pyqt2/features new file mode 100644 index 0000000000..6fe74cafe4 --- /dev/null +++ b/packages/python/python24-pyqt2/features @@ -0,0 +1,31 @@ +-x Qt_THREAD_SUPPORT +-x Qt_CODECS +-x Qt_COLORDIALOG +-x Qt_DIAL +-x Qt_DOM +-x Qt_DRAGANDDROP +-x Qt_IMAGE_TEXT +-x Qt_INPUTDIALOG +-x Qt_FILEDIALOG +-x Qt_FONTDIALOG +-x Qt_MIMECLIPBOARD +-x Qt_NETWORKPROTOCOL +-x Qt_NETWORKPROTOCOL_FTP +-x Qt_NETWORKPROTOCOL_HTTP +-x Qt_PICTURE +-x Qt_PRINTDIALOG +-x Qt_PRINTER +-x Qt_PROGRESSDIALOG +-x Qt_PROPERTIES +-x Qt_SEMIMODAL +-x Qt_SIZEGRIP +-x Qt_SPLITTER +-x Qt_STYLE_CDE +-x Qt_STYLE_INTERLACE +-x Qt_STYLE_MOTIF +-x Qt_STYLE_MOTIFPLUS +-x Qt_STYLE_PLATINUM +-x Qt_STYLE_SGI +-x Qt_TRANSFORMATIONS +-x Qt_WIZARD +-x Qt_WORKSPACE diff --git a/packages/python/python24-pyqt2/qt2-fix.patch b/packages/python/python24-pyqt2/qt2-fix.patch new file mode 100644 index 0000000000..5ee978e8f6 --- /dev/null +++ b/packages/python/python24-pyqt2/qt2-fix.patch @@ -0,0 +1,124 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- PyQt-x11-gpl-3.13/sip/qtcanvas/qcanvas.sip~qt2-fix ++++ PyQt-x11-gpl-3.13/sip/qtcanvas/qcanvas.sip +@@ -235,7 +235,7 @@ + sipClass = sipClass_QCanvasLine; + break; + +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + case 8: + sipClass = sipClass_QCanvasSpline; + break; +--- PyQt-x11-gpl-3.13/sip/qttable/qtable.sip~qt2-fix ++++ PyQt-x11-gpl-3.13/sip/qttable/qtable.sip +@@ -114,7 +114,7 @@ + %ConvertToSubClassCode + Py_BEGIN_ALLOW_THREADS + +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + int rtti = sipCpp -> rtti(); + + if (rtti == QCheckTableItem::RTTI) +--- PyQt-x11-gpl-3.13/sip/qt/qobject.sip~qt2-fix ++++ PyQt-x11-gpl-3.13/sip/qt/qobject.sip +@@ -102,7 +102,7 @@ + #endif + {sipName_QComboBox, &sipClass_QComboBox}, + {sipName_QCommonStyle, &sipClass_QCommonStyle}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QDateEdit, &sipClass_QDateEdit}, + {sipName_QDateTimeEdit, &sipClass_QDateTimeEdit}, + {sipName_QDesktopWidget, &sipClass_QDesktopWidget}, +@@ -111,13 +111,13 @@ + {sipName_QDial, &sipClass_QDial}, + #endif + {sipName_QDialog, &sipClass_QDialog}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QDockArea, &sipClass_QDockArea}, + {sipName_QDockWindow, &sipClass_QDockWindow}, + #endif + {sipName_QDoubleValidator, &sipClass_QDoubleValidator}, + {sipName_QDragObject, &sipClass_QDragObject}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QErrorMessage, &sipClass_QErrorMessage}, + #endif + #if QT_VERSION >= 0x030100 +@@ -133,7 +133,7 @@ + {sipName_QFrame, &sipClass_QFrame}, + {sipName_QGrid, &sipClass_QGrid}, + {sipName_QGridLayout, &sipClass_QGridLayout}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QGridView, &sipClass_QGridView}, + #endif + {sipName_QGroupBox, &sipClass_QGroupBox}, +@@ -175,7 +175,7 @@ + {sipName_QNetworkOperation, &sipClass_QNetworkOperation}, + {sipName_QNetworkProtocol, &sipClass_QNetworkProtocol}, + #endif +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QObjectCleanupHandler, &sipClass_QObjectCleanupHandler}, + #endif + #if defined(SIP_FEATURE_Qt_STYLE_PLATINUM) +@@ -185,7 +185,7 @@ + #if defined(WS_X11) && defined(SIP_FEATURE_Qt_PRINTDIALOG) + {sipName_QPrintDialog, &sipClass_QPrintDialog}, + #endif +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QProcess, &sipClass_QProcess}, + #endif + {sipName_QProgressBar, &sipClass_QProgressBar}, +@@ -194,7 +194,7 @@ + #endif + {sipName_QPushButton, &sipClass_QPushButton}, + {sipName_QRadioButton, &sipClass_QRadioButton}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QRegExpValidator, &sipClass_QRegExpValidator}, + #endif + #if QT_VERSION >= 220 && defined(SIP_FEATURE_Qt_STYLE_SGI) +@@ -229,11 +229,11 @@ + {sipName_QTabWidget, &sipClass_QTabWidget}, + {sipName_QTextBrowser, &sipClass_QTextBrowser}, + {sipName_QTextDrag, &sipClass_QTextDrag}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QTextEdit, &sipClass_QTextEdit}, + #endif + {sipName_QTextView, &sipClass_QTextView}, +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + {sipName_QTimeEdit, &sipClass_QTimeEdit}, + #endif + {sipName_QTimer, &sipClass_QTimer}, +--- PyQt-x11-gpl-3.13/sip/qt/qevent.sip~qt2-fix ++++ PyQt-x11-gpl-3.13/sip/qt/qevent.sip +@@ -528,7 +528,7 @@ + sipClass = sipClass_QChildEvent; + break; + +-#if QT_VERSION >= 300 ++#if QT_VERSION >= 0x030000 + case QEvent::ContextMenu: + sipClass = sipClass_QContextMenuEvent; + break; +@@ -539,7 +539,7 @@ + break; + #endif + +-#if QT_VERSION >= 300 && QT_VERSION < 0x030100 ++#if QT_VERSION >= 0x030000 && QT_VERSION < 0x030100 + case QEvent::IMCompose: + sipClass = sipClass_QIMEvent; + break; |