From patchwork Wed Mar 14 00:29:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Perez de Castro X-Patchwork-Id: 885551 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=none (p=none dis=none) header.from=igalia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="EP6Ud/Xp"; 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 401CL839S3z9sTT for ; Wed, 14 Mar 2018 11:30:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 834EA87A69; Wed, 14 Mar 2018 00:30:19 +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 LTACAf4N5NT5; Wed, 14 Mar 2018 00:30:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DD2E587A73; Wed, 14 Mar 2018 00:30:16 +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 6EB951C0539 for ; Wed, 14 Mar 2018 00:30:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6BCC987A5D for ; Wed, 14 Mar 2018 00:30:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p0xAUil34BA5 for ; Wed, 14 Mar 2018 00:30:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fanzine.igalia.com (fanzine.igalia.com [91.117.99.155]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7DDF987A59 for ; Wed, 14 Mar 2018 00:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=S616qj0WpNIDLqO025t3NMRVA6hzmN7i3b9cJogjf6I=; b=EP6Ud/XpkRN36qfj6MLl0lmyjrbb4321Cvo/Td2MG7P30U8bk3MP1KcXeUvAiUenUJyMLZ/9Gmg9B41nUe5FlwfX3xKwLDj3x5vxz8Zi6/Rz6PlJLQv5yuPCUcF4xXPTLsufE8PQC4IcokLJVSGeAc8j2mraTmKC/MqUlgGkOYph4l4gMQX8bM7YYztb5UUBOcWUPNBT5FwcL1tc8g8x+ObpjzomO9J9U8n+19HR2SKFWP3B4N2W77M8qjbcJ7j1L3mEhaI3s6AvexrOz+dhiAxzoht+g7ArzX2vSaq7g4/TMWw5xJRx+f+a/8h5E91Onlt3mqhAz4sxqdr8cPERXw==; Received: from [194.100.51.2] (helo=kodama) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1evuIz-0004ig-5p; Wed, 14 Mar 2018 01:30:09 +0100 Received: from localhost (kodama [local]) by kodama (OpenSMTPD) with ESMTPA id 81fa5889; Wed, 14 Mar 2018 00:29:49 +0000 (UTC) From: Adrian Perez de Castro To: buildroot@buildroot.org Date: Wed, 14 Mar 2018 02:29:47 +0200 Message-Id: <20180314002949.109236-2-aperez@igalia.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180314002949.109236-1-aperez@igalia.com> References: <20180314002949.109236-1-aperez@igalia.com> Subject: [Buildroot] [PATCH/next 1/3] brotli: 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: Adrian Perez de Castro MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add the brotli package to Buildroot. This is needed by woff2, which in turn is needed by webkitgtk from version 2.20.0 onwards. WebKitGTK+ used to bundle a copy of the library, but it stopped doing so now that the upstream has started making releases. Signed-off-by: Adrian Perez de Castro --- DEVELOPERS | 1 + package/Config.in | 1 + package/brotli/Config.in | 12 ++++++++++++ package/brotli/brotli.hash | 5 +++++ package/brotli/brotli.mk | 17 +++++++++++++++++ 5 files changed, 36 insertions(+) create mode 100644 package/brotli/Config.in create mode 100644 package/brotli/brotli.hash create mode 100644 package/brotli/brotli.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3df820e712..f3d265e421 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -62,6 +62,7 @@ F: package/setools/ F: package/sngrep/ N: Adrian Perez de Castro +F: package/brotli/ F: package/libepoxy/ F: package/webkitgtk/ diff --git a/package/Config.in b/package/Config.in index 449ffcc47b..96d7ddb576 100644 --- a/package/Config.in +++ b/package/Config.in @@ -63,6 +63,7 @@ menu "Audio and video applications" endmenu menu "Compressors and decompressors" + source "package/brotli/Config.in" source "package/bzip2/Config.in" source "package/gzip/Config.in" source "package/lz4/Config.in" diff --git a/package/brotli/Config.in b/package/brotli/Config.in new file mode 100644 index 0000000000..e40f5b6b9f --- /dev/null +++ b/package/brotli/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_BROTLI + bool "brotli" + help + Generic-purpose lossless compression library. The algorithm + compresses data using a combination of a modern variant of + the LZ77 algorithm, Huffman coding and 2nd order context + modeling, with a compression ratio comparable to the best + currently available general-purpose compression methods. It + is similar in speed with deflate but offers more dense + compression. + + https://github.com/google/brotli diff --git a/package/brotli/brotli.hash b/package/brotli/brotli.hash new file mode 100644 index 0000000000..7bdefcb7dd --- /dev/null +++ b/package/brotli/brotli.hash @@ -0,0 +1,5 @@ +# Locally generated: +sha512 93adcf437d730ac403e444285ac8aefbb2c8a6b5e1b064e8ee33684c067287a8159e0ee73d2217c167881e87da73fa494792d963a15508fd42b2ac4a5b52823c v1.0.3.tar.gz + +# Hash for license files: +sha512 16d7a62757f9854cd0ff9750eb0b374a1360deded0ba1646fde430f79a8f7c36a85f4884faaf1ea90db02537cd8d8c314cfcbcf492be25af24e1e77aa5919ebb LICENSE diff --git a/package/brotli/brotli.mk b/package/brotli/brotli.mk new file mode 100644 index 0000000000..cf1e811543 --- /dev/null +++ b/package/brotli/brotli.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# brotli +# +################################################################################ + +BROTLI_VERSION = 1.0.3 +BROTLI_SOURCE = v$(BROTLI_VERSION).tar.gz +BROTLI_SITE = https://github.com/google/brotli/archive +BROTLI_LICENSE = MIT +BROTLI_LICENSE_FILES = LICENSE +BROTLI_INSTALL_STAGING = YES +BROTLI_CONF_OPTS = \ + -DBROTLI_DISABLE_TESTS=ON \ + -DBROTLI_BUNDLED_MODE=OFF + +$(eval $(cmake-package))