Jan200101
0493b79caf
don't make library building logic public
2025-01-03 22:42:29 +01:00
Jan200101
1dc9157727
always link system freetype2 using pkg-config
2025-01-03 22:42:01 +01:00
Jan200101
5957e1101c
don't build harfbuzz when system integration is enabled
2024-12-31 21:09:13 +01:00
Nyaa97
7eb5563e9c
Fix linking freetype and glslang
2024-10-30 16:43:41 -04:00
Mitchell Hashimoto
8bb8b01e54
build: use Zig system packaging options
...
This allows dynamically linking against system libraries, which is
particularly useful for packaging.
2024-10-24 14:46:37 -07:00
Mitchell Hashimoto
a30e791c85
begin 0.13 update process -- very broken
2024-06-24 15:16:22 -07:00
Qwerasd
fb913f0d9e
Enable libpng in harfbuzz freetype dep
...
Without this, this replaces the dep on the main level, breaking color glyphs
2024-05-09 00:03:40 -04:00
Mitchell Hashimoto
595f24585e
working on more zig breaking changes
2024-04-17 20:50:50 -07:00
Mitchell Hashimoto
8d4416995b
build: no more resolved target hack
...
This was necessary to fix `zig build test` but since #1305 this is not
necessary anymore.
2024-01-15 14:33:56 -08:00
Mitchell Hashimoto
3360a008cd
build: build produces a broken object file for iOS
...
This gets `zig build -Dtarget=aarch64-ios` working. By "working" I mean
it produces an object file without compiler errors. However, the object
file certainly isn't useful since it uses a number of features that will
not work in the iOS sandbox.
This is just an experiment more than anything to see how hard it would be to
get libghostty working within iOS to render a terminal. Note iOS doesn't
support ptys so this wouldn't be a true on-device terminal. The
challenge right now is to just get a terminal rendering (not usable).
2024-01-13 21:38:58 -08:00
Mitchell Hashimoto
c24d7d6de6
pkg/harfbuzz: get zig build test working on macOS
2024-01-10 20:26:41 -08:00
Mitchell Hashimoto
22648d60e7
pkg/apple-sdk: detect apple sdk based on target
2024-01-09 22:24:34 -08:00
Mitchell Hashimoto
829776bebd
pkg/apple-sdk: always require a module
2024-01-09 22:11:03 -08:00
Mitchell Hashimoto
c0722b3652
build: use Xcode for the macOS SDK
2024-01-09 21:53:01 -08:00
Krzysztof Wolicki
3c78df70fb
Maybe this will help macos
2024-01-07 21:39:53 +01:00
Krzysztof Wolicki
2f5bcf2e27
Attempt to fix building on macos
2024-01-07 21:17:17 +01:00
Krzysztof Wolicki
ddebb31b8a
Add include paths to more modules in pkg/
2024-01-07 19:07:16 +01:00
Krzysztof Wolicki
9e14a7ea62
Add include paths to modules in pkg/
2024-01-07 17:39:39 +01:00
Krzysztof Wolicki
1913243c35
WIP: Update to new build module API after Zig PR #18160
...
Temporarily change dependency sources to forks until they update
2024-01-03 21:50:32 +01:00
Mitchell Hashimoto
8ec6828713
pkg/harfbuzz: download source using zig package manager
2023-10-07 14:51:25 -07:00
Mitchell Hashimoto
0021b290cf
pkg: add test targets
2023-10-01 18:43:25 -07:00
Mitchell Hashimoto
4e1b3b3224
fix failing test, freetype needs libpng
2023-10-01 18:33:37 -07:00
Mitchell Hashimoto
2237b43df0
pkg/freetype, harfbuzz modules
2023-10-01 16:57:45 -07:00
Mitchell Hashimoto
b9cc763a3a
pkg/harfbuzz needs to use apple sdk for coretext
2023-10-01 15:33:40 -07:00
Mitchell Hashimoto
2312c465c6
use package manager for font stack
2023-10-01 12:32:17 -07:00
Mitchell Hashimoto
6aef48288a
pkg/harfbuzz
2023-10-01 12:23:38 -07:00
Jonathan Marler
a2e881ff4e
windows: initial support for zig build test
...
Makes progress getting "zig build test" to work on windows. Mostly
fixed issues around build configuration and added some branches throughout
the Zig code to return/throw errors for unimplemented parts.
I also added an initial implementation for getting the home dir.
2023-09-14 03:15:40 -06:00
Mitchell Hashimoto
d649b3f6d4
update zig
2023-08-02 14:39:19 -07:00
Mitchell Hashimoto
2b73fbaa0d
iterating on the new for loop syntax
2023-02-27 21:53:09 -08:00
Mitchell Hashimoto
be75109a1d
new build system
2023-02-14 20:58:33 -08:00
Mitchell Hashimoto
939e6e7a65
pkg/harfbuzz: add coretext compilation on macOS
2022-10-02 11:05:40 -07:00
Mitchell Hashimoto
dafc99746d
font: Face initializes a hb_font alongside every face
2022-08-29 16:46:53 -07:00
Mitchell Hashimoto
755760a79e
pkg/harfbuzz: some functions and tests
2022-08-28 10:24:07 -07:00
Mitchell Hashimoto
367aba62c4
Add harfbuzz build (not used yet)
2022-08-28 10:09:39 -07:00