From e828f75962aeae8bd76373b619e76b6238be75e0 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Fri, 7 Aug 2015 04:20:04 +0200 Subject: [PATCH] fix 10-qt5-check-opengl2.sh for multiple screens (#1245755) * Fri Aug 07 2015 Kevin Kofler - 5.5.0-14 - remove GDB hackery again, -12 built fine on i686, hack breaks ARM build - fix 10-qt5-check-opengl2.sh for multiple screens (#1245755) --- 10-qt5-check-opengl2.sh | 2 +- qdoc.gdb | 8 -------- qt5-qtbase.spec | 17 ++++++----------- 3 files changed, 7 insertions(+), 20 deletions(-) delete mode 100755 qdoc.gdb diff --git a/10-qt5-check-opengl2.sh b/10-qt5-check-opengl2.sh index 31cb501..b3ba5ce 100755 --- a/10-qt5-check-opengl2.sh +++ b/10-qt5-check-opengl2.sh @@ -1,5 +1,5 @@ #!/bin/sh -OPENGL_VERSION=`LANG=C glxinfo | grep '^OpenGL version string: ' | sed -e 's/^OpenGL version string: \([0-9]\).*$/\1/g'` +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 QT_XCB_FORCE_SOFTWARE_OPENGL=1 export QT_XCB_FORCE_SOFTWARE_OPENGL diff --git a/qdoc.gdb b/qdoc.gdb deleted file mode 100755 index a4dc022..0000000 --- a/qdoc.gdb +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -# run process through gdb instead - -DIRNAME=$(dirname $0) -set -x -gdb -q --eval-command="run" --eval-command="thread apply all bt" --eval-command="quit" --args ${DIRNAME}/qdoc.orig $@ - diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index 10f6960..50ffdb7 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -39,15 +39,13 @@ Summary: Qt5 - QtBase components Name: qt5-qtbase Version: 5.5.0 -Release: 13%{?dist} +Release: 14%{?dist} # See LGPL_EXCEPTIONS.txt, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://qt-project.org/ Source0: http://download.qt.io/official_releases/qt/5.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz -Source2: qdoc.gdb - # header file to workaround multilib issue # https://bugzilla.redhat.com/show_bug.cgi?id=1036956 Source5: qconfig-multilib.h @@ -136,8 +134,6 @@ Source1: macros.qt5 # RPM drag in gtk2 as a dependency for the GTK+ 2 dialog support. %global __requires_exclude_from ^%{_qt5_plugindir}/platformthemes/.*$ -# for doc hacks -BuildRequires: gdb # for %%check BuildRequires: cmake BuildRequires: cups-devel @@ -470,12 +466,7 @@ pushd src/xml; ../../bin/qmake; popd # HACK to avoid multilib conflicts in noarch content # see also https://bugreports.qt-project.org/browse/QTBUG-42071 QT_HASH_SEED=0; export QT_HASH_SEED -make html_docs MAKE='make -k' || \ -( mv bin/qdoc bin/qdoc.orig - install %{SOURCE2} bin/qdoc - make html_docs MAKE='make -k' ||: - mv bin/qdoc.orig bin/qdoc -f -) +make html_docs make qch_docs %endif @@ -928,6 +919,10 @@ fi %changelog +* Fri Aug 07 2015 Kevin Kofler - 5.5.0-14 +- remove GDB hackery again, -12 built fine on i686, hack breaks ARM build +- fix 10-qt5-check-opengl2.sh for multiple screens (#1245755) + * Thu Aug 06 2015 Rex Dieter 5.5.0-13 - use upstream commit/fix for QTBUG-46310 - restore qdoc/gdb hackery, i686 still needs it :(