mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 2/2] libxml2: handle new ./configure options
Date: Fri, 21 Nov 2014 15:44:08 +0100	[thread overview]
Message-ID: <20141121144408.GQ19664@pengutronix.de> (raw)
In-Reply-To: <1416553238-9308-2-git-send-email-post@lespocky.de>

On Fri, Nov 21, 2014 at 08:00:37AM +0100, Alexander Dahl wrote:
> 
> Signed-off-by: Alexander Dahl <post@lespocky.de>

Please squash this into the other patch.

> ---
>  rules/host-libxml2.make |    3 ++-
>  rules/libxml2.in        |   13 +++++++++++++
>  rules/libxml2.make      |    2 ++
>  3 files changed, 17 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/host-libxml2.make b/rules/host-libxml2.make
> index c4a4b4b..2940c9b 100644
> --- a/rules/host-libxml2.make
> +++ b/rules/host-libxml2.make
> @@ -32,6 +32,7 @@ HOST_LIBXML2_ENV 	:= $(HOST_ENV)
>  HOST_LIBXML2_AUTOCONF	:= \
>  	$(HOST_AUTOCONF) \
>  	--disable-static \
> -	--without-iconv
> +	--without-iconv \
> +	--without-lzma

	--without-icu ??

>  
>  # vim: syntax=make
> diff --git a/rules/libxml2.in b/rules/libxml2.in
> index 72c1725..8642296 100644
> --- a/rules/libxml2.in
> +++ b/rules/libxml2.in
> @@ -6,6 +6,7 @@ menuconfig LIBXML2
>  	select LIBC_M
>  	select LIBC_DL	if LIBXML2_MODULES
>  	select ZLIB	if LIBXML2_ZLIB
> +	select XZ	if LIBXML2_LZMA
>  	select PYTHON	if LIBXML2_PYTHON
>  	help
>  	  Libxml2 is a XML C parser and toolkit. XML itself is a
> @@ -90,6 +91,12 @@ config LIBXML2_HTTP
>  	help
>  	  Add HTTP support.
>  
> +config LIBXML2_ICU
> +	bool
> +	prompt "ICU support"
> +	help
> +	  Add ICU support.

This requires icu to install icu-config to sysroot-cross.
I don't mind if you disable icu support unconditionally.
If someone needs it then they can extend the rule.

> +
>  config LIBXML2_ISO8859X
>  	bool
>  	default y
> @@ -264,4 +271,10 @@ config LIBXML2_ZLIB
>  	default y
>  	prompt "zlib (compression) support"
>  
> +config LIBXML2_LZMA
> +	bool
> +	prompt "lzma (compression) support"
> +	help
> +	  LZMA (compression) support with liblzma from XZ tools.
> +
>  endif
> diff --git a/rules/libxml2.make b/rules/libxml2.make
> index 3392e5e..6b5c05c 100644
> --- a/rules/libxml2.make
> +++ b/rules/libxml2.make
> @@ -54,8 +54,10 @@ LIBXML2_AUTOCONF := \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_HISTORY)-history \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_HTML)-html \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_HTTP)-http \
> +	--$(call ptx/wwo, PTXCONF_LIBXML2_ICU)-icu \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_ISO8859X)-iso8859x \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_LEGACY)-legacy \
> +	--$(call ptx/wwo, PTXCONF_LIBXML2_LZMA)-lzma \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_MEM_DEBUG)-mem-debug \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_MINIMUM)-minimum \
>  	--$(call ptx/wwo, PTXCONF_LIBXML2_OUTPUT)-output \

Nothing for this patch, but this really needs to be cleaned up. I think
several of those options should just be enable unconditionally...

Michael

> -- 
> 1.7.10.4
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-11-21 14:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27 20:11 [ptxdist] update libxml2 and libxslt Alexander Dahl
2014-10-27 20:11 ` [ptxdist] [PATCH 1/2] libxslt: update to 1.1.28 Alexander Dahl
2014-11-13 16:49   ` Michael Olbrich
2014-10-27 20:11 ` [ptxdist] [PATCH 2/2] libxml2: update to 2.9.2 Alexander Dahl
2014-11-13 16:50   ` Michael Olbrich
2014-11-14 15:01     ` Alexander Dahl
2014-11-18 15:02     ` Alexander Dahl
2014-11-19 10:20       ` Michael Olbrich
2014-11-19 11:16         ` Alexander Dahl
2014-11-19 11:51           ` Michael Olbrich
2014-11-21  7:00             ` [ptxdist] [PATCH 1/2] " Alexander Dahl
2014-11-21  7:00               ` [ptxdist] [PATCH 2/2] libxml2: handle new ./configure options Alexander Dahl
2014-11-21 14:44                 ` Michael Olbrich [this message]
2014-11-24 11:25                   ` [ptxdist] [PATCHv3 0/2] libxml/libxslt update Alexander Dahl
2014-11-24 11:25                     ` [ptxdist] [PATCHv3 1/2] libxslt: add --without-python to host package Alexander Dahl
2014-11-24 11:25                     ` [ptxdist] [PATCHv3 2/2] libxml2: update to 2.9.2 Alexander Dahl
2014-11-26  9:58                     ` [ptxdist] [PATCHv3 0/2] libxml/libxslt update Michael Olbrich
2014-11-26 10:20                       ` Alexander Dahl
2014-11-26 15:24                         ` Michael Olbrich
2014-11-26 17:43                           ` [ptxdist] [PATCHv3 1/2] libxslt: add --without-python to host package Alexander Dahl
2014-11-26 17:43                             ` [ptxdist] [PATCHv3 2/2] libxml2: update to 2.9.2 Alexander Dahl
2014-11-27  8:59                               ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141121144408.GQ19664@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox