Commit Graph

33 Commits

Author SHA1 Message Date
Khaled Hosny 67e652cd5d [meson] Update Cairo subproject 2023-01-21 14:04:49 -07: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
Khaled Hosny 4f4b6e03f4 [wrap] Add fallback source URL for zlib
Hopefully this fixes the intermittent CI failures due to download
failures.
2023-01-17 15:43:09 +02:00
Khaled Hosny 5d81fc0f1c [meson] Update Cairo subproject
Update to the latest master to get color fonts working. Disable dwrite
on Windows builds as it does not compile and we don’t need it.
2023-01-02 18:57:54 +02:00
Khaled Hosny 27ff90d7b8 [meson] Update freetype2 wrap
Use the one from WrapDB and add zlib wrap because current FreeType
tarball misses it.
2022-12-16 22:29:10 +02:00
Khaled Hosny 318df8a706 [meson] Update google-benchmark wrap
Use the one from WrapDB.
2022-12-16 22:00:08 +02:00
Khaled Hosny bd7c458028 [meson] Update glib wrap
Use the one from WrapDB.
2022-12-16 22:00:08 +02:00
Satadru Pramanik 58925ed9a0 Update freetype subproject to 2.12.1 2022-11-29 12:42:58 -07:00
Khaled Hosny 7b0d8d9d18 [meson] Remove ttf-parser wrap
We don’t have a ttf-parser dependency anymore.
2022-06-29 00:42:40 +02:00
Garret Rieger e8b40c7a09 Upgrade google benchmark dep to latest version to fix build failure. 2022-04-21 11:16:12 -06:00
Chun-wei Fan d24ac4aac3 freetype2.wrap: Provide fallback for CMake dep as well
Add a freetype identifier in the 'provides' section so that the fallback will
kick in if FreeType is requested but was not found, and wrap mode is not
disabled.
2022-02-17 16:21:22 +08:00
Khaled Hosny c8b6036cf3 [meson] Update Cairo subproject
Fixes another color fonts issue.
2022-02-14 02:17:38 +02:00
Khaled Hosny 2da6accda6 [meson] Update cairo submodule
To include the latest color glyph fixes
2022-02-13 13:21:15 -06:00
Khaled Hosny 74ebfc646a [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).
2022-02-13 13:21:14 -06:00
Jussi Pakkanen 726b1a8b2d Convert fallback kwargs to [provide] entries. 2022-01-13 13:25:16 -08:00
Khaled Hosny 22cbd038d3 [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).
2021-09-14 18:46:33 -06:00
Khaled Hosny 57d86950c3 [meson] Update FreeType wrap to use upstream repo 2021-08-16 14:09:23 -06:00
Khaled Hosny fac0bc7876 [meson] Drop more wraps we don’t use directly 2021-05-26 23:11:44 +02:00
Khaled Hosny 21d1034dc0 [meson] Remove expat.wrap that we don’t use directly
Fixes https://github.com/harfbuzz/harfbuzz/issues/2987
2021-05-26 23:11:44 +02:00
Khaled Hosny 743baf3543 [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 cd042fc8c4
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.
2021-03-29 15:54:51 -06:00
Khaled Hosny 9c8032cb4b [meson] Don’t build FontConfig subproject from master
Pin it to a known working tag instead.
2021-02-16 22:20:26 +02:00
Khaled Hosny 6a140ef570 [meson] Pin Cairo subproject 1.17.4
There is now a release with meson build support.
2021-01-17 23:30:10 +02:00
Xavier Claessens 9722b4b269 Meson: Update all wrap files to latest version 2020-11-17 11:56:52 -05:00
Xavier Claessens e2ba0e009e 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.
2020-11-17 11:52:35 -05:00
Ebrahim Byagowi 5f9ff04fb0 Add comparison against ttf-parser 2020-07-30 16:18:17 +04:30
Ebrahim Byagowi aa8bade97e [meson] enable cairo as subproject 2020-07-01 03:21:39 +04:30
Ebrahim Byagowi 95b1081be4 Add performance benchmark for shaping, get extents and draw 2020-06-25 01:30:07 +04:30
Ebrahim Byagowi 6058ede3ae
Build win32 artifacts using meson
As a part of meson migration, this builds hb-shape dependencies
using meson subprojects and removes different unrelated mingw
files we've put on source root about things that aren't really our
concern. This also simplifies all the instructions we've put in
README.mingw.md and makes it easy to build the project on
distros that no mingw libraries (such i686-win32-{freetype,glib,...}
are packaged. The known catch is however lack of hb-view as its need
for build of cairo which apparently isn't that straightforward.
2020-06-01 12:58:31 +04:30
Tim-Philipp Müller 0976300be4 meson: pin glib wrap to 2.58.1 release 2020-03-11 19:18:57 +03:30
Tim-Philipp Müller c5f2e5e5ab meson: use proxy-libintl from frida 2020-03-11 19:18:57 +03:30
Tim-Philipp Müller 54417b127b meson: fix glib git url
It's on gitlab now.

Fixes #1
2020-03-11 19:18:57 +03:30
Mathieu Duponchelle d4a7237327 meson: all tests passing on Windows / MSVC 2020-03-11 19:18:57 +03:30
Mathieu Duponchelle fce88f9905 meson: add subproject wraps for dependencies 2020-03-11 19:18:57 +03:30