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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/libxmlb | 0.3.27 |
| OpenBSD | textproc/libxmlb | 0.3.29 |
| NetBSD | textproc/libxmlb | 0.3.29nb1 |
| DragonFly | textproc/libxmlb | 0.3.22 |
| MidnightBSD | textproc/libxmlb | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.27 | 0.3.27 | 0.3.10 | 0.3.22_1 | 0.3.27 |
| FreeBSD:14:quarterly | 0.3.27 | 0.3.27 | n/a | 0.3.22_1 | 0.3.27 |
| FreeBSD:15:latest | 0.3.27 | 0.3.27 | n/a | 0.3.22_1 | 0.3.22_1 |
| FreeBSD:15:quarterly | 0.3.27 | 0.3.27 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.27 | 0.3.27 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 2
libstemmer.so: textproc/snowballstemmerlibzstd.so: archivers/zstd
The full lists below include those, and their dependencies in turn.
Build dependencies 35
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/gobject-introspection
- devel/libffi
- devel/libinotify
- devel/meson
- devel/ninja
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/py-setuptools
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- textproc/docbook
- textproc/docbook-sgml
- textproc/docbook-xml
- textproc/docbook-xsl
- textproc/expat2
- textproc/gtk-doc
- textproc/iso8879
- textproc/libxml2
- textproc/libxslt
- textproc/py-pygments
- textproc/sdocbook-xml
- textproc/snowballstemmer
- textproc/xmlcatmgr
- textproc/xmlcharent
Run dependencies 16
Required by 160
- archivers/file-roller
- audio/amberol
- audio/g4music
- audio/gnome-metronome
- audio/gnome-music
- audio/gnome-podcasts
- audio/mousai
- audio/shortwave
- audio/songrec
- audio/zrythm
- chinese/ibus-chewing
- databases/evolution-data-server
- deskutils/baobab
- deskutils/bijiben
- deskutils/elementary-calendar
- deskutils/foliate
- deskutils/gitte
- deskutils/gnome-calendar
- deskutils/gnome-characters
- deskutils/gnome-clocks
- deskutils/gnome-contacts
- deskutils/gnome-font-viewer
- deskutils/gnome-initial-setup
- deskutils/gnome-maps
- deskutils/gnome-photos
- deskutils/gnome-planner
- deskutils/gnome-shell-extension-coverflow
- deskutils/gnome-shell-extension-dashtodock
- deskutils/gnome-shell-extension-dashtopanel
- deskutils/gnome-shell-extension-hidetopbar
- deskutils/gnome-shell-extension-lockkeys
- deskutils/gnome-shell-extension-manager
- deskutils/gnome-shell-extension-simple-weather
- deskutils/gnome-shell-extra-extensions
- deskutils/gnome-sound-recorder
- deskutils/gnome-tweaks
- deskutils/gnome-utils
- deskutils/gnome-weather
- deskutils/gnote
- deskutils/health
- deskutils/meteo
- deskutils/solanum
- devel/appstream
- devel/appstream-compose
- devel/appstream-qt
- devel/bustle
- devel/d-spy
- devel/gnome-builder
- devel/gtranslator
- devel/hare-adwaita
- devel/libgdata
- devel/manuals
- editors/ghex
- editors/gnome-text-editor
- editors/setzer
- finance/favagtk
- games/eksanos
- games/gnome-chess
- games/gnome-games
- games/gnome-mahjongg
- games/gnome-mines
- games/gnome-nibbles
- games/gnome-robots
- games/gnome-sudoku
- games/lightsoff
- games/swell-foop
- graphics/curtail
- graphics/eog-plugins
- graphics/gimp3-app
- graphics/gowall
- graphics/gthumb
- graphics/halftone
- graphics/papers
- graphics/satty
- graphics/simple-scan
- graphics/tensaku
- graphics/upscaler
- graphics/zathura-cb
- graphics/zathura-djvu
- graphics/zathura-pdf-mupdf
- graphics/zathura-pdf-poppler
- graphics/zathura-ps
- mail/claws-mail-gdata
- mail/evolution
- mail/evolution-ews
- mail/geary
- math/gnome-calculator
- misc/alpaca
- multimedia/celluloid
- multimedia/clapper
- multimedia/elementary-videos
- multimedia/handbrake
- multimedia/helvum
- multimedia/kooha
- multimedia/py-metadata-cleaner
- multimedia/showtime
- multimedia/totem
- multimedia/video-trimmer
- net-im/dino
- net-im/dissent
The first 100 are listed.
Configuration
Options name: textproc_libxmlb
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| TEST | off | Build 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
| 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 0
No commits in the history this site was built from.