Skip to content

Commit aee33ea

Browse files
committed
switch upstream gumbo to codeberg.org/gumbo-parser/gumbo-parser
use version 0.13.2 closes #31
1 parent e776a2f commit aee33ea

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/hext-releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ env:
66
HEXT_BOOST_VERSION: "1.89.0"
77
HEXT_BOOST_SHA256: "9de758db755e8330a01d995b0a24d09798048400ac25c03fc5ea9be364b13c93"
88
HEXT_BOOST_INSTALL_PATH: "${{ github.workspace }}/boost_root"
9-
HEXT_GUMBO_VERSION: "0.10.1"
10-
HEXT_GUMBO_SHA256: "28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad"
9+
HEXT_GUMBO_VERSION: "0.13.2"
10+
HEXT_GUMBO_SHA256: "dbdc159dc8e5c6f3f254e50bce689dd9e439064ff06c165d5653410a5714ab66"
1111
HEXT_GUMBO_INSTALL_PATH: "${{ github.workspace }}/gumbo_root"
1212
# NOTE: when changing HEXT_MANYLINUX_VERSION, also change the container images.
1313
# See `image: quay.io/pypa/manylinux_*_x86_64`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ tests through valgrind you'd run the following:
105105
$ HTMLEXT="valgrind -q ../build/htmlext" ./blackbox.sh case/*.hext
106106

107107
## Acknowledgements
108-
* [Gumbo](https://github.com/google/gumbo-parser)
108+
* [Gumbo](https://codeberg.org/gumbo-parser/gumbo-parser/)
109109
**An HTML5 parsing library in pure C99**
110110
Gumbo is used as the HTML parser behind `hext::Html`. It's fast, easy to
111111
integrate and even fixes invalid HTML.

scripts/github-actions/linux/install-gumbo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ done
1919
[[ -f "$HEXT_GUMBO_INSTALL_PATH/include/gumbo.h" ]] \
2020
&& perror_exit "gumbo is already installed in $HEXT_GUMBO_INSTALL_PATH"
2121

22-
gumbo_dl_url="https://github.com/google/gumbo-parser/archive/refs/tags/v${HEXT_GUMBO_VERSION}.tar.gz"
22+
gumbo_dl_url="https://codeberg.org/gumbo-parser/gumbo-parser/archive/${HEXT_GUMBO_VERSION}.tar.gz"
2323

2424
build_dir=$(mktemp -d)
2525
echo $build_dir

scripts/github-actions/macos/install-gumbo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ done
2020
[[ -f "$HEXT_GUMBO_INSTALL_PATH/include/gumbo.h" ]] \
2121
&& perror_exit "gumbo is already installed in $HEXT_GUMBO_INSTALL_PATH"
2222

23-
gumbo_dl_url="https://github.com/google/gumbo-parser/archive/refs/tags/v${HEXT_GUMBO_VERSION}.tar.gz"
23+
gumbo_dl_url="https://codeberg.org/gumbo-parser/gumbo-parser/archive/${HEXT_GUMBO_VERSION}.tar.gz"
2424

2525
build_dir=$(mktemp -d)
2626
echo $build_dir

scripts/github-actions/npm/assets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ In addition to Python and Node, there are language bindings for [JavaScript](htt
103103

104104
[Hext](https://hext.thomastrapp.com/) is released under the terms of the Apache License v2.0. The source code is hosted on [Github](https://github.com/html-extract/hext.git).
105105
This binary package includes content authored by third parties:
106-
* [gumbo-parser](https://github.com/google/gumbo-parser). Copyright 2010 Google Inc. See gumbo.license.
106+
* [gumbo-parser](https://codeberg.org/gumbo-parser/gumbo-parser/). Copyright 2010 Google Inc. See gumbo.license.
107107

scripts/github-actions/pypi/assets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ htmlext \
111111
## License
112112
[Hext](https://hext.thomastrapp.com/) is released under the terms of the Apache License v2.0. The source code is hosted on [Github](https://github.com/html-extract/hext.git).
113113
This binary package includes content authored by third parties:
114-
* [gumbo-parser](https://github.com/google/gumbo-parser). Copyright 2010 Google Inc. See gumbo.license.
114+
* [gumbo-parser](https://codeberg.org/gumbo-parser/gumbo-parser/). Copyright 2010 Google Inc. See gumbo.license.
115115
* [rapidjson](http://rapidjson.org/). Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. See rapidjson.license.
116116

0 commit comments

Comments
 (0)