Commit graph

199 commits

Author SHA1 Message Date
Khaled Hosny
63973005bc 8.4.0 2024-03-29 16:32:00 +02:00
Khaled Hosny
3c8d448fa1 [meson] Check minimum dependency versions like with autotools 2024-03-21 15:54:53 +02:00
璀境石
3d455998bf fixed: hb-subset.cc -- compile error C1128: number of sections exceeded object file format limit 2024-03-18 19:51:13 -06:00
Khaled Hosny
2b3631a866 8.3.1 2024-03-17 07:50:59 +02:00
Elliot
93a148cde6 fix warning when compiling with clang-cl 2024-01-25 10:12:04 -08:00
Peter Seiderer
773a0c7093 [meson] has_function detection needs suitable includes
- fix meson has_function() detection, needs suitable include to avoid
  false positive (see [1] for details)

[1] https://github.com/mesonbuild/meson/issues/7652

Closes #4266

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2023-12-04 10:51:31 +01:00
Khaled Hosny
894a1f72ee 8.3.0 2023-11-11 16:07:57 +02:00
Khaled Hosny
18a6e78549 8.2.2 2023-10-18 01:18:14 +03:00
da9b838910 Re-do and clean up CMake support, making it use relocatable paths
Closes #4025.
2023-09-20 08:35:15 +02:00
Khaled Hosny
0967a3e24a 8.2.1 2023-09-18 21:18:49 +03:00
Khaled Hosny
c1eb66d415 8.2.0 2023-09-08 22:02:35 +03:00
L. E. Segovia
617e447854 [meson] Set C++14 as minimum as implied by MSVC support
Microsoft's STL uses C++14 as minimum. Using C++11 is actually enforced
by clang-cl and clang, which will lead to all sorts of compilation
errors.
2023-09-06 10:04:29 +03:00
Khaled Hosny
1d665c2b52 8.1.1 2023-08-02 23:48:22 +03:00
Khaled Hosny
fcb9e5915f 8.1.0 2023-08-01 01:00:47 +03:00
Khaled Hosny
d160d9389c 8.0.1 2023-07-12 08:27:25 +03:00
Khaled Hosny
b4305532a7 8.0.0 2023-07-09 03:20:27 +03:00
arch1t3cht
4a628b236f [meson] Remove incorrect option for ICU subproject
Fixes #4298 .
2023-06-26 18:29:56 +03:00
Behdad Esfahbod
ccfd7ef08c
Merge pull request #4131 from harfbuzz/wasm
[wasm] WebAssembly shaper
2023-05-17 16:00:33 +02:00
Behdad Esfahbod
6ed792ef4b [meson] Report WebAssembly build 2023-05-17 07:58:27 -06:00
Khaled Hosny
4584bcdc32 7.3.0 2023-05-10 00:20:25 +03:00
Behdad Esfahbod
070f837be6 [VarComposite] Optimize rotate() 2023-04-27 11:56:03 -06:00
Khaled Hosny
a321c4fee5 7.2.0 2023-04-27 00:48:00 +02:00
DeadSix27
ef6adadba9 meson: add an option to disable utilities building
Adds the missing utilities option to meson builds for parity with CMake builds
2023-04-17 18:55:38 +02:00
Behdad Esfahbod
6aea77c643 [wasm-shape] Add (disabled) module support 2023-03-31 17:33:45 -06:00
Behdad Esfahbod
f95c2cc6d5 [wasm] Infra for iwasm llvm build 2023-03-31 17:33:45 -06:00
Behdad Esfahbod
fcc8be409b [wasm] Add meson build option
Autotools support missing.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
425fc7f3ee [wasm] Add wasm shaper skeleton 2023-03-31 17:33:44 -06:00
Khaled Hosny
60841e2618 7.1.0 2023-03-03 01:05:43 +02:00
Khaled Hosny
1d1f93a612 7.0.1 2023-02-20 15:54:12 +02:00
Khaled Hosny
8bdaeddfcd 7.0.0 2023-02-11 23:52:58 +02:00
Khaled Hosny
00a6f8945c [meson] Minor
alias_target() is variadic function.
2023-02-08 22:43:39 +02:00
Behdad Esfahbod
0b92c57984 [meson] Add alias "libs" target
Builds libharfbuzz and libharfbuzz-subset.
2023-02-07 10:20:46 -07:00
Khaled Hosny
434c98d4c6 [meson] Add alias "lib" target
Fixes https://github.com/harfbuzz/harfbuzz/issues/4105
2023-02-07 10:06:13 +02:00
Khaled Hosny
7a714d1a8d [meson] Enable all checked for Cairo functions for internal Cairo
Similar to what we do with FreeType ones.
2023-01-27 03:16:54 +02:00
Matthias Clasen
30d0d9c56c Adapt to cairo changes
Adapt to the api in the cairo MR that will be used,
and make the code build with older cairo.
2023-01-26 14:32:25 -05:00
Matthias Clasen
ac969fffa2 Update meson summary
Include builtin font callbacks and Cairo integration
in the configuration summary.
2023-01-24 17:08:51 -07:00
Khaled Hosny
67e652cd5d [meson] Update Cairo subproject 2023-01-21 14:04:49 -07:00
Khaled Hosny
e1a0705128 [meson] Enabled needlessly disabled MSVC warnings
We don’t seem to hot any of these warnings currently.
2023-01-21 15:27:56 +02:00
Khaled Hosny
f96e32a0aa [meson] Try to make MSVC build less spammy
Enable exceptions in ragel subproject, and revert the exceptions part of:

