meson.build


Log

Author Commit Date CI Message
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
Khaled Hosny b37f03f1 2021-05-04T02:07:06 2.8.1
Hans Petter Jansson 8298c2f9 2021-04-23T18:37:58 [hb-view] Use Chafa for terminal graphics if available This produces high-quality terminal graphics using symbols or sixels according to the detected terminal capabilities. Fixes #2430.
Khaled Hosny 743baf35 2021-03-22T15:51:17 [build] Don’t look for FontConfig We don’t currently use it anywhere. It was used briefly for the hb-fc-list tool, but this tool have not been built since 2015: commit cd042fc8c4a3984c3647cd22a27c34f00636f6e8 Author: Behdad Esfahbod <behdad@behdad.org> Date: Thu Jun 18 10:55:13 2015 -0700 [util] Disable hb-fc-list for now Until I figure out what to do about the API, and finalize the tool.
Khaled Hosny 03538e87 2021-03-16T19:28:35 2.8.0
Behdad Esfahbod c2fc2aa4 2020-06-29T01:49:28 [atomic] Remove Solaris intrinsics
Behdad Esfahbod 7099a6dc 2020-06-29T01:47:37 [atomic] Remove old Intel primitives implementation
Behdad Esfahbod 711c241f 2020-06-29T01:40:30 m[mutex] Remove busyloop mutex implemenation Don't know why I ever added this. :)
Khaled Hosny 68d2e1b2 2021-01-21T14:39:19 [meson] Disable benchmark feature by default It downloads a dependency from the internet, and in the same time not used anywhere (one needs to explicitly call ninja benchmark), not even on the CI (not sure if it that would make much sense since it does not seem to ever fail).
Khaled Hosny b6f47af5 2021-01-21T14:34:01 [meson] Report more options in the summary
Khaled Hosny 7236c7e2 2020-12-27T01:59:00 2.7.4
Khaled Hosny 71a3b54f 2020-12-23T15:33:15 2.7.3
Xavier Claessens e2ba0e00 2020-10-03T21:34:24 meson: Fix check for cairo and cairo-ft dependencies When cairo comes from a subproject fallback it should still take cairo-ft dependency, otherwise it miss freetype2 cflags. Also update wrap file to use upstream repository now that meson support has been merged. This requires Meson >= 0.54.0 because cairo itself requires that version and we use the new `fallback: 'cairo'` syntax without specifying a variable name because cairo does not provide a variable name for cairo-ft.
Khaled Hosny 9c98b2b9 2020-08-29T00:39:42 2.7.2
Ebrahim Byagowi 05ef75c5 2020-08-13T20:52:03 2.7.1
Ebrahim Byagowi 0a02f1e7 2020-08-13T15:33:39 [meson] Abort if GDI/Uniscribe headers couldn't be found
Ebrahim Byagowi 24b42002 2020-08-13T09:06:39 [meson] Avoid using has_headers as that has added in 0.50.0
Ebrahim Byagowi 6e32145d 2020-08-13T00:13:06 [meson] Make compatbile with 0.47.0
Ebrahim Byagowi 58209c86 2020-08-12T23:04:26 [meson] Make compatbile with 0.49.0 Contains a just put together summary feature polyfill and workaround to broken ternary operator.
Ebrahim Byagowi ef2e3803 2020-08-12T00:50:33 Revert "Remove cmake-config support of HarfBuzz" This reverts commit 75efa893433b6f352c28bda9d0a92683244900aa.
Ebrahim Byagowi 34a05320 2020-08-04T15:14:59 [meson] minor note
Ebrahim Byagowi 75efa893 2020-07-30T01:17:42 Remove cmake-config support of HarfBuzz Reverts d38f37b2 as discussed in #2316
Ebrahim Byagowi 97079a7c 2020-08-02T12:34:21 [meson] Pass cpp_eh=none and cpp_rtti=false as default options If we want to support a build with exception handling and RTTI We should reflect that on library(..., link_language: 'c') also so for now it is ok to just set it here to get MSVC support also and we can remove hard coded flags later upon request. One other concern over just relying on it is on when harfbuzz is used as a subproject and the parent project hasn't provided the same options, that should be resolved first I think. Closes #2584
Ebrahim Byagowi 749e2754 2020-08-02T12:21:51 [meson] remove useless note about -fvisibility-inlines-hidden It was put there as current situation of autotools but msys2 is ok with the flag, if something like is needed for other it can handled as a local patch.