freetype: add support for disabling brotli #1062

Open
opened 2023-10-10 18:13:11 +00:00 by emidoots · 0 comments
emidoots commented 2023-10-10 18:13:11 +00:00 (Migrated from github.com)

passing enable_brotli=false to freetype
is this possible now, or waiting for more package manager work?

We need to do this:

In theory it can be specified, it's not blocked on any package manager work
in practice, it needs to be specified in multiple places to get it right
harfbuzz depends on freetype, so it needs to be passed in there: github.com/hexops/harfbuzz@2c21ab06dd/build.zig (L35)
then the harfbuzz dependency in mach-freetype needs to be updated
then it needs to be specified in both calls to linkFreetype and linkHarfbuzz: github.com/hexops/mach-freetype@90b353a942/build.zig (L66-L84)
then your program needs to pass it down as well
so it's hard to get right

> passing enable_brotli=false to freetype > is this possible now, or waiting for more package manager work? We need to do this: > In theory it can be specified, it's not blocked on any package manager work > in practice, it needs to be specified in multiple places to get it right > harfbuzz depends on freetype, so it needs to be passed in there: https://github.com/hexops/harfbuzz/blob/2c21ab06dd3c5b4fc54000b008b7306296799cb9/build.zig#L35 > then the harfbuzz dependency in mach-freetype needs to be updated > then it needs to be specified in both calls to linkFreetype and linkHarfbuzz: https://github.com/hexops/mach-freetype/blob/90b353a9425067010ae5e924dc845e5e5045dab7/build.zig#L66-L84 > then your program needs to pass it down as well > so it's hard to get right
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#1062
No description provided.