From patchwork Sun Jun 2 20:07:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1108971 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cPxYQKg4"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45H8PG1dmJz9s4Y for ; Mon, 3 Jun 2019 06:07:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9C04E86224; Sun, 2 Jun 2019 20:07:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A21OmT6uOVsk; Sun, 2 Jun 2019 20:07:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 76D1886230; Sun, 2 Jun 2019 20:07:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8CDF81BF57F for ; Sun, 2 Jun 2019 20:07:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8A60F2079C for ; Sun, 2 Jun 2019 20:07:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VhltYRQw6s1E for ; Sun, 2 Jun 2019 20:07:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by silver.osuosl.org (Postfix) with ESMTPS id 99B2020114 for ; Sun, 2 Jun 2019 20:07:39 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id 22so771235wmg.2 for ; Sun, 02 Jun 2019 13:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LZjyIGFs+phQt4mIzUjh/EsL3Te/lJMwUBEOajDexOU=; b=cPxYQKg4OVBi2M8Dj4iHKikRMq7uz4SNqYcVX/IWbeAX53cbYlV0iurrA/PQN77+B6 qlGMHdmocacTBfIJBNJWxVHZjHqFkfdzEGiIileGOQa4pWBjX7QfhUNpkqYLj0uRWlfr tJuxsZTsRU9zt3viZz/XNcXiboN7ZF2o88AjMq/XrP1mF98RBMs5Bc9LmiSfDzs5jvWg ZKyzok29xJtJUHTyZHHnLHGOIHUfqbtvr0VATqHtAmiX8Z/Jqi0zyJD48JEBqV11Ydmh KhixQobZ8vexy7j3geEllLK1uzKKvtKCYmJ0H5g7zLkb7SpL/E1GEV7yvJzQoKZWHxX7 z8ag== 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:mime-version :content-transfer-encoding; bh=LZjyIGFs+phQt4mIzUjh/EsL3Te/lJMwUBEOajDexOU=; b=tBKCoNUOBbllouRTWjkn5sM6RTBRWtjJBXLWH8w5CrOwFK9KmAqiqHJ58ngaDg2YM0 F0BYsB9yh8p+AfFCcnB9N9i25HqLo5pAIoXZIm/jmk4NdFOujHTm1iPuRsjxjmLGgAPd 64A1F+8xCs3EhZlOXIPjAZTKGq/dxvUPs01VjJMgBaEIfGKLiTOEBbrSBOv78lvTDFIg D52O1Wew7tQv5XUvH3owXuo3NMGS56awBsFaRnYoCIdmj+NTZBGQHuA1fau2RUdHZ+hX VaTJ/hHHrbmT9Vcn5BBhQF0Jlmyw54sB5MqdERy8fqtq1mqeO/OWAKpAxRpSavnX+qi5 HIBQ== X-Gm-Message-State: APjAAAXPn/D7NhcZm62E1wPxKTDQ1p/QURQcheP1c2esLjYjqLcQftUZ hT76cBcJj4YWUqtQ/S43dxveyq7qQCs= X-Google-Smtp-Source: APXvYqxmrYDDF1bCmcKGQ101l5viDwXKQcVNhIPlXpYqvo0ROemHmZboPfCxR0+lc5SPe3AdMc5Now== X-Received: by 2002:a1c:4083:: with SMTP id n125mr11639277wma.54.1559506057753; Sun, 02 Jun 2019 13:07:37 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id c18sm12940969wrm.7.2019.06.02.13.07.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 02 Jun 2019 13:07:36 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 2 Jun 2019 22:07:34 +0200 Message-Id: <20190602200734.29324-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/qt5wayland: examples needs opengl with qt latest X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joshua Henderson , Peter Seiderer , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" WIth Qt latest, if opengl is not enabled, qt5wayland examples won't be built: make[3]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/qt5wayland-5.12.2/examples/wayland' Some of the required modules (qtConfig(opengl)) are not available. Skipped. make[3]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/qt5wayland-5.12.2/examples/wayland' And build will fail on: cp: cannot stat '/home/dawncrow/buildroot-test/scripts/instance-0/output/host/sparc64-buildroot-linux-gnu/sysroot/usr/lib/qt/examples/wayland': No such file or directory Fixes: - http://autobuild.buildroot.org/results/902322ca156c14044d4ce53ab2c77f30dd854c98 Signed-off-by: Fabrice Fontaine --- package/qt5/qt5wayland/qt5wayland.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/qt5/qt5wayland/qt5wayland.mk b/package/qt5/qt5wayland/qt5wayland.mk index 449640c881..0bda596f3b 100644 --- a/package/qt5/qt5wayland/qt5wayland.mk +++ b/package/qt5/qt5wayland/qt5wayland.mk @@ -60,10 +60,18 @@ endif endif ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y) +ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y) define QT5WAYLAND_INSTALL_TARGET_EXAMPLES cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/wayland $(TARGET_DIR)/usr/lib/qt/examples/ endef endif +else +define QT5WAYLAND_INSTALL_TARGET_EXAMPLES + cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/wayland $(TARGET_DIR)/usr/lib/qt/examples/ +endef +endif +endif define QT5WAYLAND_INSTALL_TARGET_CMDS cp -dpf $(STAGING_DIR)/usr/lib/libQt5WaylandClient.so* $(TARGET_DIR)/usr/lib