textproc/libgrapheme 3.0.0 FreeBSD
Freestanding C99 library for Unicode string handling
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
d1de7051fe- License
- ISCL
- Categories
- textproc
Description
libgrapheme is a minimal freestanding C99 library for handling strings according to the Unicode standard. It provides grapheme cluster (i.e. user-perceived character), word, and sentence segmentation, line break opportunity detection, case detection, and case conversion, on UTF-8 strings and codepoint arrays.
The necessary lookup tables are generated from the Unicode character database at build time, and the library has no runtime dependency on libc.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/libgrapheme | 3.0.0 |
| OpenBSD | textproc/libgrapheme | 2.0.2 |
| NetBSD | textproc/libgrapheme | 3.0.0 |
Install
Binary package:
pkg install libgrapheme
From the ports tree:
cd /usr/ports/textproc/libgrapheme/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libgrapheme>0:textproc/libgrapheme
LIB_DEPENDS= libgrapheme.so:textproc/libgrapheme
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 | - | 3.0.0 | - | - | 3.0.0 |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | 3.0.0 | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 3.0.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
Manual pages 24
- grapheme_decode_utf8(3)
- grapheme_encode_utf8(3)
- grapheme_is_character_break(3)
- grapheme_is_lowercase(3)
- grapheme_is_lowercase_utf8(3)
- grapheme_is_titlecase(3)
- grapheme_is_titlecase_utf8(3)
- grapheme_is_uppercase(3)
- grapheme_is_uppercase_utf8(3)
- grapheme_next_character_break(3)
- grapheme_next_character_break_utf8(3)
- grapheme_next_line_break(3)
- grapheme_next_line_break_utf8(3)
- grapheme_next_sentence_break(3)
- grapheme_next_sentence_break_utf8(3)
- grapheme_next_word_break(3)
- grapheme_next_word_break_utf8(3)
- grapheme_to_lowercase(3)
- grapheme_to_lowercase_utf8(3)
- grapheme_to_titlecase(3)
- grapheme_to_titlecase_utf8(3)
- grapheme_to_uppercase(3)
- grapheme_to_uppercase_utf8(3)
- libgrapheme(7)
pkg-plist 31
- include/grapheme.h
- lib/libgrapheme.a
- lib/libgrapheme.so
- lib/libgrapheme.so.3
- lib/libgrapheme.so.3.0
- lib/libgrapheme.so.3.0.0
- libdata/pkgconfig/libgrapheme.pc
- share/man/man3/grapheme_decode_utf8.3.gz
- share/man/man3/grapheme_encode_utf8.3.gz
- share/man/man3/grapheme_is_character_break.3.gz
- share/man/man3/grapheme_is_lowercase.3.gz
- share/man/man3/grapheme_is_lowercase_utf8.3.gz
- share/man/man3/grapheme_is_titlecase.3.gz
- share/man/man3/grapheme_is_titlecase_utf8.3.gz
- share/man/man3/grapheme_is_uppercase.3.gz
- share/man/man3/grapheme_is_uppercase_utf8.3.gz
- share/man/man3/grapheme_next_character_break.3.gz
- share/man/man3/grapheme_next_character_break_utf8.3.gz
- share/man/man3/grapheme_next_line_break.3.gz
- share/man/man3/grapheme_next_line_break_utf8.3.gz
- share/man/man3/grapheme_next_sentence_break.3.gz
- share/man/man3/grapheme_next_sentence_break_utf8.3.gz
- share/man/man3/grapheme_next_word_break.3.gz
- share/man/man3/grapheme_next_word_break_utf8.3.gz
- share/man/man3/grapheme_to_lowercase.3.gz
- share/man/man3/grapheme_to_lowercase_utf8.3.gz
- share/man/man3/grapheme_to_titlecase.3.gz
- share/man/man3/grapheme_to_titlecase_utf8.3.gz
- share/man/man3/grapheme_to_uppercase.3.gz
- share/man/man3/grapheme_to_uppercase_utf8.3.gz
- share/man/man7/libgrapheme.7.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libgrapheme-3.0.0.tar.gz | 2.815602e+06 | 32585af73dda62fbcc0fed14f199aa1bc988ad01dad0bfbd06cf175d9cf3d68c |
Master sites 1
- https://dl.suckless.org/libgrapheme/