pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/libxml2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Feb 19 15:09:47 UTC 2026

Modified Files:
        pkgsrc/textproc/libxml2: Makefile Makefile.common PLIST buildlink3.mk
            distinfo

Log Message:
libxml2: update to 2.15.1.

docs disabled (which is the default) because after changes in 2.15
(see below) they need doxygen + libxslt, introducing a dependency
cycle.

v2.15.1: Oct 16 2025

### Regressions

- parser: Fix attribute normalization and standalone check

### Build

- io: Handle clashing error codes on AIX
- Fixed compilation error on GCC versions prior to 4.5 (Lars Erik Wik)
- meson: Fix install dir of man pages

### Deprecations

- tree: Undeprecate several struct members
- io: Undeprecate xmlOutputBuffer members
- valid: Undeprecate xmlValidGetPotentialChildren

v2.15.0: Sep 15 2025

### Major changes

The API documentation is now generated with Doxygen. Building the
documentation requires the new --with-docs configuration option as well
as Doxygen, xsltproc and the DocBook 4 XSLT stylesheets.

The Python bindings are disabled by default now. Building the bindings
also requires Doxygen.

Support for Schematron is now disabled by default.

The parser option XML_PARSE_UNZIP is now required to read compressed data.

HTML serialization and handling of character encodings is more in line
with the HTML5 spec now.

More accessors for xmlParserCtxt were added.

### Deprecations

More internal functions and struct members were deprecated.

### Removals

The built-in HTTP client and support for LZMA compression were removed.

The custom Windows build system in `win32` was removed in favor of CMake.

### Planned removals

The Python bindings and support for Schematron validation are planned to
be removed in the 2.16 release.

The following features are considered for removal:

- Modules API (xmlmodule.h)
- Support for zlib compressed file I/O

RELAX NG support is still in a bad state and a long-term removal
candidate.


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 pkgsrc/textproc/libxml2/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/textproc/libxml2/Makefile.common
cvs rdiff -u -r1.49 -r1.50 pkgsrc/textproc/libxml2/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/textproc/libxml2/buildlink3.mk
cvs rdiff -u -r1.156 -r1.157 pkgsrc/textproc/libxml2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libxml2/Makefile
diff -u pkgsrc/textproc/libxml2/Makefile:1.194 pkgsrc/textproc/libxml2/Makefile:1.195
--- pkgsrc/textproc/libxml2/Makefile:1.194      Wed Jan  7 08:49:05 2026
+++ pkgsrc/textproc/libxml2/Makefile    Thu Feb 19 15:09:47 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.194 2026/01/07 08:49:05 wiz Exp $
+# $NetBSD: Makefile,v 1.195 2026/02/19 15:09:47 wiz Exp $
 
 .include "../../textproc/libxml2/Makefile.common"
 
-PKGREVISION=   2
 COMMENT=       XML parser library from the GNOME project
 LICENSE=       modified-bsd
 
@@ -15,8 +14,7 @@ GNU_CONFIGURE=                yes
 GNU_CONFIGURE_ICONV=   no
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}
-CONFIGURE_ARGS+=       --with-lzma=${BUILDLINK_PREFIX.xz}
-# enable http again, for now - will be removed in 2.15,
+# enable http ABI compatibility (feature is gone)
 # to fix libspatialite:
 # https://www.gaia-gis.it/fossil/libspatialite/tktview?name=2b1697e601
 CONFIGURE_ARGS+=       --with-http
@@ -55,7 +53,6 @@ BUILDLINK_TRANSFORM+= rm:-Wno-array-boun
 
 .include "options.mk"
 
-.include "../../archivers/xz/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../textproc/xmlcatmgr/catalogs.mk"

