Skip to contentSkip to conversation

Update WebKitGTK+ to 2.20.0

PATCH New Adrian Perez de Castro 1 participant 5 messages Mar 14, 2018

lore
Share & tools
lore
#0 lore raw

cover Update WebKitGTK+ to 2.20.0

Hi everybody,

This patch series adds a new dependency needed by WebKitGTK+: woff. In turn, that depends on brotli, which the patch series adds as well.

I am adding myself as maintainer for those two new packages (brotli and woff2) in the DEVELOPERS file and I will be keeping an eye on their releases.

So far I have only tested making an AArch64 build for the Raspberry Pi 3 and the update could use a bit more of testing, but I think it is worth to send the patch series early for review and try making a couple of builds for other architectures in the meantime.

Best regards,

-Adrian

Adrian Perez de Castro (3):
brotli: new package
woff2: new package
webkitgtk: update to version 2.20.0

 DEVELOPERS                       |  2 ++
 package/Config.in                |  2 ++
 package/brotli/Config.in         | 12 ++++++++++++
 package/brotli/brotli.hash       |  5 +++++
 package/brotli/brotli.mk         | 17 +++++++++++++++++
 package/webkitgtk/Config.in      |  2 ++
 package/webkitgtk/webkitgtk.hash |  8 ++++----
 package/webkitgtk/webkitgtk.mk   |  4 ++--
 package/woff2/Config.in          |  9 +++++++++
 package/woff2/woff2.hash         |  5 +++++
 package/woff2/woff2.mk           | 17 +++++++++++++++++
 11 files changed, 77 insertions(+), 6 deletions(-)
 create mode 100644 package/brotli/Config.in
 create mode 100644 package/brotli/brotli.hash
 create mode 100644 package/brotli/brotli.mk
 create mode 100644 package/woff2/Config.in
 create mode 100644 package/woff2/woff2.hash
 create mode 100644 package/woff2/woff2.mk
Signature · 1 line
2.16.2
#1 lore raw

PATCH 1/3 brotli: new package

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.

---
 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
DEVELOPERS +1 -0
index 3df820e712..f3d265e421 100644
@@ -62,6 +62,7 @@ F:	package/setools/
 F:	package/sngrep/
 
 N:	Adrian Perez de Castro <[email protected]>
+F:	package/brotli/
 F:	package/libepoxy/
 F:	package/webkitgtk/
 
package/Config.in +1 -0
index 449ffcc47b..96d7ddb576 100644
@@ -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"
package/brotli/Config.in new file +12 -0
new file mode 100644
index 0000000000..e40f5b6b9f
@@ -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
package/brotli/brotli.hash new file +5 -0
new file mode 100644
index 0000000000..7bdefcb7dd
@@ -0,0 +1,5 @@
+# Locally generated:
+sha512  93adcf437d730ac403e444285ac8aefbb2c8a6b5e1b064e8ee33684c067287a8159e0ee73d2217c167881e87da73fa494792d963a15508fd42b2ac4a5b52823c  v1.0.3.tar.gz
+
+# Hash for license files:
+sha512  16d7a62757f9854cd0ff9750eb0b374a1360deded0ba1646fde430f79a8f7c36a85f4884faaf1ea90db02537cd8d8c314cfcbcf492be25af24e1e77aa5919ebb  LICENSE
package/brotli/brotli.mk new file +17 -0
new file mode 100644
index 0000000000..cf1e811543
@@ -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))
Signature · 1 line
2.16.2
#2 lore raw

PATCH 2/3 woff2: new package

In reply to Adrian Perez de Castro

Add the woff2 package to Builroot. This 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 is has been making releases.

---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/woff2/Config.in  |  9 +++++++++
 package/woff2/woff2.hash |  5 +++++
 package/woff2/woff2.mk   | 17 +++++++++++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 package/woff2/Config.in
 create mode 100644 package/woff2/woff2.hash
 create mode 100644 package/woff2/woff2.mk
DEVELOPERS +1 -0
index f3d265e421..bfe1007ec5 100644
@@ -65,6 +65,7 @@ N:	Adrian Perez de Castro <[email protected]>
 F:	package/brotli/
 F:	package/libepoxy/
 F:	package/webkitgtk/
+F:	package/woff2/
 
 N:	Adrien Gallou?t <[email protected]>
 F:	package/glorytun/
package/Config.in +1 -0
index 96d7ddb576..1461f0a55a 100644
@@ -1186,6 +1186,7 @@ menu "Graphics"
 	source "package/waylandpp/Config.in"
 	source "package/webkitgtk/Config.in"
 	source "package/webp/Config.in"
+	source "package/woff2/Config.in"
 	source "package/zbar/Config.in"
 	source "package/zxing-cpp/Config.in"
 endmenu
package/woff2/Config.in new file +9 -0
new file mode 100644
index 0000000000..48672570dd
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_WOFF2
+	bool "woff2"
+	depends on BR2_INSTALL_LIBSTDCPP
+	select BR2_PACKAGE_BROTLI
+	help
+	  Reference implementation for the WOFF2 font file format,
+	  typically used for Web fonts
+
+	  https://github.com/google/woff2
package/woff2/woff2.hash new file +5 -0
new file mode 100644
index 0000000000..2e9b62bde1
@@ -0,0 +1,5 @@
+# Locally generated:
+sha512  c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d  v1.0.2.tar.gz
+
+# Hash for license files:
+sha512  16d7a62757f9854cd0ff9750eb0b374a1360deded0ba1646fde430f79a8f7c36a85f4884faaf1ea90db02537cd8d8c314cfcbcf492be25af24e1e77aa5919ebb  LICENSE
package/woff2/woff2.mk new file +17 -0
new file mode 100644
index 0000000000..23b88a5e9a
@@ -0,0 +1,17 @@
+################################################################################
+#
+# woff2
+#
+################################################################################
+
+WOFF2_VERSION = 1.0.2
+WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz
+WOFF2_SITE = https://github.com/google/woff2/archive
+WOFF2_LICENSE = MIT
+WOFF2_LICENSE_FILES = LICENSE
+WOFF2_INSTALL_STAGING = YES
+WOFF2_DEPENDENCIES = brotli
+WOFF2_CONF_OPTS = \
+	-DNOISY_LOGGING=OFF
+
+$(eval $(cmake-package))
Signature · 1 line
2.16.2
#3 lore raw

PATCH 3/3 webkitgtk: update to version 2.20.0

In reply to Adrian Perez de Castro

Release notes:

    https://webkitgtk.org/2018/03/12/webkitgtk2.20.0-released.html

No corresponding WebKit Security Advisory (WSA) has been published for now.

This also adds a dependency on the woff2 package. In previous versions WebKitGTK+ bundled a known-to-work snapshot of its Git repository due to upstream not providing releases. The situation has changed and releases are now available, and the bundled copy of woff2 has been removed.

Last but not least, this patch selects BR2_PACKAGE_WEBP_DEMUX, which is now required.

---
 package/webkitgtk/Config.in      | 2 ++
 package/webkitgtk/webkitgtk.hash | 8 ++++----
 package/webkitgtk/webkitgtk.mk   | 4 ++--
 3 files changed, 8 insertions(+), 6 deletions(-)
package/webkitgtk/Config.in +2 -0
index 31794ed2a4..e1cc2dc6ca 100644
@@ -41,6 +41,8 @@ config BR2_PACKAGE_WEBKITGTK
 	select BR2_PACKAGE_LIBXSLT
 	select BR2_PACKAGE_SQLITE
 	select BR2_PACKAGE_WEBP
+	select BR2_PACKAGE_WEBP_DEMUX
+	select BR2_PACKAGE_WOFF2
 	select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11
 	select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11
 	select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11
