From: <abe...@us...> - 2013-05-26 21:36:00
|
Revision: 6104 http://sourceforge.net/p/astlinux/code/6104 Author: abelbeck Date: 2013-05-26 21:35:58 +0000 (Sun, 26 May 2013) Log Message: ----------- php, enable basic XML support using libxml2, needed for utf8_encode() and utf8_decode() functions, adds very little to the size of PHP since it is an external library. Enable in standard configs. Modified Paths: -------------- branches/1.0/astlinux-ast11.config branches/1.0/astlinux.config branches/1.0/astlinux18.config branches/1.0/package/php/Config.ext branches/1.0/package/php/php.mk Modified: branches/1.0/astlinux-ast11.config =================================================================== --- branches/1.0/astlinux-ast11.config 2013-05-24 19:05:36 UTC (rev 6103) +++ branches/1.0/astlinux-ast11.config 2013-05-26 21:35:58 UTC (rev 6104) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn6091-dirty Configuration -# Sat May 18 14:47:39 2013 +# Buildroot 2011.08-svn6103-dirty Configuration +# Sun May 26 15:57:43 2013 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -454,7 +454,8 @@ BR2_PACKAGE_PHP_EXT_SESSION=y BR2_PACKAGE_PHP_EXT_OPENSSL=y # BR2_PACKAGE_PHP_EXT_CURL is not set -# BR2_PACKAGE_PHP_EXT_LIBXML2 is not set +BR2_PACKAGE_PHP_EXT_LIBXML2=y +BR2_PACKAGE_PHP_EXT_XMLPARSER=y # BR2_PACKAGE_PHP_EXT_SIMPLEXML is not set # BR2_PACKAGE_PHP_EXT_ZLIB is not set # BR2_PACKAGE_PHP_EXT_EXIF is not set Modified: branches/1.0/astlinux.config =================================================================== --- branches/1.0/astlinux.config 2013-05-24 19:05:36 UTC (rev 6103) +++ branches/1.0/astlinux.config 2013-05-26 21:35:58 UTC (rev 6104) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn6091-dirty Configuration -# Sat May 18 14:47:37 2013 +# Buildroot 2011.08-svn6103-dirty Configuration +# Sun May 26 15:57:35 2013 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -460,7 +460,8 @@ BR2_PACKAGE_PHP_EXT_SESSION=y BR2_PACKAGE_PHP_EXT_OPENSSL=y # BR2_PACKAGE_PHP_EXT_CURL is not set -# BR2_PACKAGE_PHP_EXT_LIBXML2 is not set +BR2_PACKAGE_PHP_EXT_LIBXML2=y +BR2_PACKAGE_PHP_EXT_XMLPARSER=y # BR2_PACKAGE_PHP_EXT_SIMPLEXML is not set # BR2_PACKAGE_PHP_EXT_ZLIB is not set # BR2_PACKAGE_PHP_EXT_EXIF is not set Modified: branches/1.0/astlinux18.config =================================================================== --- branches/1.0/astlinux18.config 2013-05-24 19:05:36 UTC (rev 6103) +++ branches/1.0/astlinux18.config 2013-05-26 21:35:58 UTC (rev 6104) @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Buildroot 2011.08-svn6091-dirty Configuration -# Sat May 18 14:47:38 2013 +# Buildroot 2011.08-svn6103-dirty Configuration +# Sun May 26 15:57:40 2013 # BR2_HAVE_DOT_CONFIG=y # BR2_arm is not set @@ -454,7 +454,8 @@ BR2_PACKAGE_PHP_EXT_SESSION=y BR2_PACKAGE_PHP_EXT_OPENSSL=y # BR2_PACKAGE_PHP_EXT_CURL is not set -# BR2_PACKAGE_PHP_EXT_LIBXML2 is not set +BR2_PACKAGE_PHP_EXT_LIBXML2=y +BR2_PACKAGE_PHP_EXT_XMLPARSER=y # BR2_PACKAGE_PHP_EXT_SIMPLEXML is not set # BR2_PACKAGE_PHP_EXT_ZLIB is not set # BR2_PACKAGE_PHP_EXT_EXIF is not set Modified: branches/1.0/package/php/Config.ext =================================================================== --- branches/1.0/package/php/Config.ext 2013-05-24 19:05:36 UTC (rev 6103) +++ branches/1.0/package/php/Config.ext 2013-05-26 21:35:58 UTC (rev 6104) @@ -48,6 +48,13 @@ help libxml2 support +config BR2_PACKAGE_PHP_EXT_XMLPARSER + bool "xmlparser" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + XML Parser support + Also adds utf8_encode()/utf8_decode() from/to ISO-8859-1 functions + config BR2_PACKAGE_PHP_EXT_SIMPLEXML bool "simplexml" select BR2_PACKAGE_PHP_EXT_LIBXML2 Modified: branches/1.0/package/php/php.mk =================================================================== --- branches/1.0/package/php/php.mk 2013-05-24 19:05:36 UTC (rev 6103) +++ branches/1.0/package/php/php.mk 2013-05-26 21:35:58 UTC (rev 6104) @@ -70,6 +70,10 @@ PHP_DEPENDENCIES += libxml2 endif +ifeq ($(BR2_PACKAGE_PHP_EXT_XMLPARSER),y) + PHP_CONF_OPT += --enable-xml +endif + ifeq ($(BR2_PACKAGE_PHP_EXT_SIMPLEXML),y) PHP_CONF_OPT += --enable-simplexml endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |