From patchwork Sun Jun 10 20:54:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927427 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.137; helo=fraxinus.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="hEOsCSrp"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413pL33MTDz9s2t for ; Mon, 11 Jun 2018 06:54:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3852386B02; Sun, 10 Jun 2018 20:54:33 +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 MDaQspW0y3yg; Sun, 10 Jun 2018 20:54:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8ABEF869BE; Sun, 10 Jun 2018 20:54:32 +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 F1C711C01B3 for ; Sun, 10 Jun 2018 20:54:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id ECA1B869BE for ; Sun, 10 Jun 2018 20:54:27 +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 crA1n2bSuJIO for ; Sun, 10 Jun 2018 20:54:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl0-f49.google.com (mail-pl0-f49.google.com [209.85.160.49]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7CD38869B7 for ; Sun, 10 Jun 2018 20:54:27 +0000 (UTC) Received: by mail-pl0-f49.google.com with SMTP id t12-v6so11128905plo.7 for ; Sun, 10 Jun 2018 13:54:27 -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=hEOsCSrp364wCy+IsoZs1ZCzJ3R2zO72YPy8y+vbfFr07sFg0lafUxYr1vjCWCBSrk CCmh4+Z5XxoMz5oPOfl6VGubNVhpLMPNiAVWX9uvp9Vl60VZ+urrIBXF8PfnWbN3DHM0 1f8FDk+qmV6PRC7pxrmiE2lD8gqQWoJIJ5Ko7M51aHOT7Ere20jD1jfScnxnv/y8ATjT 9KGlfHeyqDOT/pU7TY9JISkeaKNVtlRtPRBBexuBSqCgcyf57R+0WKxKj/en4Gm1uhPm MnRWjcLb0WMr8I4/9vkYcYgbRruWsp2ar83U8Aw4Z+i9vd+lT3Nl2A++6RAkNxpF3jda DKhA== 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=P0k8vt7iZCgmvp/CBa4uuZTbd6DoGFMe364FEufgZ4zcs+wbCHt1FSHakXsOhZ2+M9 nAv3vEHwoppQ22pAD9pwEClgtttZuC2eRjlLXIof+G0R7vvUhEzZ8JfaLSEszcts1CpT 9HbQ6mTctubECbLae6dO+Hy7HFFN/GcsP4ARQBBl6OyZPRLfQboQekAurNOu85/zHDP5 e2NrTfJYo3myS1wwKQSMfJIGP2M0YC0gDyc0ybCBnrK9YTzAxnZ3UxsDe1N2Tio5UPWO TmXtO976KO1znGX0LyncI3d0khgMEoI0N87LD8polwfng+ypCL0RU9c4mMg7lkUGPneG RbSg== X-Gm-Message-State: APt69E15X2bAkRYaZPTNgQJvDiv88+AoYYqgl6UlIHtmpImt9Cyoyc6d M624ECjJWoYOhFq4UUHEJVSr9siO X-Google-Smtp-Source: ADUXVKKHTkFdIZsnaGMRB0pfoDgDV33ZPgTxuSAlvbD4sHmOaBCXxthfbuWyl+JLg1Jo9ra6ASzHCA== X-Received: by 2002:a17:902:7009:: with SMTP id y9-v6mr15602031plk.217.1528664066822; Sun, 10 Jun 2018 13:54:26 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:26 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:09 -0700 Message-Id: <20180610205417.13963-2-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927429 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="W5yAS4zR"; 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 413pL74g65z9s2t for ; Mon, 11 Jun 2018 06:54:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D095880B0; Sun, 10 Jun 2018 20:54: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 mCebAvSzijHD; Sun, 10 Jun 2018 20:54:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 536CE880AB; Sun, 10 Jun 2018 20:54:33 +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 E07471C01B3 for ; Sun, 10 Jun 2018 20:54:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D9CC9245F5 for ; Sun, 10 Jun 2018 20:54:29 +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 jCGnJJbwtKuT for ; Sun, 10 Jun 2018 20:54:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by silver.osuosl.org (Postfix) with ESMTPS id 7A7BE2455B for ; Sun, 10 Jun 2018 20:54:28 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id a7-v6so8653062plp.3 for ; Sun, 10 Jun 2018 13:54:28 -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=W5yAS4zRLrfSRfCoPYGCMNU+Bvzfq6iRsRl4JRN2IykllnVnxlTjT5bS0RcvF4Zwck yw5+Hr9bVUQ+kruBV44qSaqDIWlAel7verWw+dn9ahNCzBzmfXnIJSLwhRhJRW2zKT7M azeY0tmvoyBxhfwiNb8IAqdr4nUhTnGgaXyp6c+7rj6a9nQHCsLo/8Tx2YWNgMLb7CKp Wv7uaiDQAmXUGwMSlKNwHtT+zDJSEzaCkNTWv/zHJ+Ux6cyQercPI/w1F8UPwaLpibsm ddYJkdwnU9BPogA7+0yfEDI3tgr+VBeAtNtvl62rlozVbJSUtdk4A8ZfDuBUhbw2CGNz lmCQ== 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=Iz+KhN6qhDJrO8CesOU/IVGSAcjRzyNNB/6rFEozeg61YurQQGM3pN7yWtqwfsUqjW emhjqYM5NotGf6fAtlAGiUD+JN0OAY+3YHVqDgjxrLrOOFrawKqQqojf6W9FhpLl8r2A KhmNs+czAMvbinxdRNXbSjJvIpatILFSJuvZ3NAF4T2/oXkyFVfPiN6CPsM6xfPJkkE3 3xDDmA46H4mZVyZwwzdJpl5bkCgyCQI1k0TESpbbeQxYahx0wxRPDRq2tMeOr21+SVDO U/1FUn25gvTHcELGSy7qHiXFsEj9rxcE1FMc+Y8l/xmxnYkQMwK9RLaHm6Ncdxjh/HHH WqnQ== X-Gm-Message-State: APt69E011wDmfnkVqHelzHp3zI0SIiXZT0FuVLl13FZ7+dIuIlxRoDZX rKh2kDH0yhUwSG3+3OXaYaobbA/A X-Google-Smtp-Source: ADUXVKKFn5re9LKp12tOaHnWlJQ5sjL8+UTNWxhkWHZP6m6yl8m/oaWQvnqdv4biGrEfDdQE8bTvXg== X-Received: by 2002:a17:902:760e:: with SMTP id k14-v6mr15632145pll.310.1528664067827; Sun, 10 Jun 2018 13:54:27 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:27 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:10 -0700 Message-Id: <20180610205417.13963-3-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927431 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.137; helo=fraxinus.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="FA1K3+FY"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413pL86jpvz9s3R for ; Mon, 11 Jun 2018 06:54:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 73E6F86B34; Sun, 10 Jun 2018 20:54:36 +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 UbZ3e38v1aSZ; Sun, 10 Jun 2018 20:54:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0087A86B09; Sun, 10 Jun 2018 20:54:33 +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 2748B1C01B3 for ; Sun, 10 Jun 2018 20:54:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2503187FCD for ; Sun, 10 Jun 2018 20:54:30 +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 MkyouL8lLkg0 for ; Sun, 10 Jun 2018 20:54:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9081E87FC9 for ; Sun, 10 Jun 2018 20:54:29 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id 31-v6so11141859plc.4 for ; Sun, 10 Jun 2018 13:54:29 -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=FA1K3+FYSkDYR6zN7vBd6auehVc/GTB6FwhMVE1bqirEN7a6ZOP85AsiWaSisTs3dT 0rlH/VxRXtSk/3mZ3iaJzu24Cx7laPBPwnjuCy+WVvwv0el8W3+jJpl8Ots+feiytHId mRKxOvh7jB6FKr3XwHlXgU8CUBQcwtfO0WhJGsFVJDo3IKvNLYXFDtgMjRkivdh0d6zI wqvN2vKCS1UG6i1g3SrkGyNI2xRqVjr505mXLq2NLSueJ3ZV0fB4PfBxvxLzF6BrqlEG nyAAu+mOoC3lIWuO50RmtUEYV5zaxIDKe2YnfziYS1XBNoypxPNq3JbZDB1EDGzFeuyV CG8g== 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=F9E2iMI0Kk+SfRc2nb3hNDA424hGEMsOeVZFWOUMhzClkKecYTitWnBVpKPs0rGGff 05CftnhGiLJHsABq9V+HIwpFznNxQ07TUu7EiqUf17uxPsrGYCV0BcbR7SSkJ7MvIQde 4q1wduczqy4QiT9IognaikwARGZmCa609ZQDegpH3hzSfrvMagj4Q0rxgTCx1EIIiOz3 ngjgGRvDBTPRFztvqpxZ0Z0kD9SGnrgrvpIhpD2GXZ0TEr2onm/dZ5wCBggIqqFiSeAT I7pn2Mr+1upsnf8OEYKw7nI50DHdXYZ6sVP6WNGv3GQ12tOqpRbHvJZ/cevR1LfySjQd fb6g== X-Gm-Message-State: APt69E01/SnD6HHliVs33Tx+3vDXvPSXRTgIOWnIBCUIsHNRiXvXqjQV oV2BgnGrBU5zt4nFYIIC828zuwBO X-Google-Smtp-Source: ADUXVKJuCJf6mzwKOZ1I02uoageKM2glHH7p3ZGYx95JfIm4VWVaeX+duJxdZJ1DiEf5+9HeQ2tslA== X-Received: by 2002:a17:902:20c9:: with SMTP id v9-v6mr15641048plg.206.1528664068914; Sun, 10 Jun 2018 13:54:28 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:28 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:11 -0700 Message-Id: <20180610205417.13963-4-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927430 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="eyOkmxGV"; 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 413pL82gF5z9s3C for ; Mon, 11 Jun 2018 06:54:40 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2BAE724771; Sun, 10 Jun 2018 20:54:38 +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 eh0LBFHPR04k; Sun, 10 Jun 2018 20:54:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 64C8B2455B; Sun, 10 Jun 2018 20:54:35 +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 7DE651C01B3 for ; Sun, 10 Jun 2018 20:54:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 789E385E67 for ; Sun, 10 Jun 2018 20:54:31 +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 aBVXBmpqV0Jy for ; Sun, 10 Jun 2018 20:54:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id AFCBA85D8D for ; Sun, 10 Jun 2018 20:54:30 +0000 (UTC) Received: by mail-pl0-f68.google.com with SMTP id 31-v6so11141879plc.4 for ; Sun, 10 Jun 2018 13:54:30 -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=eyOkmxGVW2exRTc/xYa5ZG+hunO4qo4hjiAtox7fEFmARBgw77bGsgD/Zft/ljms9T JldAYbvQzn9w8NKIvw0YIs227ZSFhedTZwVmf3ID8pIUxTn+PmHY8Qi3F8vIzUAIZrxJ vxiKCCeihLbQQ5lkEpBXUC4Y5GgTbP3DoRqma8dIjxLjPB9u7lqVJyhKAT/NZQzt2QzQ LajpYbIjWPb8gIwLkQRM6slBHjYelNWd4VQe4ylZGTjMB8Lyve2oib9eWMuSGxie4nmY bVUx+K8q90UiKrDzOzzIVfGUQiEJa+zrh17XUEVt88ABlsX1HGYv4yqggxCuVhVT/RFo dtww== 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=tQv0VoZJXmblj5nfZGvO8xwq/UJ5SIR6nSTKkxEDjI6E0b99fsLt9LFlhTsVoQYWPb ptmG5UMHhKER1ioYh35CDwrqDFn9fntU4K9VEt7IEegldWHz2eoLSdBliTsRhQCKG0g5 lHsRQKb4cljChxRoRl3PGmDvbKkJYKHRBr/u3BQq2NM1Ii+dglBbtdZOS5YgF8iDhm1r 77lYU2+DRIEdLHmrWrm9LlLcjMyk1hQOhBjKxYB/6oGtstOYps8ieJCbfyg5Hlpuu2Dw 6ErTlymsXL54fCWSWGGxWjX6M4W6pIzdfwfkHHEEWQCgSAFWtJxu7ZBcdHAGc7j+IQTR a0zQ== X-Gm-Message-State: APt69E2UCp89xFArN8feZjH0v1CcpwDeIXQWQ6zxOsRKF48gryeg0FqY JR/eh/6VpihLu1DNqRo6kQpFGjER X-Google-Smtp-Source: ADUXVKLUnUuYdGU67xgFldHU0q84HLHK4JmiUCTsxZB+CqP2gH/bQw1f5Kk2HvLIObJctaZ6WngBog== X-Received: by 2002:a17:902:530e:: with SMTP id b14-v6mr15886189pli.316.1528664069975; Sun, 10 Jun 2018 13:54:29 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:29 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:12 -0700 Message-Id: <20180610205417.13963-5-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927428 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="PzoQ3igG"; 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 413pL75PLhz9s31 for ; Mon, 11 Jun 2018 06:54:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 491F9880FA; Sun, 10 Jun 2018 20:54:36 +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 eUu3zEFjTZys; Sun, 10 Jun 2018 20:54:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0FC63880B9; Sun, 10 Jun 2018 20:54:36 +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 DAA421C01B3 for ; Sun, 10 Jun 2018 20:54:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D806C85E67 for ; Sun, 10 Jun 2018 20:54:31 +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 X1-EVb6doMyY for ; Sun, 10 Jun 2018 20:54:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id B547A85D8D for ; Sun, 10 Jun 2018 20:54:31 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id p21-v6so8762394pgd.11 for ; Sun, 10 Jun 2018 13:54:31 -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=PzoQ3igGWq6pzLeXs2HfqwO3FD5kSzyNhWQY5ve/o05sW//RZQR6UeV+dP2grNDEKm xyCyorlKwV/Ksdy5Quw6auxqjnPix6eoiqwaxPKO7/SwpRM48tYC60dhHq3K/Rp/U1r/ CtBruVbCG6itfDH97XWgT/qpJV0habMONmEPnHdabfBcIgFL7hheEYfLxqxoVkDIA41V s1/6EIiv5c4sLCjODUuZjYMvxOOHp6aq6tfRMYq4CpIvpS3C+rZ4OUx0IRPjj9tHbel6 3z/zoGRC4x1Hf/Kf5sp3H5XTQAC/fkwWfCEfrONUlJrDaQoGMKdUlZ8fuGkjO/XcIxwy sgGg== 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=Zk3lg+zJTEHT6ZEDWLqIf/3pwH4KNjD3QyCqS1n5XWWdPxpti8c2PifmYUTnJmNQT3 LHoMP6kYdRwl3Z3F3mRrutWCM2rUGx6359rVsZbsht9JUOR+YB1w86rPOXGWGEYShBZC 3h498ivCH3iXd1u581OOfccrZGFtpnU/7zt+KbNjOXE1PVH+wLhbMx/eU9prTs1MJZ8B 2p+bqzyLbUKS9fws5DmQCBsUa7Gfmid5kLC1AHYoawBbcthHHb4Pmfpa3rZooOJ0fiLC lcUxqHbALt1VHR6Dkz905asMC0scZMoCtR+93Ovq50kZi3sFW17tSuJTZ2bi/vSBTdJI 8Mvg== X-Gm-Message-State: APt69E37mRDXeukb3sZv8NzZaA6TP6ZW6IkCZOpHJqQxr9Q6dUbEHmNa LWk9QW07p3NsryMtW2MhPrUs8jJj X-Google-Smtp-Source: ADUXVKJu8lIETUERDJit5wXcmL4Ty000+xf1IgafLuncNeppj9kH/7xpo4XP/blVGc5te1/dhyUZvw== X-Received: by 2002:a63:9a52:: with SMTP id e18-v6mr12409669pgo.188.1528664071119; Sun, 10 Jun 2018 13:54:31 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:30 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:13 -0700 Message-Id: <20180610205417.13963-6-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927432 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="ED6RcUbK"; 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 413pLJ4gr1z9s2t for ; Mon, 11 Jun 2018 06:54:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ACCC887060; Sun, 10 Jun 2018 20:54:46 +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 HU-a5gzY2ESB; Sun, 10 Jun 2018 20:54:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1431586DB3; Sun, 10 Jun 2018 20:54:45 +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 F3AA51C01B3 for ; Sun, 10 Jun 2018 20:54:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E4727869BE for ; Sun, 10 Jun 2018 20:54:33 +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 TCqEVlcE8b5M for ; Sun, 10 Jun 2018 20:54:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C1180869C5 for ; Sun, 10 Jun 2018 20:54:32 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id w12-v6so8772308pgc.6 for ; Sun, 10 Jun 2018 13:54:32 -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=ED6RcUbKN7cwh2ACzBK/lJy8k9GNJNCRZTmCvcNY9434H6RtFE1nWL6BQOll9lbgEj +/NDB6ZEZF/Z1J2jwi0alIGuPd+9eh78Nw3N8t+KtNx+feE4ioSgpLjl/GE5vZ9y5DRW 4y2XWxRIqzrwj5uyJ8kQlaTckgkOboIBnyL+SFy9Nf5mo4tJDne8Y9UMAdycVdDiFt6K E5UcrmUQ5dnIQ5BQnqCHpt6bCM0RcBOo7yOzuNAsVYanG8rVDODOjBrPNCxocDtflPDW rGtxJ67SMjz5oC1glOo3mw3JuR3NEVoIen2ueUqm/Lo1CCgBBZzaZuW9s61k/a6RHiT7 r17g== 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=E4dBjNw/6oe8lkJ1vE8KjI83K+2OXKdrP53jVenOD67yV5oEWCN9osZXQLrBymilti INBimtJ2x6ZuKSuaBs159ntImroKFGCZwLN3xomUhCMA2zYZ7Nm7w5kKO5VubvcT21/l h1mI0NiTePk5m/bE7grO9ZwcA9X0KJ+TlIyBTCw8NhlfwjnW0t2Xm19DlnKB2d2fY5jX Ji7SXhlZ+qjlRknT4tpNelZSN9QZ8c2Hqum6sRmTb7ecaAWKRDJ+S7FG4S2DSobf0Tlr Z9ox2dYpDM+PGriBHKzCCLzqU5Qu100958C928Hbl6yaRWcBUtIpjr0pJGPKcsMBZk0R DvMg== X-Gm-Message-State: APt69E0sU/o0yO2O8x4vnrgXeqVWR+DCI/J7kpogsePA/61CVOqjKA2I GC7zZhkSjxwBrW86iCqWTmcCruBa X-Google-Smtp-Source: ADUXVKKg+lNbhEUJSk/qfkonV1kHqtlQ9r5tzNfoz4bHadSa70Tlx+bCkF0MUw2CCAzcf9m94UVPWA== X-Received: by 2002:a65:64d3:: with SMTP id t19-v6mr12501897pgv.148.1528664072096; Sun, 10 Jun 2018 13:54:32 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:31 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:14 -0700 Message-Id: <20180610205417.13963-7-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927434 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="f7sGE3SF"; 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 413pLQ4Hglz9s31 for ; Mon, 11 Jun 2018 06:54:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9625586DCE; Sun, 10 Jun 2018 20:54:51 +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 QYjz4aqCOq+v; Sun, 10 Jun 2018 20:54:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B3C0086E18; Sun, 10 Jun 2018 20:54:45 +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 F217E1C01B3 for ; Sun, 10 Jun 2018 20:54:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EF5018601E for ; Sun, 10 Jun 2018 20:54:34 +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 8u+ajJwZ9vBx for ; Sun, 10 Jun 2018 20:54:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id C528785D8D for ; Sun, 10 Jun 2018 20:54:33 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id z1-v6so8766489pgv.12 for ; Sun, 10 Jun 2018 13:54:33 -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=f7sGE3SFMdq4ITEyfQaUAPtKWq2msWAoA1jqDLLpq8hlljSlb6Yxx2NnfFE8zUtDbW gPVaAcW+b93I8NgT4wckqbMTCWFYZyzlgT5Jc9cMeEJGqVqnQ4YTVF0hGC3QB49z+FRw 7eYy9sdTBnJoVcxHSzzJC5tYy4RP5pLv6zK+zocmCVfXB0Yx2g5JdhhSux3vj+GvU0vJ oQfz+IOW3yJJFmQBwycOVq17pqBuqksh6ASDSl61duxhgWawVXoHHvbyE1zhRoMyB09z S1Hg9iaSdUyX0Ln48ys6DXmQ8NEVoow1Z6LC+L58tDKBs0uchWLGHtKTy8NFCCK1VpNW nHMA== 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=T+m9LAbooL7cZ35dBzrTJHOETBFMlHmxJXEj+5IxrW8QBgruT9SKf1FuiJp2TkUty1 jZgmEnTy358/fOlQdHLWwOA7jHCnXuBSxacXtzU9pTkwT/Gj3cyA4ArGlgkzUdB/dgWZ 7P11Ec+CPSOS+T6Ce51FXS9CMgMKrKVRgo75GW0l5cFZXpbTvwHTEo9fg3WyhIS8caD3 VO/H5j1jVrUjkJ7l5DcpJaagljieK01QEXKntC+gZqq1B3iC1z/mQpaeVn05YRq3+2bn Z2V9tStqlj0qigH1Frr62X6b+US3ar9YdSx6MAWMOvp03GQ+Wa1Rxui4Tt0sniaBXWPb Z7HQ== X-Gm-Message-State: APt69E26cfdmXeP7fuwM62/yXNf3umc2OX+TmDkMtKd28qCK3uUUQZCS wePBYPNdUPN7+Q4qEqCDkH2m8n+J X-Google-Smtp-Source: ADUXVKJ/mIbIs6wwpgsciEuPPEv8gIDEu9Td5sQzlmTiw8jyQOeBRUVqHTBWwMpyNlT7/8XsgmQyLg== X-Received: by 2002:a63:9e0a:: with SMTP id s10-v6mr12686950pgd.305.1528664073189; Sun, 10 Jun 2018 13:54:33 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:32 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:15 -0700 Message-Id: <20180610205417.13963-8-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927433 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="j4nOtV9V"; 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 413pLQ0rP3z9s2t for ; Mon, 11 Jun 2018 06:54:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 465C9870BB; Sun, 10 Jun 2018 20:54:51 +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 NSBERsqgx13l; Sun, 10 Jun 2018 20:54:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5749D86E4F; Sun, 10 Jun 2018 20:54:46 +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 A7B471C01B3 for ; Sun, 10 Jun 2018 20:54:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A4703246AD for ; Sun, 10 Jun 2018 20:54:35 +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 SNp-BskeDXvP for ; Sun, 10 Jun 2018 20:54:34 +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 CA9D1244BF for ; Sun, 10 Jun 2018 20:54:34 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id z24-v6so9164794pfe.7 for ; Sun, 10 Jun 2018 13:54:34 -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=j4nOtV9VG2WinbQZ4mZcEDVHZg2k6nJgOsM3e0gYuqIAyGm3l3YjQ1d7PfXa+Msk+s zQ5ed4zHpKgfC4CRvj5gWIfFpIzwmiIqVb6d72lqq2sdqzelb4zQsQxVIA9jwWTQyE1V VR+XZxFLc45XSjb08tav3WVAoNK78gFS56Vy9NKIlcA4qJMU62tcQ6R9OevdI48YHJOm lHyxoSeH4utVcRJMI+71Hb/fMmOjUtHzTNiURr3j6TEUKsyIZRu5Yqws3ne8Gic353ZG fm9BBajPT/m3AT0BUV51LSOzsjwkJD/GWdlGpexLjWbElAH+pb2J/KWomoeKUnQKxZsb CFkQ== 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=QdvJfrBk16H7KGN2eh8O5AoVJXG5jA9k5O9XJeq72gsE6x2LpUcjWexUf0g0bXvz3X r/xkjTfVFGeVWDDJHhytg9TAgYJhCeg8vUZ43Z/4WD5LTz9ZxZsfqjfHTzvKYV+axjlp QOxlq1343ENakPWsQ3wqjvWXFNcs0HZRqsjrgvGaaLGFxlGjEbTcITT/SM9tLchf7mvE At0uLL8wyWVBVvyARVnmqz83pdcfCwD2ikw9VOR7HPTIJIkXUjrA2D9zgwvg8c4si2Dc ihzNyxm+NTqE30cp64nWU8GWK+UGgIISbx5SOg+oIMXLwvhSD/SGf61wty9opVBJmLII mZPA== X-Gm-Message-State: APt69E06xFE82fEqlr5hvn72QwFCXmqamdLczPuzDVpk9/8WzL7ZnYuf WFGujmWgQH4A7N2REioj63hGPv5A X-Google-Smtp-Source: ADUXVKIwW96ubevJHzH33lhxoZ+N3Qjw7GEuvsSYCbKoifta5b7xmvNEWDvW2gOxAdwxAW7sAnh+9w== X-Received: by 2002:a63:41c1:: with SMTP id o184-v6mr12723760pga.323.1528664074179; Sun, 10 Jun 2018 13:54:34 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:33 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:16 -0700 Message-Id: <20180610205417.13963-9-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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:54:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927435 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="NVxpFEw9"; 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 413pLc0KcYz9s2t for ; Mon, 11 Jun 2018 06:55:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6BE8686E4F; Sun, 10 Jun 2018 20:55:02 +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 Tz5ZelJA4xOd; Sun, 10 Jun 2018 20:54:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1548C8706B; Sun, 10 Jun 2018 20:54:47 +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 36CDB1C01B3 for ; Sun, 10 Jun 2018 20:54:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 33C2F85D8D for ; Sun, 10 Jun 2018 20:54:37 +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 gpI-YzWGWKfS for ; Sun, 10 Jun 2018 20:54:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0BE6B85FF1 for ; Sun, 10 Jun 2018 20:54:36 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id c10-v6so3143381pgu.9 for ; Sun, 10 Jun 2018 13:54:36 -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=IzP3nzrOXtcdVrPOlEWgNEQq97D7hGA7DWGVtiNPTl4=; b=NVxpFEw9RQosPkJbGUYznO80KcVB6M9X6h8HLxViMDGyJPfeAcDbva638DrceTv5iL OS3RCWqsiTr/DiznTOMRJA5X03WaL1N3EXmJYLrzdwdTGCVKvs34Vz8BHZ7nYdsg0iQe UE8X0sNSt3ZCIuifnSqtyUBbIVAyAY/beS/sC6aO/zT9EDjQ0+hFMOIklgt0ftoSgThA ydquNWQff6VYnRzGUyv69csh0Gw2ofxgur8dOalh0tG8AZ1ax7g2v9fzs/4lWc4Xt6JA usdiM+SxezPan4eSGaFB56bO8h1rha1DXGgFn8vvbi87GtAryaQ8BZaBSd4egJjgDd3x z7EQ== 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=IzP3nzrOXtcdVrPOlEWgNEQq97D7hGA7DWGVtiNPTl4=; b=COmLOszdwV74R1r50bfhBOiG5fGpP977nkFEeLH7y6LR/jGbh4zaBqTEALx5aiopyX fkJb/rAzoFMvkGWrpqpJyTHh+gef5ehmksA90Nd8Hpf0GZ0rXmRTKmI3dg+ZtB25anoW N476t994V8M7HNyEs20TBy1FROkMb69IGN16LnKXtYitx4IW+3VfAC5qKdj74I1cuhPe TtCX+CrQEQk6kzjcSGxt1sP253UAGCIaSJhFqCsuBS2uDg2lA0p4U+b98vD91RFesbPZ /66aZNLM42N5hkrOpBot7arGq3MwdJHgyJP7ATeLWAYQ3uLLj/+rxeeEHgJqkaG+qmXR j36Q== X-Gm-Message-State: APt69E1rfGnhU4aLc5aFiSn7MGFF/vCk99H47Qj9N/g6somN8RPxF2BD +cPzd67M3YbrGZYesrtZh001vC1W X-Google-Smtp-Source: ADUXVKL4Cponwfi+Q2hq3ojp+6euKpkZC5hoIV1bsnZLaPiplK3qDlJD9UrCB/Y0bwfLlKl1w++LaQ== X-Received: by 2002:a63:6c83:: with SMTP id h125-v6mr11548667pgc.46.1528664075298; Sun, 10 Jun 2018 13:54:35 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id l85-v6sm41147760pfk.79.2018.06.10.13.54.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 13:54:34 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Sun, 10 Jun 2018 13:54:17 -0700 Message-Id: <20180610205417.13963-10-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180610205417.13963-1-joseph.kogut@gmail.com> References: <20180610204449.13646-1-joseph.kogut@gmail.com> <20180610205417.13963-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v3 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 + ...iler_cpu_abi-for-buildroot-toolchain.patch | 102 +++++++++++++ package/chromium/Config.in | 44 ++++++ package/chromium/chromium.hash | 4 + package/chromium/chromium.mk | 137 ++++++++++++++++++ package/chromium/toolchain/BUILD.gn | 71 +++++++++ 7 files changed, 360 insertions(+) create mode 100644 package/chromium/0001-modify-compiler_cpu_abi-for-buildroot-toolchain.patch 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/0001-modify-compiler_cpu_abi-for-buildroot-toolchain.patch b/package/chromium/0001-modify-compiler_cpu_abi-for-buildroot-toolchain.patch new file mode 100644 index 0000000000..1848b0bd14 --- /dev/null +++ b/package/chromium/0001-modify-compiler_cpu_abi-for-buildroot-toolchain.patch @@ -0,0 +1,102 @@ +From 3d5106d1d4720e1be8a4bd977be38743d6fb1f3c Mon Sep 17 00:00:00 2001 +From: Joseph Kogut +Date: Sun, 10 Jun 2018 09:59:11 -0700 +Subject: [PATCH] modify compiler_cpu_abi for buildroot toolchain + +Signed-off-by: Joseph Kogut +--- + build/config/compiler/BUILD.gn | 36 +++++++++++++++++++--------------- + 1 file changed, 20 insertions(+), 16 deletions(-) + +diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn +index 461e62da2..27c9f29ed 100644 +--- a/build/config/compiler/BUILD.gn ++++ b/build/config/compiler/BUILD.gn +@@ -683,6 +683,10 @@ config("compiler_cpu_abi") { + "-march=x86-64", + ] + ldflags += [ "-m64" ] ++ if (is_clang) { ++ cflags += ["--target=x86_64-buildroot-linux-gnu"] ++ ldflags += ["--target=x86_64-buildroot-linux-gnu"] ++ } + } else if (current_cpu == "x86") { + cflags += [ "-m32" ] + ldflags += [ "-m32" ] +@@ -695,8 +699,8 @@ config("compiler_cpu_abi") { + } + } else if (current_cpu == "arm") { + if (is_clang && !is_android && !is_nacl) { +- cflags += [ "--target=arm-linux-gnueabihf" ] +- ldflags += [ "--target=arm-linux-gnueabihf" ] ++ cflags += [ "--target=arm-buildroot-linux-gnueabihf" ] ++ ldflags += [ "--target=arm-buildroot-linux-gnueabihf" ] + } + if (!is_nacl) { + cflags += [ +@@ -709,18 +713,18 @@ config("compiler_cpu_abi") { + } + } else if (current_cpu == "arm64") { + if (is_clang && !is_android && !is_nacl && !is_fuchsia) { +- cflags += [ "--target=aarch64-linux-gnu" ] +- ldflags += [ "--target=aarch64-linux-gnu" ] ++ cflags += [ "--target=aarch64-buildroot-linux-gnu" ] ++ ldflags += [ "--target=aarch64-buildroot-linux-gnu" ] + } + } else if (current_cpu == "mipsel" && !is_nacl) { + if (custom_toolchain == "") { + if (is_clang) { + if (is_android) { +- cflags += [ "--target=mipsel-linux-android" ] +- ldflags += [ "--target=mipsel-linux-android" ] ++ cflags += [ "--target=mipsel-buildroot-linux-android" ] ++ ldflags += [ "--target=mipsel-buildroot-linux-android" ] + } else { +- cflags += [ "--target=mipsel-linux-gnu" ] +- ldflags += [ "--target=mipsel-linux-gnu" ] ++ cflags += [ "--target=mipsel-buildroot-linux-gnu" ] ++ ldflags += [ "--target=mipsel-buildroot-linux-gnu" ] + } + } else { + cflags += [ "-EL" ] +@@ -799,8 +803,8 @@ config("compiler_cpu_abi") { + } else if (current_cpu == "mips" && !is_nacl) { + if (custom_toolchain == "") { + if (is_clang) { +- cflags += [ "--target=mips-linux-gnu" ] +- ldflags += [ "--target=mips-linux-gnu" ] ++ cflags += [ "--target=mips-buildroot-linux-gnu" ] ++ ldflags += [ "--target=mips-buildroot-linux-gnu" ] + } else { + cflags += [ "-EB" ] + ldflags += [ "-EB" ] +@@ -844,11 +848,11 @@ config("compiler_cpu_abi") { + if (custom_toolchain == "") { + if (is_clang) { + if (is_android) { +- cflags += [ "--target=mips64el-linux-android" ] +- ldflags += [ "--target=mips64el-linux-android" ] ++ cflags += [ "--target=mips64el-buildroot-linux-android" ] ++ ldflags += [ "--target=mips64el-buildroot-linux-android" ] + } else { +- cflags += [ "--target=mips64el-linux-gnuabi64" ] +- ldflags += [ "--target=mips64el-linux-gnuabi64" ] ++ cflags += [ "--target=mips64el-buildroot-linux-gnuabi64" ] ++ ldflags += [ "--target=mips64el-buildroot-linux-gnuabi64" ] + } + } else { + cflags += [ +@@ -905,8 +909,8 @@ config("compiler_cpu_abi") { + } else if (current_cpu == "mips64") { + if (custom_toolchain == "") { + if (is_clang) { +- cflags += [ "--target=mips64-linux-gnuabi64" ] +- ldflags += [ "--target=mips64-linux-gnuabi64" ] ++ cflags += [ "--target=mips64-buildroot-linux-gnuabi64" ] ++ ldflags += [ "--target=mips64-buildroot-linux-gnuabi64" ] + } else { + cflags += [ + "-EB", +-- +2.17.1 + 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 + } +} +