From patchwork Thu Mar 8 17:43:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131033 Delivered-To: patch@linaro.org Received: by 10.80.194.209 with SMTP id u17csp3322431edf; Thu, 8 Mar 2018 09:43:31 -0800 (PST) X-Google-Smtp-Source: AG47ELvu8D6zacmp9IJ1Q7+XPLIuBJxxkXhUqbEN4CV4E2MdiBWuE4oLQSeQpXO/Wn2kM8mYY9vY X-Received: by 10.98.163.143 with SMTP id q15mr26728363pfl.94.1520531010982; Thu, 08 Mar 2018 09:43:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520531010; cv=none; d=google.com; s=arc-20160816; b=N5JM+KuMMZuzs+b3HvTeGL6weXFDUsMed+YmhMVgLD/pshpkwXajH6uurlxn+DHGik h3ddkyvtzjEgWb9Qk/O0HNC9GTPzqfvf6x6P8tpol9uK++wxMWwCX8Q0+hRBrIKOtHPn J61lHuf7OjRRhy/zfljWquR+wqIKBoi+puei8KbkZ2COwcN5zgaimWpqrFl03nC0a3/g U0mSilMU+YrpRj63RX/CX4ofs6xtrnOoTbdtJBoX7GoiQ1hRPLNBFt1S46SgBhOSYExk MQyd9/kynbkolpTMZpb+lZaNvUJIBd8CjhL724swFbCM/oepxVTb0GVkXeCWaRpe6DN3 5Pow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=b/LNDzRQ+v7bRYSTs8gm0M1S5bZP+ruZ3rdMIt6X5NA=; b=lDSNSP92JSXn9zS+0+H9C18BovfR/RCRcjvJTFdILxlH4U2dVaQHGe2MqkDJEb450s gpizumrFzBSFnnZwkTdDFAHU8rA5fd74DT8XEMtTBZg8huuJ2PUNe5PTRNirFWntLoc0 08PZhD0cnYTN7Ou42Bzx0NVWdJOM1fVuunpiRjyw+WsVTszfJu9x7En9MAUYbBgb5nHr A5lV1TcyCf+BKFyZBOwggh5cPgMeAPsP0Iyn/xSOgE4oE3nublVaFk8WEHE2ia/fkDHK rkDe9eefM0LqQZCUNx8i09AkzHS9F6QmhqDL2gEa/9r3VrJLHImvaURQisd6ebOGj45r TZAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Nz4bFnQN; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k198si13284620pgc.545.2018.03.08.09.43.30; Thu, 08 Mar 2018 09:43:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Nz4bFnQN; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8840D78966; Thu, 8 Mar 2018 17:43:27 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f42.google.com (mail-pl0-f42.google.com [209.85.160.42]) by mail.openembedded.org (Postfix) with ESMTP id C0CF078956 for ; Thu, 8 Mar 2018 17:43:25 +0000 (UTC) Received: by mail-pl0-f42.google.com with SMTP id 93-v6so3699008plc.9 for ; Thu, 08 Mar 2018 09:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=bIpbThjvyDKy29Uw4JRML7FAj1ll23lZxNCwbgv8r7U=; b=Nz4bFnQNSW/+n7dqlZc2zlIYBgvZ6jOs+BLwjQsBhmfr0YeatpY0riy4JnNoAW3psj e4eU5rchO/PZKsXH0DBJV6xu2iqzA0+uZqrXbEhBnUpFMRlHmxf0Z1LRTgjuSNVqYcX3 4wBc5ijB2me3tIeIrJYhB+3XBFFCSM+xbXZyb9cO3okxKzN/CKXXJV6XEIOOmyZfPK6r TgOm+84umDLtB+ADkcg51P4IeS2gXuk1iI3FhRxOwkia/PilId+JD2yKQg6GyiL0QyO4 5ihSaY9J6qhqsQmxVV7NSniTsjEzrsLijtOMmHJEA/8pcDwVusrMMPxqsLhNP/OF1xnH 5BSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bIpbThjvyDKy29Uw4JRML7FAj1ll23lZxNCwbgv8r7U=; b=Qng63T5X/X4vCcNCTq5Rz2E+IVXWQlQsq/7VWc3nTLhXnfWJwWyGf0mhigxVK4Onmw UoWQyERSJFfSpq3BclmhWU/H+240YJ+1I/OmuEMahtY2AJt7ShEA9dIqPB2X6+CR9mJx NFSlBO6ShFaicZFN0h9OxCkC+i8miK2g7gUozQGic9A9UGyi4bp6DoQvnQNuTotCrStF u++YkStU+qkXbt/xNHZhcsZ1pE/bUCEOtRsWINsM5zgEbbxhv9cl/RV/swnSFHnNYIE/ WUJplR+AC6ttIb2fLe2d7/LWRVYdcUEh3t3Qr3W5Uknb2t4TQ/mQySTu8vZ1hZb6TcKD 3AJg== X-Gm-Message-State: APf1xPAaR7CcDMbP7Cj5O5ddGDZiPJjm8W9PkbUZBoFEwQKm1qeyJPhE 4BkiwjYxWaijUidNATT1Cl0CqQ== X-Received: by 2002:a17:902:7282:: with SMTP id d2-v6mr25251254pll.303.1520531006617; Thu, 08 Mar 2018 09:43:26 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id f23sm26485575pfn.132.2018.03.08.09.43.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 09:43:25 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 8 Mar 2018 09:43:16 -0800 Message-Id: <20180308174316.36662-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 Subject: [oe] [meta-qt5][PATCH] Pass -DMESA_EGL_NO_X11_HEADERS=1 when x is disabled X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Some graphics drives e.g. mali/mesa depend on this define to use proper guards in eglplatform.h Fixes | In file included from /mnt/a/zonit/build/tmp/work/aarch64-bec-linux/qtmultimedia/5.10.1+gitAUTOINC+038716bb1f-r0/recipe-sysroot/usr/include/EGL/egl.h:36:0, | from .moc/../../../../../../git/src/plugins/videonode/egl/qsgvideonode_egl.h:48, | from .moc/moc_qsgvideonode_egl.cpp:9: | /mnt/a/zonit/build/tmp/work/aarch64-bec-linux/qtmultimedia/5.10.1+gitAUTOINC+038716bb1f-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:125:10: fatal error: X11/Xlib.h: No such file or directory | #include | ^~~~~~~~~~~~ | compilation terminated. | make[4]: *** [Makefile:461: .obj/moc_qsgvideonode_egl.o] Error 1 Signed-off-by: Khem Raj --- recipes-qt/qt5/qtmultimedia_git.bb | 1 + 1 file changed, 1 insertion(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index 2cb1bd5..efe848f 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb @@ -25,6 +25,7 @@ EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" # Disable GStreamer if completely disabled EXTRA_QMAKEVARS_CONFIGURE += "${@bb.utils.contains_any('PACKAGECONFIG', 'gstreamer gstreamer010', '', '-no-gstreamer', d)}" +CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DMESA_EGL_NO_X11_HEADERS=1', d)}" # Patches from https://github.com/meta-qt5/qtmultimedia/commits/b5.10 # 5.10.meta-qt5.2 SRC_URI += "\