Index: pkgsrc/textproc/libxml2/Makefile.common
diff -u pkgsrc/textproc/libxml2/Makefile.common:1.30 pkgsrc/textproc/libxml2/Makefile.common:1.31
--- pkgsrc/textproc/libxml2/Makefile.common:1.30        Thu Jan  1 10:02:49 2026
+++ pkgsrc/textproc/libxml2/Makefile.common     Thu Feb 19 15:09:47 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.30 2026/01/01 10:02:49 rillig Exp $
+# $NetBSD: Makefile.common,v 1.31 2026/02/19 15:09:47 wiz Exp $
 #
 # used by textproc/libxml2/Makefile
 # used by textproc/py-libxml2/Makefile
 
-DISTNAME=      libxml2-2.14.6
+DISTNAME=      libxml2-2.15.1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libxml2/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/textproc/libxml2/PLIST
diff -u pkgsrc/textproc/libxml2/PLIST:1.49 pkgsrc/textproc/libxml2/PLIST:1.50
--- pkgsrc/textproc/libxml2/PLIST:1.49  Thu Apr 17 21:37:53 2025
+++ pkgsrc/textproc/libxml2/PLIST       Thu Feb 19 15:09:47 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.49 2025/04/17 21:37:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.50 2026/02/19 15:09:47 wiz Exp $
 bin/xml2-config
 bin/xmlcatalog
 bin/xmllint
@@ -51,62 +51,3 @@ include/libxml2/libxml/xpointer.h
 lib/cmake/libxml2/libxml2-config.cmake
 lib/libxml2.la
 lib/pkgconfig/libxml-2.0.pc
-man/man1/xml2-config.1
-man/man1/xmlcatalog.1
-man/man1/xmllint.1
-share/doc/libxml2/xmlcatalog.html
-share/doc/libxml2/xmllint.html
-share/gtk-doc/html/libxml2/general.html
-share/gtk-doc/html/libxml2/home.png
-share/gtk-doc/html/libxml2/index.html
-share/gtk-doc/html/libxml2/left.png
-share/gtk-doc/html/libxml2/libxml2-HTMLparser.html
-share/gtk-doc/html/libxml2/libxml2-HTMLtree.html
-share/gtk-doc/html/libxml2/libxml2-SAX.html
-share/gtk-doc/html/libxml2/libxml2-SAX2.html
-share/gtk-doc/html/libxml2/libxml2-c14n.html
-share/gtk-doc/html/libxml2/libxml2-catalog.html
-share/gtk-doc/html/libxml2/libxml2-chvalid.html
-share/gtk-doc/html/libxml2/libxml2-debugXML.html
-share/gtk-doc/html/libxml2/libxml2-dict.html
-share/gtk-doc/html/libxml2/libxml2-encoding.html
-share/gtk-doc/html/libxml2/libxml2-entities.html
-share/gtk-doc/html/libxml2/libxml2-globals.html
-share/gtk-doc/html/libxml2/libxml2-hash.html
-share/gtk-doc/html/libxml2/libxml2-list.html
-share/gtk-doc/html/libxml2/libxml2-nanoftp.html
-share/gtk-doc/html/libxml2/libxml2-nanohttp.html
-share/gtk-doc/html/libxml2/libxml2-parser.html
-share/gtk-doc/html/libxml2/libxml2-parserInternals.html
-share/gtk-doc/html/libxml2/libxml2-pattern.html
-share/gtk-doc/html/libxml2/libxml2-relaxng.html
-share/gtk-doc/html/libxml2/libxml2-schemasInternals.html
-share/gtk-doc/html/libxml2/libxml2-schematron.html
-share/gtk-doc/html/libxml2/libxml2-threads.html
-share/gtk-doc/html/libxml2/libxml2-tree.html
-share/gtk-doc/html/libxml2/libxml2-uri.html
-share/gtk-doc/html/libxml2/libxml2-valid.html
-share/gtk-doc/html/libxml2/libxml2-xinclude.html
-share/gtk-doc/html/libxml2/libxml2-xlink.html
-share/gtk-doc/html/libxml2/libxml2-xmlIO.html
-share/gtk-doc/html/libxml2/libxml2-xmlautomata.html
-share/gtk-doc/html/libxml2/libxml2-xmlerror.html
-share/gtk-doc/html/libxml2/libxml2-xmlexports.html
-share/gtk-doc/html/libxml2/libxml2-xmlmemory.html
-share/gtk-doc/html/libxml2/libxml2-xmlmodule.html
-share/gtk-doc/html/libxml2/libxml2-xmlreader.html
-share/gtk-doc/html/libxml2/libxml2-xmlregexp.html
-share/gtk-doc/html/libxml2/libxml2-xmlsave.html
-share/gtk-doc/html/libxml2/libxml2-xmlschemas.html
-share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html
-share/gtk-doc/html/libxml2/libxml2-xmlstring.html
-share/gtk-doc/html/libxml2/libxml2-xmlunicode.html
-share/gtk-doc/html/libxml2/libxml2-xmlversion.html
-share/gtk-doc/html/libxml2/libxml2-xmlwriter.html
-share/gtk-doc/html/libxml2/libxml2-xpath.html
-share/gtk-doc/html/libxml2/libxml2-xpathInternals.html
-share/gtk-doc/html/libxml2/libxml2-xpointer.html
-share/gtk-doc/html/libxml2/libxml2.devhelp2
-share/gtk-doc/html/libxml2/right.png
-share/gtk-doc/html/libxml2/style.css
-share/gtk-doc/html/libxml2/up.png

