From ffa84f8b913378d318f1f8bbd8081413ff788016 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Fri, 16 Feb 2024 18:57:44 +0800 Subject: [PATCH] remove unused exts --- config/ext.json | 21 --------------------- src/globals/test-extensions.php | 6 +++--- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/config/ext.json b/config/ext.json index 3ee4cd32..c88b9bd3 100644 --- a/config/ext.json +++ b/config/ext.json @@ -93,13 +93,6 @@ "freetype" ] }, - "gettext": { - "type": "builtin", - "arg-type": "with", - "lib-depends": [ - "gettext" - ] - }, "glfw": { "type": "external", "arg-type": "custom", @@ -313,13 +306,6 @@ "type": "external", "source": "protobuf" }, - "pspell": { - "type": "builtin", - "arg-type": "with", - "lib-depends": [ - "aspell" - ] - }, "rar": { "type": "external", "source": "rar", @@ -371,13 +357,6 @@ "apcu" ] }, - "snmp": { - "type": "builtin", - "arg-type": "with", - "lib-depends": [ - "net-snmp" - ] - }, "soap": { "type": "builtin", "arg-type": "custom", diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 12843feb..90899a3f 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -13,8 +13,8 @@ declare(strict_types=1); // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'calendar,ctype,curl,dom,fileinfo,filter,gd,iconv,imagick,mbregex,mbstring,mysqli,mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,rar,redis,session,simplexml,soap,sockets,sqlite3,swoole,swoole-hook-mysql,tokenizer,xlswriter,xml,xmlreader,xmlwriter,zip,zlib', - 'Windows' => 'mbstring,openssl', + 'Linux', 'Darwin' => '', + 'Windows' => 'mbstring', }; // If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`). @@ -27,7 +27,7 @@ $with_libs = match (PHP_OS_FAMILY) { // You can use `common`, `bulk`, `minimal` or `none`. // note: combination is only available for *nix platform. Windows must use `none` combination $base_combination = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'none', + 'Linux', 'Darwin' => 'common', 'Windows' => 'none', };