Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

build-pgroonga: Upgrade PGroonga from 4.0.1 to 4.0.6.

Anders Kaseorgcc3d4b645921
diff --git a/scripts/lib/build-pgroonga b/scripts/lib/build-pgroonga
index 707b67dfda6..f08f1d23fdb 100755
--- a/scripts/lib/build-pgroonga
+++ b/scripts/lib/build-pgroonga
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
set -euxo pipefail
-version="4.0.1"
-sha256=e2dfe40f3a0342e9ce4f1212043c46564fda3678e8cfda8587bbc37b103ebd17
+version="4.0.6"
+sha256=d0048944763c18f91bc67e043aafa64c2c53f6246547c9474311efbc05ccfe66
tmpdir="$(mktemp -d)"
trap 'rm -r "$tmpdir"' EXIT
@@ -13,14 +13,5 @@ sha256sum -c <<<"$sha256 $tarball"
tar -xzf "$tarball"
cd "pgroonga-$version"
-if pkg-config msgpack-c; then
- msgpack='msgpack-c'
-elif pkg-config msgpack; then
- msgpack='msgpack'
-else
- echo 'build-pgroonga: Cannot find msgpack'
- exit 1
-fi
-
-make -j "$(nproc)" HAVE_MSGPACK=1 MSGPACK_PACKAGE_NAME="$msgpack"
-make install
+meson setup build .
+meson install -C build
diff --git a/tools/lib/provision.py b/tools/lib/provision.py
index dc0786f3809..0715d0ea4bd 100755
--- a/tools/lib/provision.py
+++ b/tools/lib/provision.py
@@ -159,10 +159,10 @@ if vendor == "debian" and os_version == "13":
*UBUNTU_COMMON_APT_DEPENDENCIES,
f"postgresql-{POSTGRESQL_VERSION}",
# Dependency for building PGroonga from source
+ "meson",
f"postgresql-server-dev-{POSTGRESQL_VERSION}",
"libgroonga-dev",
"libmsgpack-dev",
- "clang",
*VENV_DEPENDENCIES,
]
elif "debian" in os_families():