Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-11-25 19:28:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtbase"

Wed Nov 25 19:28:40 2020 rev:114 rq:850011 version:5.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes      
2020-11-03 15:15:50.135997888 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.5913/libqt5-qtbase.changes    
2020-11-25 19:28:58.078461286 +0100
@@ -1,0 +2,18 @@
+Fri Nov 20 12:08:44 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Update to 5.15.2:
+  * New bugfix release
+  * For more details please see:
+    http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.15.2/?h=5.15.2
+- Drop patches, now upstream:
+  * 0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch
+- Pass -confirm-license option, drop duplicates
+- BuildRequire xcb-util
+
+-------------------------------------------------------------------
+Fri Nov 13 15:50:40 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Add patch to avoid coredumps with missing display:
+  * 0001-Avoid-SIGABRT-on-platform-plugin-initialization-fail.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch
  qtbase-everywhere-src-5.15.1.tar.xz

New:
----
  0001-Avoid-SIGABRT-on-platform-plugin-initialization-fail.patch
  qtbase-everywhere-src-5.15.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libqt5-qtbase.spec ++++++
--- /var/tmp/diff_new_pack.Iy0uia/_old  2020-11-25 19:29:01.202465220 +0100
+++ /var/tmp/diff_new_pack.Iy0uia/_new  2020-11-25 19:29:01.202465220 +0100
@@ -36,16 +36,16 @@
 %endif
 
 Name:           libqt5-qtbase
-Version:        5.15.1
+Version:        5.15.2
 Release:        0
 Summary:        C++ Program Library, Core Components
 License:        LGPL-3.0-only or GPL-3.0-with-Qt-Company-Qt-exception-1.1
 Group:          System/Libraries
 Url:            https://www.qt.io
 %define base_name libqt5
-%define real_version 5.15.1
-%define so_version 5.15.1
-%define tar_version qtbase-everywhere-src-5.15.1
+%define real_version 5.15.2
+%define so_version 5.15.2
+%define tar_version qtbase-everywhere-src-5.15.2
 Source:         
https://download.qt.io/official_releases/qt/5.15/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:        libqt5-qtbase.changes
@@ -57,6 +57,8 @@
 Patch1:         0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch
 Patch2:         fix-build-openssl-1.1.0.patch
 Patch3:         0001-Revert-QMenu-hide-when-a-QWidgetAction-fires-the-tri.patch
+# Proposed: https://bugreports.qt.io/browse/QTBUG-88491
+Patch4:         0001-Avoid-SIGABRT-on-platform-plugin-initialization-fail.patch
 # PATCH-FIX-OPENSUSE disable-rc4-ciphers-bnc865241.diff bnc#865241-- Exclude 
rc4 ciphers from being used by default
 Patch6:         disable-rc4-ciphers-bnc865241.diff
 Patch8:         tell-the-truth-about-private-api.patch
@@ -67,7 +69,6 @@
 # PATCH-FIX-OPENSUSE
 Patch21:        0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
 Patch24:        fix-fixqt4headers.patch
-Patch25:        0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch
 # patches 1000-2000 and above from upstream 5.15 branch #
 # patches 2000-3000 and above from upstream qt6/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
@@ -117,6 +118,7 @@
 BuildRequires:  pkgconfig(xcb-shape)
 BuildRequires:  pkgconfig(xcb-shm)
 BuildRequires:  pkgconfig(xcb-sync)
+BuildRequires:  pkgconfig(xcb-util)
 BuildRequires:  pkgconfig(xcb-xfixes)
 BuildRequires:  pkgconfig(xcb-xinerama)
 BuildRequires:  pkgconfig(xcb-xkb)
@@ -840,7 +842,7 @@
 # Due to a binutils bug/misunderstanding, this option didn't do as much before 
2.35,
 # so just disable it for now until a proper alternative appears.
 
-echo yes | ./configure \
+./configure \
        -prefix %{_prefix} \
        -L %{libqt5_libdir} \
        -libdir %{libqt5_libdir} \
@@ -865,6 +867,7 @@
        -accessibility \
        -no-strip \
        -opensource \
+       -confirm-license \
        -no-separate-debug-info \
        -force-debug-info \
        -shared \
@@ -888,7 +891,6 @@
        -glib \
        -sctp \
        -system-sqlite \
-       -no-sql-mysql \
 %if %journald
        -journald \
 %endif
@@ -909,7 +911,6 @@
        -plugin-sql-mysql -I/usr/include/mysql/ \
        -qpa "xcb;wayland" \
        -no-feature-relocatable \
-       -v \
        QMAKE_CFLAGS+="$CFLAGS" \
        QMAKE_CXXFLAGS+="$CXXFLAGS"
 
@@ -1302,7 +1303,6 @@
 %doc *.txt
 %{libqt5_libdir}/libQt5Bootstrap.a
 %{libqt5_libdir}/libQt5Bootstrap.prl
-%{libqt5_libdir}/cmake/Qt5Bootstrap/
 
 %files -n libQt5OpenGLExtensions-devel-static
 %license LICENSE.*

++++++ 0001-Avoid-SIGABRT-on-platform-plugin-initialization-fail.patch ++++++
From 127e467e5ff86d5aba085c0e3410b3198d29b61a Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Fri, 13 Nov 2020 15:51:50 +0100
Subject: [PATCH] Avoid SIGABRT on platform plugin initialization failure

If all platform plugins failed to initialize, Qt calls qFatal which in turn
calls abort. This causes SIGABRT and may generate a coredump.

In the most common case it's because the connection to the display (Wayland,
X11, whatever) is missing or failed, and a coredump will not help analyzing
that at all.

https://bugreports.qt.io/browse/QTBUG-88491
---
 src/gui/kernel/qguiapplication.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gui/kernel/qguiapplication.cpp 
b/src/gui/kernel/qguiapplication.cpp
index a95331e246..098c69d3c1 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -1251,9 +1251,9 @@ static void init_platform(const QString 
&pluginNamesWithArguments, const QString
         if (!QLibraryInfo::isDebugBuild() && !GetConsoleWindow())
             MessageBox(0, (LPCTSTR)fatalMessage.utf16(), 
(LPCTSTR)(QCoreApplication::applicationName().utf16()), MB_OK | MB_ICONERROR);
 #endif // Q_OS_WIN && !Q_OS_WINRT
-        qFatal("%s", qPrintable(fatalMessage));
+        qCritical("%s", qPrintable(fatalMessage));
 
-        return;
+        _exit(1);
     }
 
     // Many platforms have created QScreens at this point. Finish initializing
-- 
2.25.1

++++++ qtbase-everywhere-src-5.15.1.tar.xz -> 
qtbase-everywhere-src-5.15.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-everywhere-src-5.15.1.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new.5913/qtbase-everywhere-src-5.15.2.tar.xz
 differ: char 26, line 1
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to