php8: add more help text and tweak whitespace
authorDaniel F. Dickinson <dfdpublic@wildtechgarden.ca>
Thu, 1 Jan 2026 06:33:10 +0000 (01:33 -0500)
committerMichael Heimpold <mhei@heimpold.de>
Fri, 16 Jan 2026 06:35:52 +0000 (07:35 +0100)
Add more menuconfig help text descriptions, and
convert some mixed tabs and spaces to spaces.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
lang/php8/Config.in
lang/php8/Makefile

index fa277c99e0518333108cb82e915317ff20c16dd1..b9c02c274f19e6e5fa5b5c414712bc3f6a06a6b2 100644 (file)
@@ -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"
index 42eb7eb46d56e79ecc6a723b41f41191dee4edf0..b4e1c6483c8abcebdcaeeac0c7701b6a25a1cf28 100644 (file)
@@ -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