Commit Graph
54 Commits
Author SHA1 Message Date
Khaled Hosny 9cb1fee510 [meson] Update wraps 2026-03-12 17:36:39 +02:00
Khaled Hosny 6e267000a1 [meson] Add libpng and zlib wraps 2026-03-12 17:36:39 +02:00
Khaled HosnyandBehdad Esfahbod c7ac9e4345 [kbts] Update to version 2.07 (#5697)
* [kbts] Update to version 2.07

* [kbts] More error checking

* [kbts] Update to the latest commit

* [kbts] Fix destroy order

Apparently it has to be done this way. Otherwise, freeing
the config frees the scratchpad as well, or something to that
extent, and makes valgrind very unhappy.

* [kbts] Hook objects to shape-plan for reuse

---------

Co-authored-by: Behdad Esfahbod <behdad@behdad.org>
2026-01-01 21:01:30 -07:00
Behdad Esfahbod 311e166b5a [kbts] Roll to 2.06 2025-12-20 12:24:38 -07:00
Khaled Hosny db63939aaa [kbts] Update to version 2.03 (#5674) 2025-12-08 09:35:25 -07:00
Khaled Hosny a68565099d [kbts] Update to version 2.1 (#5670) 2025-12-06 13:02:03 -07:00
Khaled Hosny 46bc4e95f9 [kbts] Update to version 2.0 2025-11-28 12:56:36 +02:00
Berk Elyesa Yıldırım b26efcc6b9 [meson] Update wrap files
FreeType 2.14 loads HarfBuzz on runtime dynamically
to simplify the circular dependencies.
2025-11-11 21:17:03 +02:00
Khaled Hosny 281325fc95 Add .wraplock to subprojects/.gitignore [ci skip] 2025-11-05 06:59:00 +02:00
Khaled Hosny 49ac0df6ba [meson] Add graphite2 wrap file 2025-09-07 02:48:00 +03:00
Benjamin Gilbert 01d4fff167 [meson] Add ICU wrap 2025-09-04 14:44:48 +03:00
Khaled Hosny bb3a839496 [kbts] Add dummy shaper
Just the infrastructure to build the shaper.
2025-07-23 21:39:23 +03:00
Khaled Hosny 4dc25e7066 [ci] Add libffi warp with fallback download URL
To fix failing CI runs because freedesktop.org is down.
2025-03-17 17:41:27 +02:00
Khaled Hosny 6898a6048c [meson] Update wrap files
This also updates the meson version on Windows cross-build jobs as wraps
now requires newer versions of meson. We still require only meson 0.55.0
for building HarfBuzz, but building with fallback wraps is allowed
to require newer meson.
2024-11-09 13:17:58 +02:00
Steve Lhomme 6253b3a905 [meson] build ragel as a native tool
When cross compiling it will build a target (host) binary that can't be run on the building machine.

Also remove the install flag which is not compatible with the native flag, but the custom built ragel is correctly picked.
2024-05-13 20:42:13 +03:00
L. E. Segovia d5cb1a3153 [meson] Add gitignore entries for wrap sources 2023-09-06 10:04:29 +03:00
Benoit Pierre 4668b43e2c [meson] add source fallback URL to freetype2 wrap 2023-08-31 21:28:32 +03:00
Khaled Hosny 5b82fa91c5 [meson] Update Glib subproject 2023-02-11 23:22:09 +02:00
Khaled Hosny 31e099fd21 [meson] Update Cairo subproject 2023-02-11 23:22:09 +02:00
Khaled Hosny 8f0da5e5e6 [meson] Update FreeType subproject 2023-02-11 23:22:09 +02:00
Matthias Clasen 4a632dec78 build: Bump to newer cairo 2023-01-26 13:19:50 -05:00
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