Skip to content

Commit

Permalink
libunibreak: add version 6.1
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 1 deletion.
3 changes: 2 additions & 1 deletion textproc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1455 2024/03/09 06:51:34 adam Exp $
# $NetBSD: Makefile,v 1.1456 2024/03/14 19:15:29 markd Exp $
#

COMMENT= Text processing utilities (does not include desktop publishing)
Expand Down Expand Up @@ -500,6 +500,7 @@ SUBDIR+= libodfgen
SUBDIR+= libpinyin
SUBDIR+= libplist
SUBDIR+= libstemmer
SUBDIR+= libunibreak
SUBDIR+= libunicode
SUBDIR+= libuninameslist
SUBDIR+= libunistring
Expand Down
10 changes: 10 additions & 0 deletions textproc/libunibreak/DESCR
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.
18 changes: 18 additions & 0 deletions textproc/libunibreak/Makefile
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"
11 changes: 11 additions & 0 deletions textproc/libunibreak/PLIST
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
12 changes: 12 additions & 0 deletions textproc/libunibreak/buildlink3.mk
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
5 changes: 5 additions & 0 deletions textproc/libunibreak/distinfo
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

0 comments on commit edf5cff

Please sign in to comment.