56 Commits
Author SHA1 Message Date
Benoit de Chezelles 6f8b1d41b2 ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS) 2026-08-03 05:46:20 +02:00
Wez Furlong f412c817c6 update harfbuzz to 11.2.1 2025-05-17 06:44:31 -07:00
Wez Furlong 9574ded6cd deps: update harfbuzz to 10.4.0 2025-03-06 15:23:38 -07:00
Wez Furlong edcdefda3b workspace-ify the deps
There have been a couple of attempts at this in the past, which
had some usability warts in what I recall as an earlier, less
useful set of features overall.

Whether that was collective misunderstanding at the time, or things
have gotten better since then, now is a good time to adopt the workspace
dep syntax, because wezterm has many crates to keep on top of, and
automation like dependabot can't see a lot of them.

This will help to manage the versions of deps in wezterm centrally.

Let's try this out in CI: the Cargo.lock changes here are minimal
(eliminated a second version of base64 from one crate, terminal_size
from another, and removed an explicit dep on serde_derive) so
hopefully this sails through on !linux.

closes: https://github.com/wezterm/wezterm/pull/6668
2025-02-12 09:43:36 -07:00
Wez Furlong 10a5a4c232 deps: update harfbuzz to 10.2.0 2025-02-09 12:59:51 -07:00
Wez Furlong c79f8d59c4 macos: MACOSX_DEPLOYMENT_TARGET 10.9 -> 10.12
rustc emits:

```
warning: deployment target in MACOSX_DEPLOYMENT_TARGET was set to 10.9, but the minimum supported by `rustc` is 10.12
```

and so we follow that min requirement
2025-02-09 09:51:38 -07:00
Wez Furlong ad11815e87 deps: harfbuzz -> 9.0.0 2024-07-13 11:42:20 -07:00
Wez Furlong 14d426fea8 add cargo deny config, update lru 2024-05-13 08:29:36 -07:00
Wez Furlong ec438e714c deps: update harfbuzz to 8.4.0 2024-05-05 14:26:46 -07:00
Wez Furlong 6a58a5ce94 deps: harfbuzz -> 8.3.0 2023-11-22 17:41:38 -07:00
Wez Furlong f1be33939b deps: update harfbuzz to 8.2.1 2023-09-20 17:59:05 -07:00
Wez Furlong c41ae92404 deps/harfbuzz: ignore a warning in the harfbuzz library
We can't do anything about warnings in vendored libraries, so
suppress it.
2023-08-22 06:42:46 -07:00
Wez Furlong a7c6ea8c1e deps: harfbuzz -> 8.1.1
Second attempt to get on 8.1, tests seem good!

refs: https://github.com/harfbuzz/harfbuzz/issues/4358
2023-08-02 19:06:52 -07:00
Wez Furlong ca9cf23019 Revert "deps: harfbuzz -> 8.1.0"
This reverts commit e7bf2b4088.

The tests fail when built and run in release mode. There's
something fishy that needs investigation; will do so later.
2023-07-31 23:10:25 -07:00
Wez Furlong e7bf2b4088 deps: harfbuzz -> 8.1.0 2023-07-31 22:32:21 -07:00
Wez Furlong 28dcea0ab6 deps: harfbuzz -> 8.0.1 2023-07-12 06:37:34 -07:00
Wez Furlong 1bfaf8522a deps: harfbuzz -> 8.0.0 2023-07-09 07:38:36 -07:00
Wez Furlong c6f4ff3626 deps: update regenerate.sh scripts for newer bindgen cli
No functional change, just updating for changes in more
recent versions of bindgen.
2023-05-29 21:22:59 -07:00
Wez Furlong 794a102b6a deps: harfbuzz -> 7.3.0 2023-05-29 16:37:24 -07:00
Wez Furlong 4038b80048 deps: update harfbuzz to 7.1.0 2023-04-19 22:11:21 -07:00
Wez Furlong fe55ace7d9 deps: harfbuzz -> 6.0.0 2022-12-19 17:33:00 -07:00
Wez Furlong cc4a155a4a update harfbuzz to 5.3.1
it includes a fix for shaping grapheme clusters for Katakana voiced
sound marks.

refs: https://github.com/wez/wezterm/issues/2572
2022-10-19 20:00:13 -07:00
Wez Furlong dc9fb118ec deps: harfbuzz -> 5.2.0 2022-09-21 21:13:01 -07:00
Wez Furlong 53c6de956f harfbuzz: revise build and bindings
More recent versions of harfbuzz conveniently generate harfbuzz.cc
which has the full list of source files, so point our build to
that instead of chasing the evolving list of files: much easier!

