BSD Ports

chinese/big5width 1.0 FreeBSD

Unicode width dirty fix for Big5 font (zh_TW.UTF-8 locale)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
chinese

Description

Unicode define some character width as ambiguous. Software determines the width of characters accroding the context. However, sometimes it is hard or impossible to know the context. Thus, this port dirty fixes some console software, let them recognize all characters in Big5 encoding range as double width. Now you will be happy with UTF8 terminal and Big5 fonts :)

This port fixes the zh_TW.UTF-8 locale for wcwidth(3) and wcswidth(3).

Install

Binary package:

pkg install zh-big5width

From the ports tree:

cd /usr/ports/chinese/big5width/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	zh-big5width>0:chinese/big5width

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

pkg-plist 3
  • share/locale/%%LOCALE%%/LC_CTYPE
  • @unexec ln -fs ../UTF-8/LC_CTYPE %%BASELOCALEDIR%%/%%LOCALE%%/LC_CTYPE
  • @exec ln -fs %D/share/locale/%%LOCALE%%/LC_CTYPE %%BASELOCALEDIR%%/%%LOCALE%%/LC_CTYPE

Commit history 0

No commits in the history this site was built from.