commit 22cbd038d3
Author: Khaled Hosny <khaled@aliftype.com>
Date:   Tue Sep 14 12:34:25 2021 +0200

    [meson] Add ragel subproject

To get ride of the following warnings:

cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
2023-01-21 15:27:56 +02:00
Behdad Esfahbod
10def9b3df meson fix 2023-01-20 14:06:18 -07:00
Behdad Esfahbod
f21b15dcc3 [hb-view] Update to alternative cairo custom-palette API 2023-01-20 13:57:39 -07:00
Behdad Esfahbod
3bcf153ad8 Change library numbering scheme
Fixes https://github.com/harfbuzz/harfbuzz/issues/1431
2023-01-06 15:51:35 -07:00
Khaled Hosny
afcae83a06 6.0.0 2022-12-16 23:35:26 +02:00
Khaled Hosny
6add69a6ec [hb-view] Allow building without cairo-ft
Fixes https://github.com/harfbuzz/harfbuzz/issues/3925
2022-12-16 21:10:15 +02:00
Eli Schwartz
604fe80707 meson: fix regression in detecting freetype2/icu-uc when explicitly disabled
In #3811 / commit 53a194aa3f a broken and
half-implemented approach to kind of sort of handling the detection of
both pkg-config and cmake names for dependencies, was implemented. It
just checked for both versions with required: false, but when the build
was configured with *disabled* options, it was still found because it
was treated as auto.

Really, the problem here is trying to outsmart Meson, which handles a
lot of edge cases correctly. But it's possible, albeit very wordy, to
manually implement Meson's internal logic via if/else fallbacks. Do so
here.
2022-11-08 18:32:41 -07:00
Khaled Hosny
970321db7b 5.3.1 2022-10-19 22:06:46 +02:00
Khaled Hosny
3ce4b8f5c9 5.3.0 2022-10-08 19:10:07 +02:00
Khaled Hosny
4a1d891c63 5.2.0 2022-09-17 03:19:29 +02:00
Xavier Claessens
53a194aa3f meson: Fix freetype and icu dependency lookup
It is wrong to search for a different name depending on the compiler. If
anything, cmake name could be available on systems that uses GCC too.

This also fix regression in the usage of freetype subproject fallback as
its name is "freetype2" and was previously used even when the
"freetype" option was set to "auto".
2022-09-08 09:43:41 -06:00
Khaled Hosny
16bfe6536b [meson] use cpp.get_argument_syntax not cpp.get_id
To account for both MSVC and clang-cl.

Fixes https://github.com/harfbuzz/harfbuzz/issues/3756
2022-08-03 00:07:40 +02:00