Port details |
- libxmlb Library to help create and query binary XML blobs
- 0.3.14_1 textproc =4 0.3.14_1Version of this port present on the latest quarterly branch.
- Maintainer: desktop@FreeBSD.org
- Port Added: 2022-03-04 05:21:07
- Last Update: 2024-01-12 22:40:48
- Commit Hash: 9f8f710
- People watching this port, also watch:: kf5-kquickcharts, xcb-util-image, qtkeychain-qt5, libssh, libXdamage
- License: LGPL21
- WWW:
- https://github.com/hughsie/libxmlb
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- libxmlb>0:textproc/libxmlb
- To install the port:
- cd /usr/ports/textproc/libxmlb/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/libxmlb
- pkg install libxmlb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libxmlb
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1693109922
SHA256 (libxmlb-0.3.14.tar.xz) = a2f0056eed14ff791aee2b08b1514a0f1b6cf215f0579138a8cae8c45a0d3b0f
SIZE (libxmlb-0.3.14.tar.xz) = 100288
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gtkdoc-scan : textproc/gtk-doc
- g-ir-scanner : devel/gobject-introspection
- meson : devel/meson
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libstemmer.so : textproc/snowballstemmer
- libzstd.so : archivers/zstd
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Libraries
-
- devel/appstream
Configuration Options:
- ===> The following configuration options are available for libxmlb-0.3.14_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- textproc_libxmlb
- USES:
- gnome meson pkgconfig localbase:ldflags tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3.14_1 12 Jan 2024 22:40:48 |
Muhammad Moinur Rahman (bofh) |
*/*: Sanitize MANPREFIX for meson ports
Approved by: portmgr |
0.3.14 05 Nov 2023 07:52:11 |
Daniel Engberg (diizzy) |
textproc/libxmlb: Add option for DOCS
Make DOCS optional to avoid pulling in gtk-doc
PR: 273377
Approved by: desktop (arrowd) |
0.3.14 27 Aug 2023 11:48:54 |
Gleb Popov (arrowd) |
textproc/libxmlb: Update to 0.3.14
Sponsored by: Serenity Cybersecurity, LLC |
0.3.13 18 Aug 2023 17:34:14 |
Daniel Engberg (diizzy) |
textproc/libxmlb: Switch to upstream release archive
Switch to upstream release archive to follow Porters Handbook more
closely and while at it define LICENSE_FILE
PR: 273120
Approved by: desktop (tcberner)
Sponsored by: Blinkinblox |
0.3.13 18 Aug 2023 09:05:44 |
Gleb Popov (arrowd) |
textproc/libxmlb: Update to 0.3.13
Sponsored by: Serenity Cybersecurity, LLC |
0.3.12 12 Aug 2023 04:51:06 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: update to 0.3.12
New Features:
* Use indexes when binding value (Richard Hughes)
Bugfixes:
* Avoid building errors and debug strings when possible to make XbQuery
faster (Christian Hergert)
* Fix content type detection on macOS (Richard Hughes)
* Inline a number of machine internals to make queries faster
(Christian Hergert)
* Make zstd support optional (sulincix, aliriza)
* Setup various release build options (Christian Hergert)
Changelog: https://github.com/hughsie/libxmlb/releases/tag/0.3.12 |
0.3.11 22 Feb 2023 18:11:02 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: update to 0.3.11
Version 0.3.11
~~~~~~~~~~~~~~
Released: 2023-02-20
New Features:
- Add limited support for XPath 1.0 'in' (Richard Hughes)
- Add support for zstd (Richard Hughes)
Bugfixes:
- Do not assert() when decompressing invalid LZMA (Richard Hughes) |
0.3.10 15 Oct 2022 06:26:10 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: update to 0.3.10
Bugfixes:
- Fix dumping and exporting multiple files from the CLI (Richard
Hughes)
- Watch files before loading them into the builder (Philip Withnall)
- Fix potential double free when filtering by language (Sergio Costas
Rodriguez) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.3.9 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.3.9 26 May 2022 16:57:13 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: update to 0.3.9
Bugfixes:
- Fix the crash for when the root tree has no children (Richard Hughes)
- Fix the crash when getting the element for the [empty] root (Richard Hughes)
- Install xb-tool into bindir (Richard Hughes) |
0.3.8 01 Apr 2022 17:48:36 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: update to 0.3.8 |
0.3.7 04 Mar 2022 17:25:09 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: update to 0.3.7 |
0.3.6 04 Mar 2022 05:16:56 |
Tobias C. Berner (tcberner) |
textproc/libxmlb: New port - Library to help create and query binary XML blobs
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.
WWW: https://github.com/hughsie/libxmlb
PR: 258541 |