From: Daniel F. Dickinson Date: Thu, 1 Jan 2026 06:33:10 +0000 (-0500) Subject: php8: add more help text and tweak whitespace X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1a01a175fa9bd271cd14271413d57f4af2241902;p=openwrt-packages.git php8: add more help text and tweak whitespace Add more menuconfig help text descriptions, and convert some mixed tabs and spaces to spaces. Signed-off-by: Daniel F. Dickinson --- diff --git a/lang/php8/Config.in b/lang/php8/Config.in index fa277c99e..b9c02c274 100644 --- a/lang/php8/Config.in +++ b/lang/php8/Config.in @@ -27,11 +27,27 @@ config PHP8_SYSTEMTZDATA config PHP8_GETTEXT bool "Enable gettext" default y + help + Without php8-mod-gettext, this option does not provide a PHP8 + programmer the gettext functionality (it only adds gettext for internal + use by php-cli, php-cgi, etc.). Therefore please consider adding + php8-mod-gettext to provide this functionality to PHP8 consumers. config PHP8_INTL bool "Enable Internationalization" depends on PHP8_GETTEXT default y + help + Note that this option depends in ICU library which is built without data + by default. This is to satisfy programs build and run dependencies but to + keep the installed footprint small on the target system(s). + However, the data is required to make the ICU library useful - and thus + directly affects PHPs intl extension, too - so consider to also + select PHP8_FULLICUDATA. + Without php8-mod-intl, this option does not provide a PHP8 + programmer the intl functionality (it only adds intl for internal + use by php-cli, php-cgi, etc.). Therefore please consider adding + php8-mod-intl to provide this functionality to PHP8 consumers. config PHP8_FULLICUDATA bool "Add dependency to full ICU Data" diff --git a/lang/php8/Makefile b/lang/php8/Makefile index 42eb7eb46..b4e1c6483 100644 --- a/lang/php8/Makefile +++ b/lang/php8/Makefile @@ -130,6 +130,11 @@ define Package/php8-fpm/description This package contains the FastCGI Process Manager of the PHP8 interpreter. endef +define Package/php8-mod-gettext/description + Note that this package works best in combination with the intl module, so + please consider also selecting/installing php8-mod-intl. +endef + define Package/php8-mod-intl/description Note that this package depends in ICU library which is built without data by default. This is to satisfy programs build and run dependencies but to @@ -145,9 +150,9 @@ define Package/apache-mod-php8 SECTION:=net CATEGORY:=Network DEPENDS+=PACKAGE_apache-mod-php8:apache \ - +PHP8_GETTEXT:libstdcpp \ - +riscv64:libatomic \ - +libpcre2 +zlib + +PHP8_INTL:libstdcpp \ + +riscv64:libatomic \ + +libpcre2 +zlib TITLE:=PHP8 module for Apache Web Server endef