meson.build


Log

Author Commit Date CI Message
Chun-wei Fan 5c7eb854 2024-07-16T12:34:14 meson: Fix builds against ICU >= 75.x on Visual Studio Sadly, we can't just use '-std=c++17' for Visual Studio, but must use '/std:c++17'... That's sadly, life...
Khaled Hosny 9c03576c 2024-06-27T18:38:31 9.0.0
خالد حسني (Khaled Hosny) f5d88951 2024-05-31T04:01:35 Merge pull request #4650 from fanc999-1/freetype-cmake Meson: Use actual FreeType version when using CMake
Alexander Kanavin 93d58f83 2024-05-28T11:39:27 meson: set -std=c++17 when building with icu >= 75 Fixes: https://github.com/harfbuzz/harfbuzz/issues/4671
Khaled Hosny 71b1ba7a 2024-05-13T23:07:51 8.5.0
Chun-wei Fan 1ad48fdd 2024-04-03T11:08:59 Meson: Use actual FreeType version when using CMake Sadly, the pkg-config files that FreeType gives us use different versioning schemes from what CMake expects, so we can't just use multiple dependencies even for Meson 0.60.0+
Khaled Hosny 63973005 2024-03-29T16:26:17 8.4.0
Khaled Hosny 3c8d448f 2024-03-17T12:32:14 [meson] Check minimum dependency versions like with autotools
璀境石 3d455998 2024-03-19T09:17:42 fixed: hb-subset.cc -- compile error C1128: number of sections exceeded object file format limit
Khaled Hosny 2b3631a8 2024-03-17T07:44:19 8.3.1
Elliot 93a148cd 2024-01-25T09:18:01 fix warning when compiling with clang-cl
Peter Seiderer 773a0c70 2023-12-04T10:32:48 [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>
Khaled Hosny 894a1f72 2023-11-11T15:57:54 8.3.0
Khaled Hosny 18a6e785 2023-10-18T01:10:44 8.2.2
Marco Rebhan da9b8389 2023-08-08T14:33:03 Re-do and clean up CMake support, making it use relocatable paths Closes #4025.
Khaled Hosny 0967a3e2 2023-09-18T21:18:27 8.2.1
Khaled Hosny c1eb66d4 2023-09-08T21:54:32 8.2.0
L. E. Segovia 617e4478 2023-08-31T23:39:29 [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.
Khaled Hosny 1d665c2b 2023-08-02T23:44:56 8.1.1
Khaled Hosny fcb9e591 2023-08-01T00:57:06 8.1.0
Khaled Hosny d160d938 2023-07-12T08:27:25 8.0.1
Khaled Hosny b4305532 2023-07-09T02:54:30 8.0.0
arch1t3cht 4a628b23 2023-06-26T15:19:29 [meson] Remove incorrect option for ICU subproject Fixes #4298 .
Behdad Esfahbod ccfd7ef0 2023-05-17T16:00:33 Merge pull request #4131 from harfbuzz/wasm [wasm] WebAssembly shaper
Behdad Esfahbod 6ed792ef 2023-05-17T07:58:27 [meson] Report WebAssembly build
Khaled Hosny 4584bcdc 2023-05-10T00:20:25 7.3.0
Behdad Esfahbod 070f837b 2023-04-27T11:51:42 [VarComposite] Optimize rotate()
Khaled Hosny a321c4fe 2023-04-27T00:48:00 7.2.0
DeadSix27 ef6adadb 2023-04-17T12:53:49 meson: add an option to disable utilities building Adds the missing utilities option to meson builds for parity with CMake builds
Behdad Esfahbod 6aea77c6 2023-02-26T12:28:25 [wasm-shape] Add (disabled) module support
Behdad Esfahbod f95c2cc6 2023-02-25T11:10:28 [wasm] Infra for iwasm llvm build
Behdad Esfahbod fcc8be40 2023-02-22T12:57:19 [wasm] Add meson build option Autotools support missing.
Behdad Esfahbod 425fc7f3 2023-02-22T12:19:06 [wasm] Add wasm shaper skeleton
Khaled Hosny 60841e26 2023-03-03T01:01:49 7.1.0
Khaled Hosny 1d1f93a6 2023-02-20T15:54:12 7.0.1
Khaled Hosny 8bdaeddf 2023-02-11T23:44:58 7.0.0
Khaled Hosny 00a6f894 2023-02-08T22:43:39 [meson] Minor alias_target() is variadic function.
Behdad Esfahbod 0b92c579 2023-02-07T10:20:46 [meson] Add alias "libs" target Builds libharfbuzz and libharfbuzz-subset.
Khaled Hosny 434c98d4 2023-02-07T10:06:13 [meson] Add alias "lib" target Fixes https://github.com/harfbuzz/harfbuzz/issues/4105
Khaled Hosny 7a714d1a 2023-01-27T03:12:36 [meson] Enable all checked for Cairo functions for internal Cairo Similar to what we do with FreeType ones.
Matthias Clasen 30d0d9c5 2023-01-24T15:43:17 Adapt to cairo changes Adapt to the api in the cairo MR that will be used, and make the code build with older cairo.
Matthias Clasen ac969fff 2023-01-24T19:06:15 Update meson summary Include builtin font callbacks and Cairo integration in the configuration summary.
Khaled Hosny 67e652cd 2023-01-21T15:57:13 [meson] Update Cairo subproject
Khaled Hosny e1a07051 2023-01-21T03:16:20 [meson] Enabled needlessly disabled MSVC warnings We don’t seem to hot any of these warnings currently.
Khaled Hosny f96e32a0 2023-01-21T00:39:00 [meson] Try to make MSVC build less spammy Enable exceptions in ragel subproject, and revert the exceptions part of: commit 22cbd038d3578c344e265a098fc98ef168f8d18b 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-'
Behdad Esfahbod 10def9b3 2023-01-20T14:06:18 meson fix
Behdad Esfahbod f21b15dc 2023-01-20T13:38:22 [hb-view] Update to alternative cairo custom-palette API
Behdad Esfahbod 3bcf153a 2023-01-06T15:51:13 Change library numbering scheme Fixes https://github.com/harfbuzz/harfbuzz/issues/1431
Khaled Hosny afcae83a 2022-12-16T23:14:57 6.0.0
Khaled Hosny 6add69a6 2022-12-16T19:54:00 [hb-view] Allow building without cairo-ft Fixes https://github.com/harfbuzz/harfbuzz/issues/3925
Eli Schwartz 604fe807 2022-11-08T16:24:08 meson: fix regression in detecting freetype2/icu-uc when explicitly disabled In #3811 / commit 53a194aa3f5f7de0b40e879e41fcbe0de6e9fefe 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.
Khaled Hosny 970321db 2022-10-19T22:06:46 5.3.1
Khaled Hosny 3ce4b8f5 2022-10-08T19:10:07 5.3.0
Khaled Hosny 4a1d891c 2022-09-17T03:15:51 5.2.0
Xavier Claessens 53a194aa 2022-09-07T17:35:03 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".
Khaled Hosny 16bfe653 2022-08-02T23:46:04 [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
Khaled Hosny f1f2be77 2022-07-31T15:46:25 5.1.0
Khaled Hosny cbccadba 2022-07-23T22:09:06 5.0.1
Khaled Hosny 40b21edf 2022-07-23T16:45:32 5.0.0
Khaled Hosny e294200d 2022-07-15T21:36:50 [ft] Check for FT_Get_Transform at build time
Luca Bacci 1abc14b4 2022-07-06T17:52:29 Do not link with the DWrite lib It's loaded dynamically now
Khaled Hosny 096aaa62 2022-06-29T07:30:05 4.4.1
Khaled Hosny 8537d681 2022-06-27T20:51:16 4.4.0
Khaled Hosny aee123fc 2022-05-20T21:07:25 4.3.0
Khaled Hosny f7aee78e 2022-04-24T05:47:57 4.2.1
Khaled Hosny 9d5730b9 2022-03-30T15:08:34 4.2.0
Khaled Hosny c36844d6 2022-03-23T07:20:59 4.1.0
Khaled Hosny 1f79ba94 2022-03-11T20:19:04 4.0.1
Khaled Hosny 8d1b000a 2022-03-01T21:27:32 4.0.0
James Hilliard 256dcde1 2022-02-21T00:07:03 [meson] handle multiple element ICU DEFS
Chun-wei Fan f0573d84 2022-02-17T14:39:31 meson: Clean up finding ICU-UC on Visual Studio Nowadays Meson has much better CMake support which we can use to find dependencies on Visual Studio builds (and Visual Studio 2017 and later provides CMake as an optional install item), so we can use it to help us find ICU-UC on Visual Studio builds, since CMake has built-in support for finding it by the components we need for some time.
Chun-wei Fan 561e8ba8 2022-02-17T14:19:35 meson: Cleanup finding FreeType on Visual Studio Nowadays, CMake is much better supported with Meson and is a common tool on Windows (it is even an optionally-installed item for Visual Studio 2017+), so make use of that to find FreeType. The package to search for, however, is `freetype` instead of `freetype2`.
Khaled Hosny 74ebfc64 2022-02-08T22:44:11 [meson] Update cairo subproject Update to the current master branch so that is has cairo_user_font_face_set_render_color_glyph_func(). I had to disable optimized builds on win[32|64] crossbuild setups because they are now broken in the CI (something about cairo defining _FORTIFY_SOURCE for optimized builds that MingW does not like).
Behdad Esfahbod 8f519d55 2022-02-08T13:28:00 [meson] Put back Experimental-API infrastructure Just unused for now.
Khaled Hosny cf288213 2022-02-08T19:03:17 [meson] fix building with Cairo subproject We can’t pass internal (subproject) dependency to cpp.has_function(), so we manually hard-code the result.
Behdad Esfahbod cfc06c24 2022-02-05T13:31:05 [util/draw] Render color glyphs if cairo API available
Behdad Esfahbod e0ac6c58 2022-02-02T18:57:12 Remove remaining traces of HB_EXPERIMENTAL_API
Khaled Hosny 0a129961 2022-02-13T00:30:50 3.4.0
Chun-wei Fan 3d22dae5 2022-02-10T16:30:36 meson.build: Only use get_variable() on icu_dep with pkgconfig We might have found ICU via the .lib names, and get_variable() is only available for pkg-config deps.
Khaled Hosny ac46c324 2022-02-06T15:41:18 3.3.2
Khaled Hosny 45df2595 2022-01-31T23:06:10 3.3.1
Khaled Hosny 98da3306 2022-01-31T18:12:01 3.3.0
Hugo Beauzée-Luyssen 17cd4457 2022-01-19T11:53:02 meson: Enable big objects support when building for windows Fix cross compilation when targetting win64
James Hilliard daab4bf6 2022-01-17T18:28:39 [meson] add icu DEFS required for compilation In some cases we need to add additionl defs to build against icu if icu has certain options configured. ICU warns about this when building: *** WARNING: You must set the following flags before code compiled against this ICU will function properly: -DU_DISABLE_RENAMING=1 We can fetch these flags from the icu pkgconfig and add them if required. This fixes symbol errors if ICU is built without renaming.
Jussi Pakkanen 726b1a8b 2022-01-13T18:30:52 Convert fallback kwargs to [provide] entries.
Behdad Esfahbod a45a6305 2022-01-08T15:47:33 Fix unintentional locale dependency (#3358) Avoid unintentional locale dependency hb_variation_to_string uses sprintf with %g, which will produce a locale-dependent decimal point, which is not desired here. The output is supposed to be compatible with CSS syntax, and that always uses '.' for the decimal point. Fix this by changing the per-thread locale to "C" around sprintf call. Fixes https://github.com/harfbuzz/harfbuzz/issues/3355 Fixes https://github.com/harfbuzz/harfbuzz/pull/3357 Fixes https://github.com/harfbuzz/harfbuzz/pull/3358 Co-authored-by: Matthias Clasen <mclasen@redhat.com>
Khaled Hosny be91d291 2021-12-12T04:45:54 3.2.0
Khaled Hosny 549e2b70 2021-12-01T03:16:26 Revert "Remove direct link to dwrite from meson scripts" This reverts commit 6ea6c581edb3cecf1b4b42854e37b40d6d067cd3.
Khaled Hosny 8aed5c21 2021-11-26T17:54:18 3.1.2
Khaled Hosny 69d8f27c 2021-11-20T17:09:15 [meson] Require 0.55.0 We implicitly require it for building ragel subproject. This new version requirement should satisfied in both Fedora 33 and Debian bullseye, and not be too cutting edge for us.
Khaled Hosny cd5c6cd0 2021-11-08T06:59:55 3.1.1
Khaled Hosny 77eeec53 2021-11-03T23:31:03 3.1.0
Cameron Cawley 6ea6c581 2021-09-24T22:05:29 Remove direct link to dwrite from meson scripts
Khaled Hosny 792ca307 2021-10-05T19:00:29 [meson] Add graphite2 option and deprecate graphite Fixes https://github.com/harfbuzz/harfbuzz/issues/3241 Should be better handled when we can use https://github.com/mesonbuild/meson/pull/9184
Khaled Hosny 9c387e20 2021-09-17T21:32:30 3.0.0
Khaled Hosny 22cbd038 2021-09-14T12:34:25 [meson] Add ragel subproject If ragel 6.10 is not found, build it from source. Seems to work, except that ragel uses exceptions and we configure HarfBuzz build to not use exceptions, and I can’t find away to enable exceptions only for the ragel subproject. I had to remove cpp_eh=none from default options and try to disable exceptions in MSVC manually (other compilers are already handled).
Khaled Hosny 7e9ac8fe 2021-09-14T07:07:00 [meson] Require ragel 6.10 Ragel 7 is also not stable from upstream's point of view. This uses “version” argument find_program(), which was introduced in meson 0.52.0, so I raised the minimum required meson version accordingly.
Khaled Hosny 505df5ab 2021-09-07T13:46:08 2.9.1
Khaled Hosny 9aa6f8a9 2021-08-18T09:32:04 2.9.0
Khaled Hosny 63e15eac 2021-07-08T22:46:33 2.8.2