BSD Ports

textproc/libxmlb 0.3.27 FreeBSD

Library to help create and query binary XML blobs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21
Categories
textproc
Package size
147.8 KiB, 1243.4 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDtextproc/libxmlb0.3.27
OpenBSDtextproc/libxmlb0.3.29
NetBSDtextproc/libxmlb0.3.29nb1
DragonFlytextproc/libxmlb0.3.22
MidnightBSDtextproc/libxmlb0.3.27

Install

Binary package:

pkg install libxmlb

From the ports tree:

cd /usr/ports/textproc/libxmlb/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libxmlb>0:textproc/libxmlb
LIB_DEPENDS=	libxmlb.so:textproc/libxmlb

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.270.3.270.3.100.3.22_10.3.27
FreeBSD:14:quarterly0.3.270.3.27n/a0.3.22_10.3.27
FreeBSD:15:latest0.3.270.3.27n/a0.3.22_10.3.22_1
FreeBSD:15:quarterly0.3.270.3.27n/an/an/a
FreeBSD:16:latest0.3.270.3.27n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 35
Run dependencies 16
Required by 160

The first 100 are listed.

Configuration

Options name: textproc_libxmlb

OptionDefaultDescription
DOCSoffBuild and/or install documentation
TESToffBuild and/or run tests
USES
gnome meson pkgconfig localbase:ldflags tar:xz
Service scripts
none

Files

Manual pages 1
  • xb-tool(1)
pkg-plist 69
  • bin/xb-tool
  • include/libxmlb-2/libxmlb/xb-builder-fixup.h
  • include/libxmlb-2/libxmlb/xb-builder-node.h
  • include/libxmlb-2/libxmlb/xb-builder-source-ctx.h
  • include/libxmlb-2/libxmlb/xb-builder-source.h
  • include/libxmlb-2/libxmlb/xb-builder.h
  • include/libxmlb-2/libxmlb/xb-compile.h
  • include/libxmlb-2/libxmlb/xb-machine.h
  • include/libxmlb-2/libxmlb/xb-node-query.h
  • include/libxmlb-2/libxmlb/xb-node-silo.h
  • include/libxmlb-2/libxmlb/xb-node.h
  • include/libxmlb-2/libxmlb/xb-opcode.h
  • include/libxmlb-2/libxmlb/xb-query-context.h
  • include/libxmlb-2/libxmlb/xb-query.h
  • include/libxmlb-2/libxmlb/xb-silo-export.h
  • include/libxmlb-2/libxmlb/xb-silo-query.h
  • include/libxmlb-2/libxmlb/xb-silo.h
  • include/libxmlb-2/libxmlb/xb-stack.h
  • include/libxmlb-2/libxmlb/xb-string.h
  • include/libxmlb-2/libxmlb/xb-value-bindings.h
  • include/libxmlb-2/libxmlb/xb-version.h
  • include/libxmlb-2/xmlb.h
  • lib/girepository-1.0/Xmlb-2.0.typelib
  • lib/libxmlb.so
  • lib/libxmlb.so.2
  • lib/libxmlb.so.2.0.0
  • libdata/pkgconfig/xmlb.pc
  • libexec/installed-tests/libxmlb/test.desktop
  • libexec/installed-tests/libxmlb/test.quirk
  • libexec/installed-tests/libxmlb/test.xml
  • libexec/installed-tests/libxmlb/test.xml.gz.gz.gz
  • libexec/installed-tests/libxmlb/test.xml.xz
  • libexec/installed-tests/libxmlb/test.xml.zst
  • libexec/installed-tests/libxmlb/xb-self-test
  • share/gir-1.0/Xmlb-2.0.gir
  • share/gtk-doc/html/libxmlb/annotation-glossary.html
  • share/gtk-doc/html/libxmlb/api-index-full.html
  • share/gtk-doc/html/libxmlb/deprecated-api-index.html
  • share/gtk-doc/html/libxmlb/home.png
  • share/gtk-doc/html/libxmlb/index.html
  • share/gtk-doc/html/libxmlb/intro.html
  • share/gtk-doc/html/libxmlb/left-insensitive.png
  • share/gtk-doc/html/libxmlb/left.png
  • share/gtk-doc/html/libxmlb/libxmlb-XbBuilder.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbBuilderFixup.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbBuilderNode.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSource.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbBuilderSourceCtx.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbMachine.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbNode.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbQuery.html
  • share/gtk-doc/html/libxmlb/libxmlb-XbSilo.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-node-query.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-opcode.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-query-context.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-silo-export.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-silo-query.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-stack.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-string.html
  • share/gtk-doc/html/libxmlb/libxmlb-xb-value-bindings.html
  • share/gtk-doc/html/libxmlb/libxmlb.devhelp2
  • share/gtk-doc/html/libxmlb/libxmlb.html
  • share/gtk-doc/html/libxmlb/right-insensitive.png
  • share/gtk-doc/html/libxmlb/right.png
  • share/gtk-doc/html/libxmlb/style.css
  • share/gtk-doc/html/libxmlb/up-insensitive.png
  • share/gtk-doc/html/libxmlb/up.png
  • share/installed-tests/libxmlb/libxmlb.test
  • share/man/man1/xb-tool.1.gz
distinfo 1
FileSizeSHA256
libxmlb-0.3.27.tar.xz10702463fa0275f7454d77c10e0af37f79dfdb071821caf429a57dbd9598ea3a9defd6
Master sites 1
  • https://github.com/hughsie/libxmlb/releases/download/0.3.27/

Commit history 0

No commits in the history this site was built from.