-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is libunibreak, an implementation of the line breaking and word/grapheme breaking algorithms as described in [Unicode Standard Annex 14][1] (UAX #14) and [Unicode Standard Annex 29][2] (UAX #29). As of February 2024, Unicode 15.0 support for line breaking, as well as full Unicode 15.1 support for word/grapheme breaking, is provided. There is currently no plan to implement full Unicode 15.1 support for line breaking, mostly because tailoring for Brahmic scripts, as described in LB28a of UAX #14-51, is problematic within the current framework.
- Loading branch information
markd
committed
Mar 14, 2024
1 parent
8c24a98
commit edf5cff
Showing
6 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This is libunibreak, an implementation of the line breaking and | ||
word/grapheme breaking algorithms as described in [Unicode Standard | ||
Annex 14][1] (UAX #14) and [Unicode Standard Annex 29][2] (UAX #29). | ||
|
||
As of February 2024, Unicode 15.0 support for line breaking, as well as | ||
full Unicode 15.1 support for word/grapheme breaking, is provided. | ||
There is currently no plan to implement full Unicode 15.1 support for | ||
line breaking, mostly because tailoring for Brahmic scripts, as | ||
described in LB28a of UAX #14-51, is problematic within the current | ||
framework. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# $NetBSD: Makefile,v 1.1 2024/03/14 19:15:29 markd Exp $ | ||
|
||
DISTNAME= libunibreak-6.1 | ||
CATEGORIES= devel | ||
MASTER_SITES= ${MASTER_SITE_GITHUB:=adah1972/} | ||
GITHUB_RELEASE= ${DISTNAME:S/-/_/:S/./_/} | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= https://github.com/adah1972/libunibreak/ | ||
COMMENT= Implementation of line breaking algorithm described in Unicode 5.2.0 SA 14 | ||
LICENSE= zlib | ||
|
||
GNU_CONFIGURE= yes | ||
USE_LIBTOOL= yes | ||
|
||
PKGCONFIG_OVERRIDE+= libunibreak.pc.in | ||
|
||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@comment $NetBSD: PLIST,v 1.1 2024/03/14 19:15:29 markd Exp $ | ||
include/eastasianwidthdef.h | ||
include/graphemebreak.h | ||
include/linebreak.h | ||
include/linebreakdef.h | ||
include/unibreakbase.h | ||
include/unibreakdef.h | ||
include/wordbreak.h | ||
lib/liblinebreak.a | ||
lib/libunibreak.la | ||
lib/pkgconfig/libunibreak.pc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# $NetBSD: buildlink3.mk,v 1.1 2024/03/14 19:15:29 markd Exp $ | ||
|
||
BUILDLINK_TREE+= libunibreak | ||
|
||
.if !defined(LIBUNIBREAK_BUILDLINK3_MK) | ||
LIBUNIBREAK_BUILDLINK3_MK:= | ||
|
||
BUILDLINK_API_DEPENDS.libunibreak+= libunibreak>=6.1 | ||
BUILDLINK_PKGSRCDIR.libunibreak?= ../../textproc/libunibreak | ||
.endif # LIBUNIBREAK_BUILDLINK3_MK | ||
|
||
BUILDLINK_TREE+= -libunibreak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$NetBSD: distinfo,v 1.1 2024/03/14 19:15:30 markd Exp $ | ||
|
||
BLAKE2s (libunibreak-6.1.tar.gz) = 64d5851078e73846a42bcbb6cb28e8b2e2d20913517cadee599832447d7f001f | ||
SHA512 (libunibreak-6.1.tar.gz) = 8ffde29a9b90ddcbfabb61d7302ffe3b17473cd6d30fe1a4403d857e6191291d7e7a6f23bde58654155ed95f4a0f31e082cdf424a82da46722a811291ef38c2f | ||
Size (libunibreak-6.1.tar.gz) = 855733 bytes |