textproc/libxmlb 0.3.27 MidnightBSD
Library to help create and query binary XML blobs
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
a57d39a892- License
- lgpl2.1
- Categories
- textproc
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
| System | Port | Version |
|---|---|---|
| MidnightBSD | textproc/libxmlb | 0.3.27 |
| FreeBSD | textproc/libxmlb | 0.3.27 |
| OpenBSD | textproc/libxmlb | 0.3.29 |
| NetBSD | textproc/libxmlb | 0.3.29nb1 |
| DragonFly | textproc/libxmlb | 0.3.22 |
Install
Binary package:
mport install libxmlb
From mports:
cd /usr/mports/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
Dependencies
As this port's Makefile names them.
Library 2
libstemmer.so: textproc/snowballstemmerlibzstd.so: archivers/zstd
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
Options name: textproc_libxmlb
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- gnome meson pkgconfig localbase:ldflags tar:xz
- Service scripts
- none
Files
Manual pages 1
- xb-tool(1)
pkg-plist 68
- 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-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/man/man1/xb-tool.1.gz
- 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
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libxmlb-0.3.27.tar.xz | 107024 | 63fa0275f7454d77c10e0af37f79dfdb071821caf429a57dbd9598ea3a9defd6 |
Master sites 1
- https://github.com/hughsie/libxmlb/releases/download/0.3.27/
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
a57d39a892 |
Lucas Holt | textproc/libxmlb: update to 0.3.27 (#948) Updates libxmlb to 0.3.27, corrects the staged zstd test-data filename,
and registers its shared library.
Validation:
- bmake makesum
- bmake patch
- bmake
- bmake fake
- bmake package
- bmake test (2/2 passed)
- bmake check-license
- portlint -C (0 fatal errors; two pre-existing/general warnings)
- git diff --check
## Summary by Sourcery
Update the libxmlb port to 0.3.27 and ensure its shared library is
properly registered.
Bug Fixes:
- Correct the staged zstd test-data filename.
Enhancements:
- Update libxmlb to version 0.3.27 and register its shared library with
the system linker cache.
Signed-off-by: Lucas Holt <[email protected]> |