libxmlb
Port variant std
Summary Library to help create and query binary XML blobs
BROKEN
Package version 0.3.21
Homepage https://github.com/hughsie/libxmlb
Keywords textproc
Maintainer Michael Reim
License LGPL21+
Other variants There are no other variants.
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 16 OCT 2024, 04:35:33 UTC
Port created 12 DEC 2023, 18:55:48 UTC
Subpackage Descriptions
set This is the libxmlb:std metapackage. It pulls in all subpackages of libxmlb:std.
primary XML is slow to parse and strings inside the document cannot be memory mapped as they do not have a trailing NUL char. libxmlb 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. The binary XML is not supposed to be small. It's usually about half the size of the text XML data where a lot of the tag content is duplicated, but can actually be larger than the original XML file. This isn't important; the fast query speed and the ability to mmap strings without copies more than makes up for the larger on-disk size.
dev This is the developer subpackage of the libxmlb:std port. It may contain headers, pc files, static and PIC libraries and SO links.
man This is the man page subpackage of the libxmlb:std port.
docs This is the documents subpackage of the libxmlb:std port.
tests This subpackage contains the tests for libxmlb.
Configuration Switches (platform-specific settings discarded)
This port has no build options.
Package Dependencies by Type
Build (only) gtk-doc:single:std
snowball:dev:std
pkgconf:primary:std
meson:single:std
ninja:single:std
zstd:dev:std
xz:dev:std
glib:dev:std
gettext:dev:std
gettext:bldtools:std
gettext:solinks:std
gobject-introspection:primary:std
gobject-introspection:dev:std
python312:dev:std
python312:primary:std
autoselect-python:single:std
Build and Runtime snowball:libstemmer_c:std
zstd:primary:std
xz:primary:std
glib:primary:std
gettext:primary:std
gettext:tools:std
Download groups
main mirror://GITHUB/hughsie:libxmlb:0.3.21
Distribution File Information
5df332c577dc81a5621f0908ed3a087855045a4f4b4170b194fcf1f0f403a97d 132251 hughsie-libxmlb-0.3.21.tar.gz
Ports that require libxmlb:std
appstream:std Standard for machine-readable software metadata