From f1a8d41bb262c8dcadd30585e346b7aec37127b7 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 15 Jan 2016 17:27:47 +0100 Subject: [PATCH] enable -qt-xcb to fix non-US keys under VNC (#1295713) --- qt5-qtbase.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index 1f9ee1d..a463ffb 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -185,6 +185,9 @@ BuildRequires: pkgconfig(xkbcommon) %endif %else # not Fedora +%if 0%{?rhel} == 6 +%global xcb -qt-xcb +%endif %global xkbcommon -qt-xkbcommon Provides: bundled(libxkbcommon) = 0.4.1 %endif @@ -395,10 +398,13 @@ sed -i -e 's|^\(QMAKE_STRIP.*=\).*$|\1|g' mkspecs/common/linux.conf # move some bundled libs to ensure they're not accidentally used pushd src/3rdparty mkdir UNUSED -mv freetype libjpeg libpng zlib xcb UNUSED/ +mv freetype libjpeg libpng zlib UNUSED/ %if "%{?sqlite}" == "-system-sqlite" mv sqlite UNUSED/ %endif +%if "%{?xcb}" != "-qt-xcb" +mv xcb UNUSED/ +%endif popd # builds failing mysteriously on f20 @@ -456,6 +462,7 @@ test -x configure || chmod +x configure %{?pcre} \ %{?sqlite} \ %{?tds} \ + %{?xcb} \ %{?xkbcommon} \ -system-zlib \ %{?use_gold_linker} \ @@ -939,8 +946,9 @@ fi %changelog -* Tue Jan 05 2016 Rex Dieter 5.5.1-11 +* Fri Jan 15 2016 Than Ngo - 5.5.1-11 - Crash in QXcbWindow::setParent() due to NULL xcbScreen (QTBUG-50081, #1291003) +- enable -qt-xcb to fix non-US keys under VNC (#1295713) * Tue Jan 05 2016 Jan Grulich - 5.5.1-10 - QLineEdit - fix visibility handling of side widgets