package/webkitgtk/webkitgtk.hash +4 -4
index dd2b28d372..28468a5297 100644
@@ -1,7 +1,7 @@
-# From https://webkitgtk.org/releases/webkitgtk-2.18.6.tar.xz.sums
-md5 c1a548595135ee75ad3bf2e18ac83112 webkitgtk-2.18.6.tar.xz
-sha1 fb0daa85142cfe8822de518dfaa7bd5c3cdd6c23 webkitgtk-2.18.6.tar.xz
-sha256 93912cc2f40f12e452be1ca4babdbdaac0ec4f828d441257a6b06c2963bbac3c webkitgtk-2.18.6.tar.xz
+# From https://webkitgtk.org/releases/webkitgtk-2.20.0.tar.xz.sums
+md5 51cc47345c3ec53802718cd6fc9b746f webkitgtk-2.20.0.tar.xz
+sha1 f1e021318f06085fff5455667459bf26716d610f webkitgtk-2.20.0.tar.xz
+sha256 57f640f720bd9a8a7207f3321cf803a15c2f207b4e7b75ff1be17bc1eeb00a3c webkitgtk-2.20.20.tar.xz
 
 # Hashes for license files:
 sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
package/webkitgtk/webkitgtk.mk +2 -2
index eb39664b1e..e27f970104 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WEBKITGTK_VERSION = 2.18.6
+WEBKITGTK_VERSION = 2.20.0
 WEBKITGTK_SITE = http://www.webkitgtk.org/releases
 WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz
 WEBKITGTK_INSTALL_STAGING = YES
@@ -14,7 +14,7 @@ WEBKITGTK_LICENSE_FILES = \
 	Source/WebCore/LICENSE-LGPL-2.1
 WEBKITGTK_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \
 	enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \
-	libtasn1 libxml2 libxslt sqlite webp
+	libtasn1 libxml2 libxslt sqlite webp woff2
 WEBKITGTK_CONF_OPTS = \
 	-DENABLE_API_TESTS=OFF \
 	-DENABLE_GEOLOCATION=OFF \
Signature · 1 line
2.16.2
#4 lore raw

cover Update WebKitGTK+ to 2.20.0

In reply to Adrian Perez de Castro
Quoted 4 lines · Adrian Perez de Castro

Hi everybody,

This patch series adds a new dependency needed by WebKitGTK+: woff. In turn, that depends on brotli, which the patch series adds as well.

It seems that Patchwork also had trouble picking this patch series, I can only see one of the patches in there:

https://patchwork.ozlabs.org/project/buildroot/list/?series=33620

They patchset has reached the list correctly, so that's nice :-)

Cheers,

--
Adri?n ?

Quoted 28 lines

I am adding myself as maintainer for those two new packages (brotli and woff2) in the DEVELOPERS file and I will be keeping an eye on their releases.

So far I have only tested making an AArch64 build for the Raspberry Pi 3 and the update could use a bit more of testing, but I think it is worth to send the patch series early for review and try making a couple of builds for other architectures in the meantime.

Best regards,

-Adrian

Adrian Perez de Castro (3):
brotli: new package
woff2: new package
webkitgtk: update to version 2.20.0

 DEVELOPERS                       |  2 ++
 package/Config.in                |  2 ++
 package/brotli/Config.in         | 12 ++++++++++++
 package/brotli/brotli.hash       |  5 +++++
 package/brotli/brotli.mk         | 17 +++++++++++++++++
 package/webkitgtk/Config.in      |  2 ++
 package/webkitgtk/webkitgtk.hash |  8 ++++----
 package/webkitgtk/webkitgtk.mk   |  4 ++--
 package/woff2/Config.in          |  9 +++++++++
 package/woff2/woff2.hash         |  5 +++++
Quoted 13 lines
 package/woff2/woff2.mk           | 17 +++++++++++++++++
 11 files changed, 77 insertions(+), 6 deletions(-)
 create mode 100644 package/brotli/Config.in
 create mode 100644 package/brotli/brotli.hash
 create mode 100644 package/brotli/brotli.mk
 create mode 100644 package/woff2/Config.in
 create mode 100644 package/woff2/woff2.hash
 create mode 100644 package/woff2/woff2.mk
Signature · 1 line
2.16.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180314/f1c4f94c/attachment.asc>