From patchwork Sun Jun 10 20:44:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927415 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.136; helo=silver.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="VtxYMF6v"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7K2cSXz9s2t for ; Mon, 11 Jun 2018 06:45:17 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D249E245AB; Sun, 10 Jun 2018 20:45:15 +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 80OAZCdw6KYS; Sun, 10 Jun 2018 20:45:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 77286244C0; Sun, 10 Jun 2018 20:45:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 3812C1C01B3 for ; Sun, 10 Jun 2018 20:45:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 35C0D87D41 for ; Sun, 10 Jun 2018 20:45:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rVxepXW9Gs8F for ; Sun, 10 Jun 2018 20:45:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6839E8792A for ; Sun, 10 Jun 2018 20:45:10 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id a63-v6so9166871pfl.1 for ; Sun, 10 Jun 2018 13:45:10 -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:in-reply-to:references; bh=Krqjek1IMLjprMnB9YG6RblBkhXf+2TBLkZ15GHNhqs=; b=VtxYMF6v+GXNrqa/Pyp0CSjgDhzMs3Wji0t53VwvGvDYa6SDs6QyELIFrajLJZXge1 NWVw5AdgjM+JpZCu/2CuP55cwmXMO0w03cJfHgpVgmqL+GxZ7kiaVPviyoe/HAohSYqA qhbczFJpsfKKGqjmsY9UdtA/z7EdfbnlJSNio67yPH/lUbLL8is5KcY4HkIv8PAMuD/B l3LW0DinlGgHVaU5TTAG5GJPBwMFfO4S6yO8r9YTiaABphxLCejLX90gP/uWE2/5MG8u dOAsJprhOlN+w9tknGCnGqmzLc4cStA0rvqkwqJBRZpVGb6aPz6Nd0rlFi/O6ha+IMbR nI5Q== 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:in-reply-to :references; bh=Krqjek1IMLjprMnB9YG6RblBkhXf+2TBLkZ15GHNhqs=; b=s1TrmQSCGDVSqWBKZHvo081PYoscxiDUPt5Z8rhhe2zc6VJdl0IfHLJBeKf8xB53W3 1rs+TrDC65wNhY8mcrU/HtH9KSFCPjBXpdEv7wwO4F7Kfh2Pt3vmUT5v2XMzMGPMvfPw la8NcYLFn2E2VDbLc0brD/MZkyaahJKV1ttwYpguIR0ZxHAfNsZnR34wO2oBdUSI6i6T IQFyp70oR4N/E91rdddHF1TBQEZbu/KqyFcqUY7SIykK3cLVAkHSnqhU9U51+zZY1vkL 49U84C3KqxD4o+D/EB3wh4TcHjI+b4iwWbXd0SR3D74OCgXQgly5zUbTBA7Cf7oSm88i DEog== X-Gm-Message-State: APt69E3VjrR3ItjVrUyoYpQ33NUeuWbapb61Uag8YbNOmU5qpFUfK6h+ JyRYq9uuemEWpfHHaZUo//15Ia3u X-Google-Smtp-Source: ADUXVKJMfLmD98MHVnlQW3GaVtpyQzkpKX5qIFDN2EOx/vu8ynSigEniUgi8OemSI2+E8kwyUsvh9g== X-Received: by 2002:aa7:808f:: with SMTP id v15-v6mr14845158pff.38.1528663509680; Sun, 10 Jun 2018 13:45:09 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:09 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:41 -0700 Message-Id: <20180610204449.13646-3-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 1/9] atk: bump to version 2.28.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- package/atk/atk.hash | 4 ++-- package/atk/atk.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/atk/atk.hash b/package/atk/atk.hash index 12c98706dd..80aeecaee9 100644 --- a/package/atk/atk.hash +++ b/package/atk/atk.hash @@ -1,2 +1,2 @@ -# From http://ftp.gnome.org/pub/gnome/sources/atk/2.22/atk-2.22.0.sha256sum -sha256 d349f5ca4974c9c76a4963e5b254720523b0c78672cbc0e1a3475dbd9b3d44b6 atk-2.22.0.tar.xz +# From http://ftp.gnome.org/pub/gnome/sources/atk/2.28/atk-2.28.1.sha256sum +sha256 cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc atk-2.28.1.tar.xz diff --git a/package/atk/atk.mk b/package/atk/atk.mk index 88cf5fbc0a..64950bfd08 100644 --- a/package/atk/atk.mk +++ b/package/atk/atk.mk @@ -4,8 +4,8 @@ # ################################################################################ -ATK_VERSION_MAJOR = 2.22 -ATK_VERSION = $(ATK_VERSION_MAJOR).0 +ATK_VERSION_MAJOR = 2.28 +ATK_VERSION = $(ATK_VERSION_MAJOR).1 ATK_SOURCE = atk-$(ATK_VERSION).tar.xz ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/$(ATK_VERSION_MAJOR) ATK_LICENSE = LGPL-2.0+ From patchwork Sun Jun 10 20:44:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927418 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.136; helo=silver.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="k7VOXj1o"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7R1SXZz9s2t for ; Mon, 11 Jun 2018 06:45:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B4D692471E; Sun, 10 Jun 2018 20:45:21 +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 Rj8tBZDh0OMB; Sun, 10 Jun 2018 20:45:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 17CA224519; Sun, 10 Jun 2018 20:45:15 +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 35D571C01B3 for ; Sun, 10 Jun 2018 20:45:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3316B244C0 for ; Sun, 10 Jun 2018 20:45:12 +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 U90dHHVVb4ZP for ; Sun, 10 Jun 2018 20:45:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by silver.osuosl.org (Postfix) with ESMTPS id 8DBAC244A8 for ; Sun, 10 Jun 2018 20:45:11 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a12-v6so9167156pfi.3 for ; Sun, 10 Jun 2018 13:45:11 -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:in-reply-to:references; bh=rPWZ5+5fjL1vtJFrWRiCfCzSlsbGMWyeWuOLLk5IC8I=; b=k7VOXj1oS27yfnyMo8ObpStin6fgX34zn/PQZo9qy5c+FeLx1wcLCZX6jYW88fEpdz YgrPe/u3Ay6YXddTHdfhJQEDLVpQ+zfaf2rxCH/QEoZCE4Ivr7abXNL9EqojnOi8rg6s q9g6wbBHwRE+TTVy1CLJO9H3iVPhuOEOvBlFbf5EwvEKhUncEfDKAIfB6a+TV8DVLLyh BJLNknCOyKt316Kkhk73Ty7zY+YvxZGUb/koXY9p+xOQ5TKGm6KFNMSGkfwYAxa7XBtC 2s4zmZ3EiwoE1NzhlJoxZ+bFMCAGHRqUdTFdeTIJ1R7aZIYeUk1jOJQcZcvUXgr9RDP2 EzcA== 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:in-reply-to :references; bh=rPWZ5+5fjL1vtJFrWRiCfCzSlsbGMWyeWuOLLk5IC8I=; b=WdvRQQmmTUvZDlA2Hh6E45KQfp94VbGHULCuDydSKni450VkSaFKHnFk6+ITtOp5zd btz6OFayXuxD1AMNerxRAS+/PCZvendRorseq6Orxi07ZdEa4A2MllC4CR1CkEJbZNNl zz+3GOxXHo8TUcDqwTdPeCc+spIkBed5v8rH+D3KXd7yPSQ5ZjrAM4VEfAVUxkBFG6FA ynH42RpmZAxRG1y/5S1yuidTjqFyGO+UZ+IlETYsp8wqFovMS3Ogo4HKDOe4l/QMNbMt yCwlKM9c4pz0azbx8SXHnOKsH54ZAq5ck2AzNLEHEsr2wQHb28z4M3Z5jRTQBKWhnVC7 uqiw== X-Gm-Message-State: APt69E2U+t2r+ltn6WdLNBl2r34s/IpMtro5SZLnxND/uI/Vnbw1HJiM qOimZt1hhxPvdlRX4PvGLz9mPXRR X-Google-Smtp-Source: ADUXVKKZoWnV0b92O8bj7GKPOZ5Chjmkcd6+/bl8ms1s0MGR8KA2YCKZggIdbPRT8xRyaIH0lZDDZQ== X-Received: by 2002:a62:cd82:: with SMTP id o124-v6mr14776925pfg.250.1528663510857; Sun, 10 Jun 2018 13:45:10 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:10 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:42 -0700 Message-Id: <20180610204449.13646-4-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 2/9] at-spi2-core: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- DEVELOPERS | 1 + package/Config.in | 1 + package/at-spi2-core/Config.in | 9 +++++ package/at-spi2-core/at-spi2-core.hash | 4 +++ package/at-spi2-core/at-spi2-core.mk | 46 ++++++++++++++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 package/at-spi2-core/Config.in create mode 100644 package/at-spi2-core/at-spi2-core.hash create mode 100644 package/at-spi2-core/at-spi2-core.mk diff --git a/DEVELOPERS b/DEVELOPERS index 1a8440759e..31c651b938 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -955,6 +955,7 @@ F: board/qemu/ppc64le-pseries/ F: configs/qemu_ppc64le_pseries_defconfig N: Joseph Kogut +F: package/at-spi2-core/ F: package/gconf/ F: package/libnss/ F: package/python-cython/ diff --git a/package/Config.in b/package/Config.in index 6a1606e568..692b422911 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1128,6 +1128,7 @@ endmenu menu "Graphics" source "package/assimp/Config.in" + source "package/at-spi2-core/Config.in" source "package/atk/Config.in" source "package/atkmm/Config.in" source "package/bullet/Config.in" diff --git a/package/at-spi2-core/Config.in b/package/at-spi2-core/Config.in new file mode 100644 index 0000000000..9c60c51792 --- /dev/null +++ b/package/at-spi2-core/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_AT_SPI2_CORE + bool "at-spi2-core" + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_XLIB_LIBXTST + help + The At-Spi2 Core package is a part of the GNOME Accessibility Project. + It provides a Service Provider Interface for the Assistive Technologies + available on the GNOME platform and a library against which + applications can be linked. diff --git a/package/at-spi2-core/at-spi2-core.hash b/package/at-spi2-core/at-spi2-core.hash new file mode 100644 index 0000000000..e792cc0e0a --- /dev/null +++ b/package/at-spi2-core/at-spi2-core.hash @@ -0,0 +1,4 @@ +# locally calculated +sha256 42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87 at-spi2-core-2.28.0.tar.xz +sha256 c6105b34ab6829ff5c70eba234f40053215fa9f8383ced271b0e370a1923624b COPYING + diff --git a/package/at-spi2-core/at-spi2-core.mk b/package/at-spi2-core/at-spi2-core.mk new file mode 100644 index 0000000000..88800e2ce7 --- /dev/null +++ b/package/at-spi2-core/at-spi2-core.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# at-spi2-core +# +################################################################################ + +AT_SPI2_CORE_VERSION_MAJOR = 2.28 +AT_SPI2_CORE_VERSION = $(AT_SPI2_CORE_VERSION_MAJOR).0 +AT_SPI2_CORE_SOURCE = at-spi2-core-$(AT_SPI2_CORE_VERSION).tar.xz +AT_SPI2_CORE_SITE = http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/$(AT_SPI2_CORE_VERSION_MAJOR) +AT_SPI2_CORE_LICENSE = LGPL-2.0+ +AT_SPI2_CORE_LICENSE_FILES = COPYING +AT_SPI2_CORE_INSTALL_STAGING = YES +AT_SPI2_CORE_DEPENDENCIES = host-meson host-pkgconf dbus libglib2 xlib_libXtst + +AT_SPI2_CORE_MESON_OPTS += \ + --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --buildtype=$(if $(BR2_ENABLE_DEBUG),debug,release) \ + --cross-file=$(HOST_DIR)/etc/meson/cross-compilation.conf + +AT_SPI2_CORE_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS) + +define AT_SPI2_CORE_CONFIGURE_CMDS + rm -rf $(@D)/build + mkdir -p $(@D)/build + $(TARGET_MAKE_ENV) meson $(AT_SPI2_CORE_MESON_OPTS) $(@D) $(@D)/build +endef + +define AT_SPI2_CORE_BUILD_CMDS + $(TARGET_MAKE_ENV) ninja $(AT_SPI2_CORE_NINJA_OPTS) -C $(@D)/build +endef + +define AT_SPI2_CORE_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) DESTDIR=$(STAGING_DIR) \ + ninja $(AT_SPI2_CORE_NINJA_OPTS) -C $(@D)/build install +endef + +define AT_SPI2_CORE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) DESTDIR=$(TARGET_DIR) \ + ninja $(AT_SPI2_CORE_NINJA_OPTS) -C $(@D)/build install +endef + +$(eval $(generic-package)) + From patchwork Sun Jun 10 20:44:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927420 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.133; helo=hemlock.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="nAqsup3z"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7W0fx8z9s31 for ; Mon, 11 Jun 2018 06:45:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B65B588123; Sun, 10 Jun 2018 20:45:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fky19bEX3I10; Sun, 10 Jun 2018 20:45:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 820EF87D41; Sun, 10 Jun 2018 20:45:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id EBD551C01B3 for ; Sun, 10 Jun 2018 20:45:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E875E86A94 for ; Sun, 10 Jun 2018 20:45:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXZmG-4IXMW5 for ; Sun, 10 Jun 2018 20:45:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C4BB386AB0 for ; Sun, 10 Jun 2018 20:45:12 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id w7-v6so9146541pfn.9 for ; Sun, 10 Jun 2018 13:45:12 -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:in-reply-to:references; bh=3hcD3MP2VwRgJ7Ma0EsS1Nhdm2GxJnD9UDGHZbRW9fU=; b=nAqsup3znzts4N6EfDxb1PTDrnXXJbsnF8i025jt1VV8aInTGdqj7IisCDhFU1soQX Ph6Y2SpooSqrxThTKI87jjuMlsXNznJ/JKUVIgoDXekKyAl9soxxsB7EVuBK16QX2iYx LF/FbVjcACGZJZ94aUWK/JwqtDS9vs7KGW+ShndDmUIKEgRBGf/kZVff6ia2PkSvx2C5 9+DPe9t42TJILmM2CjPZHeBTZXN594jsRJErjcAvyTdjnTjVuv9akrnXdLRlFmS4oCsQ 9ziqKUJ4TlFWIOa5AY3n50+Tyqioz8FdfI48p9aYbJSkGfUf/PJBOHE4uI0wsk829+Zi YmvQ== 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:in-reply-to :references; bh=3hcD3MP2VwRgJ7Ma0EsS1Nhdm2GxJnD9UDGHZbRW9fU=; b=qBS5xpWu5dBw0pZzvpMcnxfCkiuX6eD+3/U0ao+qtL91V0DIJ5mecWJ+axmxk+B4kg +lqs+JUGWQeAE1GdBPli8dXezxFNUvefmY0cNOm8R6Y8MnmoYFOFeLLexeGElEj3xIM3 fJfsN8JeazLXkGQmbwIiHQUOvMK4NT2Jx73id9YwWqZH61oKuUq4cawQjkPAsNI4yAzv dCcJD+SWs0cdJQok4C/qyM6TcUfN4w2iYzc9CG/pU4BRR//6OxwhMyMhhJ8s7+j8qHNb CQfFHVVV+mSCLe9n2CbWwekmGlSWfvYAr7K24+LIn3PupamlLJf//GB7Anp2FH8zV6dd 9TPg== X-Gm-Message-State: APt69E2rWH69FVLlrZ2O40WgupXiKL5crrcSoM4RCac1hf5t+O1FEH49 Yvzkm5PDd+Uk2NKmvRtn2BnmQFfq X-Google-Smtp-Source: ADUXVKJSYYHviTLkvhKbyHuYaDfcorTr6cKwMyPxxkYRs9hQFgmazr0Sfheoc/kOvtv2VcIpThwYrA== X-Received: by 2002:a62:4653:: with SMTP id t80-v6mr14531765pfa.58.1528663512101; Sun, 10 Jun 2018 13:45:12 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:11 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:43 -0700 Message-Id: <20180610204449.13646-5-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 3/9] at-spi2-atk: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- DEVELOPERS | 1 + package/Config.in | 1 + package/at-spi2-atk/Config.in | 5 +++++ package/at-spi2-atk/at-spi2-atk.hash | 4 ++++ package/at-spi2-atk/at-spi2-atk.mk | 17 +++++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/at-spi2-atk/Config.in create mode 100644 package/at-spi2-atk/at-spi2-atk.hash create mode 100644 package/at-spi2-atk/at-spi2-atk.mk diff --git a/DEVELOPERS b/DEVELOPERS index 31c651b938..568f47d242 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -955,6 +955,7 @@ F: board/qemu/ppc64le-pseries/ F: configs/qemu_ppc64le_pseries_defconfig N: Joseph Kogut +F: package/at-spi2-atk/ F: package/at-spi2-core/ F: package/gconf/ F: package/libnss/ diff --git a/package/Config.in b/package/Config.in index 692b422911..c2e619b317 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1128,6 +1128,7 @@ endmenu menu "Graphics" source "package/assimp/Config.in" + source "package/at-spi2-atk/Config.in" source "package/at-spi2-core/Config.in" source "package/atk/Config.in" source "package/atkmm/Config.in" diff --git a/package/at-spi2-atk/Config.in b/package/at-spi2-atk/Config.in new file mode 100644 index 0000000000..b354c77ffe --- /dev/null +++ b/package/at-spi2-atk/Config.in @@ -0,0 +1,5 @@ +config BR2_PACKAGE_AT_SPI2_ATK + bool "at-spi2-atk" + select BR2_PACKAGE_AT_SPI2_CORE + help + The At-Spi2 Atk package contains a library that bridges ATK to At-Spi2 D-Bus service. diff --git a/package/at-spi2-atk/at-spi2-atk.hash b/package/at-spi2-atk/at-spi2-atk.hash new file mode 100644 index 0000000000..6f7d68ab87 --- /dev/null +++ b/package/at-spi2-atk/at-spi2-atk.hash @@ -0,0 +1,4 @@ +# locally calculated +sha256 61891f0abae1689f6617a963105a3f1dcdab5970c4a36ded9c79a7a544b16a6e at-spi2-atk-2.26.2.tar.xz +sha256 c6105b34ab6829ff5c70eba234f40053215fa9f8383ced271b0e370a1923624b COPYING + diff --git a/package/at-spi2-atk/at-spi2-atk.mk b/package/at-spi2-atk/at-spi2-atk.mk new file mode 100644 index 0000000000..a3bccbb0d9 --- /dev/null +++ b/package/at-spi2-atk/at-spi2-atk.mk @@ -0,0 +1,17 @@ +############################################################################### +# +# at-spi2-atk +# +############################################################################### + +AT_SPI2_ATK_VERSION_MAJOR = 2.26 +AT_SPI2_ATK_VERSION = $(AT_SPI2_ATK_VERSION_MAJOR).2 +AT_SPI2_ATK_SOURCE = at-spi2-atk-$(AT_SPI2_ATK_VERSION).tar.xz +AT_SPI2_ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/$(AT_SPI2_ATK_VERSION_MAJOR) +ATK_LICENSE = LGPL-2.0+ +ATK_LICENSE_FILES = COPYING +AT_SPI2_ATK_INSTALL_STAGING = YES +AT_SPI2_ATK_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install +AT_SPI2_ATK_DEPENDENCIES = atk at-spi2-core libglib2 host-pkgconf + +$(eval $(autotools-package)) From patchwork Sun Jun 10 20:44:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927422 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="kaNYnGm0"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7Z58kJz9s2t for ; Mon, 11 Jun 2018 06:45:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E9DF887080; Sun, 10 Jun 2018 20:45:25 +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 at3pasUph1zg; Sun, 10 Jun 2018 20:45:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BAD3186DB4; Sun, 10 Jun 2018 20:45:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 5A19E1C01B3 for ; Sun, 10 Jun 2018 20:45:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5545C86A88 for ; Sun, 10 Jun 2018 20:45:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5_nfK8SsrrC0 for ; Sun, 10 Jun 2018 20:45:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E384886618 for ; Sun, 10 Jun 2018 20:45:13 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id y8-v6so87668pfm.10 for ; Sun, 10 Jun 2018 13:45:13 -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:in-reply-to:references; bh=2YVITC3XKeYIFJJkx0ohyiH9J2780nn7XQc7sj0SFt8=; b=kaNYnGm0v5zhEBW77BMePo5/JuxuWnPpELDK9XvzHyE5dBTJrl1F06WstE1n6crnvX rscr3xV9Vvpg8e1EVVdRx0nUPpTP2VPnaZHz6LJ9Jn1IIApOUsROc13P39IYmm2Z2dOo sVvS7jRmGQLWLi/mS3NelR1k2iP3fnUeHkN16yKp1GSot5zZ+/0keunUS7YIvL1Lfpso 4DZZ/Azj2bmZO4V1erDt1fD+2/GT2nckySPeW0ySacFrYqc5qOkpsXsQyEux3uciUfn1 pz0CTa63CT9DvzJ7rBVVxzT5lDHiuOaaGjb4Qty3gP4GsftTbUQ0rJH5fczp6buznzrY v1xw== 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:in-reply-to :references; bh=2YVITC3XKeYIFJJkx0ohyiH9J2780nn7XQc7sj0SFt8=; b=g2BhjjMEe0ivaa9No+QLrjKGWsCqmWbANjAOSWm6JtfKHhlhyiY7hrX7bm3iQlrO6G SYfCZZKyuTIUHCuzkfSvF+L2gxwgOXBc7QXSZaf4rer01OBVw8m/s4KbPEIZBmBLLS1A OwVntJeNy9r6VAbXdT29DO8Be3cA/RZ3yGkHNN1wtQiJwkEB9l8y2UKuVop+YSEfATDY o87VOfcg7f/4FmfRf661iaw5yqtyh8o2+u9o4YPBW4FX0KNxHo4eOt78Z7uCYXBfHRG8 arquzxnEemnu+q8z94IVcIyQCuqpdPCkzW7vAPm8DQL4adAqxT/BvQveUf7Kb4lBLDDp a/eA== X-Gm-Message-State: APt69E1hVPbtUosQKUYKCcN4NOpyiLqTUZMIywfhGcEqG3Z/UjxQNi9x /8+3LvqdAh5YWYZCyBvp70vHLYVV X-Google-Smtp-Source: ADUXVKLg94paAdc3+ffnaEHGgP1R1Qt/qncv7VOqL5391c32/ezzeD+F1j/3JRUgoQ45TZtXiO5tig== X-Received: by 2002:a62:da59:: with SMTP id w25-v6mr14711098pfl.161.1528663513236; Sun, 10 Jun 2018 13:45:13 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:12 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:44 -0700 Message-Id: <20180610204449.13646-6-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 4/9] libgtk3: remove patch to disable atk-bridge support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- package/libgtk3/0003-disable-atk-bridge.patch | 45 ------------------- package/libgtk3/Config.in | 1 + package/libgtk3/libgtk3.mk | 3 +- 3 files changed, 3 insertions(+), 46 deletions(-) delete mode 100644 package/libgtk3/0003-disable-atk-bridge.patch diff --git a/package/libgtk3/0003-disable-atk-bridge.patch b/package/libgtk3/0003-disable-atk-bridge.patch deleted file mode 100644 index c92174f400..0000000000 --- a/package/libgtk3/0003-disable-atk-bridge.patch +++ /dev/null @@ -1,45 +0,0 @@ -Remove atk-bridge support. - -atk-bridge doesn't seem useful for now in Buildroot and requires to -add two new packages just for it: at-spi2-core and at-spi2-atk. - -Signed-off-by: Hadrien Boutteville - ---- a/configure.ac -+++ b/configure.ac -@@ -1349,11 +1349,7 @@ - # Check for Accessibility Toolkit flags - ######################################## - --if test x$enable_x11_backend = xyes; then -- ATK_PACKAGES="atk atk-bridge-2.0" --else -- ATK_PACKAGES="atk" --fi -+ATK_PACKAGES="atk" - - PKG_CHECK_MODULES(ATK, $ATK_PACKAGES) - ---- a/gtk/a11y/gtkaccessibility.c -+++ b/gtk/a11y/gtkaccessibility.c -@@ -37,10 +37,6 @@ - #include - #include - --#ifdef GDK_WINDOWING_X11 --#include --#endif -- - static gboolean gail_focus_watcher (GSignalInvocationHint *ihint, - guint n_param_values, - const GValue *param_values, -@@ -987,9 +983,5 @@ - _gtk_accessibility_override_atk_util (); - do_window_event_initialization (); - --#ifdef GDK_WINDOWING_X11 -- atk_bridge_adaptor_init (NULL, NULL); --#endif -- - atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL); - } diff --git a/package/libgtk3/Config.in b/package/libgtk3/Config.in index 12e64707bd..f14b9deaf8 100644 --- a/package/libgtk3/Config.in +++ b/package/libgtk3/Config.in @@ -20,6 +20,7 @@ config BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_ATK + select BR2_PACKAGE_AT_SPI2_ATK select BR2_PACKAGE_CAIRO select BR2_PACKAGE_CAIRO_PS select BR2_PACKAGE_CAIRO_PDF diff --git a/package/libgtk3/libgtk3.mk b/package/libgtk3/libgtk3.mk index 1b85d00aae..e3c3dc5237 100644 --- a/package/libgtk3/libgtk3.mk +++ b/package/libgtk3/libgtk3.mk @@ -26,7 +26,8 @@ LIBGTK3_CONF_OPTS = \ LIBGTK3_MAKE_OPTS = \ WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols -LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk libglib2 cairo pango gdk-pixbuf libepoxy +LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk at-spi2-atk libglib2 \ + cairo pango gdk-pixbuf libepoxy ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) LIBGTK3_DEPENDENCIES += fontconfig xlib_libX11 xlib_libXext xlib_libXrender xlib_libXi From patchwork Sun Jun 10 20:44:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927419 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.133; helo=hemlock.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="DNSrQKZM"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7V5mTXz9s2t for ; Mon, 11 Jun 2018 06:45:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F182487F8F; Sun, 10 Jun 2018 20:45:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lkMVFfgbzdOp; Sun, 10 Jun 2018 20:45:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D09E887DA2; Sun, 10 Jun 2018 20:45:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9D0C31C01B3 for ; Sun, 10 Jun 2018 20:45:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A17F86DB3 for ; Sun, 10 Jun 2018 20:45:15 +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 jVqCEHjuZbMH for ; Sun, 10 Jun 2018 20:45:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2C14A86D97 for ; Sun, 10 Jun 2018 20:45:15 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id l65-v6so8760414pgl.8 for ; Sun, 10 Jun 2018 13:45:15 -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:in-reply-to:references; bh=RHUdUsu/1vMK7xQyULwh+4eUUIKSm92cr2LCfJRfffc=; b=DNSrQKZMTs6AhHHg4JFWj1//QSjVjE/oG1eNZ9cBpKfM7svVciGOBrjuW6CB2R4vJ6 4bHsJ7GkFdGmF9UBnKgVYkCLKpHcv1niHMjTEdcXPGFegiekU44YzxdT40WPK5D8KLDr X+wKztpfNoh6fg4adjk5PUKYqlNDYFi1V790HG0U2nnLezpqyzCoymwql0T8X89KGuWH hCydzHbijzJ/czUBn1VQ+wdhA81aJF5AqcQqlbhK1LVZ4g5xfQwWz3ZqyYxXg4w20fOB 2cSgNLJFT5z4oEe4IDU6ZfvKNOKANZl4rN30ePGDXZN+LVUImWm18dgp8r/4ybsW11AU /JzA== 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:in-reply-to :references; bh=RHUdUsu/1vMK7xQyULwh+4eUUIKSm92cr2LCfJRfffc=; b=qyIB2A1RBRQ/4yGtXfdYCG80/VVZ061oVChpm8+AKr5kYeCJ9wMGA1dyVkM5hpNpaz 65zGoAznYGmlHAgyIcAbnBJRXcOa7/hTvMe+4bIyik6maGYEaXN4UDn9fPfzGNy7dwUJ 0/C8k9jy+3rxvR7JDhkWbc/NnR2DFSlI4kB3rFblO5NIvVuvEIogTPdHYz/4IMicb+0u JSY3o6MNfLCsSP+0pMHtGTJi4TNf229H7ctzUOVByQIsDX0veHhDYrgbGnhHIVH1v2wg EIKtyw1j+e7Is4AekjjtTVRM78/xeKLyNagYal14oFPUQ7chAf4+yL9SYfA63t815zB+ JOmA== X-Gm-Message-State: APt69E3vAiVAXa4HAf+Ne6+GqcTyVR84WKEDdVEh5vywI9/vS3Xvi7P7 IwT77DyawlRqc8zUAdwf6jZw4m42 X-Google-Smtp-Source: ADUXVKLWyYjs0QBZ/1a51flLqOZ17ah9YdzmGXaiN4e+SGFkFP+1hnJkk1h4yMO/yQ40Y8eU8byPZg== X-Received: by 2002:a62:3b5d:: with SMTP id i90-v6mr14934057pfa.24.1528663514435; Sun, 10 Jun 2018 13:45:14 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:13 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:45 -0700 Message-Id: <20180610204449.13646-7-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 5/9] llvm: add config to build backend for host arch X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- package/llvm/Config.in | 9 +++++++++ package/llvm/llvm.mk | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/package/llvm/Config.in b/package/llvm/Config.in index 83e94660eb..e9c461b92f 100644 --- a/package/llvm/Config.in +++ b/package/llvm/Config.in @@ -11,6 +11,15 @@ config BR2_PACKAGE_LLVM_TARGET_ARCH default "ARM" if BR2_arm || BR2_armeb default "X86" if BR2_i386 || BR2_x86_64 +config BR2_PACKAGE_LLVM_HOST_ARCH + string + default "AArch64" if BR2_HOSTARCH="aarch64" + default "X86" if BR2_HOSTARCH = "x86" || BR2_HOSTARCH = "x86_64" + default "ARM" if BR2_HOSTARCH = "arm" + +config BR2_PACKAGE_HOST_LLVM_ENABLE_HOST_ARCH + bool + config BR2_PACKAGE_LLVM bool "llvm" depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk index 3abf428989..04e99eb5b4 100644 --- a/package/llvm/llvm.mk +++ b/package/llvm/llvm.mk @@ -59,6 +59,11 @@ ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y) LLVM_TARGETS_TO_BUILD += AMDGPU endif +# Build backend for host architecture +ifeq ($(BR2_PACKAGE_LLVM_ENABLE_HOST_ARCH),y) +LLVM_TARGETS_TO_BUILD += $(call qstrip,$(BR2_PACKAGE_LLVM_HOST_ARCH)) +endif + # Use native llvm-tblgen from host-llvm (needed for cross-compilation) LLVM_CONF_OPTS += -DLLVM_TABLEGEN=$(HOST_DIR)/bin/llvm-tblgen From patchwork Sun Jun 10 20:44:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927424 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.133; helo=hemlock.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="Ejv/0Bsk"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7j3Hz1z9s31 for ; Mon, 11 Jun 2018 06:45:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C84DA88184; Sun, 10 Jun 2018 20:45:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wgJtVAByf7Lm; Sun, 10 Jun 2018 20:45:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D47248812D; Sun, 10 Jun 2018 20:45:34 +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 2A3D11C01B3 for ; Sun, 10 Jun 2018 20:45:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 26881246AD for ; Sun, 10 Jun 2018 20:45:22 +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 DULOLXKehF20 for ; Sun, 10 Jun 2018 20:45:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by silver.osuosl.org (Postfix) with ESMTPS id 4AB15245F5 for ; Sun, 10 Jun 2018 20:45:16 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id a14-v6so8145079pgw.10 for ; Sun, 10 Jun 2018 13:45:16 -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:in-reply-to:references; bh=joKt4D4dr01Kw5MGbNnQxu13bg8NdPU/yHOXtDp5Ndk=; b=Ejv/0BskFxZ8OQlvmZpW7iuu3Qf5ZfglThF259TPjk1oq8bxM7ZMiE8js2SAWPFai0 3SS+Jl0UdxJnOyuAx0dUHYMyoiOupy6SdTGGVUlwoB91ts8D5WQ5EZZmzfFIPXi+xy0Y ThV8W6UL8d9buL6BVUZ3oKN4Tq3Uk4keEt5ivVDyfbcLndTrHCiNY4mgXCSkJJ4WPD3a 5nH2ZdqhOf8U+WkFDzUClf2lBGP7d3TciR6w5XKyyHr/gn60kXILk5u6PHKoKrM+/z6X 6x63VwzgMYL23R/dqj18MHQVCQShRb2RbpUXLjhPiUzgAbI09SXQ6/AgE7QT0ETkhxls Iu4w== 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:in-reply-to :references; bh=joKt4D4dr01Kw5MGbNnQxu13bg8NdPU/yHOXtDp5Ndk=; b=HzxNBXTabPToPDRPX/dOY9B8PflEguYHYP2PgXH6srg4j1TkVPo49+Lo9JPJx5r4PW uH7SgPDPZt9ygwSPN/wopoS9r567ZWUlBrdXYOuQ2pSxL9ZwangdTW249Zh6n41MGf1p ZdrPTtnZ35QMMoh19pzeRD5A8h4ckgkRjFCCwxAFK3ogmiJAL2PCyZFrUrBbguV4Q4vn kh8eibE9fzRkPzuQqN0XpzaX8OQa74eCdAP9OOmaNZc8e8cluNWIsB5m0CaRpN8Amryh THNiPONGaoJzhC2+5pP1EXHT2Hbnj6bgSqrjVZL1SB8hvJYt4+XA1AKorpDwLJPTwf7c A3Og== X-Gm-Message-State: APt69E0Zl4HcOf2WyKCUcB5H5SZp51wSV0irTn2pAEtECBB9hTaTgbnK d6WgRs88cskoAMxQXeW9Vj/XijkQ X-Google-Smtp-Source: ADUXVKLA8WdZjYuHfGVysHltbaWe0oql6agn8WPzEyT+haV0MfKmmG6LcxMC11qIbr0vYPTCPOqqxA== X-Received: by 2002:aa7:864d:: with SMTP id a13-v6mr14611401pfo.247.1528663515571; Sun, 10 Jun 2018 13:45:15 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:15 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:46 -0700 Message-Id: <20180610204449.13646-8-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 6/9] llvm: bump to version 6.0.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- ...type-in-ORC-readMem-client-interface.patch | 37 ------------------- package/llvm/llvm.hash | 2 +- package/llvm/llvm.mk | 2 +- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 package/llvm/0001-Fix-return-type-in-ORC-readMem-client-interface.patch diff --git a/package/llvm/0001-Fix-return-type-in-ORC-readMem-client-interface.patch b/package/llvm/0001-Fix-return-type-in-ORC-readMem-client-interface.patch deleted file mode 100644 index 0343b4c7e8..0000000000 --- a/package/llvm/0001-Fix-return-type-in-ORC-readMem-client-interface.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 72ea6ea635d5b5a88f411710daf7e1d340d232d8 Mon Sep 17 00:00:00 2001 -From: Tilmann Scheller -Date: Thu, 1 Feb 2018 11:40:01 -0600 -Subject: [PATCH] Fix return type in ORC readMem() client interface. - -GCC 8.0.1 detects the type mismatch and causes the compilation to fail. Clang -and earlier versions of GCC don't detect the issue. - -Fixes rhbz#1540620. - -This patch was taken from llvm5.0-5.0.1-7.fc28.src.rpm - -Link to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1540620 - -Signed-off-by: Valentin Korenblit ---- - include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h -index da02250ba16..bed472e2e0e 100644 ---- a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h -+++ b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h -@@ -713,8 +713,8 @@ private: - - uint32_t getTrampolineSize() const { return RemoteTrampolineSize; } - -- Expected> readMem(char *Dst, JITTargetAddress Src, -- uint64_t Size) { -+ Expected> readMem(char *Dst, JITTargetAddress Src, -+ uint64_t Size) { - // Check for an 'out-of-band' error, e.g. from an MM destructor. - if (ExistingError) - return std::move(ExistingError); --- -2.14.3 - diff --git a/package/llvm/llvm.hash b/package/llvm/llvm.hash index 14f8bb4488..93bdf2e20e 100644 --- a/package/llvm/llvm.hash +++ b/package/llvm/llvm.hash @@ -1,3 +1,3 @@ # locally calculated -sha256 d522eda97835a9c75f0b88ddc81437e5edbb87dc2740686cb8647763855c2b3c llvm-5.0.2.src.tar.xz +sha256 1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408 llvm-6.0.0.src.tar.xz sha256 abd4d8794808bacb1eb6924d49efafd9ab6eef88faaaeb5d3cfa13ee3670d672 LICENSE.TXT diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk index 04e99eb5b4..8638563b16 100644 --- a/package/llvm/llvm.mk +++ b/package/llvm/llvm.mk @@ -4,7 +4,7 @@ # ################################################################################ -LLVM_VERSION = 5.0.2 +LLVM_VERSION = 6.0.0 LLVM_SITE = http://llvm.org/releases/$(LLVM_VERSION) LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz LLVM_LICENSE = NCSA From patchwork Sun Jun 10 20:44:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927421 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.136; helo=silver.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="JSbBC+WO"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7W6QTVz9s3C for ; Mon, 11 Jun 2018 06:45:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 50B0D24825; Sun, 10 Jun 2018 20:45:26 +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 IUwTo9Y3Ea9m; Sun, 10 Jun 2018 20:45:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7298324583; Sun, 10 Jun 2018 20:45:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 1BCFB1C01B3 for ; Sun, 10 Jun 2018 20:45:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 18DEF87F1B for ; Sun, 10 Jun 2018 20:45:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id maPlL411Cgcs for ; Sun, 10 Jun 2018 20:45:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by hemlock.osuosl.org (Postfix) with ESMTPS id 90EA787D41 for ; Sun, 10 Jun 2018 20:45:17 +0000 (UTC) Received: by mail-pf0-f178.google.com with SMTP id a63-v6so9166970pfl.1 for ; Sun, 10 Jun 2018 13:45:17 -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:in-reply-to:references; bh=qpDIBwAAqcdRJMFimdHsORS+/kiZuXQi81mx3GhRo+c=; b=JSbBC+WO99DAFb3JzxrQLcXPlumSqtbNSE/c2d2zZpGz3vBM/8DnxxtYzBsPa6KYtr QBLM9zkrc2EffYIPfXBX2sDgjW4IAH49fBR0/c8KwMMnDUqyP1N8J82FSKAvoyLOowSy cJ+uLVHw/E+wH6syuvFgvW+HmsZW0YGP8CEhzcxqut8T0Y/ehuQDtzepqU4b9xvC07uD 2VYrT7C8KpYVVUCbb6rzgMJKian/fb6pvcr4dDavCYuU30PVb6oMMMtXBSKJ8lRwp1ff eXmK3sYEisS7Vk9p7yuZJWW1A7xl5q/rBECBQKcxUImttyND2m8CnocUswWL5/krIqUF E19g== 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:in-reply-to :references; bh=qpDIBwAAqcdRJMFimdHsORS+/kiZuXQi81mx3GhRo+c=; b=HgxbFGlAEHNMTyuRiZ3nr+kWhKrG5mTPcObScgJt9uAkRpr4TV6uxjTtnRe0upQtig TmnEBod+dMyzctHEZSzFSGzVooDBeBmkyg3lN+hfF03zqDgp9Lvt/bpJvBA+FRqennLi IGXgG+I6hFWQ2y8s8Tr0WpUOERMmGg9rxEzB1zVJ03jiFjylvIRQ1RXzghP8TVppdgqw 4GFQi7DAoxWKRiutf/kgpWmHiw+Drreb/09ojQ0W2TR23sy0yjN8IGScJM7Df8RlNgJd fyqpF8H/aRsZr0lSp8DfPdCkCW2Di0XhDybQmB41JlJdJ/SKH7GtsMgpjslmB2P8o5zH Wcqw== X-Gm-Message-State: APt69E0lVlCxqcwocyaPVqFRo+6WutSozHr9lv/E44p6ffKFvUcyFTSx 6CvXh1ZygLnWGqHuRGb30lEhgSaR X-Google-Smtp-Source: ADUXVKIioHctf3Ha9pA/Aljf0oGJHOcPN6HkaDUb/ZTbLr5AZanm4kbQT+sdtpRslcQFhAkM0Hr5qw== X-Received: by 2002:a63:b812:: with SMTP id p18-v6mr12787508pge.11.1528663516951; Sun, 10 Jun 2018 13:45:16 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:16 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:47 -0700 Message-Id: <20180610204449.13646-9-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 7/9] clang: bump to version 6.0.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- package/clang/clang.hash | 2 +- package/clang/clang.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/clang/clang.hash b/package/clang/clang.hash index bf54f9bb53..600c3cc9a4 100644 --- a/package/clang/clang.hash +++ b/package/clang/clang.hash @@ -1,3 +1,3 @@ # locally calculated -sha256 fa9ce9724abdb68f166deea0af1f71ca0dfa9af8f7e1261f2cae63c280282800 cfe-5.0.2.src.tar.xz +sha256 e07d6dd8d9ef196cfc8e8bb131cbd6a2ed0b1caf1715f9d05b0f0eeaddb6df32 cfe-6.0.0.src.tar.xz sha256 de4c79665f0f5688b0ace17cba6f8e0343925bb95e0949d66d47bbd4527310d6 LICENSE.TXT diff --git a/package/clang/clang.mk b/package/clang/clang.mk index dc086c6eed..f828bac72a 100644 --- a/package/clang/clang.mk +++ b/package/clang/clang.mk @@ -4,7 +4,7 @@ # ################################################################################ -CLANG_VERSION = 5.0.2 +CLANG_VERSION = 6.0.0 CLANG_SITE = http://llvm.org/releases/$(CLANG_VERSION) CLANG_SOURCE = cfe-$(CLANG_VERSION).src.tar.xz CLANG_LICENSE = NCSA From patchwork Sun Jun 10 20:44:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927423 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="UsFnzGUc"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7d05DQz9s2t for ; Mon, 11 Jun 2018 06:45:32 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6C4B8870B9; Sun, 10 Jun 2018 20:45:30 +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 g7se3l2N6fMn; Sun, 10 Jun 2018 20:45:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 52FCC87062; Sun, 10 Jun 2018 20:45:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 33BF71C01B3 for ; Sun, 10 Jun 2018 20:45:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 308FD86D97 for ; Sun, 10 Jun 2018 20:45:19 +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 kqlqkSWomhWh for ; Sun, 10 Jun 2018 20:45:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9E89D86DB8 for ; Sun, 10 Jun 2018 20:45:18 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id c22-v6so8747727pfi.2 for ; Sun, 10 Jun 2018 13:45:18 -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:in-reply-to:references; bh=2FCDt8eDZ0rcfAyRlPwr74Fg9zHzLTTXJV273R/rbSo=; b=UsFnzGUc8tpju1fmJTrJezc1MrnYCo+sKLvAwPJBaO6yeFg6XSCoeUunccGC+cEP7G inq/0qY7NglEpNVqt0JO7cvdcLJMIMYL/U+OWfBdDBvGcYuZmAPSxdoGdi9ZmuR9ovTb NZ3A3UFpruBJbutOrwNgXzPB3NrSu3igxEkPY2Wlp8MmlxzQGCY1Zcm3EbDwnrcve1Jn kAbm5DgAtwhbkQsSyOgL74ERZHCIUKMz4RHqOPiB11her10bKCiMNzz954OCA2xMEpYH sVWWZJ59SQTxY2dOhkD22tEHtDrsB5vgNHA7I6EB6QPtxGJoPthLDX3UnI4LPuLKQSYq Q2bw== 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:in-reply-to :references; bh=2FCDt8eDZ0rcfAyRlPwr74Fg9zHzLTTXJV273R/rbSo=; b=C8xbrQvm8BUYiSiiMvnk9P2jqF172nEseRDzDDvLjTK+Qi+FaOKLjOH9sIoBwlrAVF K21+UI5GGNwRHNx44jS2dAfJviWiq2pAliQOCqcdMxeDCrT0h/WqxKpOBw4B/nFRs7OJ ajU73x5IrJ93E9f06e8upP143U5b5ZWfuIAuuNBdJ0x86kAg4gP3YCsy86oyT0ElJf1Q gDo6Fbw89fZ7QsHUAVNHaWnHqq+E19HpjsWDlIGoGnAHui+2wvhBGIemAsZQoIUDCUKz QExjHDXNR91c6hQh9cofjeldgkdr2iX+SxX8EM25tfDieJH5BfcCylruxirL8L6+4Oxn 4dDA== X-Gm-Message-State: APt69E2s4wwtqxz0aQz5lgPTBADBunXCTbqSIH0eP8QK3IKq1eR4lmC9 W/1i0EPzwwjt1rEkeS4U5HUteqPr X-Google-Smtp-Source: ADUXVKLvfJ7K/gR5m4M6k8Wb0igbomWLzTE+r5TFf+mpc7jBjR9WqBQX4tu+HIaJwqnI9pny2T3FqA== X-Received: by 2002:a63:780b:: with SMTP id t11-v6mr12315524pgc.91.1528663517967; Sun, 10 Jun 2018 13:45:17 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:17 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:48 -0700 Message-Id: <20180610204449.13646-10-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 8/9] lld: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- DEVELOPERS | 1 + package/Config.in | 1 + package/lld/Config.in | 3 +++ package/lld/lld.hash | 3 +++ package/lld/lld.mk | 19 +++++++++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/lld/Config.in create mode 100644 package/lld/lld.hash create mode 100644 package/lld/lld.mk diff --git a/DEVELOPERS b/DEVELOPERS index 568f47d242..ef6fd32fed 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -959,6 +959,7 @@ F: package/at-spi2-atk/ F: package/at-spi2-core/ F: package/gconf/ F: package/libnss/ +F: package/lld/ F: package/python-cython/ F: package/python-raven/ F: package/python-schedule/ diff --git a/package/Config.in b/package/Config.in index c2e619b317..e4eb87b574 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1565,6 +1565,7 @@ menu "Other" source "package/libuv/Config.in" source "package/lightning/Config.in" source "package/linux-pam/Config.in" + source "package/lld/Config.in" source "package/llvm/Config.in" if BR2_PACKAGE_LINUX_PAM comment "linux-pam plugins" diff --git a/package/lld/Config.in b/package/lld/Config.in new file mode 100644 index 0000000000..0ad50fd608 --- /dev/null +++ b/package/lld/Config.in @@ -0,0 +1,3 @@ +config BR2_PACKAGE_LLD + bool "lld" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS diff --git a/package/lld/lld.hash b/package/lld/lld.hash new file mode 100644 index 0000000000..ce81c7baca --- /dev/null +++ b/package/lld/lld.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 6b8c4a833cf30230c0213d78dbac01af21387b298225de90ab56032ca79c0e0b lld-6.0.0.src.tar.xz +sha256 f0502d2d0e19748c534ee95ea486c092273303dbef76404c8b17dc8bf6ca441b LICENSE.TXT diff --git a/package/lld/lld.mk b/package/lld/lld.mk new file mode 100644 index 0000000000..cfaf3dbd29 --- /dev/null +++ b/package/lld/lld.mk @@ -0,0 +1,19 @@ +############################################################################### +# +# lld +# +############################################################################### + +LLD_VERSION = 6.0.0 +LLD_SITE = https://llvm.org/releases/$(LLD_VERSION) +LLD_SOURCE = lld-$(LLD_VERSION).src.tar.xz +LLD_LICENSE = NCSA +LLD_LICENSE_FILES = LICENSE.TXT +LLD_SUPPORTS_IN_SOURCE_BUILD = NO + +HOST_LLD_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release +LLD_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) + From patchwork Sun Jun 10 20:44:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927425 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.133; helo=hemlock.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="BfbNwMDH"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413p7l6w9nz9s2t for ; Mon, 11 Jun 2018 06:45:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5446787F1B; Sun, 10 Jun 2018 20:45:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nms04nEbeRpa; Sun, 10 Jun 2018 20:45:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 82C1C88162; Sun, 10 Jun 2018 20:45:35 +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 12F751C01B3 for ; Sun, 10 Jun 2018 20:45:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0D617244A8 for ; Sun, 10 Jun 2018 20:45:23 +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 dn1-JPhTIBRM for ; Sun, 10 Jun 2018 20:45:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by silver.osuosl.org (Postfix) with ESMTPS id 088082457A for ; Sun, 10 Jun 2018 20:45:20 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id 15-v6so8766458pge.2 for ; Sun, 10 Jun 2018 13:45:20 -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:in-reply-to:references; bh=O/db1fICXn9aeVwXtVMRce5iDYpwCJ7KrkC4tk0DSWI=; b=BfbNwMDHP53kd4Ogx7/gu2tWqsw/uJNftOPpGl3qRqd5WwqYLiNHF5aIYS31TqvEur Wu4DG9x/GcUAz99fhuPyd/+KAcZI2lGVlQv5TyKt+iAb1w2qW/e/a93nBtAMWAlIOunS KtCJp/l4NDb+HHFl2krTRea1nczdl5SCUjYlnP8ssj5L24DRuhPz64uNnAuUk/QRMi9R Aq3ErbwC9ARm4z4ALL4a4f5F8WgzXS+jo8YeWEbv1ZdrrPAUvxpHY6/i9avGjCueXZXI eAUCpyZmVacGek0dmNuuoPYRUgOGS8Ac5rpMya8PJrX15HNwhrATPR/Iew2DM53fRKYb B29A== 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:in-reply-to :references; bh=O/db1fICXn9aeVwXtVMRce5iDYpwCJ7KrkC4tk0DSWI=; b=pVKuN53ixZZAC2Z41E6GaSVCUAPqDDg/vk1XUhrE5RR6rCF7cr269XvqKKIMRTHJSR MRlzEUMBADaw/09eIxW+GKWtANOcu51CiHFov2YXPm+YDQ+P/1s+1uEjkxzr8+ZDwy6A gdQVy5nrkd45Xhf7BITxuTy9WMjjPMARlNMctExZEg58I+8HV+mWn4stBmjN1lBAEisc o5fI4hy+z/SL/upjs54fmnOnN2agMEvyJM3MRV9L6Jf0zxLcH8WJAICP5ZlPEb7BYFqW stpjrFeM6zZQu3/oeIl/2FP6Wpgr7UBz7X9pO62I/OaPfwmHd7v06Ct8wec+6F6sEaMX d+5w== X-Gm-Message-State: APt69E3V8f8K8e8QWo7T56yDJ00QXh74YFvjwXGSLZ/jWHbgy/a2QEa1 VyNYbvrdHxpVA02hhFDnrYh58fM4 X-Google-Smtp-Source: ADUXVKL3Y/4YWTaH5+7+gmp17sqPWEqkPNLAiMvu0Rtqtr0F0A+tTtBpgiSy/Q3TYDhmSQxDpBElpw== X-Received: by 2002:a63:a902:: with SMTP id u2-v6mr7380701pge.67.1528663519348; Sun, 10 Jun 2018 13:45:19 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id g12-v6sm28256397pfh.164.2018.06.10.13.45.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:45:18 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:44:49 -0700 Message-Id: <20180610204449.13646-11-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610204449.13646-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> <20180610204449.13646-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v2 9/9] chromium: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Valentin Korenblit , Joseph Kogut , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut --- DEVELOPERS | 1 + package/Config.in | 1 + package/chromium/Config.in | 44 +++++++++ package/chromium/chromium.hash | 4 + package/chromium/chromium.mk | 137 ++++++++++++++++++++++++++++ package/chromium/toolchain/BUILD.gn | 71 ++++++++++++++ 6 files changed, 258 insertions(+) create mode 100644 package/chromium/Config.in create mode 100644 package/chromium/chromium.hash create mode 100644 package/chromium/chromium.mk create mode 100644 package/chromium/toolchain/BUILD.gn diff --git a/DEVELOPERS b/DEVELOPERS index ef6fd32fed..1ad680509c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -957,6 +957,7 @@ F: configs/qemu_ppc64le_pseries_defconfig N: Joseph Kogut F: package/at-spi2-atk/ F: package/at-spi2-core/ +F: package/chromium/ F: package/gconf/ F: package/libnss/ F: package/lld/ diff --git a/package/Config.in b/package/Config.in index e4eb87b574..80248a798c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -14,6 +14,7 @@ menu "Audio and video applications" source "package/aumix/Config.in" source "package/bellagio/Config.in" source "package/bluez-alsa/Config.in" + source "package/chromium/Config.in" source "package/dvblast/Config.in" source "package/dvdauthor/Config.in" source "package/dvdrw-tools/Config.in" diff --git a/package/chromium/Config.in b/package/chromium/Config.in new file mode 100644 index 0000000000..db4623f554 --- /dev/null +++ b/package/chromium/Config.in @@ -0,0 +1,44 @@ +config BR2_PACKAGE_CHROMIUM + bool "chromium" + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_CUPS + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_LLVM_ENABLE_HOST_ARCH + select BR2_PACKAGE_HOST_CLANG + select BR2_PACKAGE_HOST_LLD + select BR2_PACKAGE_HOST_NINJA + select BR2_PACKAGE_HOST_NODEJS + select BR2_PACKAGE_HOST_PYTHON + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBERATION # runtime + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11 + select BR2_PACKAGE_LIBKRB5 + select BR2_PACKAGE_LIBNSS + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_PCIUTILS + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE + select BR2_PACKAGE_XLIB_LIBXCURSOR + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_XLIB_LIBXSCRNSAVER + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XORG7 + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 + +config BR2_PACKAGE_CHROMIUM_TARGET_ARCH + string + default "arm" if BR2_arm + default "arm64" if BR2_aarch64 + default "x86" if BR2_i386 + default "x64" if BR2_x86_64 + default "mips" if BR2_mips + +comment "chromium needs toolchain w/ Glibc" + depends on !BR2_TOOLCHAIN_USES_GLIBC + +comment "chromium depends on X.org and needs an OpenGL backend" + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL diff --git a/package/chromium/chromium.hash b/package/chromium/chromium.hash new file mode 100644 index 0000000000..1af15cb23b --- /dev/null +++ b/package/chromium/chromium.hash @@ -0,0 +1,4 @@ +# locally calculated +sha256 f8b1e5319163e378027826b12cf256b97423bb90e10e2013469d96e03bc9db8a chromium-67.0.3396.79.tar.xz +sha256 845022e0c1db1abb41a6ba4cd3c4b674ec290f3359d9d3c78ae558d4c0ed9308 LICENSE + diff --git a/package/chromium/chromium.mk b/package/chromium/chromium.mk new file mode 100644 index 0000000000..4e6d90c52d --- /dev/null +++ b/package/chromium/chromium.mk @@ -0,0 +1,137 @@ +############################################################################### +# +# Chromium +# +############################################################################### + +CHROMIUM_VERSION = 67.0.3396.79 +CHROMIUM_SITE = https://commondatastorage.googleapis.com/chromium-browser-official +CHROMIUM_SOURCE = chromium-$(CHROMIUM_VERSION).tar.xz +CHROMIUM_LICENSE = BSD-Style +CHROMIUM_LICENSE_FILES = LICENSE +CHROMIUM_DEPENDENCIES = alsa-lib cups dbus freetype harfbuzz \ + host-clang host-lld host-ninja host-nodejs host-python \ + jpeg libdrm libglib2 libkrb5 libnss libpng pciutils \ + xlib_libXcomposite xlib_libXScrnSaver xlib_libXcursor \ + xlib_libXrandr zlib + +CHROMIUM_TOOLCHAIN_CONFIG_PATH = $(shell pwd)/package/chromium/toolchain + +CHROMIUM_OPTS = \ + host_toolchain=\"$(CHROMIUM_TOOLCHAIN_CONFIG_PATH):host\" \ + v8_snapshot_toolchain=\"$(CHROMIUM_TOOLCHAIN_CONFIG_PATH):v8_snapshot\" \ + custom_toolchain=\"$(CHROMIUM_TOOLCHAIN_CONFIG_PATH):target\" \ + use_lld=true \ + is_clang=true \ + clang_use_chrome_plugins=false \ + treat_warnings_as_errors=false \ + use_gnome_keyring=false \ + linux_use_bundled_binutils=false \ + use_sysroot=false \ + target_sysroot=\"$(STAGING_DIR)\" \ + target_cpu=\"$(BR2_PACKAGE_CHROMIUM_TARGET_ARCH)\" \ + enable_nacl=false \ + use_dbus=true \ + use_cups=true \ + use_system_zlib=true \ + use_system_libjpeg=true \ + use_system_libpng=true \ + use_system_libdrm=true \ + use_system_harfbuzz=true \ + use_system_freetype=true + +# tcmalloc has portability issues +CHROMIUM_OPTS += use_allocator=\"none\" + +ifeq ($(BR2_ENABLE_DEBUG),y) + CHROMIUM_OPTS += is_debug=true +else + CHROMIUM_OPTS += is_debug=false +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) + CHROMIUM_DEPENDENCIES += pulseaudio + CHROMIUM_OPTS += use_pulseaudio=true +else + CHROMIUM_OPTS += use_pulseaudio=false +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3),y) + CHROMIUM_DEPENDENCIES += libgtk3 + CHROMIUM_OPTS += use_gtk3=true +else + CHROMIUM_OPTS += use_gtk3=false +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) +CHROMIUM_TARGET_LDFLAGS += --gcc-toolchain=$(TOOLCHAIN_EXTERNAL_INSTALL_DIR) +else +CHROMIUM_TARGET_LDFLAGS += --gcc-toolchain=$(HOST_DIR) +endif + +CHROMIUM_TARGET_CFLAGS += $(CHROMIUM_TARGET_LDFLAGS) +CHROMIUM_TARGET_CXXFLAGS += $(CHROMIUM_TARGET_CFLAGS) + +CHROMIUM_HOST_CFLAGS += --target=$(HOSTARCH)-buildroot-linux-gnu +CHROMIUM_HOST_CXXFLAGS += $(CHROMIUM_HOST_CFLAGS) +CHROMIUM_HOST_LDFLAGS += --gcc-toolchain="/usr" + +define CHROMIUM_CONFIGURE_CMDS + mkdir -p $(@D)/third_party/node/linux/node-linux-x64/bin + ln -sf $(HOST_DIR)/bin/node $(@D)/third_party/node/linux/node-linux-x64/bin/ + + # The host's toolchain (GCC) is used for generating binaries that are to be + # run on the host. We can use Buildroot's HOST_*FLAGS variables for this + # toolchain. + # + # The generated host-clang toolchain is used for binaries that are built for + # the target, as well as for the V8 engine that's used to generate the V8 + # snapshot on the host. + ( cd $(@D); \ + $(TARGET_MAKE_ENV) \ + $(HOST_DIR)/bin/python2 tools/gn/bootstrap/bootstrap.py -s --no-clean; \ + HOST_AR="$(HOSTAR)" \ + HOST_NM="$(HOSTNM)" \ + HOST_CC="$(HOSTCC)" \ + HOST_CXX="$(HOSTCXX)" \ + HOST_CFLAGS="$(HOST_CFLAGS)" \ + HOST_CXXFLAGS="$(HOST_CXXFLAGS)" \ + V8_AR="$(HOSTAR)" \ + V8_NM="$(HOSTNM)" \ + V8_CC="clang" \ + V8_CXX="clang++" \ + V8_CFLAGS="$(CHROMIUM_HOST_CFLAGS)" \ + V8_CXXFLAGS="$(CHROMIUM_HOST_CXXFLAGS)" \ + V8_LDFLAGS="$(CHROMIUM_HOST_LDFLAGS)" \ + TARGET_AR="ar" \ + TARGET_NM="nm" \ + TARGET_CC="clang" \ + TARGET_CXX="clang++" \ + TARGET_CFLAGS="$(CHROMIUM_TARGET_CFLAGS)" \ + TARGET_CXXFLAGS="$(CHROMIUM_TARGET_CXXFLAGS)" \ + TARGET_LDFLAGS="$(CHROMIUM_TARGET_LDFLAGS)" \ + out/Release/gn gen out/Release --args="$(CHROMIUM_OPTS)" \ + --script-executable=$(HOST_DIR)/bin/python2 \ + ) +endef + +define CHROMIUM_BUILD_CMDS + ( cd $(@D); \ + $(TARGET_MAKE_ENV) \ + ninja -j$(PARALLEL_JOBS) -C out/Release chrome chrome_sandbox chromedriver \ + ) +endef + +define CHROMIUM_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/out/Release/chrome $(TARGET_DIR)/usr/lib/chromium/chromium + $(INSTALL) -Dm4755 $(@D)/out/Release/chrome_sandbox \ + $(TARGET_DIR)/usr/lib/chromium/chrome-sandbox + cp $(@D)/out/Release/{chrome_{100,200}_percent,resources}.pak \ + $(@D)/out/Release/{*.bin,chromedriver} \ + $(TARGET_DIR)/usr/lib/chromium/ + $(INSTALL) -Dm644 -t $(TARGET_DIR)/usr/lib/chromium/locales \ + $(@D)/out/Release/locales/*.pak + cp $(@D)/out/Release/icudtl.dat $(TARGET_DIR)/usr/lib/chromium/ +endef + +$(eval $(generic-package)) diff --git a/package/chromium/toolchain/BUILD.gn b/package/chromium/toolchain/BUILD.gn new file mode 100644 index 0000000000..e8525bd67d --- /dev/null +++ b/package/chromium/toolchain/BUILD.gn @@ -0,0 +1,71 @@ +import("//build/toolchain/gcc_toolchain.gni") +import("//build/config/sysroot.gni") + +gcc_toolchain("host") { + cc = getenv("HOST_CC") + cxx = getenv("HOST_CXX") + ar = getenv("HOST_AR") + nm = getenv("HOST_NM") + ld = cxx + + extra_cflags = getenv("HOST_CFLAGS") + extra_cppflags = getenv("HOST_CPPFLAGS") + extra_cxxflags = getenv("HOST_CXXFLAGS") + extra_ldflags = getenv("HOST_LDFLAGS") + + toolchain_args = { + cc_wrapper = "" + current_cpu = host_cpu + current_os = host_os + is_clang = false + use_sysroot = false + use_lld = false + } +} + +gcc_toolchain("target") { + cc = getenv("TARGET_CC") + cxx = getenv("TARGET_CXX") + ar = getenv("TARGET_AR") + nm = getenv("TARGET_NM") + ld = cxx + + extra_cflags = getenv("TARGET_CFLAGS") + extra_cppflags = getenv("TARGET_CPPFLAGS") + extra_cxxflags = getenv("TARGET_CXXFLAGS") + extra_ldflags = getenv("TARGET_LDFLAGS") + + toolchain_args = { + cc_wrapper = "" + current_cpu = target_cpu + current_os = target_os + is_clang = is_clang + use_sysroot = use_sysroot + } +} + +gcc_toolchain("v8_snapshot") { + cc = getenv("V8_CC") + cxx = getenv("V8_CXX") + ar = getenv("V8_AR") + nm = getenv("V8_NM") + ld = cxx + + extra_cflags = getenv("V8_CFLAGS") + extra_cppflags = getenv("V8_CPPFLAGS") + extra_cxxflags = getenv("V8_CXXFLAGS") + extra_ldflags = getenv("V8_LDFLAGS") + + toolchain_args = { + cc_wrapper = "" + if (target_cpu == "x86" || target_cpu == "arm" || target_cpu == "mipsel") { + current_cpu = "x86" + } else { + current_cpu = "x64" + } + current_os = host_os + is_clang = is_clang + use_sysroot = false + } +} +