Add support for ecma_intl PHP extension (#795)

pull/796/head
Michele Locati 2023-08-30 15:42:58 +02:00 committed by GitHub
parent dadc332bb0
commit 1888790bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View File

@ -25,6 +25,11 @@ The `decimal` PHP extension requires the `libmpdec` system library.
It's not available on Alpine Linux, so we install it manually.
We need to monitor new releases at https://www.bytereef.org/mpdecimal/changelog.html
### ecma_intl
The only available versions of this PHP extension are all alpha.
We should switch to the stable release once it will be available.
### gearman
The `gearman` PHP extension requires the `libgearman` system library.

View File

@ -1,5 +1,6 @@
cassandra !jessie !stretch !buster !bullseye !bookworm
ddtrace !jessie
ecma_intl !buster !bullseye
geos !alpine3.9 !alpine3.10
lz4 !jessie
memcached !bookworm

View File

@ -14,6 +14,7 @@ dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
ddtrace 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
decimal 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
ds 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
ecma_intl 8.2
enchant 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
ev 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
event 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2

View File

@ -744,6 +744,14 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmpdec-dev"
fi
;;
ecma_intl@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent icu-libs"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile icu-dev libidn-dev"
;;
ecma_intl@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libicu[0-9]+$"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libicu-dev"
;;
enchant@alpine)
if test $DISTRO_MAJMIN_VERSION -ge 312; then
if test $PHP_MAJMIN_VERSION -ge 800; then
@ -2708,6 +2716,11 @@ installRemoteModule() {
fi
fi
;;
ecma_intl)
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=alpha
fi
;;
event)
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 2.4.0) -ge 0; then