Fixup some of the predefined symbols, and include opentype functions
in bindings.h so that we can pick those up in the bindgen output.
2022-09-03 08:20:53 -07:00
Wez Furlong 7dda063c27 update harfbuzz to 5.1.0 2022-07-31 10:53:25 -07:00
Wez Furlong e7c7ea20f6 deps: harfbuzz -> 5.0.1 2022-07-26 09:09:46 -07:00
Wez Furlong 8fb1c091ae update harfbuzz to 4.4.1 2022-07-04 15:26:42 -07:00
kumattau dc947ed0f8 Fix that harfbuzz skips the usage of some freetype functions unexpectedly 2022-06-11 07:37:58 -07:00
Wez Furlong 8f880551a0 deps: harfbuzz -> 4.3.0 2022-05-24 18:43:10 -07:00
Wez Furlong 9bf732bcae update harfbuzz to 4.2.1 2022-04-24 16:40:53 -07:00
Wez Furlong e76525b695 deps: harfbuzz -> 4.2.0 2022-04-03 18:37:25 -07:00
Wez Furlong 8eb497fa19 deps: harfbuzz -> 4.1.0 2022-03-26 10:51:35 -07:00
Wez Furlong d64f0c2189 deps: harfbuzz -> 4.0.1 2022-03-12 07:06:54 -07:00
Wez Furlong a79fc87586 deps: harfbuzz -> 3.4.0 2022-02-12 16:00:58 -07:00
Wez Furlong 1b63b4b7c9 deps: harfbuzz -> 3.3.2 2022-02-06 06:44:59 -07:00
Wez Furlong 40eef5b5dd harfbuzz: regenerate ffi bindings 2022-01-31 20:35:12 -07:00
Wez Furlong 05354fe8e5 deps: update harfbuzz to 3.3.1 2022-01-31 20:32:20 -07:00
Wez Furlong 88688e32c7 update harfbuzz to 3.2.0 2021-12-11 20:36:53 -07:00
Wez Furlong b16f584866 deps: harfbuzz -> 3.0.0 2021-09-18 09:04:23 -07:00
Wez Furlong c870c73dbe deps: update harfbuzz to 2.9.1 2021-09-09 09:01:42 -07:00
Wez Furlong fc441e9879 Upgrade bundled harfbuzz library to 2.9.0 2021-08-23 21:59:16 -07:00
Wez Furlong 2902a76c5c lint: fix some clippy stuff 2021-03-25 10:05:34 -07:00
Wez Furlong ba9bc30b79 harfbuzz: skip some unused bits
don't bother building the coretext or uniscribe bits of harfbuzz
2020-12-05 14:19:47 -08:00
Wez Furlong 3309803925 ci: speculative fix for C++11 build break in harfbuzz
Weird that this was set to not enable C++, but I suspect it is the
reason why the C++11 compiler flag isn't being added to resolve this:

```
warning: harfbuzz/src/hb-meta.hh:41:18: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
warning: template<typename... Ts> struct _hb_void_t { typedef void type; };
```
2020-11-23 14:33:47 -08:00
Wez Furlong dc453f2eed deps: update bundled harfbuzz to 2.7.2 2020-11-23 08:43:53 -08:00
Wez Furlong 124fe559cd fixup win32 build
`cargo test --release --all` was broken by a recent update.
Interesting that it only broke when building tests.

Regardless: these deps should probably have always been required,
so this is a legit change.
2020-08-29 10:03:07 -07:00
Wez Furlong bd179fa56c try to target older macos releases
refs: https://github.com/wez/wezterm/issues/128
2020-01-27 00:12:47 -08:00
Wez Furlong ceba08cb59 fixup build on windows 2019-11-04 09:40:27 -08:00
Wez Furlong a199ced513 build libz, libpng, freetype, harfbuzz without cmake
use the cc crate to compile them directly
2019-11-04 09:40:27 -08:00
Wez Furlong 61b27c8089 teach build.rs to init submodules if needed
Forgetting to update the submodules is a commonly reported build
issue with an obscure error message:

```
CMake Error: The source directory "/home/USER/wezterm/target/debug/build/freetype-430fe24cb64c561c/out/zlib-src/zlib" does not appear to contain CMakeLists.txt.
```

this teaches the build.rs machinery to run the submodule update
if it looks like it is needed.
2019-10-29 08:42:38 -07:00