5.6.0-8
- make 10-qt5-check-opengl2.sh xinit script more robust - enable journald support for el7+ (#1315239)
This commit is contained in:
parent
da57215b5a
commit
ba28649c77
@ -1,6 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
OPENGL_VERSION=`LANG=C glxinfo | grep '^OpenGL version string: ' | head -n 1 | sed -e 's/^OpenGL version string: \([0-9]\).*$/\1/g'`
|
|
||||||
if [ "$OPENGL_VERSION" -lt 2 ]; then
|
if [ -z "$QT_XCB_FORCE_SOFTWARE_OPENGL" ]; then
|
||||||
|
|
||||||
|
QT5_CHECK_OPENGL_VERSION=`LANG=C glxinfo 2> /dev/null | grep '^OpenGL version string: ' | head -n 1 | sed -e 's/^OpenGL version string: \([0-9]\).*$/\1/g'` ||:
|
||||||
|
|
||||||
|
if [ "$QT5_CHECK_OPENGL_VERSION" == "1" -o "$QT5_CHECK_OPENGL_VERSION" == "0" ]; then
|
||||||
QT_XCB_FORCE_SOFTWARE_OPENGL=1
|
QT_XCB_FORCE_SOFTWARE_OPENGL=1
|
||||||
export QT_XCB_FORCE_SOFTWARE_OPENGL
|
export QT_XCB_FORCE_SOFTWARE_OPENGL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
unset QT5_CHECK_OPENGL_VERSION
|
||||||
|
|
||||||
|
fi
|
||||||
|
@ -28,8 +28,10 @@
|
|||||||
%global inject_optflags 1
|
%global inject_optflags 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} > 23
|
%if 0%{?fedora} > 23 || 0%{?rhel} > 6
|
||||||
%global journald -journald
|
%global journald -journald
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 23
|
||||||
# gcc6: FTBFS
|
# gcc6: FTBFS
|
||||||
%global qt5_deprecated_flag -Wno-deprecated-declaration
|
%global qt5_deprecated_flag -Wno-deprecated-declaration
|
||||||
# gcc6: Qt assumes this in places
|
# gcc6: Qt assumes this in places
|
||||||
@ -56,7 +58,7 @@
|
|||||||
Summary: Qt5 - QtBase components
|
Summary: Qt5 - QtBase components
|
||||||
Name: qt5-qtbase
|
Name: qt5-qtbase
|
||||||
Version: 5.6.0
|
Version: 5.6.0
|
||||||
Release: 7%{?prerelease:.%{prerelease}}%{?dist}
|
Release: 8%{?prerelease:.%{prerelease}}%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
@ -958,6 +960,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 24 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-8
|
||||||
|
- make 10-qt5-check-opengl2.sh xinit script more robust
|
||||||
|
- enable journald support for el7+ (#1315239)
|
||||||
|
|
||||||
* Sat Mar 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-7
|
* Sat Mar 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-7
|
||||||
- macros.qt5: null-pointer-checks flag isn't c++-specific
|
- macros.qt5: null-pointer-checks flag isn't c++-specific
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user