Add support for saxon (#889)

pull/890/head
Michele Locati 2024-02-08 16:10:38 +01:00 committed by GitHub
parent 68552b1e16
commit 76789743a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 3 deletions

View File

@ -99,6 +99,11 @@ We should switch to the stable release once it will be available.
The only available versions of the `parle` PHP extension are all beta. The only available versions of the `parle` PHP extension are all beta.
We should switch to the stable release once it will be available. We should switch to the stable release once it will be available.
### saxon
The `saxon` PHP extension is not available in the PECL archive, so we install it manually.
We need to monitor new releases at https://www.saxonica.com/download/c.xml
### snappy ### snappy
The `snappy` PHP extension is not available in the PECL archive, so we install it manually. The `snappy` PHP extension is not available in the PECL archive, so we install it manually.

View File

@ -8,6 +8,7 @@ parallel zts
parle !jessie parle !jessie
pdo_sqlsrv !arm pdo_sqlsrv !arm
pthreads zts pthreads zts
saxon !alpine
simdjson !jessie !stretch simdjson !jessie !stretch
sodium !jessie sodium !jessie
sqlsrv !7.1-alpine3.9 !7.1-alpine3.10 !arm sqlsrv !7.1-alpine3.9 !7.1-alpine3.10 !arm

View File

@ -92,6 +92,7 @@ rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
recode 5.5 5.6 7.0 7.1 7.2 7.3 recode 5.5 5.6 7.0 7.1 7.2 7.3
redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
relay 7.4 8.0 8.1 8.2 8.3 relay 7.4 8.0 8.1 8.2 8.3
saxon 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
seasclick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 seasclick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
seaslog 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 seaslog 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3

View File

@ -3517,8 +3517,8 @@ installRemoteModule() {
;; ;;
saxon) saxon)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then if test $PHP_MAJMIN_VERSION -ge 800; then
installRemoteModule_version='11.6' installRemoteModule_version='12.4.2'
else else
installRemoteModule_version='12.3' installRemoteModule_version='12.3'
fi fi
@ -3546,7 +3546,6 @@ installRemoteModule() {
ldconfig || true ldconfig || true
fi fi
cd "$installRemoteModule_dir/Saxon.C.API" cd "$installRemoteModule_dir/Saxon.C.API"
exit
phpize phpize
./configure --enable-saxon ./configure --enable-saxon
make -j$(getProcessorCount) install make -j$(getProcessorCount) install

View File

@ -6,6 +6,7 @@ $nameMap = [
'opcache' => 'Zend OPcache', 'opcache' => 'Zend OPcache',
'apcu_bc' => 'apc', 'apcu_bc' => 'apc',
'ioncube_loader' => 'ionCube Loader', 'ioncube_loader' => 'ionCube Loader',
'saxon' => 'saxonc',
]; ];
if (PHP_VERSION_ID < 70000) { if (PHP_VERSION_ID < 70000) {
$nameMap['sodium'] = 'libsodium'; $nameMap['sodium'] = 'libsodium';