Accepting request 841900 from home:StefanBruens:branches:KDE:Qt:5.15

- Silence xcb errors and qml connection warnings by default, see
  boo#1115541 (xcb) and kde#418793.

OBS-URL: https://build.opensuse.org/request/show/841900
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtbase?expand=0&rev=16
This commit is contained in:
Fabian Vogt 2020-10-15 11:27:12 +00:00 committed by Git OBS Bridge
parent e479f8199d
commit cbb2d00fbb
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 14 19:28:37 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Silence xcb errors and qml connection warnings by default, see
boo#1115541 (xcb) and kde#418793.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 12 13:57:55 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de> Mon Oct 12 13:57:55 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -51,6 +51,7 @@ Source: https://download.qt.io/official_releases/qt/5.15/%{real_version}
Source1: libqt5-qtbase.changes Source1: libqt5-qtbase.changes
Source2: macros.qt5 Source2: macros.qt5
Source3: baselibs.conf Source3: baselibs.conf
Source4: qtlogging.ini
Source99: libqt5-qtbase-rpmlintrc Source99: libqt5-qtbase-rpmlintrc
# patches 0-1000 are openSUSE and/or non-upstream(able) patches # # patches 0-1000 are openSUSE and/or non-upstream(able) patches #
Patch1: 0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch Patch1: 0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch
@ -966,6 +967,10 @@ popd
chmod 644 %{buildroot}%{libqt5_docdir}/global/template/images/*.png chmod 644 %{buildroot}%{libqt5_docdir}/global/template/images/*.png
# Silence logging of xcb errors and qml deprecated connection
# warnings by default
install -Dm644 %{SOURCE4} %{buildroot}%{libqt5_datadir}/qtlogging.ini
%post -n libQt5Core5 -p /sbin/ldconfig %post -n libQt5Core5 -p /sbin/ldconfig
%post -n libQt5Concurrent5 -p /sbin/ldconfig %post -n libQt5Concurrent5 -p /sbin/ldconfig
@ -1048,6 +1053,8 @@ chmod 644 %{buildroot}%{libqt5_docdir}/global/template/images/*.png
%{libqt5_libdir}/sse2/libQt5Core.so.* %{libqt5_libdir}/sse2/libQt5Core.so.*
%endif %endif
%endif %endif
%dir %{libqt5_datadir}
%{libqt5_datadir}/qtlogging.ini
%files -n libQt5Core-devel %files -n libQt5Core-devel
%license LICENSE.* %license LICENSE.*

3
qtlogging.ini Normal file
View File

@ -0,0 +1,3 @@
[Rules]
qt.qpa.xcb.warning=false
qt.qml.connections.warning=false