2020-09-04 12:50:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.135 2020/09/04 10:50:08 prlw1 Exp $
|
2012-10-08 21:20:33 +02:00
|
|
|
|
2020-09-04 12:50:08 +02:00
|
|
|
DISTNAME= harfbuzz-2.7.2
|
2012-10-08 21:20:33 +02:00
|
|
|
CATEGORIES= fonts
|
2020-04-18 16:32:02 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=harfbuzz/}
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
GITHUB_TAG= ${PKGVERSION_NOREV}
|
2012-10-08 21:20:33 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-04-18 16:32:02 +02:00
|
|
|
HOMEPAGE= https://harfbuzz.github.io/
|
2012-10-08 21:20:33 +02:00
|
|
|
COMMENT= OpenType text shaping engine
|
|
|
|
LICENSE= mit
|
|
|
|
|
2020-06-09 13:27:04 +02:00
|
|
|
# C++11
|
|
|
|
GCC_REQD+= 4.9
|
2019-11-09 20:31:14 +01:00
|
|
|
|
2019-06-02 05:11:30 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2019-06-08 21:53:26 +02:00
|
|
|
.include "../../graphics/librsvg/available.mk"
|
2019-06-02 05:11:30 +02:00
|
|
|
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
|
|
|
# cairo/fontconfig are only needed for command line utilities
|
|
|
|
MESON_ARGS+= -Dcairo=disabled
|
|
|
|
MESON_ARGS+= -Dfontconfig=disabled
|
|
|
|
|
|
|
|
MESON_ARGS+= -Dintrospection=disabled
|
2020-08-09 02:53:12 +02:00
|
|
|
MESON_ARGS+= -Dbenchmark=disabled
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
|
|
|
|
PLIST_VARS+= graphite2
|
2019-06-08 21:53:26 +02:00
|
|
|
.if ${LIBRSVG_TYPE} == "rust"
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
MESON_ARGS+= -Dgraphite=enabled
|
2019-06-02 05:11:30 +02:00
|
|
|
PLIST.graphite2= yes
|
|
|
|
.else
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
MESON_ARGS+= -Dgraphite=disabled
|
2019-06-02 05:11:30 +02:00
|
|
|
.endif
|
2012-10-08 21:20:33 +02:00
|
|
|
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= output/meson-private/*.pc
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE_STAGE= pre-install
|
2013-08-22 17:34:32 +02:00
|
|
|
|
2013-01-06 08:13:15 +01:00
|
|
|
LDFLAGS.OpenBSD+= -lz
|
|
|
|
|
2013-08-22 17:34:32 +02:00
|
|
|
.include "options.mk"
|
2013-04-23 20:23:02 +02:00
|
|
|
|
|
|
|
# gcc too old
|
2016-02-25 13:50:49 +01:00
|
|
|
BUILDLINK_TRANSFORM.MirBSD+= rm:-fvisibility-inlines-hidden
|
2013-04-23 20:23:02 +02:00
|
|
|
|
2014-05-27 16:23:58 +02:00
|
|
|
PLIST_VARS+= coretext
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
. if !empty(OS_VERSION:M[0-8].*)
|
|
|
|
# MacOS X < 10.5 does not have CoreText.
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
MESON_ARGS+= -Dcoretext=disabled
|
2014-05-27 16:23:58 +02:00
|
|
|
|
|
|
|
. elif !empty(OS_VERSION:M9.*)
|
|
|
|
# MacOS X 10.5 has CoreText but it's
|
|
|
|
# buggy. CTLineCreateWithAttributedString() seemingly fails when
|
|
|
|
# trying to use a font which isn't installed into the system standard
|
|
|
|
# path.
|
|
|
|
# See http://forum.libcinder.org/topic/text-not-working-in-leopard-osx-10-5
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
MESON_ARGS+= -Dcoretext=disabled
|
2014-05-27 16:23:58 +02:00
|
|
|
|
|
|
|
. else
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
MESON_ARGS+= -Dcoretext=enabled
|
2014-05-27 16:23:58 +02:00
|
|
|
PLIST.coretext= yes
|
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
2020-08-09 02:53:12 +02:00
|
|
|
REPLACE_PYTHON+= src/*.py
|
harfbuzz: Update to 2.7.0
Overview of changes leading to 2.7.0
Saturday, July 25, 2020
====================================
- Use an implementation for round that always rounds up, some minor fluctuations
are expected on var font specially when hb-ot callback is used.
- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
use on macOS installed fonts (only two files). GDEF support is the recommended
one and expected to work properly after issues fixed two releases ago.
- Minor memory fixes to handle OOM better specially in hb-ft.
- Minor .so files versioning scheme change and remove stable/unstable scheme
differences, was never used in practice (always default to stable scheme).
- We are now suggesting careful packaging of the library using meson,
https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
for more information.
- Distribution package URL is changed, either use GitHub generated tarballs,
`https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
or, even more preferably use commit hash of the release and git checkouts like,
`git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
2020-08-08 21:11:13 +02:00
|
|
|
|
|
|
|
.include "../../devel/meson/build.mk"
|
2012-10-08 21:20:33 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2013-01-06 08:13:15 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
Update to 0.9.18.
Overview of changes leading to 0.9.18
Tuesday, May 28, 2013
=====================================
New build system:
- All unneeded code is all disabled by default,
- Uniscribe and CoreText shapers can be enabled with their --with options,
- icu_le and old shapers cannot be enabled for now,
- glib, freetype, and cairo will be detected automatically.
They can be force on/off'ed with their --with options,
- icu and graphite2 are default off, can be enabled with their --with
options,
Moreover, ICU support is now build into a separate library:
libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
Distros can enable ICU now without every application on earth
getting linked to via libharfbuzz.so.
For distros I recommend that they make sure they are building --with-glib
--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
And package harfbuzz and harfbuzz-icu separately.
2013-07-07 12:19:03 +02:00
|
|
|
#BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0
|
2013-03-14 20:10:29 +01:00
|
|
|
#.include "../../graphics/cairo/buildlink3.mk"
|
2012-10-08 21:20:33 +02:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2019-06-08 21:53:26 +02:00
|
|
|
.if ${LIBRSVG_TYPE} == "rust"
|
2019-06-09 06:55:48 +02:00
|
|
|
# graphite2 support breaks graphics/librsvg-c
|
2019-06-02 05:11:30 +02:00
|
|
|
.include "../../graphics/graphite2/buildlink3.mk"
|
|
|
|
.endif
|
2012-10-08 21:20:33 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|