From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2F677E00A58 for ; Fri, 7 Mar 2014 07:02:00 -0800 (PST) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp4-g21.free.fr (Postfix) with ESMTPSA id 9277E4C80F2; Fri, 7 Mar 2014 16:01:52 +0100 (CET) Date: Fri, 7 Mar 2014 16:01:51 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Otavio Salvador Message-ID: <20140307160151.09221edd@e6520eb> In-Reply-To: <1394203965-9775-5-git-send-email-otavio@ossystems.com.br> References: <1394203965-9775-1-git-send-email-otavio@ossystems.com.br> <1394203965-9775-5-git-send-email-otavio@ossystems.com.br> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Cc: meta-freescale Mailing List Subject: Re: [meta-fsl-arm PATCH v2 5/6] qtbase: Disable eglfs build for i.MX6 SoCs using X11 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 15:02:04 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le Fri, 7 Mar 2014 11:52:44 -0300, Otavio Salvador a =E9crit : > The eglfs hooks require the Framebuffer API calls which are not > available when building for X11; to allow qtbase to build for X11 we > must disable eglfs support due this restriction. >=20 > Signed-off-by: Lauren Post > Signed-off-by: Otavio Salvador > --- >=20 > Changes in v2: > - new patch >=20 > .../qt5/qtbase/Force_egl_visual_ID_33.patch | 23 ++++++++++++++++= ++++++ > qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 5 +++++ > 2 files changed, 28 insertions(+) > create mode 100644 qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_3= 3.patch >=20 > diff --git a/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch= b/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch > new file mode 100644 > index 0000000..b0be292 > --- /dev/null > +++ b/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch > @@ -0,0 +1,23 @@ > +Workaround EGL initialization failure due visual mismatch > + > +Error: > + > +Warning: EGL suggested using X Visual ID 33 (RGB888) for EGL config 28 (= RGB444), but this is incompatable > +Unable to find an X11 visual which matches EGL config 28 > +Could not initialize EGL > +Aborted > + > +Upstream-Status: Inappropriate [workaround] > + > +Signed-off-by: Otavio Salvador > + > +diff -Naur qtbase-opensource-src-5.1.1_original/src/platformsupport/eglc= onvenience/qxlibeglintegration.cpp qtbase-opensource-src-5.1.1/src/platform= support/eglconvenience/qxlibeglintegration.cpp > +--- qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenie= nce/qxlibeglintegration.cpp 2013-12-25 19:08:42.163895341 -0800 > ++++ qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlib= eglintegration.cpp 2013-12-25 19:09:37.207893799 -0800 > +@@ -180,5 +180,5 @@ > + } > +=20 > + qWarning("Unable to find an X11 visual which matches EGL config %d"= , configId); > +- return (VisualID)0; > ++ return (VisualID)33; > + } > diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/qt5-layer/recip= es-qt/qt5/qtbase_%.bbappend > index 310d7f7..c1df764 100644 > --- a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend > +++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend > @@ -1,5 +1,9 @@ > # Copyright (C) 2013 Eric B=E9nard - Eukr=E9a Electromatique > =20 > +FILESEXTRAPATHS_prepend :=3D "${THISDIR}/${PN}:" > + > +SRC_URI +=3D "file://Force_egl_visual_ID_33.patch" > + this change is not documented anywhere in the commit log. Eric