diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-08-16 08:40:59 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-16 08:40:59 +0000 |
commit | 94317634ab575b7deae469f83038f770e35fb737 (patch) | |
tree | edf8d1faa64a8b4d689fb916b6eebfc05ceec431 /packages/python/python24-pyqt2 | |
parent | 93e05f24e5829efd41e6b332c47ceba33980aadd (diff) |
python-pyqt: promote qt4 to being the default, rename other packages accordingly
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; |