head 1.9; access; symbols pkgsrc-2026Q1:1.8.0.2 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.5.0.2 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.2.0.2 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.1.0.14 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.12 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.9 date 2026.04.19.14.57.23; author wiz; state Exp; branches; next 1.8; commitid x15woHaXo9kP1ACG; 1.8 date 2026.02.19.16.56.26; author wiz; state Exp; branches; next 1.7; commitid xVzBVdcjgepfA0vG; 1.7 date 2026.02.08.21.47.57; author wiz; state Exp; branches; next 1.6; commitid s72jAcFwzHdcyCtG; 1.6 date 2026.01.17.21.33.08; author wiz; state Exp; branches; next 1.5; commitid seGvnE5M6t7RaNqG; 1.5 date 2025.11.30.14.02.20; author wiz; state Exp; branches; next 1.4; commitid vmlqH9H2aL6XdAkG; 1.4 date 2025.11.30.11.01.57; author wiz; state Exp; branches; next 1.3; commitid OsH7UFtNEsP4ezkG; 1.3 date 2025.10.23.20.39.35; author wiz; state Exp; branches; next 1.2; commitid 1V2hBZn9ypXaCJfG; 1.2 date 2025.07.19.05.37.47; author wiz; state Exp; branches; next 1.1; commitid pfsNycT46uNAJj3G; 1.1 date 2023.10.15.07.50.09; author wiz; state Exp; branches; next ; commitid 8OS3yA75urHL8HIE; desc @@ 1.9 log @libxmlb: update to 0.3.26. Version 0.3.26 ~~~~~~~~~~~~~~ Released: 2026-04-14 New Features: - Parse CDATA as text (Milan Crha) Bugfixes: - Add bounds check to prevent OOB read in token index lookup (Richard Hughes) - Do not write an invalid silo when more than 63 attrs on one node (Richard Hughes) - No inotify for illumos and Solaris (Marcel Telka) - Prevent stack overflow from unbounded recursion in export (Richard Hughes) @ text @# $NetBSD: Makefile,v 1.8 2026/02/19 16:56:26 wiz Exp $ DISTNAME= libxmlb-0.3.26 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=hughsie/} GITHUB_RELEASE= ${PKGVERSION_NOREV} EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/hughsie/libxmlb COMMENT= Library to help create and query binary XML blobs LICENSE= gnu-lgpl-v2.1 USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= output/meson-private/xmlb.pc PKGCONFIG_OVERRIDE_STAGE= post-configure .include "options.mk" .include "../../archivers/xz/buildlink3.mk" .include "../../archivers/zstd/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/gobject-introspection/buildlink3.mk" .include "../../devel/meson/build.mk" .include "../../mk/bsd.pkg.mk" @ 1.8 log @libxmlb: turn off doc option by default @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2026/02/08 21:47:57 wiz Exp $ d3 1 a3 2 DISTNAME= libxmlb-0.3.25 PKGREVISION= 1 @ 1.7 log @libxmlb: update to 0.3.25. Version 0.3.25 ~~~~~~~~~~~~~~ Released: 2026-02-03 Bugfixes: - Correctly decompress heavily compressed zstd streams (Richard Hughes) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2026/01/17 21:33:08 wiz Exp $ d4 1 @ 1.6 log @libxmlb: make gtk-doc optional Keep default on, bump PKGREVISION just to be on the safe side. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2025/11/30 14:02:20 wiz Exp $ d3 1 a3 2 DISTNAME= libxmlb-0.3.24 PKGREVISION= 1 @ 1.5 log @libxmlb: update to 0.3.24. Version 0.3.24 ~~~~~~~~~~~~~~ Released: 2025-09-10 Bugfixes: - Allow calling xb_silo_query_build_index() with no text set (Richard Hughes) - Do not reverse the order of attrs when using xb_node_attr_iter_next() (Richard Hughes) Version 0.3.23 ~~~~~~~~~~~~~~ Released: 2025-08-07 Bugfixes: - Do not reallocate the final silo blob when compiling to reduce peak RSS by about ~6% Version 0.3.22 ~~~~~~~~~~~~~~ Released: 2025-03-12 New Features: - Add support for COLLAPSE_EMPTY when exporting an XbBuilderNode (Richard Hughes) - Store the expected file size in the header to detect truncation (Richard Hughes) Bugfixes: - Check the strtab has a trailing NUL byte (Richard Hughes) - Fix an issue when exporting a silo using COLLAPSE_EMPTY (Richard Hughes) - Fix calling text() on an empty element (Richard Hughes) Version 0.3.21 ~~~~~~~~~~~~~~ Released: 2024-10-15 Bugfixes: - Check for corrupt XbSiloNode values in a smarter way (Richard Hughes) Version 0.3.20 ~~~~~~~~~~~~~~ Released: 2024-10-14 Bugfixes: - Do not always strip literal text (Richard Hughes) - Do not assume .txt files are application/xml (Richard Hughes) - Fix a crash when loading a corrupt XMLb store (Richard Hughes) - Fix writing files on Windows (Richard Hughes) Version 0.3.19 ~~~~~~~~~~~~~~ Released: 2024-04-22 New Features: - Add xb_version_string() to get the runtime ABI version (Richard Hughes) Bugfixes: - Add the runtime version as the default XMLb invalidation GUID (Richard Hughes) Version 0.3.18 ~~~~~~~~~~~~~~ Released: 2024-04-09 Bugfixes: - Fix decompressing large zstd files, harder (Richard Hughes) - Include the pkgconfig variables in the subproject declared dependency (Richard Hughes) Version 0.3.17 ~~~~~~~~~~~~~~ Released: 2024-04-05 Bugfixes: - Create SECURITY.md for the OpenSSF scorecard (Richard Hughes) - Fix decompressing large zstd files (Richard Hughes) - Use zst as the file extension for zstd (Richard Hughes) Version 0.3.16 ~~~~~~~~~~~~~~ Released: 2024-04-03 New Features: - Add the lzma and zstd support to the pkgconfig file (Richard Hughes) Bugfixes: - Make the LZMA support optional (Richard Hughes) Version 0.3.15 ~~~~~~~~~~~~~~ Released: 2024-01-02 New Features: - Sprinkle __attribute__((nonnull)) to give a little more compile-time safety (Richard Hughes) Bugfixes: - Accept text/xml as an alternative to application/xml (peigongdsd) - Do not inline shared code (Chun-wei Fan) - Fix compiling with Visual Studio (Chun-wei Fan) - Fix the exported api test on Windows (Chun-wei Fan) - Generate and use .def file for clang-cl builds (Chun-wei Fan) - Release source file handles early (Milan Crha) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2025/11/30 11:01:57 wiz Exp $ d4 1 a14 2 TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc d20 2 @ 1.4 log @libxmlb: improve MASTER_SITES @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/10/23 20:39:35 wiz Exp $ d3 1 a3 2 DISTNAME= libxmlb-0.3.14 PKGREVISION= 2 @ 1.3 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2025/07/19 05:37:47 wiz Exp $ d6 2 a7 1 MASTER_SITES= ${MASTER_SITE_GITHUB:=hughsie/libxmlb/releases/download/${PKGREVISION_NOREV}/} @ 1.2 log @*: bump gobject-introspection users for ABI bump XXX: I'm actually not sure why the ABI was bumped for 1.84, but now that it is we have to bump PKGREVISIONs, otherwise pkgin is quite unhappy @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/10/15 07:50:09 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.1 log @textproc/libxmlb: import libxmlb-0.3.14 XML is slow to parse and strings inside the document cannot be memory mapped as they do not have a trailing NUL char. The libxmlb library takes XML source, and converts it to a structured binary representation with a deduplicated string table -- where the strings have the NULs included. This allows an application to mmap the binary XML file, do an XPath query and return some strings without actually parsing the entire document. This is all done using (almost) zero allocations and no actual copying of the binary data. As each node in the binary XML file encodes the 'next' node at the same level it makes skipping whole subtrees trivial. A 10Mb binary XML file can be loaded from disk *and* queried in less than a few milliseconds. @ text @d1 1 a1 1 # $NetBSD$ d4 1 @