* [ptxdist] [PATCH] libxml2: Version bump. 2.13.6 -> 2.14.0
@ 2025-03-28 19:05 Christian Melki
2025-04-04 14:28 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2025-03-28 19:05 UTC (permalink / raw)
To: ptxdist
Moving ahead. Deprecating a bunch of stuff, adding new.
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.0
* Remove deprecated options.
* Add relax-ng as a non-default option. Probably soon deprecated anyway.
* Move patchset, applies cleanly.
* License hash changed. Contributor list changed.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
.../0200-xml2-config-is-not-SYSROOT-aware.patch | 0
patches/{libxml2-2.13.6 => libxml2-2.14.0}/series | 0
rules/libxml2.in | 6 +++++-
rules/libxml2.make | 11 ++++-------
4 files changed, 9 insertions(+), 8 deletions(-)
rename patches/{libxml2-2.13.6 => libxml2-2.14.0}/0200-xml2-config-is-not-SYSROOT-aware.patch (100%)
rename patches/{libxml2-2.13.6 => libxml2-2.14.0}/series (100%)
diff --git a/patches/libxml2-2.13.6/0200-xml2-config-is-not-SYSROOT-aware.patch b/patches/libxml2-2.14.0/0200-xml2-config-is-not-SYSROOT-aware.patch
similarity index 100%
rename from patches/libxml2-2.13.6/0200-xml2-config-is-not-SYSROOT-aware.patch
rename to patches/libxml2-2.14.0/0200-xml2-config-is-not-SYSROOT-aware.patch
diff --git a/patches/libxml2-2.13.6/series b/patches/libxml2-2.14.0/series
similarity index 100%
rename from patches/libxml2-2.13.6/series
rename to patches/libxml2-2.14.0/series
diff --git a/rules/libxml2.in b/rules/libxml2.in
index c34ab0fcc..758745869 100644
--- a/rules/libxml2.in
+++ b/rules/libxml2.in
@@ -137,7 +137,11 @@ config LIBXML2_REGEXPS
help
Add support for Regular Expressions.
-# --with-readline=DIR use readline in DIR
+config LIBXML2_RELAXNG
+ bool
+ prompt "Relax-NG support"
+ help
+ Add support Relax-NG schema for XML.
config LIBXML2_SAX1
bool
diff --git a/rules/libxml2.make b/rules/libxml2.make
index d391bcfd2..d033701da 100644
--- a/rules/libxml2.make
+++ b/rules/libxml2.make
@@ -16,15 +16,15 @@ PACKAGES-$(PTXCONF_LIBXML2) += libxml2
#
# Paths and names
#
-LIBXML2_VERSION := 2.13.6
-LIBXML2_MD5 := 85dffa2387ff756bdf8b3b247594914a
+LIBXML2_VERSION := 2.14.0
+LIBXML2_MD5 := 900841340dc0ec0a8e04bad035510bb4
LIBXML2 := libxml2-$(LIBXML2_VERSION)
LIBXML2_SUFFIX := tar.xz
LIBXML2_SOURCE := $(SRCDIR)/$(LIBXML2).$(LIBXML2_SUFFIX)
LIBXML2_DIR := $(BUILDDIR)/$(LIBXML2)
LIBXML2_LICENSE := MIT AND ISC
LIBXML2_LICENSE_FILES := \
- file://Copyright;md5=f437ed9058e8e5135e47c01e973376ba \
+ file://Copyright;md5=5873615e8a9ecbf5c8857c4312ee05d6 \
file://dict.c;startline=5;endline=16;md5=6bf674402d04fa793fdc1f4d26635d33 \
file://list.c;startline=4;endline=15;md5=3fca05145285fa81f48c16c86a4a70b8
@@ -42,12 +42,10 @@ LIBXML2_CONF_TOOL := autoconf
LIBXML2_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-static \
- $(GLOBAL_IPV6_OPTION) \
--oldincludedir=$(SYSROOT)/usr/include \
--$(call ptx/wwo, PTXCONF_LIBXML2_C14N)-c14n \
--$(call ptx/wwo, PTXCONF_LIBXML2_CATALOG)-catalog \
--$(call ptx/wwo, PTXCONF_LIBXML2_DEBUG)-debug \
- --$(call ptx/wwo, PTXCONF_LIBXML2_FTP)-ftp \
--$(call ptx/wwo, PTXCONF_LIBXML2_HISTORY)-history \
--$(call ptx/wwo, PTXCONF_LIBXML2_HTML)-html \
--$(call ptx/wwo, PTXCONF_LIBXML2_HTTP)-http \
@@ -61,18 +59,17 @@ LIBXML2_CONF_OPT := \
--without-python \
--$(call ptx/wwo, PTXCONF_LIBXML2_READER)-reader \
--$(call ptx/wwo, PTXCONF_LIBXML2_REGEXPS)-regexps \
+ --$(call ptx/wwo, PTXCONF_LIBXML2_RELAXNG)-relaxng \
--$(call ptx/wwo, PTXCONF_LIBXML2_SAX1)-sax1 \
--$(call ptx/wwo, PTXCONF_LIBXML2_SCHEMAS)-schemas \
--$(call ptx/wwo, PTXCONF_LIBXML2_SCHEMATRON)-schematron \
--$(call ptx/wwo, PTXCONF_LIBXML2_THREADS)-threads \
--$(call ptx/wwo, PTXCONF_LIBXML2_THREADS_ALLOC)-thread-alloc \
- --$(call ptx/wwo, PTXCONF_LIBXML2_DOM)-tree \
--$(call ptx/wwo, PTXCONF_LIBXML2_DTD)-valid \
--$(call ptx/wwo, PTXCONF_LIBXML2_WRITER)-writer \
--$(call ptx/wwo, PTXCONF_LIBXML2_XINCLUDE)-xinclude \
--$(call ptx/wwo, PTXCONF_LIBXML2_XPATH)-xpath \
--$(call ptx/wwo, PTXCONF_LIBXML2_XPTR)-xptr \
- --$(call ptx/wwo, PTXCONF_LIBXML2_XPTR)-xptr-locs \
--$(call ptx/wwo, PTXCONF_LIBXML2_MINIMUM)-minimum \
--$(call ptx/wwo, PTXCONF_LIBXML2_LEGACY)-legacy \
--with-tls
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] libxml2: Version bump. 2.13.6 -> 2.14.0
2025-03-28 19:05 [ptxdist] [PATCH] libxml2: Version bump. 2.13.6 -> 2.14.0 Christian Melki
@ 2025-04-04 14:28 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-04-04 14:28 UTC (permalink / raw)
To: Christian Melki; +Cc: ptxdist
On Fri, Mar 28, 2025 at 08:05:10PM +0100, Christian Melki wrote:
> Moving ahead. Deprecating a bunch of stuff, adding new.
> https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.0
>
> * Remove deprecated options.
>
> * Add relax-ng as a non-default option. Probably soon deprecated anyway.
>
> * Move patchset, applies cleanly.
>
> * License hash changed. Contributor list changed.
>
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> ---
> .../0200-xml2-config-is-not-SYSROOT-aware.patch | 0
> patches/{libxml2-2.13.6 => libxml2-2.14.0}/series | 0
> rules/libxml2.in | 6 +++++-
> rules/libxml2.make | 11 ++++-------
> 4 files changed, 9 insertions(+), 8 deletions(-)
> rename patches/{libxml2-2.13.6 => libxml2-2.14.0}/0200-xml2-config-is-not-SYSROOT-aware.patch (100%)
> rename patches/{libxml2-2.13.6 => libxml2-2.14.0}/series (100%)
>
> diff --git a/patches/libxml2-2.13.6/0200-xml2-config-is-not-SYSROOT-aware.patch b/patches/libxml2-2.14.0/0200-xml2-config-is-not-SYSROOT-aware.patch
> similarity index 100%
> rename from patches/libxml2-2.13.6/0200-xml2-config-is-not-SYSROOT-aware.patch
> rename to patches/libxml2-2.14.0/0200-xml2-config-is-not-SYSROOT-aware.patch
> diff --git a/patches/libxml2-2.13.6/series b/patches/libxml2-2.14.0/series
> similarity index 100%
> rename from patches/libxml2-2.13.6/series
> rename to patches/libxml2-2.14.0/series
> diff --git a/rules/libxml2.in b/rules/libxml2.in
> index c34ab0fcc..758745869 100644
> --- a/rules/libxml2.in
> +++ b/rules/libxml2.in
> @@ -137,7 +137,11 @@ config LIBXML2_REGEXPS
> help
> Add support for Regular Expressions.
>
> -# --with-readline=DIR use readline in DIR
> +config LIBXML2_RELAXNG
> + bool
> + prompt "Relax-NG support"
> + help
> + Add support Relax-NG schema for XML.
>
> config LIBXML2_SAX1
> bool
> diff --git a/rules/libxml2.make b/rules/libxml2.make
> index d391bcfd2..d033701da 100644
> --- a/rules/libxml2.make
> +++ b/rules/libxml2.make
> @@ -16,15 +16,15 @@ PACKAGES-$(PTXCONF_LIBXML2) += libxml2
> #
> # Paths and names
> #
> -LIBXML2_VERSION := 2.13.6
> -LIBXML2_MD5 := 85dffa2387ff756bdf8b3b247594914a
> +LIBXML2_VERSION := 2.14.0
> +LIBXML2_MD5 := 900841340dc0ec0a8e04bad035510bb4
> LIBXML2 := libxml2-$(LIBXML2_VERSION)
> LIBXML2_SUFFIX := tar.xz
> LIBXML2_SOURCE := $(SRCDIR)/$(LIBXML2).$(LIBXML2_SUFFIX)
> LIBXML2_DIR := $(BUILDDIR)/$(LIBXML2)
> LIBXML2_LICENSE := MIT AND ISC
> LIBXML2_LICENSE_FILES := \
> - file://Copyright;md5=f437ed9058e8e5135e47c01e973376ba \
> + file://Copyright;md5=5873615e8a9ecbf5c8857c4312ee05d6 \
> file://dict.c;startline=5;endline=16;md5=6bf674402d04fa793fdc1f4d26635d33 \
> file://list.c;startline=4;endline=15;md5=3fca05145285fa81f48c16c86a4a70b8
>
> @@ -42,12 +42,10 @@ LIBXML2_CONF_TOOL := autoconf
> LIBXML2_CONF_OPT := \
> $(CROSS_AUTOCONF_USR) \
> --disable-static \
> - $(GLOBAL_IPV6_OPTION) \
> --oldincludedir=$(SYSROOT)/usr/include \
> --$(call ptx/wwo, PTXCONF_LIBXML2_C14N)-c14n \
> --$(call ptx/wwo, PTXCONF_LIBXML2_CATALOG)-catalog \
> --$(call ptx/wwo, PTXCONF_LIBXML2_DEBUG)-debug \
> - --$(call ptx/wwo, PTXCONF_LIBXML2_FTP)-ftp \
The option is now unused, so it should probably be removed.
> --$(call ptx/wwo, PTXCONF_LIBXML2_HISTORY)-history \
> --$(call ptx/wwo, PTXCONF_LIBXML2_HTML)-html \
> --$(call ptx/wwo, PTXCONF_LIBXML2_HTTP)-http \
> @@ -61,18 +59,17 @@ LIBXML2_CONF_OPT := \
> --without-python \
> --$(call ptx/wwo, PTXCONF_LIBXML2_READER)-reader \
> --$(call ptx/wwo, PTXCONF_LIBXML2_REGEXPS)-regexps \
> + --$(call ptx/wwo, PTXCONF_LIBXML2_RELAXNG)-relaxng \
> --$(call ptx/wwo, PTXCONF_LIBXML2_SAX1)-sax1 \
> --$(call ptx/wwo, PTXCONF_LIBXML2_SCHEMAS)-schemas \
> --$(call ptx/wwo, PTXCONF_LIBXML2_SCHEMATRON)-schematron \
> --$(call ptx/wwo, PTXCONF_LIBXML2_THREADS)-threads \
> --$(call ptx/wwo, PTXCONF_LIBXML2_THREADS_ALLOC)-thread-alloc \
> - --$(call ptx/wwo, PTXCONF_LIBXML2_DOM)-tree \
Same here. However, it is selected in several places and the release notes
don't make it clear the feature is removed or enabled unconditionally.
Can you just remove the options and we'll see what happens at build time.
Michael
> --$(call ptx/wwo, PTXCONF_LIBXML2_DTD)-valid \
> --$(call ptx/wwo, PTXCONF_LIBXML2_WRITER)-writer \
> --$(call ptx/wwo, PTXCONF_LIBXML2_XINCLUDE)-xinclude \
> --$(call ptx/wwo, PTXCONF_LIBXML2_XPATH)-xpath \
> --$(call ptx/wwo, PTXCONF_LIBXML2_XPTR)-xptr \
> - --$(call ptx/wwo, PTXCONF_LIBXML2_XPTR)-xptr-locs \
> --$(call ptx/wwo, PTXCONF_LIBXML2_MINIMUM)-minimum \
> --$(call ptx/wwo, PTXCONF_LIBXML2_LEGACY)-legacy \
> --with-tls
> --
> 2.34.1
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-04 14:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-28 19:05 [ptxdist] [PATCH] libxml2: Version bump. 2.13.6 -> 2.14.0 Christian Melki
2025-04-04 14:28 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox