Hello community, here is the log from the commit of package python-qt5 for openSUSE:Factory checked in at 2020-11-29 12:24:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-qt5 (Old) and /work/SRC/openSUSE:Factory/.python-qt5.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qt5" Sun Nov 29 12:24:16 2020 rev:50 rq:850615 version:5.15.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-qt5/python-qt5.changes 2020-11-23 10:46:09.758342711 +0100 +++ /work/SRC/openSUSE:Factory/.python-qt5.new.5913/python-qt5.changes 2020-11-29 12:24:39.441773339 +0100 @@ -1,0 +2,9 @@ +Tue Nov 24 15:09:44 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- Update to version 5.15.2 + * Bound signals are now hashable. +- Drop patches merged upstream + * pyqt5-customaudio-qt511.patch + * pyqt5-signals-hashable.patch + +------------------------------------------------------------------- Old: ---- PyQt5-5.15.1.tar.gz pyqt5-customaudio-qt511.patch pyqt5-signals-hashable.patch New: ---- PyQt5-5.15.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-qt5.spec ++++++ --- /var/tmp/diff_new_pack.7CvIXL/_old 2020-11-29 12:24:40.801774714 +0100 +++ /var/tmp/diff_new_pack.7CvIXL/_new 2020-11-29 12:24:40.805774718 +0100 @@ -34,7 +34,7 @@ %define oldpython python %define mname qt5 Name: python-%{mname} -Version: 5.15.1 +Version: 5.15.2 Release: 0 Summary: Python bindings for Qt 5 License: SUSE-GPL-2.0-with-FLOSS-exception OR GPL-3.0-only OR NonFree @@ -42,14 +42,10 @@ URL: https://www.riverbankcomputing.com/software/pyqt Source: https://files.pythonhosted.org/packages/source/P/PyQt5/PyQt5-%{version}.tar.gz Source99: python-qt5-rpmlintrc -# PATCH-FIX-UPSTREAM - allow hashable signals - https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043160.html -Patch0: pyqt5-signals-hashable.patch -# PATCH-FIX-UPSTREAM - QCustomAudioRoleControl for Qt5 5.11 and later only - https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043241.html -Patch1: pyqt5-customaudio-qt511.patch # PATCH-FIX-OPENSUSE - disable-rpaths.diff - Disable RPATH when building PyQt5. -Patch2: disable-rpaths.diff +Patch0: disable-rpaths.diff # PATCH-FIX-OPENSUSE - install binary dbus mainloop integration in arch dependent directory -Patch3: 0001-Use-a-noarch-wrapper-for-dbus-mainloop-integration.patch +Patch1: 0001-Use-a-noarch-wrapper-for-dbus-mainloop-integration.patch BuildRequires: %{python_module dbus-python-devel} BuildRequires: %{python_module devel} BuildRequires: dbus-1-devel @@ -106,7 +102,7 @@ BuildRequires: python2-enum34 Requires: python-sip(api) = %{python_sip_api_ver} %else -BuildRequires: %{python_module pyqt-builder} +BuildRequires: %{python_module pyqt-builder >= 1.6} BuildRequires: %{python_module sip-devel >= 5.3} %requires_eq python-qt5-sip %endif ++++++ PyQt5-5.15.1.tar.gz -> PyQt5-5.15.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/ChangeLog new/PyQt5-5.15.2/ChangeLog --- old/PyQt5-5.15.1/ChangeLog 2020-09-11 16:03:58.105748000 +0200 +++ new/PyQt5-5.15.2/ChangeLog 2020-11-23 14:37:57.715110000 +0100 @@ -1,5 +1,93 @@ +2020-11-23 Phil Thompson <p...@riverbankcomputing.com> + + * NEWS: + Released as v5.12.2. + [ddf234c8c683] [5.15.2] <5.15-maint> + + * NEWS: + Updated the NEWS file. + [a4088498ec1a] <5.15-maint> + +2020-11-13 Phil Thompson <p...@riverbankcomputing.com> + + * qpy/QtCore/qpycore_pyqtsignal.cpp, qpy/QtCore/qpycore_pyqtslot.cpp: + Eliminated a couple of Python deprecation warnings. + [a868cf5559cb] <5.15-maint> + +2020-10-30 Phil Thompson <p...@riverbankcomputing.com> + + * PyQt5.msp: + Fixed some typos in the OpenGL bindings. + [d824696aef6b] <5.15-maint> + +2020-10-28 Phil Thompson <p...@riverbankcomputing.com> + + * PyQt5.msp: + Updated to project v15. + [6cc6247a25e1] <5.15-maint> + +2020-10-04 Phil Thompson <p...@riverbankcomputing.com> + + * designer/pluginloader.cpp, qmlscene/pluginloader.cpp: + Eliminate deprecation warnings from Python v3.9. + [ba17824001af] <5.15-maint> + + * PyQt5.msp: + Ensure that QtQuick will build without OpenGL. + [9625e73814d4] <5.15-maint> + +2020-09-28 Phil Thompson <p...@riverbankcomputing.com> + + * PyQt5.msp: + Added a missing /TransferBack/ annotation to QLayout.removeWidget(). + [230f954c1920] <5.15-maint> + +2020-09-27 Phil Thompson <p...@riverbankcomputing.com> + + * qpy/QtCore/qpycore_pyqtboundsignal.cpp: + Fixed hashable signals for unsupported versions of Python. + [32f6a9018722] <5.15-maint> + +2020-09-24 Phil Thompson <p...@riverbankcomputing.com> + + * PyQt5.msp: + Fixed QActionGroup.ExclusionPolicy.None and + QOcspRevocationReason.None. + [cdcf3488537b] <5.15-maint> + +2020-09-18 Phil Thompson <p...@riverbankcomputing.com> + + * lib/project.py: + Check the version of Qt is supported. + [50527038fe31] <5.15-maint> + +2020-09-17 Phil Thompson <p...@riverbankcomputing.com> + + * lib/project.py, lib/pyproject.toml: + Require PyQt-builder v1.6 as we no longer specify the sip module and + ABI. + [0f86b0b9bb21] <5.15-maint> + + * PyQt5.msp: + Added the QT_MAC_WANTS_LAYER workaround for lost paint events. + [183a91751895] <5.15-maint> + + * PyQt5.msp, lib/SubclassCode/QtMultimedia.versions: + Fixed building against Qt v5.10 and earlier. + [29e2ebf17db3] <5.15-maint> + +2020-09-14 Phil Thompson <p...@riverbankcomputing.com> + + * NEWS, qpy/QtCore/qpycore_pyqtboundsignal.cpp: + Bound signals are now hashable. + [4318b62d0575] <5.15-maint> + 2020-09-11 Phil Thompson <p...@riverbankcomputing.com> + * .hgtags: + Added tag 5.15.1 for changeset f99d8e2299f1 + [2e783d474267] <5.15-maint> + * NEWS: Released as v5.15.1. [f99d8e2299f1] [5.15.1] <5.15-maint> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/NEWS new/PyQt5-5.15.2/NEWS --- old/PyQt5-5.15.1/NEWS 2020-09-11 15:45:44.271468000 +0200 +++ new/PyQt5-5.15.2/NEWS 2020-11-23 14:22:28.137865000 +0100 @@ -1,3 +1,7 @@ +v5.15.2 23rd November 2020 + - Bound signals are now hashable. + - The QT_MAC_WANTS_LAYER environment variable is automatically set on macOS. + v5.15.1 12th September 2020 - Added the QtTextToSpeech module. - None is now interpreted as a null QJsonValue. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/PKG-INFO new/PyQt5-5.15.2/PKG-INFO --- old/PyQt5-5.15.1/PKG-INFO 2020-09-11 16:04:08.710348000 +0200 +++ new/PyQt5-5.15.2/PKG-INFO 2020-11-23 14:38:07.750192600 +0100 @@ -1,13 +1,12 @@ Metadata-Version: 2.1 Name: PyQt5 -Version: 5.15.1 +Version: 5.15.2 Requires-Python: >=3.5 Summary: Python bindings for the Qt cross platform application toolkit Home-Page: https://www.riverbankcomputing.com/software/pyqt/ Author: Riverbank Computing Limited Author-Email: i...@riverbankcomputing.com License: GPL v3 -Requires-Dist: PyQt5-sip (>=12.8, <13) PyQt5 - Comprehensive Python Bindings for Qt v5 =============================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/configure.py new/PyQt5-5.15.2/configure.py --- old/PyQt5-5.15.1/configure.py 2020-09-11 16:03:58.119633000 +0200 +++ new/PyQt5-5.15.2/configure.py 2020-11-23 14:37:57.729160000 +0100 @@ -28,7 +28,7 @@ # Initialise the constants. -PYQT_VERSION_STR = "5.15.1" +PYQT_VERSION_STR = "5.15.2" SIP_MIN_VERSION = '4.19.23' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/designer/pluginloader.cpp new/PyQt5-5.15.2/designer/pluginloader.cpp --- old/PyQt5-5.15.1/designer/pluginloader.cpp 2020-09-11 16:03:58.132348000 +0200 +++ new/PyQt5-5.15.2/designer/pluginloader.cpp 2020-11-23 14:37:57.741183000 +0100 @@ -130,7 +130,9 @@ #ifdef WITH_THREAD // Make sure we don't have the GIL. +#if PY_VERSION_HEX < 0x03070000 PyEval_InitThreads(); +#endif PyEval_SaveThread(); #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/project.py new/PyQt5-5.15.2/project.py --- old/PyQt5-5.15.1/project.py 2020-09-11 16:03:58.124164000 +0200 +++ new/PyQt5-5.15.2/project.py 2020-11-23 14:37:57.734138000 +0100 @@ -33,8 +33,7 @@ def __init__(self): """ Initialise the project. """ - super().__init__(sip_module='PyQt5.sip', abi_version='12.8', - dunder_init=True, tag_prefix='Qt', + super().__init__(dunder_init=True, tag_prefix='Qt', console_scripts=[ 'pylupdate5 = PyQt5.pylupdate_main:main', 'pyrcc5 = PyQt5.pyrcc_main:main', @@ -156,6 +155,12 @@ if tool not in Option.BUILD_TOOLS: return + # Check we support the version of Qt. + if self.builder.qt_version >> 16 != 5: + raise UserException( + "Qt v5 is required, not v{0}".format( + self.builder.qt_version_str)) + # Automatically confirm the license if there might not be a command # line option to do so. if tool == 'pep517': diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/pyproject.toml new/PyQt5-5.15.2/pyproject.toml --- old/PyQt5-5.15.1/pyproject.toml 2020-09-11 16:03:58.124424000 +0200 +++ new/PyQt5-5.15.2/pyproject.toml 2020-11-23 14:37:57.734463000 +0100 @@ -1,12 +1,12 @@ # Specify the build system requirements. [build-system] -requires = ["sip >=5.3, <7", "PyQt-builder >=1.1.0, <2"] +requires = ["sip >=5.3, <7", "PyQt-builder >=1.6, <2"] build-backend = "sipbuild.api" # Specify the PEP 566 metadata for the project. [tool.sip.metadata] name = "PyQt5" -version = "5.15.1" +version = "5.15.2" summary = "Python bindings for the Qt cross platform application toolkit" home-page = "https://www.riverbankcomputing.com/software/pyqt/" author = "Riverbank Computing Limited" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/qmlscene/pluginloader.cpp new/PyQt5-5.15.2/qmlscene/pluginloader.cpp --- old/PyQt5-5.15.1/qmlscene/pluginloader.cpp 2020-09-11 16:03:58.163528000 +0200 +++ new/PyQt5-5.15.2/qmlscene/pluginloader.cpp 2020-11-23 14:37:57.770811000 +0100 @@ -54,7 +54,9 @@ #ifdef WITH_THREAD // Make sure we don't have the GIL. +#if PY_VERSION_HEX < 0x03070000 PyEval_InitThreads(); +#endif PyEval_SaveThread(); #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/qpy/QtCore/qpycore_pyqtboundsignal.cpp new/PyQt5-5.15.2/qpy/QtCore/qpycore_pyqtboundsignal.cpp --- old/PyQt5-5.15.1/qpy/QtCore/qpycore_pyqtboundsignal.cpp 2020-09-11 16:03:58.315977000 +0200 +++ new/PyQt5-5.15.2/qpy/QtCore/qpycore_pyqtboundsignal.cpp 2020-11-23 14:37:57.917281000 +0100 @@ -42,6 +42,10 @@ #define CHAR_CAST(s) (const_cast<char *>(s)) #endif +#if PY_VERSION_HEX < 0x03020000 +typedef long Py_hash_t; +#endif + // The type object. PyTypeObject *qpycore_pyqtBoundSignal_TypeObject; @@ -52,6 +56,7 @@ static PyObject *pyqtBoundSignal_call(PyObject *self, PyObject *args, PyObject *kw); static void pyqtBoundSignal_dealloc(PyObject *self); +static Py_hash_t pyqtBoundSignal_hash(PyObject *self); static PyObject *pyqtBoundSignal_repr(PyObject *self); static PyObject *pyqtBoundSignal_richcompare(PyObject *self, PyObject *other, int op); @@ -139,6 +144,7 @@ {Py_tp_dealloc, (void *)pyqtBoundSignal_dealloc}, {Py_tp_repr, (void *)pyqtBoundSignal_repr}, {Py_tp_richcompare, (void *)pyqtBoundSignal_richcompare}, + {Py_tp_hash, (void *)pyqtBoundSignal_hash}, {Py_tp_call, (void *)pyqtBoundSignal_call}, {Py_mp_subscript, (void *)pyqtBoundSignal_mp_subscript}, {Py_tp_methods, pyqtBoundSignal_methods}, @@ -179,7 +185,7 @@ 0, /* tp_as_number */ 0, /* tp_as_sequence */ &pyqtBoundSignal_as_mapping, /* tp_as_mapping */ - 0, /* tp_hash */ + pyqtBoundSignal_hash, /* tp_hash */ pyqtBoundSignal_call, /* tp_call */ 0, /* tp_str */ 0, /* tp_getattro */ @@ -315,6 +321,27 @@ } +// The type hash slot. +static Py_hash_t pyqtBoundSignal_hash(PyObject *self) +{ + qpycore_pyqtBoundSignal *bs = (qpycore_pyqtBoundSignal *)self; + + Py_hash_t signal_hash = PyObject_Hash((PyObject *)(bs->unbound_signal)); + if (signal_hash == -1) + return -1; + + Py_hash_t object_hash = PyObject_Hash((PyObject *)(bs->bound_pyobject)); + if (object_hash == -1) + return -1; + + Py_hash_t hash = signal_hash ^ object_hash; + if (hash == -1) + hash = -2; + + return hash; +} + + // The type call slot. static PyObject *pyqtBoundSignal_call(PyObject *self, PyObject *args, PyObject *kw) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/qpy/QtCore/qpycore_pyqtsignal.cpp new/PyQt5-5.15.2/qpy/QtCore/qpycore_pyqtsignal.cpp --- old/PyQt5-5.15.1/qpy/QtCore/qpycore_pyqtsignal.cpp 2020-09-11 16:03:58.274672000 +0200 +++ new/PyQt5-5.15.2/qpy/QtCore/qpycore_pyqtsignal.cpp 2020-11-23 14:37:57.876334000 +0100 @@ -859,7 +859,7 @@ if (!func) return 0; - PyObject *result = PyCFunction_Call(func, args, kw); + PyObject *result = PyObject_Call(func, args, kw); Py_DECREF(func); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/qpy/QtCore/qpycore_pyqtslot.cpp new/PyQt5-5.15.2/qpy/QtCore/qpycore_pyqtslot.cpp --- old/PyQt5-5.15.1/qpy/QtCore/qpycore_pyqtslot.cpp 2020-09-11 16:03:58.297392000 +0200 +++ new/PyQt5-5.15.2/qpy/QtCore/qpycore_pyqtslot.cpp 2020-11-23 14:37:57.899137000 +0100 @@ -244,7 +244,7 @@ { PyObject *nsa, *xtype, *xvalue, *xtb, *res; - if ((res = PyEval_CallObject(callable, sa)) != NULL) + if ((res = PyObject_Call(callable, sa, NULL)) != NULL) { // Remove any previous exception. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtCore/qglobal.sip new/PyQt5-5.15.2/sip/QtCore/qglobal.sip --- old/PyQt5-5.15.1/sip/QtCore/qglobal.sip 2020-09-11 16:04:07.311302000 +0200 +++ new/PyQt5-5.15.2/sip/QtCore/qglobal.sip 2020-11-23 14:38:06.471010000 +0100 @@ -29,8 +29,8 @@ const char *PYQT_VERSION_STR; %ModuleCode -static int PYQT_VERSION = 0x050f01; -static const char *PYQT_VERSION_STR = "5.15.1"; +static int PYQT_VERSION = 0x050f02; +static const char *PYQT_VERSION_STR = "5.15.2"; %End const int QT_VERSION; const char *QT_VERSION_STR; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtCore/qobject.sip new/PyQt5-5.15.2/sip/QtCore/qobject.sip --- old/PyQt5-5.15.1/sip/QtCore/qobject.sip 2020-09-11 16:04:07.201986000 +0200 +++ new/PyQt5-5.15.2/sip/QtCore/qobject.sip 2020-11-23 14:38:06.404436000 +0100 @@ -753,6 +753,16 @@ #define sipQtFindSipslot 0 %End +%PreInitialisationCode +#if defined(Q_OS_DARWIN) + // This works around a problem (possibly a clash between Qt and Python) + // began with Qt v5.11 that causes missed paint events. Only set the + // variable if it hasn't already been given a value. + if (qgetenv("QT_MAC_WANTS_LAYER").isNull()) + qputenv("QT_MAC_WANTS_LAYER", "1"); +#endif +%End + %InitialisationCode qpycore_init(); %End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtMultimedia/qabstractvideosurface.sip new/PyQt5-5.15.2/sip/QtMultimedia/qabstractvideosurface.sip --- old/PyQt5-5.15.1/sip/QtMultimedia/qabstractvideosurface.sip 2020-09-11 16:04:07.007464000 +0200 +++ new/PyQt5-5.15.2/sip/QtMultimedia/qabstractvideosurface.sip 2020-11-23 14:38:06.331621000 +0100 @@ -81,7 +81,11 @@ {sipName_QCameraViewfinderSettingsControl, &sipType_QCameraViewfinderSettingsControl, -1, 39}, {sipName_QCameraViewfinderSettingsControl2, &sipType_QCameraViewfinderSettingsControl2, -1, 40}, {sipName_QCameraZoomControl, &sipType_QCameraZoomControl, -1, 41}, + #if QT_VERSION >= 0x050b00 {sipName_QCustomAudioRoleControl, &sipType_QCustomAudioRoleControl, -1, 42}, + #else + {0, 0, -1, 42}, + #endif {sipName_QImageEncoderControl, &sipType_QImageEncoderControl, -1, 43}, {sipName_QMediaAudioProbeControl, &sipType_QMediaAudioProbeControl, -1, 44}, {sipName_QMediaAvailabilityControl, &sipType_QMediaAvailabilityControl, -1, 45}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtMultimedia/qcustomaudiorolecontrol.sip new/PyQt5-5.15.2/sip/QtMultimedia/qcustomaudiorolecontrol.sip --- old/PyQt5-5.15.1/sip/QtMultimedia/qcustomaudiorolecontrol.sip 2020-09-11 16:04:07.052642000 +0200 +++ new/PyQt5-5.15.2/sip/QtMultimedia/qcustomaudiorolecontrol.sip 2020-11-23 14:38:06.350244000 +0100 @@ -20,6 +20,8 @@ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +%If (Qt_5_11_0 -) + class QCustomAudioRoleControl : QMediaControl { %TypeHeaderCode @@ -38,3 +40,5 @@ protected: explicit QCustomAudioRoleControl(QObject *parent /TransferThis/ = 0); }; + +%End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtNetwork/qocspresponse.sip new/PyQt5-5.15.2/sip/QtNetwork/qocspresponse.sip --- old/PyQt5-5.15.1/sip/QtNetwork/qocspresponse.sip 2020-09-11 16:04:06.339861000 +0200 +++ new/PyQt5-5.15.2/sip/QtNetwork/qocspresponse.sip 2020-11-23 14:38:05.971874000 +0100 @@ -45,7 +45,7 @@ enum class QOcspRevocationReason { - None, + None /PyName=None_/, Unspecified, KeyCompromise, CACompromise, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qquickframebufferobject.sip new/PyQt5-5.15.2/sip/QtQuick/qquickframebufferobject.sip --- old/PyQt5-5.15.1/sip/QtQuick/qquickframebufferobject.sip 2020-09-11 16:04:06.702332000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qquickframebufferobject.sip 2020-11-23 14:38:06.180219000 +0100 @@ -39,9 +39,13 @@ Renderer(); virtual ~Renderer(); virtual void render() = 0; +%If (PyQt_OpenGL) virtual QOpenGLFramebufferObject *createFramebufferObject(const QSize &size); +%End virtual void synchronize(QQuickFramebufferObject *); +%If (PyQt_OpenGL) QOpenGLFramebufferObject *framebufferObject() const; +%End void update(); void invalidateFramebufferObject(); }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qquickrendercontrol.sip new/PyQt5-5.15.2/sip/QtQuick/qquickrendercontrol.sip --- old/PyQt5-5.15.1/sip/QtQuick/qquickrendercontrol.sip 2020-09-11 16:04:06.705804000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qquickrendercontrol.sip 2020-11-23 14:38:06.183365000 +0100 @@ -36,7 +36,9 @@ QQuickRenderControl(QObject *parent /TransferThis/ = 0); %End virtual ~QQuickRenderControl(); +%If (PyQt_OpenGL) void initialize(QOpenGLContext *gl); +%End void invalidate(); void polishItems(); void render(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qquickwindow.sip new/PyQt5-5.15.2/sip/QtQuick/qquickwindow.sip --- old/PyQt5-5.15.1/sip/QtQuick/qquickwindow.sip 2020-09-11 16:04:06.707953000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qquickwindow.sip 2020-11-23 14:38:06.185340000 +0100 @@ -124,8 +124,12 @@ QQuickItem *mouseGrabberItem() const; bool sendEvent(QQuickItem *, QEvent *); QImage grabWindow() /ReleaseGIL/; +%If (PyQt_OpenGL) void setRenderTarget(QOpenGLFramebufferObject *fbo); +%End +%If (PyQt_OpenGL) QOpenGLFramebufferObject *renderTarget() const; +%End void setRenderTarget(uint fboId, const QSize &size); uint renderTargetId() const; QSize renderTargetSize() const; @@ -146,7 +150,9 @@ bool isPersistentOpenGLContext() const; void setPersistentSceneGraph(bool persistent); bool isPersistentSceneGraph() const; +%If (PyQt_OpenGL) QOpenGLContext *openglContext() const; +%End signals: void frameSwapped(); @@ -198,8 +204,10 @@ public: %If (Qt_5_2_0 -) +%If (PyQt_OpenGL) void resetOpenGLState(); %End +%End %If (Qt_5_3_0 -) enum SceneGraphError @@ -211,8 +219,10 @@ signals: %If (Qt_5_3_0 -) +%If (PyQt_OpenGL) void openglContextCreated(QOpenGLContext *context); %End +%End %If (Qt_5_3_0 -) void afterSynchronizing(); %End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qsgabstractrenderer.sip new/PyQt5-5.15.2/sip/QtQuick/qsgabstractrenderer.sip --- old/PyQt5-5.15.1/sip/QtQuick/qsgabstractrenderer.sip 2020-09-11 16:04:06.740575000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qsgabstractrenderer.sip 2020-11-23 14:38:06.193141000 +0100 @@ -65,7 +65,7 @@ QColor clearColor() const; void setClearMode(QSGAbstractRenderer::ClearMode mode); QSGAbstractRenderer::ClearMode clearMode() const; - virtual void renderScene(GLuint fboId = 0) = 0; + virtual void renderScene(uint fboId = 0) = 0; signals: void sceneGraphChanged(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qsgengine.sip new/PyQt5-5.15.2/sip/QtQuick/qsgengine.sip --- old/PyQt5-5.15.1/sip/QtQuick/qsgengine.sip 2020-09-11 16:04:06.736257000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qsgengine.sip 2020-11-23 14:38:06.189685000 +0100 @@ -47,7 +47,9 @@ QSGEngine(QObject *parent /TransferThis/ = 0); %End virtual ~QSGEngine(); +%If (PyQt_OpenGL) void initialize(QOpenGLContext *context); +%End void invalidate(); QSGAbstractRenderer *createRenderer() const; QSGTexture *createTextureFromImage(const QImage &image, QSGEngine::CreateTextureOptions options = QSGEngine::CreateTextureOption()) const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qsggeometry.sip new/PyQt5-5.15.2/sip/QtQuick/qsggeometry.sip --- old/PyQt5-5.15.1/sip/QtQuick/qsggeometry.sip 2020-09-11 16:04:06.705258000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qsggeometry.sip 2020-11-23 14:38:06.182876000 +0100 @@ -284,8 +284,8 @@ QSGGeometry(const QSGGeometry::AttributeSet &attribs /KeepReference/, int vertexCount, int indexCount = 0, int indexType = GL_UNSIGNED_SHORT); virtual ~QSGGeometry(); - void setDrawingMode(GLenum mode); - GLenum drawingMode() const; + void setDrawingMode(unsigned int mode); + unsigned int drawingMode() const; void allocate(int vertexCount, int indexCount = 0); int vertexCount() const; void *vertexData(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtQuick/qsgmaterial.sip new/PyQt5-5.15.2/sip/QtQuick/qsgmaterial.sip --- old/PyQt5-5.15.1/sip/QtQuick/qsgmaterial.sip 2020-09-11 16:04:06.739121000 +0200 +++ new/PyQt5-5.15.2/sip/QtQuick/qsgmaterial.sip 2020-11-23 14:38:06.191655000 +0100 @@ -56,7 +56,9 @@ QRect viewportRect() const; QRect deviceRect() const; float determinant() const; +%If (PyQt_OpenGL) QOpenGLContext *context() const; +%End %If (Qt_5_1_0 -) QMatrix4x4 projectionMatrix() const; %End @@ -124,29 +126,45 @@ } %End +%If (PyQt_OpenGL) QOpenGLShaderProgram *program(); +%End protected: +%If (PyQt_OpenGL) virtual void compile(); +%End virtual void initialize(); %If (Qt_5_2_0 -) +%If (PyQt_OpenGL) virtual const char *vertexShader() const; %End +%End %If (- Qt_5_2_0) +%If (PyQt_OpenGL) virtual const char *vertexShader() const = 0; %End +%End %If (Qt_5_2_0 -) +%If (PyQt_OpenGL) virtual const char *fragmentShader() const; %End +%End %If (- Qt_5_2_0) +%If (PyQt_OpenGL) virtual const char *fragmentShader() const = 0; %End +%End %If (Qt_5_2_0 -) +%If (PyQt_OpenGL) void setShaderSourceFile(QOpenGLShader::ShaderType type, const QString &sourceFile); %End +%End %If (Qt_5_2_0 -) +%If (PyQt_OpenGL) void setShaderSourceFiles(QOpenGLShader::ShaderType type, const QStringList &sourceFiles); %End +%End private: QSGMaterialShader(const QSGMaterialShader &); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtWidgets/qactiongroup.sip new/PyQt5-5.15.2/sip/QtWidgets/qactiongroup.sip --- old/PyQt5-5.15.1/sip/QtWidgets/qactiongroup.sip 2020-09-11 16:04:06.795463000 +0200 +++ new/PyQt5-5.15.2/sip/QtWidgets/qactiongroup.sip 2020-11-23 14:38:06.218402000 +0100 @@ -54,7 +54,7 @@ enum class ExclusionPolicy { - None, + None /PyName=None_/, Exclusive, ExclusiveOptional, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/QtWidgets/qlayout.sip new/PyQt5-5.15.2/sip/QtWidgets/qlayout.sip --- old/PyQt5-5.15.1/sip/QtWidgets/qlayout.sip 2020-09-11 16:04:06.802723000 +0200 +++ new/PyQt5-5.15.2/sip/QtWidgets/qlayout.sip 2020-11-23 14:38:06.224188000 +0100 @@ -102,7 +102,7 @@ %End virtual void addItem(QLayoutItem * /Transfer/) = 0; - void removeWidget(QWidget *w); + void removeWidget(QWidget *w /TransferBack/); void removeItem(QLayoutItem * /TransferBack/); virtual Qt::Orientations expandingDirections() const; virtual QSize minimumSize() const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/_QOpenGLFunctions_2_0/qopenglfunctions_2_0.sip new/PyQt5-5.15.2/sip/_QOpenGLFunctions_2_0/qopenglfunctions_2_0.sip --- old/PyQt5-5.15.1/sip/_QOpenGLFunctions_2_0/qopenglfunctions_2_0.sip 2020-09-11 16:04:06.474892000 +0200 +++ new/PyQt5-5.15.2/sip/_QOpenGLFunctions_2_0/qopenglfunctions_2_0.sip 2020-11-23 14:38:06.041039000 +0100 @@ -59,7 +59,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif @@ -86,7 +86,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/_QOpenGLFunctions_2_1/qopenglfunctions_2_1.sip new/PyQt5-5.15.2/sip/_QOpenGLFunctions_2_1/qopenglfunctions_2_1.sip --- old/PyQt5-5.15.1/sip/_QOpenGLFunctions_2_1/qopenglfunctions_2_1.sip 2020-09-11 16:04:06.460319000 +0200 +++ new/PyQt5-5.15.2/sip/_QOpenGLFunctions_2_1/qopenglfunctions_2_1.sip 2020-11-23 14:38:06.028359000 +0100 @@ -60,7 +60,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif @@ -87,7 +87,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/_QOpenGLFunctions_4_1_Core/qopenglfunctions_4_1_core.sip new/PyQt5-5.15.2/sip/_QOpenGLFunctions_4_1_Core/qopenglfunctions_4_1_core.sip --- old/PyQt5-5.15.1/sip/_QOpenGLFunctions_4_1_Core/qopenglfunctions_4_1_core.sip 2020-09-11 16:04:06.694674000 +0200 +++ new/PyQt5-5.15.2/sip/_QOpenGLFunctions_4_1_Core/qopenglfunctions_4_1_core.sip 2020-11-23 14:38:06.173573000 +0100 @@ -60,7 +60,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif @@ -87,7 +87,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5-5.15.1/sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip new/PyQt5-5.15.2/sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip --- old/PyQt5-5.15.1/sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip 2020-09-11 16:04:06.407612000 +0200 +++ new/PyQt5-5.15.2/sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip 2020-11-23 14:38:06.006500000 +0100 @@ -476,7 +476,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif @@ -503,7 +503,7 @@ switch (a1) { - #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_SWIZZLE_RGBA) + #if defined(GL_TEXTURE_SWIZZLE_RGBA) || defined(GL_TEXTURE_BORDER_COLOR) #if defined(GL_TEXTURE_SWIZZLE_RGBA) case GL_TEXTURE_SWIZZLE_RGBA: #endif _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org