Download raw body.
textproc/unicode/ucd: add emoji
On 2024/06/13 21:29, SASANO Takayoshi wrote:
> Hi,
>
> libunicode (https://github.com/contour-terminal/libunicode) requires
> Unicode UCD's emoji directory.
>
> libunicode uses UCD's emoji definition and it downloads Unicode UCD archive
> during build procedure by CMake.
> Creating ports of libunicode, download feature of CMake is disabled
> so we have to use unicode-ucd package.
>
> ok?
negligible change in package size so I agree with including in the
main package rather than splitting.
ok sthen.
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/unicode/ucd/Makefile,v
> diff -u -p -r1.4 Makefile
> --- Makefile 27 Sep 2023 18:09:06 -0000 1.4
> +++ Makefile 13 Jun 2024 12:21:31 -0000
> @@ -2,6 +2,7 @@ COMMENT = Unicode Character Database (U
>
> # XXX make sure the major(.minor) $V of this port matches x11/gnome/gucharmap
> V = 15.1.0
> +REVISION = 0
> UNICODE_DATA_NAME = ucd
>
> SITES = ${UNICODE_SITES}/zipped/${V}/
> @@ -9,9 +10,10 @@ DISTFILES = UCD${EXTRACT_SUFX} \
> Unihan${EXTRACT_SUFX}
>
> do-install:
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/unicode/ucd/{auxiliary,extracted}/
> + ${INSTALL_DATA_DIR} ${PREFIX}/share/unicode/ucd/{auxiliary,emoji,extracted}/
> ${INSTALL_DATA} ${WRKSRC}/*.{txt,html,pdf} ${PREFIX}/share/unicode/ucd/
> ${INSTALL_DATA} ${WRKSRC}/auxiliary/* ${PREFIX}/share/unicode/ucd/auxiliary/
> + ${INSTALL_DATA} ${WRKSRC}/emoji/* ${PREFIX}/share/unicode/ucd/emoji/
> ${INSTALL_DATA} ${WRKSRC}/extracted/* ${PREFIX}/share/unicode/ucd/extracted/
> # Copy over the original Unihan zipfile as required by gucharmap
> ${INSTALL_DATA} ${FULLDISTDIR}/Unihan${EXTRACT_SUFX} \
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/textproc/unicode/ucd/pkg/PLIST,v
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 1 Aug 2023 17:00:37 -0000 1.1.1.1
> +++ pkg/PLIST 13 Jun 2024 12:21:31 -0000
> @@ -65,6 +65,10 @@ share/unicode/ucd/auxiliary/SentenceBrea
> share/unicode/ucd/auxiliary/WordBreakProperty.txt
> share/unicode/ucd/auxiliary/WordBreakTest.html
> share/unicode/ucd/auxiliary/WordBreakTest.txt
> +share/unicode/ucd/emoji/
> +share/unicode/ucd/emoji/ReadMe.txt
> +share/unicode/ucd/emoji/emoji-data.txt
> +share/unicode/ucd/emoji/emoji-variation-sequences.txt
> share/unicode/ucd/extracted/
> share/unicode/ucd/extracted/DerivedBidiClass.txt
> share/unicode/ucd/extracted/DerivedBinaryProperties.txt
>
textproc/unicode/ucd: add emoji