Hello community, here is the log from the commit of package libqt4 for openSUSE:Factory checked in at 2014-10-14 08:59:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt4 (Old) and /work/SRC/openSUSE:Factory/.libqt4.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt4" Changes: -------- --- /work/SRC/openSUSE:Factory/libqt4/libqt4-devel-doc.changes 2014-09-10 07:27:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libqt4.new/libqt4-devel-doc.changes 2014-10-14 08:59:06.000000000 +0200 @@ -1,0 +2,17 @@ +Thu Oct 2 10:49:53 UTC 2014 - [email protected] + +- Replace patch l-qclipboard_fix_recursive.patch with + qtcore-4.8.5-qeventdispatcher-recursive.patch. The later one + seems to work better and really resolves the issue in LibreOffice + +------------------------------------------------------------------- +Thu Sep 18 18:38:07 UTC 2014 - [email protected] + +- Added fix_qrasterpixmapdata_bnc847880.diff (bnc#847880). + When extracting a region of a QRasterPixmapData an optimization + was using the wrong bit depth for some calculations thus copying + a different section of the image than requested. This breaks + specially the oxygen kde theme under qemu when using a cirrus driver. +- Removed workaround for bnc#847880 which is no longer needed. + +------------------------------------------------------------------- libqt4-sql-plugins.changes: same change --- /work/SRC/openSUSE:Factory/libqt4/libqt4.changes 2014-09-20 15:50:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libqt4.new/libqt4.changes 2014-10-14 08:59:06.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Oct 2 10:49:53 UTC 2014 - [email protected] + +- Replace patch l-qclipboard_fix_recursive.patch with + qtcore-4.8.5-qeventdispatcher-recursive.patch. The later one + seems to work better and really resolves the issue in LibreOffice + +------------------------------------------------------------------- Old: ---- l-qclipboard_fix_recursive.patch New: ---- qtcore-4.8.5-qeventdispatcher-recursive.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt4-devel-doc.spec ++++++ --- /var/tmp/diff_new_pack.51NYUa/_old 2014-10-14 08:59:12.000000000 +0200 +++ /var/tmp/diff_new_pack.51NYUa/_new 2014-10-14 08:59:12.000000000 +0200 @@ -110,9 +110,11 @@ # PATCH-FIX-OPENSUSE exclude socket notifiers from the glib event loop - needed for LO KDE4 filepicker integration (1/3) Patch162: glib-honor-ExcludeSocketNotifiers-flag.diff # PATCH-FIX-OPENSUSE fix recursive repaint errors which lead to crashes - needed for LO KDE4 filepicker integration (2/3) -Patch163: l-qclipboard_fix_recursive.patch +Patch163: qtcore-4.8.5-qeventdispatcher-recursive.patch # PATCH-FIX-OPENSUSE fix clipboard delay when pasting with LO and KFileDialog open - needed for LO KDE4 filepicker integration (3/3) Patch164: l-qclipboard_delay.patch +# PATCH-FIX-OPENSUSE fix_qrasterpixmapdata_bnc847880.diff -- fix image rect copy optimization that copied "garbage" when used in qemu/cirrus (bnc#847880) +Patch165: fix_qrasterpixmapdata_bnc847880.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define common_options --opensource -fast -no-separate-debug-info -shared -xkb -openssl-linked -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -prefix /usr -L %{_libdir} -libdir %{_libdir} -docdir %_docdir/%{base_name} -examplesdir %{_libdir}/qt4/examples -demosdir %{_libdir}/qt4/demos -plugindir %plugindir -translationdir %{_datadir}/qt4/translations -iconv -sysconfdir /etc/settings -datadir %{_datadir}/qt4/ -no-pch -reduce-relocations -exceptions -system-libtiff -glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite -qt3support -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle @@ -194,8 +196,9 @@ %patch160 %patch161 -p1 %patch162 -p1 -%patch163 +%patch163 -p0 %patch164 +%patch165 -p1 # be sure not to use them rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib,libtiff,fonts} libqt4-sql-plugins.spec: same change ++++++ libqt4.spec ++++++ --- /var/tmp/diff_new_pack.51NYUa/_old 2014-10-14 08:59:12.000000000 +0200 +++ /var/tmp/diff_new_pack.51NYUa/_new 2014-10-14 08:59:12.000000000 +0200 @@ -128,7 +128,7 @@ # PATCH-FIX-OPENSUSE exclude socket notifiers from the glib event loop - needed for LO KDE4 filepicker integration (1/3) Patch162: glib-honor-ExcludeSocketNotifiers-flag.diff # PATCH-FIX-OPENSUSE fix recursive repaint errors which lead to crashes - needed for LO KDE4 filepicker integration (2/3) -Patch163: l-qclipboard_fix_recursive.patch +Patch163: qtcore-4.8.5-qeventdispatcher-recursive.patch # PATCH-FIX-OPENSUSE fix clipboard delay when pasting with LO and KFileDialog open - needed for LO KDE4 filepicker integration (3/3) Patch164: l-qclipboard_delay.patch # PATCH-FIX-OPENSUSE fix_qrasterpixmapdata_bnc847880.diff -- fix image rect copy optimization that copied "garbage" when used in qemu/cirrus (bnc#847880) @@ -436,7 +436,7 @@ %patch160 %patch161 -p1 %patch162 -p1 -%patch163 +%patch163 -p0 %patch164 %patch165 -p1 ++++++ qtcore-4.8.5-qeventdispatcher-recursive.patch ++++++ --- src/corelib/kernel/qeventdispatcher_glib.cpp.sav 2014-03-28 15:26:37.000000000 +0100 +++ src/corelib/kernel/qeventdispatcher_glib.cpp 2014-04-24 09:44:09.358659204 +0200 @@ -255,22 +255,30 @@ struct GPostEventSource GSource source; QAtomicInt serialNumber; int lastSerialNumber; + QEventLoop::ProcessEventsFlags processEventsFlags; QEventDispatcherGlibPrivate *d; }; static gboolean postEventSourcePrepare(GSource *s, gint *timeout) { + GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); QThreadData *data = QThreadData::current(); if (!data) return false; + QEventLoop::ProcessEventsFlags excludeAllFlags + = QEventLoop::ExcludeUserInputEvents + | QEventLoop::ExcludeSocketNotifiers + | QEventLoop::X11ExcludeTimers; + if ((source->processEventsFlags & excludeAllFlags) == excludeAllFlags) + return false; + gint dummy; if (!timeout) timeout = &dummy; const bool canWait = data->canWaitLocked(); *timeout = canWait ? -1 : 0; - GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); return (!canWait || (source->serialNumber != source->lastSerialNumber)); } @@ -284,8 +292,14 @@ static gboolean postEventSourceDispatch( { GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); source->lastSerialNumber = source->serialNumber; - QCoreApplication::sendPostedEvents(); - source->d->runTimersOnceWithNormalPriority(); + QEventLoop::ProcessEventsFlags excludeAllFlags + = QEventLoop::ExcludeUserInputEvents + | QEventLoop::ExcludeSocketNotifiers + | QEventLoop::X11ExcludeTimers; + if ((source->processEventsFlags & excludeAllFlags) != excludeAllFlags) { + QCoreApplication::sendPostedEvents(); + source->d->runTimersOnceWithNormalPriority(); + } return true; // i dunno, george... } @@ -329,6 +343,7 @@ QEventDispatcherGlibPrivate::QEventDispa postEventSource = reinterpret_cast<GPostEventSource *>(g_source_new(&postEventSourceFuncs, sizeof(GPostEventSource))); postEventSource->serialNumber = 1; + postEventSource->processEventsFlags = QEventLoop::AllEvents; postEventSource->d = this; g_source_set_can_recurse(&postEventSource->source, true); g_source_attach(&postEventSource->source, mainContext); @@ -423,6 +438,7 @@ bool QEventDispatcherGlib::processEvents // tell postEventSourcePrepare() and timerSource about any new flags QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags; + d->postEventSource->processEventsFlags = flags; d->timerSource->processEventsFlags = flags; d->socketNotifierSource->processEventsFlags = flags; @@ -435,6 +451,7 @@ bool QEventDispatcherGlib::processEvents while (!result && canWait) result = g_main_context_iteration(d->mainContext, canWait); + d->postEventSource->processEventsFlags = savedFlags; d->timerSource->processEventsFlags = savedFlags; d->socketNotifierSource->processEventsFlags = savedFlags; --- src/corelib/kernel/qeventdispatcher_unix.cpp.sav 2013-06-07 07:16:52.000000000 +0200 +++ src/corelib/kernel/qeventdispatcher_unix.cpp 2014-04-24 09:43:06.927589535 +0200 @@ -905,7 +905,15 @@ bool QEventDispatcherUNIX::processEvents // we are awake, broadcast it emit awake(); - QCoreApplicationPrivate::sendPostedEvents(0, 0, d->threadData); + + QEventLoop::ProcessEventsFlags excludeAllFlags + = QEventLoop::ExcludeUserInputEvents + | QEventLoop::ExcludeSocketNotifiers + | QEventLoop::X11ExcludeTimers; + if ((flags & excludeAllFlags) == excludeAllFlags) + return false; + if(( flags & excludeAllFlags ) != excludeAllFlags ) + QCoreApplicationPrivate::sendPostedEvents(0, 0, d->threadData); int nevents = 0; const bool canWait = (d->threadData->canWaitLocked() -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
