From patchwork Fri Jun 8 22:59:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927077 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="PJVYwS7/"; 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 412dGH0Slkz9s1b for ; Sat, 9 Jun 2018 09:02:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 467DC882AE; Fri, 8 Jun 2018 23:02:11 +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 YvpoW1zI4vAR; Fri, 8 Jun 2018 23:02:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5F18288278; Fri, 8 Jun 2018 23:02:09 +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 77E6F1C0906 for ; Fri, 8 Jun 2018 23:02:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7525F87456 for ; Fri, 8 Jun 2018 23:02:07 +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 Q7ZvjCgSVquT for ; Fri, 8 Jun 2018 23:02:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 8F9B587431 for ; Fri, 8 Jun 2018 23:02:06 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id a11-v6so7325063pff.8 for ; Fri, 08 Jun 2018 16:02:06 -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=UI36oMcoMu6ScUcPMKCLcRkanLxm0z42tZDWv0AN+nc=; b=PJVYwS7/IcRJHN7Hz046EOX7WLcOXdfhefJ7MaDkOayjCuZZnUlSCciKoM3dSGjKQ6 BnPEqcYLuIF/B6g6uVCWtrrGOJBXNPFeib0ZIB9y3a5uhpD0qrilxMGLWeHy4izIwCbo HPw2AbfbjFsrI5d0XxCG6VQw4bM4GbFBdnk9tA3tCJddhs37RGX2QYFKw/ZrRXZajAsp up2QpCFALbOkHbOKDm00p0TFoESxTLjDSR6D3LC2m8e0CLHjcf7p9oGn36d41HF9gRv4 wA2fPnzVhm2PqDGSfDn8c/HnuGB9w4pa2M/cW5xSvq8hJcdp18ADRieJiclxn8mWrvyC 8yYw== 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=UI36oMcoMu6ScUcPMKCLcRkanLxm0z42tZDWv0AN+nc=; b=MTX9jigWF5cAoxpK5kX3RbQ7GR/Njmuc/1XtAlqcjLryMqlksjfeyN6gU+Ks52uHgM 8H9Qm0WAfM6yPL7FZE0f4XHkIzrSvlzzj/T8XQap+QMAmOW0OKMEFCB1pFRZVuYKcz+8 Apv1CzgOTYbD4Nzbdgwa5LVSkfGh2IHlVMtLE+FbemKdJ84uZn9fHBUXOWQ9qAofoQjg uEENND2kcN5+qF6Biw9pA1GxP7hR//jpNVb6aX9kJud3hXz3qQbig1jksLITJrwliZTZ UDYFOCzF/7EJRgAdUnnNQAqV0LODnydv2h18Lnkxnf7qTqwNHPLqhJQmWHkTjUjJRYul gnOQ== X-Gm-Message-State: APt69E1g1+cHbQaFkisZimWmWzcKU5eOtQ8144aFBXOEJ+SNWwbigMiC cv+kmghjQW3xDhWxNJ6Ry50uoNypJck= X-Google-Smtp-Source: ADUXVKJvyqIVUzu01r0IdCA3YcJSSx9FUpJC6WiqOC/1pHBToqE4N+ghD7hmH63QAyCzAN4kEaTryQ== X-Received: by 2002:a62:fc8d:: with SMTP id e135-v6mr7907733pfh.208.1528498925336; Fri, 08 Jun 2018 16:02:05 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:04 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:25 -0700 Message-Id: <20180608225932.13127-2-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 1/8] atk: bump to version 2.25.2 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: Joseph Kogut , Valentin Korenblit , 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..d6c61a22f4 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.acc.umu.se/pub/gnome/sources/atk/2.25/atk-2.25.2.sha256sum +sha256 75ac1f63e845f895dec8d72d4645ef5f362e32c921cc78987f2f19c2ce212a24 atk-2.25.2.tar.xz diff --git a/package/atk/atk.mk b/package/atk/atk.mk index 88cf5fbc0a..a50cb9f0ee 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.25 +ATK_VERSION = $(ATK_VERSION_MAJOR).2 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 Fri Jun 8 22:59:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927078 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="KHTo+ZcF"; 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 412dGJ58GCz9ry1 for ; Sat, 9 Jun 2018 09:02:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 721AB25488; Fri, 8 Jun 2018 23:02: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 dHlQO-m4ye4B; Fri, 8 Jun 2018 23:02:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 144D624CC1; Fri, 8 Jun 2018 23:02:10 +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 181FB1C0906 for ; Fri, 8 Jun 2018 23:02:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1389D8931B for ; Fri, 8 Jun 2018 23:02:08 +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 PiGwBo+LBKvb for ; Fri, 8 Jun 2018 23:02:07 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 291B8857B2 for ; Fri, 8 Jun 2018 23:02:07 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id b74-v6so7329488pfl.5 for ; Fri, 08 Jun 2018 16:02:07 -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=KHTo+ZcFnKtKP1oYskTS85Fns4D0tEPevxYs3NlnwC7HNeY5GaQ+H4Fr9pr6MLQCZc TwD2NEh+o7J0gY7S6NGKify2QZRwkyPV6uPTP9XAHVoTAK1M9Ij971EUAe+GUj/qVOML YP7pg9JM6rk5v7EQ9ayY0tiH2ah/7SuFg9+u1UQpusfHqs8A/Dsn3TuvxWk2yguxgzUL chA4A5DiUR97Un53fjZHxZbfmUAofBLaARH3X6Rt6nKMV0FjBNZUtXEr+81OHE9ZQagw OgELPJ7Dio9Mds/H4jRVHUFPCoRQo9D6k3aNeW25wZbesclYEvCnfo9iJFNaiw2W8GmV cO0w== 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=GodnBiUi+GkV0jKk2+xrgs1OVyzTtPhEukwjNY7xTKEeUZMCYq54Cg6LSKbdEcRIeo IIKNKwPhqYbFY/Po7C4nAxXwJxtvAfBOPhr0PVMLw8J7c7Uh26QJFJPxlPBF8ZnPjSKH gao5wx8oQUzsrjLkAXKWRaqOVpvgu9tjj6uLtG4SQ6q5P8lMtBuu+yv4azyzQcTNWm+9 6DTUYnsP52aoOLPts2RIOR+xgOSj4ZqmW2zoDVO/r5s/A4rHdN3UdtNQFZlUz1AKd4DV IUaFtm1keOEcBgPp+vp/W8mM57Fh7vGzQNZ9EQ3Omxdr1yD129i37ERHp0OTepxE8lK0 smeA== X-Gm-Message-State: APt69E0d3j22O+vMdl5Q12Tx5tEUIvk5EhqCvhuRyHZpMKDwYIKzUw62 Tr5T7TCd2z2xGb2G0MC0wQwxFAIwijI= X-Google-Smtp-Source: ADUXVKLfbntDx8pz08i3t8C44V0fDAE3BjjmIWg9dwW6TDDAuKl58ujyBk6e69T9nx36kLmqet8cfw== X-Received: by 2002:a62:3e9a:: with SMTP id y26-v6mr7816475pfj.98.1528498926374; Fri, 08 Jun 2018 16:02:06 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:05 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:26 -0700 Message-Id: <20180608225932.13127-3-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 2/8] 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: Joseph Kogut , Valentin Korenblit , 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 Fri Jun 8 22:59:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927079 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="XRpVpjhT"; 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 412dGN02Mkz9ry1 for ; Sat, 9 Jun 2018 09:02:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 87A32250F6; Fri, 8 Jun 2018 23:02:16 +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 wACFZQ0JYLyS; Fri, 8 Jun 2018 23:02:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BD2B62517C; Fri, 8 Jun 2018 23:02:10 +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 8DE001CF207 for ; Fri, 8 Jun 2018 23:02:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 86511857B2 for ; Fri, 8 Jun 2018 23:02:09 +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 loR+CN6qkvEm for ; Fri, 8 Jun 2018 23:02:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 165D98931D for ; Fri, 8 Jun 2018 23:02:08 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id r21-v6so6698259pgv.4 for ; Fri, 08 Jun 2018 16:02:08 -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=XRpVpjhTAhFEKW7RgIb2rb3xDpCrf5W8ta8KfI0LGwrtQhJngAXcj2ZEJhqhwpRxhH PXTSWcvNmhqWMeDeTxZ99kWs1syiKriJam5loOhAnov3ZHafdhsqcc+P5OzDxNnea4ve dSHpTg6iKZf+oLe8WbIUzlFEV2CZ7Bj0NvnEB42HidiJjrvPBblCe9Lt73SHPXfKYzQ0 BV/PNRIMTdUC3YviGtG0sHXo2Mk+HVSqzFIShRYo4vXt/MP+UngIctMBhfc09PtYoqwn pahTMRY5QNMRJ1FaoYVsHjBq/Gtw3kaQeVjP+5FxK5GlOSb/802sIzKIBcX3Bemm7Aiy K/WQ== 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=joaKrF9xcnP5nPK4WmiNyCs2j1wDK1P8WtTmRbBJroyMtRBcp5cQETvp/TUJQsV5fM KtrooJ6IwPvPsFmLzmiVOvVpOdf3VOK8xtDWmQMj7GB1dCVtBZ3hc0cofeyq1+Cl6HO1 5/3xu3oWdpcpUKgBAHFAXP/v+d6Fo/3Zq0eToHv0hz1h/UgBZTQxK05H+g+nwUyehjxv MvqBdAQmofWfghJjUJkWFj49ggyRiQWKrVWp5O5L3x/Zvr+bPjjmClKbO9TfdBfSiomZ neE7vH4fMpHBfFb0gOPBr/pekkgP/GVT3ul+XJgxbkgtzxnUv31WabExINq+5nXufis1 d+PQ== X-Gm-Message-State: APt69E11jC6HTOSB0CKl9ZnJSgonTe9sHdlmVQ8zTFYh+F7u6+PMrigA iaAUiEaA4WFDAYBAaqD10WzJt2xNRQk= X-Google-Smtp-Source: ADUXVKLn3TGogsRIcaDwwKrh1/RuPf3XBlzIyYDbIOIBRpkWd+Ijz0i5JppznCG1u4O8kB3L1iGu8w== X-Received: by 2002:a62:81c5:: with SMTP id t188-v6mr7843082pfd.146.1528498927404; Fri, 08 Jun 2018 16:02:07 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:06 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:27 -0700 Message-Id: <20180608225932.13127-4-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 3/8] 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: Joseph Kogut , Valentin Korenblit , 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 Fri Jun 8 22:59:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927083 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="dE4WVDhL"; 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 412dGZ3Gzhz9ry1 for ; Sat, 9 Jun 2018 09:02:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7C7AF894A6; Fri, 8 Jun 2018 23:02:27 +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 SLot+RHBGNJz; Fri, 8 Jun 2018 23:02:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 397E6893AA; Fri, 8 Jun 2018 23:02:15 +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 F27461CF207 for ; Fri, 8 Jun 2018 23:02:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EC72A892F6 for ; Fri, 8 Jun 2018 23:02:09 +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 jscfVJb8n1RD for ; Fri, 8 Jun 2018 23:02:09 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 20488893AA for ; Fri, 8 Jun 2018 23:02:09 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id z1-v6so7026824pgv.12 for ; Fri, 08 Jun 2018 16:02:09 -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=dE4WVDhLAhO5cZEvZpcw0H7f/FO7f4ZKi+Fji1bN7u1SA10DJSLDQ6LcYp6QFhcCBx z/vjG/oFWUSDXoDyGkpdmXnEQJTIkxPQIGDJrPqyX1U6JHVULuVo/kxcF2aY2OCdAqQN 9SROv4Ut58OyLlp+gksASxQXa9+coMDtuyMmCUt3SMRyGUiR+w3+T3oY4zeBUbyg5vrp D+wZJsHj7JIKAPZF4CiNZJriu/dR0uA0hxYo/nRjZTM6DyEYKEyIP9qOZ2QOGcb8Gb73 Et6OmoWmkUv3/q8W8dDeD2HzsXRN6260HNbINb9CgzXyI4pDNPQq8wsKHrewOIIrBtqs UOTA== 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=GYtFLjIV6BYowoVyJj2Yu42/1BTbCBT1YLdAogULnYY7JOm9bXbDVVGgjI3TVMbesu ARpgHky23xfo/bUPrSm/XWvQLbmXgB7Ocpya4XEgifnv4jJEBkchx9TlSWZeIJ0zBwuY QfNAZPQHMOuWnrEefca2fZI35xPyBhFlf5HmgNjh/fiHu9Uh0Qt8R2P1ztI6Aw3hKA7E 19cSi60xarJIW2Uw95cGxNbaCoO7JVXom14E/7j+NPxnYRHlk5nyUnBUh4PtKwGtOQ/f 8GTTpnfn0vUsW9jNHLMkKrSKCu3KUtKriUCw8EOch6JPUDNfirZfGbCx5o9zbv68B6pK Xnng== X-Gm-Message-State: APt69E1JD6NOxzUb0Ecnz+VaCgRN2TTfU+EstnWRdT9uL5v21zFX5DTZ k4WvfR9Uus1d1URpjntqiK1e1uonOVI= X-Google-Smtp-Source: ADUXVKKEnNQtiLc4FKG3q8RNsxKRNeuL0sLC3KTWe6ZAfK1z8i432BAy86xKd3pz+eOqc8nP3MH0dQ== X-Received: by 2002:a62:3994:: with SMTP id u20-v6mr7864595pfj.95.1528498928423; Fri, 08 Jun 2018 16:02:08 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:07 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:28 -0700 Message-Id: <20180608225932.13127-5-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 4/8] 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: Joseph Kogut , Valentin Korenblit , 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 Fri Jun 8 22:59:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927080 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="Jouyzqgv"; 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 412dGN4s01z9s1R for ; Sat, 9 Jun 2018 09:02:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 04B8988269; Fri, 8 Jun 2018 23:02: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 Oxj3HnpYVFM1; Fri, 8 Jun 2018 23:02:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DE1E5882DD; Fri, 8 Jun 2018 23:02:15 +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 B5EE21C0906 for ; Fri, 8 Jun 2018 23:02:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A8650882CE for ; Fri, 8 Jun 2018 23:02:12 +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 I7GMEFoSLiE4 for ; Fri, 8 Jun 2018 23:02:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 81C708829A for ; Fri, 8 Jun 2018 23:02:10 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id a11-v6so7325118pff.8 for ; Fri, 08 Jun 2018 16:02: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=8y1nlGZ+QVXc+RJamJgJHtoBjP70QKjKHforE+QU1Fg=; b=JouyzqgvzRhulZljM+YDuq2LhZiEIk9Heq2QWou716uTlTiXo0A6Rni206wowGcYyf mw6fhYnxLaKv+s11FCEOqhQfzNCe6q0F9BfvXdTZbOueIIH9vtwCRwDiFF9hCG5Xd30C BqFJi5LklN+lOda7M5fhbpG8EGsn4rnuTWXrlJiavhyHRptfToZ09xXLNtJFOKosZucE eZjfKC9b6+3JYCePvwQfqzvRMF2ryLjH2HOljrN254jZgOlNEANfFp1LLUFaZ6B0XQay 8kFL4TXoyJBr21Q6Zb9PGExSHRcFxDUF3f3FvTaSWm5MCskiAq8e4sBtOJ8mHY1dbfcl HxFQ== 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=8y1nlGZ+QVXc+RJamJgJHtoBjP70QKjKHforE+QU1Fg=; b=k2hkEq6+4K5if6v6JYk6MC+8hb5kwq5LAN30ik99Jf4G9wbdcS5sQiPFZX19cO25tB VQAeK6GtejVehLTbN5Vua9XC2wWa7WWvRYhjy2yuMqPBoFx/COmx7vWjiR1jBFxgDjG5 0jZeuPGImV4Xg+/MInlkvn9LAqmSfLukkxytpBiJKG05ynR4YFBFJSfEUyyDu9F0x151 oOQus4BEmExk+I6fXls82LjTqrL9WQVRcF4orBFFCxj1r1a4UHE5IgEDv3+lyc8u6yGE Vu75GAhtfDM95QbEj2DZijE78WmCrETKITF/QzUiJYnZToBpK9FFDavjzGc3MFgiRGXQ bryA== X-Gm-Message-State: APt69E1OT2q4yjqdIrUfntN62JIiKOVbAWtl4vIzB6Bjjnw7b6t/Cu2l EFGbB+Ou8tCcu+iCQghvGBqkls6kjTg= X-Google-Smtp-Source: ADUXVKIv2mxnIJhZAdPfFLJrHJ0xFuKSd+i0fr1lTa3bCuA+uvNDRlV/jvd0hdcHPnwF610TNww7Kg== X-Received: by 2002:a62:ae06:: with SMTP id q6-v6mr7830678pff.17.1528498929682; Fri, 08 Jun 2018 16:02:09 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:09 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:29 -0700 Message-Id: <20180608225932.13127-6-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 5/8] 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: Joseph Kogut , Valentin Korenblit , 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..5262cab49d 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_TARGET_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..06f95c96f8 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_HOST_LLVM_ENABLE_HOST_ARCH),y) +LLVM_TARGETS_TO_BUILD += $(LLVM_HOST_TARGET_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 Fri Jun 8 22:59:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927081 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="g+JKDzpZ"; 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 412dGR3BzRz9ry1 for ; Sat, 9 Jun 2018 09:02:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C49DA25C0B; Fri, 8 Jun 2018 23:02:20 +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 Y8pTKSC53WnD; Fri, 8 Jun 2018 23:02:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EE91E25A2F; Fri, 8 Jun 2018 23:02:17 +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 29FD01C0906 for ; Fri, 8 Jun 2018 23:02:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C7D8088293 for ; Fri, 8 Jun 2018 23:02:13 +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 WDlTgNnnTXs5 for ; Fri, 8 Jun 2018 23:02:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5B895882BC for ; Fri, 8 Jun 2018 23:02:11 +0000 (UTC) Received: by mail-pg0-f52.google.com with SMTP id z1-v6so7026858pgv.12 for ; Fri, 08 Jun 2018 16:02: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=xa9Itb+biEqUTQPBFHqtdzL5DY/TyGDFsdK/zVjbtv8=; b=g+JKDzpZKcxHsi4oHuMjkJIOg3f+IOTubxRYVD0f9y6rxRUnP5FUeRhwaeA9laT8d7 Zq+nranPRmcfRD+QKQ81Oz4rPD0VN8TIHf2HK7fy9AKkkyP8IWOtwqHGG7QusSk8v8NS H0XPuDE/wH5AUOCBEicJIGwrz0sjK/Z9oEUvllfYw7D+QNvuJ69QWV/lBf86MXpKvlSo MaJwT4TaKCzsrJKIQBXe+3LRZSK4I7EynLdFmX0Y9XHHTLnK/FhM6HVCNyY4IkCyRddN b3PM0nIgjzgDSZvsu6yyYUXvn5ooDu3xywL+OdZH11wxvdH5uPm6AD8m8jK2LtGiIhaS l5Ug== 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=xa9Itb+biEqUTQPBFHqtdzL5DY/TyGDFsdK/zVjbtv8=; b=WJaGvBeDZFSvqlrzZX+xYBrkJVfanXoDZR6FqpAgkcL/t0r7AsB86wMxHF3SjiscVb htkl9+cTIssoBekg49nru+EqXBNk2iS11hAxK5hE83Dc9XymJ8RpSz1LIXHHvFGhk+C4 KPR+ZAi0ppPbHGDXXRRt9HsfpNqQZ3ePH2UDxXTo6x2O694Xel/sXZWxcoz7t4pq/ZvG lFUlcPAbFjQBfuLiurxF5ylijQ73aoUM7HgQrG1tViKP6msCvNnrsXQXGz9QF5jNhuuP KcfynLyc94qbtKWR3SpVDLP24AUqPoksSuxpSiLVW9+prjgMRzxtrchZM/xkJhXR3MyK NXjw== X-Gm-Message-State: APt69E0rbAxaSzOeWwpX+WY1ZQAal50dZuB+QXVNgyPOmI+9AvclI/zp SSpRjeB9dY9R/M1ht+wK69CebVOn X-Google-Smtp-Source: ADUXVKLn6i48rRmgIUqqVMN09RwvpLkKQ6372OmF+OMeIgWVnHarqoBM8um8c9xHzi0adzYWsvxifg== X-Received: by 2002:a62:b02:: with SMTP id t2-v6mr7871783pfi.36.1528498930672; Fri, 08 Jun 2018 16:02:10 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:10 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:30 -0700 Message-Id: <20180608225932.13127-7-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 6/8] 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: Joseph Kogut , Valentin Korenblit , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joseph Kogut Tested-by: Valentin Korenblit --- ...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 06f95c96f8..d2db05d94c 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 Fri Jun 8 22:59:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927084 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="Pcyf6SBn"; 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 412dGd5lCmz9s1R for ; Sat, 9 Jun 2018 09:02:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2EE9E89357; Fri, 8 Jun 2018 23:02:28 +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 fDUtB2Q5cVsX; Fri, 8 Jun 2018 23:02:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D6CD89434; Fri, 8 Jun 2018 23:02:17 +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 0BB251C0906 for ; Fri, 8 Jun 2018 23:02:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 05DF188293 for ; Fri, 8 Jun 2018 23:02:13 +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 h8g6UaDV62Wv for ; Fri, 8 Jun 2018 23:02:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7DDEF88291 for ; Fri, 8 Jun 2018 23:02:12 +0000 (UTC) Received: by mail-pf0-f180.google.com with SMTP id a22-v6so7318103pfo.12 for ; Fri, 08 Jun 2018 16:02: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=qpDIBwAAqcdRJMFimdHsORS+/kiZuXQi81mx3GhRo+c=; b=Pcyf6SBngW8Y+Rad1XomnII7W7ZYtIg4VlugFOqZtqNejH/NaJ3+axcDxsi2haPCrn D4ptPgtBfn/+Sgp+7GXaMqIB4AU+g+yDz5g/40ElRWa3hXY20sGpilrpwOrFYm7hEvCW 0foJT67x7NKwWl9+CQTd4jgC0XMF3rVnfPFgcy3YN7bHo99Lt0a4am5w90WLGSnb4Eu6 QJfWJLt/8F3Cmw/JpZDBFrcurd1iCeqLoyQZFCV+hROtXViZ1LXgAj0u1+CngMvigkOz 5lX4la702uACtW0Bvjm7jOeWOA4aeEDUvG8bJMlCvnpaPWH/zAj23B3GF0/zPfyRXoEu F1eg== 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=EOE1RYQI7bH6s54HpfnH1bz6KOCe73nOsTX8LMuaGbsseGmtEcAvLg0zDhvR2ix3T0 9FhDKuhpioDmRk2mzCPUJy5k23mJF6vWnErz+9lkDNvSSLKyH7L5OtxMltiAzJs+zhf5 kV793QlDajBP/s27kINbEF3NWtpn3TanOwbEMnTE4rljcvs3eglmkLZ31K/lxbH25DWd C68KnzgstDOXoiDcZfGNoaaWcaa+9fr6EaalmO7xmM7tOUrd4kctiOmt5/26BE9Fy6+0 heCf4QCGQqRO1x+7Nk2vPGL4qiaqGwmq/QDeuOGOHgyu6cgYUoCr/Ildev91yx1Wf8mu FYHA== X-Gm-Message-State: APt69E3SccA1YIvr4mC5FLuMTr5gYaQLCgqIRNtpcvbidb/5zj/tGThs HKjRkKpNAPx4rxjYwty4RkjVk60+ X-Google-Smtp-Source: ADUXVKKxI8QHr6mMElVaj0qyvI9g0EG15qcNXm5PNJslXkKrBaqlTwZ4nyAs1FiA65j0yZ/LNO1anQ== X-Received: by 2002:a62:ca4a:: with SMTP id n71-v6mr7885232pfg.14.1528498931764; Fri, 08 Jun 2018 16:02:11 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:11 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:31 -0700 Message-Id: <20180608225932.13127-8-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 7/8] 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: Joseph Kogut , Valentin Korenblit , 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 Fri Jun 8 22:59:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 927082 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="cXkFJo24"; 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 412dGS2CLsz9s1R for ; Sat, 9 Jun 2018 09:02:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0E46B8749D; Fri, 8 Jun 2018 23:02:22 +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 YDeO_Tc8vh4r; Fri, 8 Jun 2018 23:02:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A68908746D; Fri, 8 Jun 2018 23:02:19 +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 0B36D1CF207 for ; Fri, 8 Jun 2018 23:02:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F3E99882DE for ; Fri, 8 Jun 2018 23:02:16 +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 qCPKk4fVDY4U for ; Fri, 8 Jun 2018 23:02:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id C6E0488291 for ; Fri, 8 Jun 2018 23:02:13 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id q1-v6so7319812pff.13 for ; Fri, 08 Jun 2018 16:02: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=ut5afNmwCoDTU8Y5Gq2ig14qrqHjVD+6QViM5q9QYrE=; b=cXkFJo24xQlGbnEF63VUCvklQvongvZQl7Z/oSo4gwkwnDezYGG1Q04EENh8WwbAx6 ttRjEGah5I6Gx1ZR94yqms6jN3TcLeeaYXwe/CPscUV8+Vg/ZRoJqtRLuRUHOUhWv17S 2/1kpDNsDAMa2nqQYJmtbCjec6qnivEsEGicLdgzNJNipXop34uZuV4bV45cScRazdba Bv2/9J3bEtyWrcsU0frRwXMcS0qavZKG9va//8Qim5NRyyYvrX2Hckqk4B0OMUC8vq0X MXf1RiuPzCTFiBfZdDXA4NgjEa5TJFT8zTnf3vbHGnsoj6g2K8kU1DyPerM06wd48B08 vEWw== 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=ut5afNmwCoDTU8Y5Gq2ig14qrqHjVD+6QViM5q9QYrE=; b=G25/0GPCZ+XLucORud0610+RsufafkT7n63hqrHSHDHNiJ4gD4LOFiSI0mbpxLtlVg Zh/sdKOY59Hen2LD3HlKrl+hEeaWO29dUfnaNc51fI9OJ392c+N4R57NaExtfYgGyqlb yYngFrv43jukin7Y0liwWHOG0DzRGs0z7Lrni9f4TSAQFKWWISaNwiygUlhSTgXnYFkM KiSbUjf2rRsP9hbUM58XGtqGXoIHYjnBPVI7/OceMGVfJli/7NLr3MvDamqDpQ+Fc12U cl4yJmV6ooYeo9mqXsRjwz5uqyoqDWvhV7fH0QXfRU8F5KXgAop83cSB2paaXjhKH+4w es6g== X-Gm-Message-State: APt69E2A9mXxrmGYe7xtlJkwB9GMz7Ubt0mlfwNadtBwq/udojzUJf7U FMLEE3uf4FYG4ff6EQ1RbkdEWNoC X-Google-Smtp-Source: ADUXVKJvN0UumEs1H2Czk3bPuamq2aPvZFGln/mEVBvXT9/JNwm5OPMS8w+GRdeB794DbISzITIXVA== X-Received: by 2002:a65:6690:: with SMTP id b16-v6mr6814868pgw.326.1528498932977; Fri, 08 Jun 2018 16:02:12 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id c67-v6sm25634123pfj.173.2018.06.08.16.02.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 16:02:12 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Fri, 8 Jun 2018 15:59:32 -0700 Message-Id: <20180608225932.13127-9-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608225932.13127-1-joseph.kogut@gmail.com> References: <20180608225932.13127-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH 8/8] 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: Joseph Kogut , Valentin Korenblit , 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 | 43 ++++++++++ package/chromium/chromium.hash | 4 + package/chromium/chromium.mk | 125 ++++++++++++++++++++++++++++ package/chromium/toolchain/BUILD.gn | 72 ++++++++++++++++ 6 files changed, 246 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 568f47d242..19d3aafe91 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/python-cython/ diff --git a/package/Config.in b/package/Config.in index c2e619b317..0458c513f2 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..8bc9eb5d5c --- /dev/null +++ b/package/chromium/Config.in @@ -0,0 +1,43 @@ +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_HOST_CLANG + select BR2_PACKAGE_HOST_LLVM_ENABLE_HOST_ARCH + 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..bb579262cd --- /dev/null +++ b/package/chromium/chromium.hash @@ -0,0 +1,4 @@ +# locally calculated +sha256 37e6673741b365a25a837217b08f77b24b4f5fc4ad88c8581be6a5dae9a9e919 chromium-66.0.3359.181.tar.xz +sha256 845022e0c1db1abb41a6ba4cd3c4b674ec290f3359d9d3c78ae558d4c0ed9308 LICENSE + diff --git a/package/chromium/chromium.mk b/package/chromium/chromium.mk new file mode 100644 index 0000000000..72c965700a --- /dev/null +++ b/package/chromium/chromium.mk @@ -0,0 +1,125 @@ +############################################################################### +# +# Chromium +# +############################################################################### + +CHROMIUM_VERSION = 66.0.3359.181 +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-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_HOST_CFLAGS += --target=$(GNU_TARGET_NAME) +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/ + ln -sf $(HOST_DIR)/bin/llvm-link $(HOST_DIR)/bin/lld + + ( 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_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..c2c5c3e49c --- /dev/null +++ b/package/chromium/toolchain/BUILD.gn @@ -0,0 +1,72 @@ +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 + use_lld = false + } +} + +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 = false + use_sysroot = false + } +} +