From patchwork Thu Jun 14 22:48: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: 929731 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="G32z1O6B"; 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 416Jh362QPz9s3C for ; Fri, 15 Jun 2018 08:48:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EE379896CE; Thu, 14 Jun 2018 22:48:49 +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 PWp6EQTihBfq; Thu, 14 Jun 2018 22:48:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9EC4389629; Thu, 14 Jun 2018 22:48:48 +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 8EFC11C121B for ; Thu, 14 Jun 2018 22:48:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8C065895E9 for ; Thu, 14 Jun 2018 22:48:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U9eq2mHkFqtH for ; Thu, 14 Jun 2018 22:48:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f44.google.com (mail-pg0-f44.google.com [74.125.83.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8BB4F895DD for ; Thu, 14 Jun 2018 22:48:41 +0000 (UTC) Received: by mail-pg0-f44.google.com with SMTP id a14-v6so3558446pgw.10 for ; Thu, 14 Jun 2018 15:48:41 -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=G32z1O6BlXhIgiSHBRCz/6omonS2m1nDnm6moK6Sf/XWxRfpwtl6jAVtjD0a3bhc6S NosD4iZeCtxzkBZIH9i9Hdt5nDeqcsYrk4TbroY9KWRc/jYvmJvAxyfkvMi4POeEHtQz /WmNiXmI6jSriWrNZVQuoYT5ZerZrdZQMvAQltvUdvKeoUZDdgPbipk20tr6+7m6CRIK mppwsg/wxAc8DMaOKebySqCcEF7yZ2g6ro9iFKevKZJ+dSGFIlvGSHhnEXAkeBLT8nEL myVYOzreTAm1pyHFHJ7IUnAwCSXY9Xr95y/1bH7bW4QHvJ3dmtET7DgnuojEVSKeuqlJ UIdQ== 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=BqbpnHG4o3MOz7fc27VEzfwR2sCYaPnItmHmOMb5OtTHT1zHgIOTMXZXWwp/e/gXU7 xvewq5mtFs1eFy8IydHPpeHlLkgCGWhKDrHYn8Q+e4JrLdnexd+vTlQbjMpftdjItzWH Zs7B3UYp5Lheyj4EfoU2y/QQopsdvVUzur/ppt4c9o/oVbiTHG7jC0I1of3Y6aYWyiR5 e3Ke6wh25E6O4YOGVz7U/Z15ExESUaAzQID3VddLfzwpGJIAjtFLLUQgyvntFPCtnEjT DuQXS/XwYTD1dZJeYDyHJoCiXuHn6iuFMqEJpxHamM22NmV+dqE2RxDY8UZb7QIPfem7 tG/w== X-Gm-Message-State: APt69E2ju/2FsRM5GPlhK04rhLd9w4oKu4FgY1wteF88pfnZIXv5w+Nd anlB46jYC+0UTdn15/NW0o46VHXy X-Google-Smtp-Source: ADUXVKIXACClEyiwLkIM7RGiNeucFOn8ULXY1M/VOlRjw1u3K59yRR54EYi6u7spvr2L0EAkQOJaog== X-Received: by 2002:a62:6406:: with SMTP id y6-v6mr11421332pfb.204.1529016520998; Thu, 14 Jun 2018 15:48:40 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:40 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:12 -0700 Message-Id: <20180614224820.27126-2-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 Thu Jun 14 22:48: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: 929733 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="qJCauJYc"; 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 416Jh91NQrz9s3C for ; Fri, 15 Jun 2018 08:48:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 76D55896A3; Thu, 14 Jun 2018 22:48:55 +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 iAYIL8er5CzY; Thu, 14 Jun 2018 22:48:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E1C68896C2; Thu, 14 Jun 2018 22:48:49 +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 8B1571C121B for ; Thu, 14 Jun 2018 22:48:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 88C3189746 for ; Thu, 14 Jun 2018 22:48:43 +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 hGTjdRS-2bWM for ; Thu, 14 Jun 2018 22:48:43 +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 hemlock.osuosl.org (Postfix) with ESMTPS id EC0708973F for ; Thu, 14 Jun 2018 22:48:42 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id p21-v6so3553889pgd.11 for ; Thu, 14 Jun 2018 15:48:42 -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=qJCauJYcOELOd29MKqY5JDdYzppW1c8TINODhOiahYZa3G2lmU4LUC+Gf5IEBUfrKY ngxZDCZ+63XNsfmFpAue7lh+7mqOxnQr+QRfP0XTiYLbCMG/nTJEAIiyYJB28Jh0jeJ1 Cd8XRykoxHuTPdbHPM186Ld9EAyuvGSkD/ax8klT6+IlzTbiK310wJWnysvI+rEfl9iK a0f+/iun7LNS2xXnG4qvT57smBIF8/fzc514DIeDPzIVfXgUSW7Uh6Sm2Y7Mprl/VTkN RXBQXnzElZWaE5dNrDlVrNRbNUpkrm3yMDX8jWqJ4mv1zvWl5exBa5adI6IyiUs4YzGX WyZA== 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=EVNb4GX3tpVnwkfjGKQUgpNX+ByLe3cF8t9llgpcsoEC+yWKoLKimOWR3zoKW2fxwE jHC7dwZJhy7N8f/tedQ0MexRtMjZojkiDnX3frjVN67zQ/s+rzGhmDh4u3AskX4Cs+A3 EahhZsiCxs3g3jF6PDf+2kxuhEhpW2wRa/xFAGpnnPiMCZQdmYaQiBYr9AZNDhnYxhR3 6Y0OP5OfoMOTZANUdwcs8KUVBF3orwEj2195s+08UnHVTkYSK2jKRRQA4c078Q/WzlaO 07Gn7t/Na7jA4c69mUA3D6yT6y0HgMyO1KvSGA462wjlR58xxuqFHG7q+OYeCF4YrwT+ N7bQ== X-Gm-Message-State: APt69E0roX6326u0151bKe0YnvbTObBIdoiRIF688uUDZPc61eeclNIR kEUCNu6zE5nrJzIq2/OrwK0Q6Iuy X-Google-Smtp-Source: ADUXVKJwY2kK1Zkeh+sH0Ey8PIiuYu+/FLTJi19oqkSpm0TpqJbSWVasVIEQANiEMe0ZBTUWcA4LEQ== X-Received: by 2002:a62:9d82:: with SMTP id a2-v6mr11420752pfk.223.1529016522290; Thu, 14 Jun 2018 15:48:42 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:41 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:13 -0700 Message-Id: <20180614224820.27126-3-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 Thu Jun 14 22:48: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: 929732 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="QJM0JR3/"; 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 416Jh60jqZz9s3C for ; Fri, 15 Jun 2018 08:48:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 66FCB8973F; Thu, 14 Jun 2018 22:48:51 +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 sVpeUKnN5ZNZ; Thu, 14 Jun 2018 22:48:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id AD4F189746; Thu, 14 Jun 2018 22:48:50 +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 3C1A91C121B for ; Thu, 14 Jun 2018 22:48:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 45C5B8873C for ; Thu, 14 Jun 2018 22:48:45 +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 3lXnhhCSpeR5 for ; Thu, 14 Jun 2018 22:48:44 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id 48CAF886A4 for ; Thu, 14 Jun 2018 22:48:44 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id m5-v6so3565928pgd.3 for ; Thu, 14 Jun 2018 15:48:44 -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=QJM0JR3/GEqdOZFtApBp/xPAI/q4hVjAZvY8mVdE/fVzCjaVg9hlWQYCzLG57RXKxp Zxed1EbwI/OUgdypH0bjWZV0/DKNeL2UwzzqIftqKS7y2CAyilha8dbGteVOp39z1waJ zPOX/OPRKAczP+5rd8wpUgZMhhy8C5kuN1xffLWHOovsalxgb9mu4hg5j4x+d3I+mORp nS6fijgHDGMVQbok0MNXoBuvpVAjmnjwUED8C7hTedDA6lOL28FGzJPlt5a1yMS665yl 9XNCqIPXUAH8k2WQaINtBuwN3K8bH8tcVJP4HHmknpUWS1gCMzOPV3jFlLc4rKVZ+/O4 u8hQ== 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=BtAlDfBX7Q2u3TRNJt1V2RqmyuKn/lc7jlf11Dwqe0jWJ2Uiml17z03zsvADIsRgHb sOHXL75uJxir+FkjH8M92YXL1by61/CvC+iYNkp2j9HFjsCJYwkvIWM5EN2u9ZR4Jo1A aawK+jiT/+TJzCJf4gUYfaCJ/IUyhmsDrZxdzotMznXwgSippYh1ecDgAU9g18uu0F8V Y77y4LuVllUg5zya4IJ3qMsPEZZ0IlxMS5Tgs5ga0lMtJNM8khMlxXmO9P/nNPejCvHn yIYXw73tG0DZ+DpaNM2hPJy8N1tM/uZvdkAUgvGm0KGJzSwcOxboYw7zmnRvPlTBSoqp O6Mg== X-Gm-Message-State: APt69E2mTpxku1ieEou3+Gs2ylclvLdU+hBnpw6o+RSOc6UeqbxGS3pi MK+/qUmFAzL9nRZY3G9azyXLO4nX X-Google-Smtp-Source: ADUXVKL1UFWNoX2j0ctI7iE9iPcIG2oo7vjpKSNW6x3NbNIhAKYTUYpaYUV4Ncco1IH+5kds7wBe5w== X-Received: by 2002:a62:e208:: with SMTP id a8-v6mr11320725pfi.6.1529016523622; Thu, 14 Jun 2018 15:48:43 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:43 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:14 -0700 Message-Id: <20180614224820.27126-4-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 Thu Jun 14 22:48: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: 929738 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="Vz8Yg0wS"; 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 416Jhd5q4wz9s3C for ; Fri, 15 Jun 2018 08:49:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1FC42249CF; Thu, 14 Jun 2018 22:49: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 mxQgTVeW1Yjw; Thu, 14 Jun 2018 22:49:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 83755220FE; Thu, 14 Jun 2018 22:49:11 +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 AF9D31C121B for ; Thu, 14 Jun 2018 22:48:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B9DB98873C for ; Thu, 14 Jun 2018 22:48:48 +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 RmrC4fFnSsod for ; Thu, 14 Jun 2018 22:48:45 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id D4E20886A4 for ; Thu, 14 Jun 2018 22:48:45 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id z24-v6so3925802pfe.7 for ; Thu, 14 Jun 2018 15:48:45 -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=Vz8Yg0wS8VM7m9ttnO/8Ld7OA63GuomfIQwwKGlH0oSKWWA/lr3ZKAhDOvIfVZuOEh TPWg9rtUjMGxWa18h1z6k9Z9oZWLC1oOzhmLm2uz87rvtFoDmygXrFffkqSE0xt2c7gW VyQYzxTMFxJbU/MairbaD4KB44TG5hZa3wxw68gp7Tui2bFWcK9fhWrwhB7MQ/VH68yq V+Z0lM76liHi+uB34WrYHgsGNnj1giXoaqBY1mJlje4Thf3h556NsvX72e9Kr6FrJPpZ NroFJ1xOWq254na8nRsH5eFw0ZYQyVy2J0qIzbJxJzRXoSuQgfYna+rRExtwyhqeI8iF w+VQ== 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=owQf2TU3Ls1/enorW+dMkNkzNkOvlITmYvy5QA/OqofcU6+UHjMwqKU3HknwUYg6Pc 4X1r+1dQPUBfODf75apL6kMPdLaz58N9XLofoD5Xa/n8bEQJn3VNra41nYT0lTsV0VVk Q6Ww+PsTn+04fYwZkIx1nIlE9eAl3UWbcInd9ufZCsv8pCLpWq1bImbx0kBg8wxV1LkO Yksm8jzil6DQIkBQTJPohNRovGLaCNrPNPFd3gshyJAbKc45Dguaxqt3l/tvE35I7srd OwCBf9l9j0l7dmvkoZeTUDKdAW+O3u9XRPoWRjVqoqJMIuPnLeyH2irnFhS8XPXKzWjl uIbg== X-Gm-Message-State: APt69E2MdkgXFj5iVneNYZgd7ghK7Eh0TustZksx459f9X6uLRLcRBii dtylhTEEj79LZd5VCnYLrmexD5Tt X-Google-Smtp-Source: ADUXVKJZZ6Bk2HfIDXOcSuACYyji1E7C+4XhXhytA8fazbveCGauQkmCmBKDU0EXjzqNhJEo3zcCcQ== X-Received: by 2002:aa7:80cf:: with SMTP id a15-v6mr11278093pfn.19.1529016525099; Thu, 14 Jun 2018 15:48:45 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:44 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:15 -0700 Message-Id: <20180614224820.27126-5-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 Thu Jun 14 22:48: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: 929734 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="Cf+HwuQr"; 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 416JhC54qyz9s3C for ; Fri, 15 Jun 2018 08:48:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 135F389723; Thu, 14 Jun 2018 22:48:57 +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 uEui4jp9kt0n; Thu, 14 Jun 2018 22:48:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5EBD789727; Thu, 14 Jun 2018 22:48:51 +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 E1EA31C121B for ; Thu, 14 Jun 2018 22:48:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EBB4488748 for ; Thu, 14 Jun 2018 22:48:47 +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 FlqjpseFZJMa for ; Thu, 14 Jun 2018 22:48:47 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id 37C1E8873C for ; Thu, 14 Jun 2018 22:48:47 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id c10-v6so3560935pgu.9 for ; Thu, 14 Jun 2018 15:48:47 -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=wjfShoHDGqGzcjnulZxkm1l55hKreEUxqXKFisEkAb8=; b=Cf+HwuQrnCzm/OyKUrb9ihP/WAHVaLBOA+A8LLhyKXfE/fGY8kAkJQXd50fbUCtznv Sy4ZyBvZMuM5agkqNyqoB6+Hp1SiQrol+01cbXY/WIaC/iKyF+rIAD1A58DzeFvcbbhD z1GFzCFxmsJACJvTEgQGo3heozswPAAi5pyQ40lAmHyM5RZLQ5H3rjZxxNJfafXEQGCw obFSrB4Ag3BCyZSL/sLk7VDDi8qNVy7TkFv5Q9ZjjeA3T1IM3LtezzZblzG0B7l67972 lQ1hKKzQgoEUrZt5aPlrxhRi9FEgWmOomWgyWlc/Yo2eByvWNvhJhu+crJAAzyhDJMDf nvQw== 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=wjfShoHDGqGzcjnulZxkm1l55hKreEUxqXKFisEkAb8=; b=nrv7ewUcJX02/Itp6CF67X2EUaC4FGg2SJcJzZU4lSS6xNY8V64HfDrX6FJYzxhz7w KankQGlF3K4d/smol8nR60QPexvqOq8wjMNf8ix1zv3yQaFVts0ZVREI6Tlt/Bka9Lvs cY0ZiNsL8dac/bwKeeQ5vBUCJorAHxvwqgFNE6cxRgmkVYmDWx2A/o2OJuYaf3e0dk8p 7xZI+8k1UQoWyuGuxcpEoBYY1Gm8UaOotgLcFSrhEbvnuPQ10kZS2P/UDh86SA/i2r9L YDJ/jxQEeERE65AezyYh+3y0LEOOKiIkNRLRSKPuP02aqWbeCMaP+gUNERykMeoS24Bx y56w== X-Gm-Message-State: APt69E3EXKFDK/5L8jTouDIxA0zIkePpVAVIvjRXwGsxxustAyJ5Xgxl XaiJSYLL2mpfGygBUAuWXuvqvaC8 X-Google-Smtp-Source: ADUXVKIjTbnBe84ETd2akwXm/tNNSGQaFGiX8YCd1EMS6J1xNjoDGqDMyUBBhMw7CNoxxTi/JVQtew== X-Received: by 2002:a62:9652:: with SMTP id c79-v6mr11496809pfe.114.1529016526483; Thu, 14 Jun 2018 15:48:46 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:45 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:16 -0700 Message-Id: <20180614224820.27126-6-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 | 11 +++++++++++ package/llvm/llvm.mk | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/package/llvm/Config.in b/package/llvm/Config.in index 83e94660eb..dd07b23e07 100644 --- a/package/llvm/Config.in +++ b/package/llvm/Config.in @@ -11,6 +11,12 @@ 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_LLVM bool "llvm" depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS @@ -27,6 +33,11 @@ config BR2_PACKAGE_LLVM http://llvm.org +config BR2_PACKAGE_LLVM_ENABLE_HOST_ARCH + bool "Build backend for host architecture" + help + Build code generator for host machine. + if BR2_PACKAGE_LLVM config BR2_PACKAGE_LLVM_AMDGPU diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk index 3abf428989..50cc74d299 100644 --- a/package/llvm/llvm.mk +++ b/package/llvm/llvm.mk @@ -39,8 +39,9 @@ LLVM_CONF_OPTS += -DLLVM_BUILD_GLOBAL_ISEL=OFF LLVM_TARGET_ARCH = $(call qstrip,$(BR2_PACKAGE_LLVM_TARGET_ARCH)) # Build backend for target architecture. This include backends like AMDGPU. +HOST_LLVM_TARGETS_TO_BUILD = $(LLVM_TARGET_ARCH) LLVM_TARGETS_TO_BUILD = $(LLVM_TARGET_ARCH) -HOST_LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" +HOST_LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(HOST_LLVM_TARGETS_TO_BUILD))" LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" # LLVM target to use for native code generation. This is required for JIT generation. @@ -56,9 +57,15 @@ LLVM_CONF_OPTS += -DLLVM_TARGET_ARCH=$(LLVM_TARGET_ARCH) # output only $(LLVM_TARGET_ARCH) if not, and mesa3d won't build as # it thinks AMDGPU backend is not installed on the target. ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y) +HOST_LLVM_TARGETS_TO_BUILD += AMDGPU LLVM_TARGETS_TO_BUILD += AMDGPU endif +# Build backend for host architecture +ifeq ($(BR2_PACKAGE_LLVM_ENABLE_HOST_ARCH),y) +HOST_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 Thu Jun 14 22:48: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: 929736 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="Q1L1dL34"; 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 416JhW00zxz9s3C for ; Fri, 15 Jun 2018 08:49:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2D372897BB; Thu, 14 Jun 2018 22:49:13 +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 DdHF7OZ7O1NP; Thu, 14 Jun 2018 22:49:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4A6958974C; Thu, 14 Jun 2018 22:49:12 +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 A0F8C1C121B for ; Thu, 14 Jun 2018 22:48:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B262895E9 for ; Thu, 14 Jun 2018 22:48:49 +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 Vq2mWpg3bPeU for ; Thu, 14 Jun 2018 22:48:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6DDE9895F1 for ; Thu, 14 Jun 2018 22:48:48 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id z24-v6so3925847pfe.7 for ; Thu, 14 Jun 2018 15:48:48 -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=vSXWkAY6F+1DrONV7hsjOmPhRFIHYYJM9u1KHCZtkYs=; b=Q1L1dL34LUu52fFykuo/GORInORas/8OZT7KbvYUcSqMrMJ0wQXnpaI66a2ihxCkMc DHjX5+ZtrSmc2DBOyFGM+wR70ZTd1kSD0Yi7QWhG96mZMlG/IBOYA50Z1F1mU0TKel24 uih3IKSxynxiigWZSvDgbcQ8OsAIq83r7nKvFCrFknr9lRyZGATRoXuwB1zKAm5NgEMc /UQ/HY13rP6DillmiyXjxJbtJ33xlyIroc50mvgFK4DvXf629PqtoH9YQCYgM9zHjmYB 6msgBjI4t+dt4zoLT5NmM9BOiwMgpNWkNqnB67jHzvBIIzJK8ripiOFUoSN/2X7SjeML zOYg== 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=vSXWkAY6F+1DrONV7hsjOmPhRFIHYYJM9u1KHCZtkYs=; b=ccqy0i7XcpkyPeCVSw454eqkfQnbVvFR5D66CQkD143EstsLrPLQZ5Xipmo/7uL9pH YA+yEV9RD/tSl6VC7xTfP0NLT994iaMWgU79BDYVkK1161eNdxABxuSqNHU9W02JoyyX 7rnVLLrSId267JGAlQnyyx090chpm87RIcXGSjNlFTg55UbRgq9yhHT2eyzY0baAEaNh FYtywk/h9q+Xva7kRNcV1ZsG1tyt2K5rdgUjcQR1TkBSqKLdrEwrpQOYfM9RoemYmxdv id+/Jz+KkXaVTu1NO1QwkWOHgeVH63qW2dEMRSf+tzcLaSaHIDfLkGzMSf89VfkeeELO krnA== X-Gm-Message-State: APt69E2BurMIsXwUyb/8dE1saJ9LQjMTiuQBbl0VbL3ARfahoNoWpW3w VR/7RrVqY8cg3kx4YVnXkWC47wjO X-Google-Smtp-Source: ADUXVKLvj2gT4cNZRK+8ubbTBkHEPf9te35ClTD7x/cv0JHOUenqK90+Y5gu5l2ivDJZtcIDZ7V6XQ== X-Received: by 2002:a63:3c4c:: with SMTP id i12-v6mr3913380pgn.309.1529016527768; Thu, 14 Jun 2018 15:48:47 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:47 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:17 -0700 Message-Id: <20180614224820.27126-7-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 50cc74d299..ab79e76aa8 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 Thu Jun 14 22:48:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 929735 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="pF/9K7A3"; 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 416JhW3z3Hz9s3R for ; Fri, 15 Jun 2018 08:49:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D970487AE4; Thu, 14 Jun 2018 22:49: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 cEw+Xt2uYv+P; Thu, 14 Jun 2018 22:49:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E635F864A4; Thu, 14 Jun 2018 22:49:12 +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 5EFA71C121B for ; Thu, 14 Jun 2018 22:48:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6958F8873C for ; Thu, 14 Jun 2018 22:48:50 +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 qXU3RMayv5ZU for ; Thu, 14 Jun 2018 22:48:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f43.google.com (mail-pg0-f43.google.com [74.125.83.43]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C3F4C886A4 for ; Thu, 14 Jun 2018 22:48:49 +0000 (UTC) Received: by mail-pg0-f43.google.com with SMTP id w8-v6so530551pgp.7 for ; Thu, 14 Jun 2018 15:48:49 -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=pF/9K7A37YM123f9EHDqwJU+Uf2tlm+tA2cGv4kt0XdV5Jn2AqmMHwOYKIvawFqSqS 8RIu+IC57QFd1vqwuBm+mEeNpUbsNrRP1S5H+CKe5N8kMDzAuaL8g1NauA12yg4Yhaco VxEnSFQ0j8ov4ts5b/43tXU8cSTF1u7MIQDP18MftREIM05y1lty/swtKcHS74zfXXyH Ed5xZ7mhZdi9EtsPDAODLT5RPxL4BBVH4opS2NytQnMlaYuSoL1aI4e4TYKbR6EwgWWT jyxzreZZ4PzMf456qgUIvhBVu2zQYE61lNA1avjctpjr7ecCyupTpSQyKh6/QgyFWnXt Xuxw== 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=MMH3V50uRMMwqb0Ajn1piT7hH5sv2n5oEGvwr7H22Ar3SdcwnZr8l5c75efwXN/cka Ppa1wOTMaEOWbnHOUAzNNWc8nEdL+o0lgdJPNkHKqzT02fJ0n0U7+JN9mzlbG2RNf8sf sSiis4VIvo/5Dxvx7SuqpDbc6iTg65ctWm7vajov+0qyg24HA2IPNFAMw4ACh+MBHWFB YyAKGWe6oT6sKDnzFuJAhfwvIKvLOVSZXyWVmNWt9WE77YIinY3tqtpvIbeLwPDh8/GW ywaynFczjslD6PYI+I82Fy3168PgtT8VOGFTRAZErFc9y9j6pVKtUIivbyAEZNrmdkTx tZug== X-Gm-Message-State: APt69E2+Od3Os7q3VOP4RGDNxrloVWrtueFAAncxHdy+4PXzSIdn1C82 Rjy0t1yd+Y6fRXGRQLB66IGKOZYg X-Google-Smtp-Source: ADUXVKJGS6twcCqilKyQbu7Al38PxVsuGwdJ/JbIx61J8QtwkvntUiBBQXtrz5swLKXTt4ZiDSLJ3w== X-Received: by 2002:a65:4809:: with SMTP id h9-v6mr3956096pgs.258.1529016529103; Thu, 14 Jun 2018 15:48:49 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:48 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:18 -0700 Message-Id: <20180614224820.27126-8-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 Thu Jun 14 22:48:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 929737 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="twAWqB0c"; 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 416JhZ1vWqz9s3C for ; Fri, 15 Jun 2018 08:49:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D101A89800; Thu, 14 Jun 2018 22:49:14 +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 4TDkQNd0hMQe; Thu, 14 Jun 2018 22:49:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id AE69089807; Thu, 14 Jun 2018 22:49:13 +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 A7AA31C121B for ; Thu, 14 Jun 2018 22:48:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B05698873C for ; Thu, 14 Jun 2018 22:48:51 +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 9Jd3LOdsIivX for ; Thu, 14 Jun 2018 22:48:51 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id 19FE8886A4 for ; Thu, 14 Jun 2018 22:48:51 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id m5-v6so3566039pgd.3 for ; Thu, 14 Jun 2018 15:48:51 -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=twAWqB0cCrbZG1vs5mh2PDTLytWgBDDBpIVXIbKODHA4twMBohIwDqJVefvr1pW0s+ 04KN6g59oE1bvMoOuHXm6bGRry9lbsuiT71SJ+1VzdNWcshABCY+ELpBbkPEAc7qDVlV amZ0UICfcyAZbU6sP6jJ05A2NnrZ36isQuqG3GaJbxxpCiTncx3H55PlTM1+H1S0MIhG EUsgC9gtlU7EwxWIb2O55/wigmdZ6HZq2xCHm03HxSg3dNkuP1kFnlFjBUxcd05g9KBk SkqmpHFhezV0RyiEaSZeF2EpjsqPhE14MA0Vr8mlxj1rTHx4tZX23ZID8Unkdp4Yzlnf cADQ== 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=aLCAlZ/vzRgPZ+ySHNhLkPFLlW8OqlmRudPIHVaGjzwCQ6H4+Z42kTru2jEsH0bRoo HBJ6O1RAoK2P86ujJjLwYuRZSl5L4BG1y78rREh2de95amFcnyx0MyPwOpRG+SuAw8la Ckvxwl0+oUtJdFI9YI0hOq720kcGQI9owxNsl7sCcg5Sg7wScrPVibVXxZLNWksSSfUE NL9aJI5D7ErCXGxtg+X9zzfjVaPiPcpEP6YxUtkPWaILjapL3p1WXs/x9xueb5uyqCsA X9JzvGuSoaUjQRBHZjqwXSSH5gtnajkeXk5kYVW8CVjmoUOmvU+EbKU48ZSsVocuI5yl ZM9Q== X-Gm-Message-State: APt69E2liDpoo1JBNKM01bF+Mi+VfCPR0FPC3rqr/oM/KOJftzumsHso LLavcIxakuxm6lLJyiVzW1rUwtyJ X-Google-Smtp-Source: ADUXVKJ0mk0HYGfCYacUMb3OpgJRmajfe1KaKGF7VonV6021oVTKqF6xTB3ebW87DmYCsfvaj1O/xA== X-Received: by 2002:a65:4348:: with SMTP id k8-v6mr3956632pgq.341.1529016530434; Thu, 14 Jun 2018 15:48:50 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:49 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:19 -0700 Message-Id: <20180614224820.27126-9-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 Thu Jun 14 22:48:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 929739 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="GSeuPPBd"; 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 416Jhj2KSbz9s3C for ; Fri, 15 Jun 2018 08:49:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B26C3252F7; Thu, 14 Jun 2018 22:49:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QAnp8TRurQXN; Thu, 14 Jun 2018 22:49:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 92B722282B; Thu, 14 Jun 2018 22:49:14 +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 03F941C121B for ; Thu, 14 Jun 2018 22:48:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0DCBD886A4 for ; Thu, 14 Jun 2018 22:48:54 +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 rUBIecqp0S4H for ; Thu, 14 Jun 2018 22:48:52 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id B2E028873C for ; Thu, 14 Jun 2018 22:48:52 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id l65-v6so3557866pgl.8 for ; Thu, 14 Jun 2018 15:48:52 -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=jCK4O8v37gWCYO5DrvRoEd1FjXmkeXYtUsnZWQ/oxjE=; b=GSeuPPBdMjQm9ZiA5h+ix1sGNqvngD8kvGn0jLuwaiXHC55TtKpu6oJsZNDGh1+MGX wnaMOnGtu0rOZMOVaIQaQuzjvdSV7N8R38NFhIBckr6ff3pKcuD0Ry1Mc2AusiDqCTT6 igjqW2mkASTkkwskb0p5Konk/gm6ujc58y8RyCw2Efv342LJoTxfOyd+15JVPmLq/rEo BWcSlNXCN3yjuyCpyqmLeS8tjP1ZX4ug0/kMRESHzGF4yyOAcy0mtZ1ffDDoUA9PCNQR rcuEzZ9UEg4x3faIwCndqJ4y7Emwlz1gAw6afIpsolUqgzdcR8Aj3cmyhrqdhxnOVpIN DtwA== 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=jCK4O8v37gWCYO5DrvRoEd1FjXmkeXYtUsnZWQ/oxjE=; b=IF3wJ9VNi1pEmk3S/SUbMyF/rXejeJptFm4K4go142k58mppap1u742lA7hbwNTcd4 x8JEBUCligDVEJhPmM7+1Bwr/2PziEcVtqWVqx4QEzzkOq/aNGX8fArIBSN2wfLfmw5n cZOGUzJS11rnZaWlHbtkdV0Pq4d3Pb5bfMTH0kREuD3o/X5RUK6AivxIU6xg44M0R9Eo QDY2mZ4QC5VHiumVX2OOwdNHmKWevrWGGr2qsCrVBprXxNyMsOy2GK4s20edXvR+XT62 fGKzj1vczKi9DzGOgef/NIF1qWUfCrzBYIcIxIcFbP+hNNqUKDWZM79WT1yIc/ksW3K3 ybfw== X-Gm-Message-State: APt69E0GGT6w1lJa5FNLBkGwCEuREvUaX6O/DZLDRHIEAKjultithn7A pMiADwDT4Tmoto7n+BWdJTVuroPh X-Google-Smtp-Source: ADUXVKKOqU90knF0s5hq54C4jk1BHgjxkkww3EF2MLs78lhwa3qLZ7RBDeeV7GdvpyZHn7FXXsqqGQ== X-Received: by 2002:a63:ba4b:: with SMTP id l11-v6mr3777995pgu.295.1529016531831; Thu, 14 Jun 2018 15:48:51 -0700 (PDT) Received: from JAKWS.YakimaSteel.local ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id s2-v6sm11224905pfb.127.2018.06.14.15.48.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 15:48:51 -0700 (PDT) From: Joseph Kogut To: buildroot@buildroot.org Date: Thu, 14 Jun 2018 15:48:20 -0700 Message-Id: <20180614224820.27126-10-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614224820.27126-1-joseph.kogut@gmail.com> References: <20180610205417.13963-1-joseph.kogut@gmail.com> <20180614224820.27126-1-joseph.kogut@gmail.com> Subject: [Buildroot] [RFC PATCH v4 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 ++++++++++++++ .../0002-Fix-arm-build-with-glibc-2.27.patch | 28 ++++ package/chromium/Config.in | 46 +++++++ package/chromium/chromium.hash | 3 + package/chromium/chromium.mk | 127 ++++++++++++++++++ package/chromium/toolchain/BUILD.gn | 71 ++++++++++ 8 files changed, 379 insertions(+) create mode 100644 package/chromium/0001-modify-compiler_cpu_abi-for-buildroot-toolchain.patch create mode 100644 package/chromium/0002-Fix-arm-build-with-glibc-2.27.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/0002-Fix-arm-build-with-glibc-2.27.patch b/package/chromium/0002-Fix-arm-build-with-glibc-2.27.patch new file mode 100644 index 0000000000..8aebbd06c8 --- /dev/null +++ b/package/chromium/0002-Fix-arm-build-with-glibc-2.27.patch @@ -0,0 +1,28 @@ +From aed4599c18586dfac46139a3c32011f804fdaef6 Mon Sep 17 00:00:00 2001 +From: Joseph Kogut +Date: Wed, 13 Jun 2018 13:59:24 -0700 +Subject: [PATCH] Fix arm build with glibc 2.27 + +Upstream patch from: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1060155 + +Signed-off-by: Joseph Kogut +--- + third_party/crashpad/crashpad/compat/linux/sys/ptrace.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h b/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h +index 73861576d..e5c95c7cc 100644 +--- a/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h ++++ b/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h +@@ -34,7 +34,7 @@ static constexpr __ptrace_request PTRACE_GET_THREAD_AREA = + #endif // !PTRACE_GET_THREAD_AREA && !PT_GET_THREAD_AREA && defined(__GLIBC__) + + // https://sourceware.org/bugzilla/show_bug.cgi?id=22433 +-#if !defined(PTRACE_GETVFPREGS) && \ ++#if !defined(PTRACE_GETVFPREGS) && !defined(PT_GETVFPREGS) && \ + defined(__GLIBC__) && (defined(__arm__) || defined(__arm64__)) + static constexpr __ptrace_request PTRACE_GETVFPREGS = + static_cast<__ptrace_request>(27); +-- +2.17.1 + diff --git a/package/chromium/Config.in b/package/chromium/Config.in new file mode 100644 index 0000000000..aa71d0e2dd --- /dev/null +++ b/package/chromium/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_CHROMIUM + bool "chromium" + 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 + 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_LIBXI if !BR2_PACKAGE_LIBGTK3_X11 + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_XLIB_LIBXSCRNSAVER + select BR2_PACKAGE_XLIB_LIBXTST if !BR2_PACKAGE_LIBGTK3_X11 + +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..4c39ac5c08 --- /dev/null +++ b/package/chromium/chromium.hash @@ -0,0 +1,3 @@ +# 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..1b553311a8 --- /dev/null +++ b/package/chromium/chromium.mk @@ -0,0 +1,127 @@ +################################################################################ +# +# 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 cairo cups dbus freetype harfbuzz \ + host-clang host-lld host-ninja host-nodejs host-python \ + jpeg libdrm libglib2 libkrb5 libnss libpng pango \ + 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\" \ + 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\" + +# V8 snapshots require compiling V8 with the same word size as the target +# architecture, which means the host needs to have that toolchain available. +CHROMIUM_OPTS += v8_use_snapshot=false + +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_X11),y) +CHROMIUM_DEPENDENCIES += libgtk3 +CHROMIUM_OPTS += use_gtk3=true +else +CHROMIUM_DEPENDENCIES += libgtk2 xlib_libXi xlib_libXtst +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/ + + ( 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)" \ + 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/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 + } +} +