Add support for xdiff (#579)

pull/584/head
Michele Locati 2022-05-26 09:10:38 +02:00 committed by GitHub
parent 7e40eb8c5f
commit 2367aeb690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 0 deletions

View File

@ -110,6 +110,11 @@ We need to monitor new releases at https://docs.microsoft.com/en-us/sql/connect/
The latest stable release of the `ssh2` PHP extension is very old, so we install the latest beta release.
We should switch to the stable release once it will be available.
## xdiff
The `xdiff` PHP extension uses the LibXDiff library.
We need to monitor new releases at http://www.xmailserver.org/xdiff-lib.html
### zookeeper
The latest stable release of the `zookeeper` PHP extension doesn't support PHP 7.3+, so we install the alpha version.

View File

@ -109,6 +109,7 @@ uuid 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
vips 7.0 7.1 7.2 7.3 7.4 8.0 8.1
wddx 5.5 5.6 7.0 7.1 7.2 7.3
xdebug 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
xdiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 8.1
xmldiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1

View File

@ -3244,6 +3244,21 @@ installRemoteModule() {
fi
fi
;;
xdiff)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=1.5.2
fi
fi
if ! test -f /usr/local/lib/libxdiff.* && ! test -f /usr/lib/libxdiff.* && ! test -f /usr/lib/x86_64*/libxdiff.*; then
installRemoteModule_src="$(getPackageSource http://www.xmailserver.org/libxdiff-0.23.tar.gz)"
cd -- "$installRemoteModule_src"
./configure --disable-shared --disable-dependency-tracking --with-pic
make -j$(getProcessorCount)
make install
cd - >/dev/null
fi
;;
xhprof)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then