Index: pkgsrc/textproc/libxml2/buildlink3.mk
diff -u pkgsrc/textproc/libxml2/buildlink3.mk:1.37 pkgsrc/textproc/libxml2/buildlink3.mk:1.38
--- pkgsrc/textproc/libxml2/buildlink3.mk:1.37  Wed Jan  7 08:49:05 2026
+++ pkgsrc/textproc/libxml2/buildlink3.mk       Thu Feb 19 15:09:47 2026
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.37 2026/01/07 08:49:05 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.38 2026/02/19 15:09:47 wiz Exp $
 
 BUILDLINK_TREE+=       libxml2
 
@@ -20,7 +20,6 @@ pkgbase := libxml2
 .include "../../textproc/icu/buildlink3.mk"
 .endif
 
-.include "../../archivers/xz/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .endif # LIBXML2_BUILDLINK3_MK

Index: pkgsrc/textproc/libxml2/distinfo
diff -u pkgsrc/textproc/libxml2/distinfo:1.156 pkgsrc/textproc/libxml2/distinfo:1.157
--- pkgsrc/textproc/libxml2/distinfo:1.156      Sun Sep 14 10:00:43 2025
+++ pkgsrc/textproc/libxml2/distinfo    Thu Feb 19 15:09:47 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.156 2025/09/14 10:00:43 adam Exp $
+$NetBSD: distinfo,v 1.157 2026/02/19 15:09:47 wiz Exp $
 
-BLAKE2s (libxml2-2.14.6.tar.xz) = dfb5ebc82ababedb321ce3a8811fc315b8debd996a47c3dfde77e308c3f553c9
-SHA512 (libxml2-2.14.6.tar.xz) = 9a62230487255af7cdaf135cc8a0978dc82ff2ee8826f6b21cc8b39c8e0a6b9efeea1c12e6cb7ae3f869730fb4ed628158e2848dd512558fc5bf177c56862774
-Size (libxml2-2.14.6.tar.xz) = 2327580 bytes
+BLAKE2s (libxml2-2.15.1.tar.xz) = 07a7d911cd5af651a4d962435158252c611d9c866736f42e4e87364044047f57
+SHA512 (libxml2-2.15.1.tar.xz) = 429c7d0dc3cbcb8de1bf6eb588fb8025fee009c9b25e87c96ecc5de57cc12b558b0ab8141f333d73ca687109335f297c9f9776abbb9da9afc9d8e79041c86b7f
+Size (libxml2-2.15.1.tar.xz) = 2004588 bytes
 SHA1 (patch-configure) = 1f94becea5804e89d32b4e600753aa4dc7527045



Home | Main Index | Thread Index | Old Index