176b88c4f4
* Use GitHub release tarball as distfile. Changelog: Overview of changes leading to 3.3.1 Monday, January 31, 2022 ==================================== - Fix heap-use-after-free in harfbuzz-subset introduced in previous release. (Garret Rieger) Overview of changes leading to 3.3.0 Monday, January 31, 2022 ==================================== - Improved documentation. (Matthias Clasen) - Internal code cleanup, using C++ standard library more. (Behdad Esfahbod) - The low 16-bits of face index will be used by hb_face_create() to select a face inside a font collection file format, while the high 16-bits will be used by hb_font_create() to load the named instance. (Behdad Esfahbod) - Glyph positions and other font metrics now apply synthetic slant set by hb_font_set_synthetic_slant(), for improved positioning for synthetically slanted fonts. (Behdad Esfahbod) - Fixed unintentional locale dependency in hb_variation_to_string() for decimal point representation. (Matthias Clasen) - When applying pair positioning (kerning) the positioning value is split between the two sides of the pair for improved cursor positioning between such pairs. (Behdad Esfahbod) - Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line breaking. Check the documentation for further details. (Behdad Esfahbod) - Improved handling of macrolanguages when mapping BCP 47 codes to OpenType tags. (David Corbett) - New API: +HB_GLYPH_FLAG_UNSAFE_TO_CONCAT +hb_segment_properties_overlay() +hb_buffer_create_similar() +hb_font_set_synthetic_slant() +hb_font_get_synthetic_slant() +hb_font_get_var_coords_design() Overview of changes leading to 3.2.0 Friday, November 26, 2021 ==================================== "harfbuzz" library improvements: - Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod) - Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod) - OpenType 1.9 language tags update. (David Corbett) - Add HB_NO_VERTICAL config option. - Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod) "harfbuzz-subset" library improvements: - Improved packing of cmap, loca, and Ligature tables. (Garret Rieger) - Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)
49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2022/02/04 16:39:36 ryoon Exp $
|
|
|
|
# XXX: hack to override meson installation
|
|
INSTALL_DIRS=
|
|
|
|
.include "../../fonts/harfbuzz/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/^harfbuzz-/harfbuzz-icu-/1}
|
|
|
|
COMMENT= OpenType text shaping engine (ICU integration)
|
|
|
|
MESON_ARGS+= -Dicu=enabled
|
|
|
|
INSTALLATION_DIRS+= include/harfbuzz
|
|
INSTALLATION_DIRS+= lib
|
|
INSTALLATION_DIRS+= lib/pkgconfig
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "Darwin"
|
|
HARFBUZZ_ICU_LIBNAME= libharfbuzz-icu.0.dylib
|
|
.else
|
|
HARFBUZZ_ICU_LIBNAME= libharfbuzz-icu.so.0.*[0-9]
|
|
.endif
|
|
|
|
.PHONY: harfbuzz-icu-install
|
|
|
|
harfbuzz-icu-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/hb-icu.h \
|
|
${DESTDIR}${PREFIX}/include/harfbuzz/hb-icu.h
|
|
${INSTALL_DATA} ${WRKSRC}/output/meson-private/harfbuzz-icu.pc \
|
|
${DESTDIR}${PREFIX}/lib/pkgconfig/harfbuzz-icu.pc
|
|
${INSTALL_LIB} ${WRKSRC}/output/src/${HARFBUZZ_ICU_LIBNAME} \
|
|
${DESTDIR}${PREFIX}/lib
|
|
.if ${OPSYS} == "Darwin"
|
|
cd ${DESTDIR}${PREFIX}/lib && \
|
|
install_name_tool -change @rpath/libharfbuzz.0.dylib ${PREFIX}/lib/libharfbuzz.0.dylib \
|
|
-id ${PREFIX}/lib/${HARFBUZZ_ICU_LIBNAME} ${HARFBUZZ_ICU_LIBNAME} && \
|
|
${LN} -f -s ${HARFBUZZ_ICU_LIBNAME} libharfbuzz-icu.dylib
|
|
.else
|
|
cd ${DESTDIR}${PREFIX}/lib && \
|
|
${LN} -f -s ${HARFBUZZ_ICU_LIBNAME} libharfbuzz-icu.so.0 && \
|
|
${LN} -f -s ${HARFBUZZ_ICU_LIBNAME} libharfbuzz-icu.so
|
|
.endif
|
|
|
|
do-install: harfbuzz-icu-install
|
|
|
|
.include "../../fonts/harfbuzz/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|