Khaled Hosny
68d2e1b221
[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).
4 years ago
Khaled Hosny
b6f47af555
[meson] Report more options in the summary
4 years ago
Khaled Hosny
7236c7e29c
2.7.4
4 years ago
Khaled Hosny
71a3b54f3c
2.7.3
4 years ago
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.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Khaled Hosny
9c98b2b9a9
2.7.2
4 years ago
Ebrahim Byagowi
05ef75c553
2.7.1
4 years ago
Ebrahim Byagowi
0a02f1e760
[meson] Abort if GDI/Uniscribe headers couldn't be found
4 years ago
Ebrahim Byagowi
24b4200243
[meson] Avoid using has_headers as that has added in 0.50.0
4 years ago
Ebrahim Byagowi
6e32145dc9
[meson] Make compatbile with 0.47.0
4 years ago
Ebrahim Byagowi
58209c86a0
[meson] Make compatbile with 0.49.0
...
Contains a just put together summary feature polyfill and workaround
to broken ternary operator.
4 years ago
Ebrahim Byagowi
ef2e380342
Revert "Remove cmake-config support of HarfBuzz"
...
This reverts commit 75efa89343
.
4 years ago
Ebrahim Byagowi
34a0532092
[meson] minor note
4 years ago
Ebrahim Byagowi
75efa89343
Remove cmake-config support of HarfBuzz
...
Reverts d38f37b2
as discussed in #2316
4 years ago
Ebrahim Byagowi
97079a7c8f
[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
4 years ago
Ebrahim Byagowi
749e2754c8
[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.
4 years ago
Ebrahim Byagowi
a01c7a380b
2.7.0
4 years ago
Ebrahim Byagowi
f9ac6ddbef
[meson] Rename 'gtk_doc' option to 'docs'
4 years ago
Ebrahim Byagowi
8cbdb6fa41
[meson] Don't enable benchmark under the conditions ever
...
As we don't want to make headache for packagers as we don't want to
enable it when --auto-features=enabled is used.
4 years ago
Ebrahim Byagowi
dc981fe951
[meson] Merge gdi and uniscribe
...
They are the same thing obviously
4 years ago
Ebrahim Byagowi
f62f4e388b
[meson] minor on gdi, dwrite and icu
4 years ago
Ebrahim Byagowi
69a1e07acb
[meson] don't enable benchmark if is in nodownload wrap mode
...
Fixes #2551
4 years ago
Ebrahim Byagowi
747f65f9ef
[meson] Remove HAVE_OT and HAVE_FALLBACK
...
No need as 1e8fdd2
and 23768a9
4 years ago
Ebrahim Byagowi
e1c35ca581
[meson] rename the section
...
As Behdad's comment
4 years ago
Ebrahim Byagowi
ddb103ea1a
[meson] minor
4 years ago
Khaled Hosny
dc684103d4
[meson] Set the default wrap mode to nofallback
...
This, I believe, will prevent any automatic use of subprojects be
default and will only look for dependencies on the system.
https://mesonbuild.com/Subprojects.html#commandline-options
4 years ago
Ebrahim Byagowi
52199349aa
[meson] mark meson as tested
...
tested in a CI bot that in a `-Dcoretext=enabled` build, `build/util/hb-shape --shaper=ot` works fine.
4 years ago
Ebrahim Byagowi
a08ba46d86
[meson] move meson version so can be referenced easier
4 years ago
Ebrahim Byagowi
6d3d0ebba3
Remove .tarball-revision generation from meson dist
...
Toward making release tarball identical to git checkout now that we are moving to meson.
4 years ago
Ebrahim Byagowi
38fa924904
[meson] revert 020b182
as meson fails when there is cyclic dependency
4 years ago
Ebrahim Byagowi
42d039cc99
[meson] minor
4 years ago
Ebrahim Byagowi
f2a80ab2c2
[meson] use null_dep idiom
4 years ago
Ebrahim Byagowi
05ab073d9b
[meson] Improve the way cairo-ft availability is checked
4 years ago
Ebrahim Byagowi
aadcd3ed8a
[meson] use dependency's has_headers to make pulled cairo has ft support
4 years ago
Ebrahim Byagowi
020b182c79
[meson] try freetype without harfbuzz just as a last resort
4 years ago
Xavier Claessens
01fa55e88f
meson: Allow freetype and cairo subprojects to fail
...
If their respective option is set to 'auto' configuration of the
fallback subproject should be allowed to fail for any reason.
4 years ago
Xavier Claessens
00c652adab
meson: Fallback to cairo subproject when option is 'auto'
4 years ago
Xavier Claessens
571365df33
meson: Simplify check for cairo library and headers
4 years ago
Xavier Claessens
c4bbe89b53
meson: Fallback to freetype2 subproject when option is 'auto'
...
But disable harfbuzz support when configuring freetype2 subproject to
avoid dependency cycle.
4 years ago
Xavier Claessens
33252ce576
meson: Simplify check for freetype2 library and headers
4 years ago
Ebrahim Byagowi
f3f9205fac
[meson] Assume cairo_ft always available when cairo isn't from pkgconfig
4 years ago
Ebrahim Byagowi
702847aadd
[meson] Turn benchmark to a feature
4 years ago
Ebrahim Byagowi
1536271f6b
Don't check roundf availability in cmake and meson
4 years ago
Ebrahim Byagowi
95b1081be4
Add performance benchmark for shaping, get extents and draw
4 years ago
Ebrahim Byagowi
53b0a183c7
Remove concept of stable/unstable from build tools
...
We never practiced the concept of stable and unstable releases, let's
remove the code and always use the stable scheme.
4 years ago
Ebrahim Byagowi
e4203c1469
2.6.8
4 years ago
Ebrahim Byagowi
8c84fee2e5
Update build systems status messages
4 years ago
Ebrahim Byagowi
a6bcc577a9
[meson] don't `add_dist_script` when we are subproject
...
Happens when harfbuzz is used as a meson subproject,
`ERROR: add_dist_script may not be used in a subproject.`
4 years ago
Ebrahim Byagowi
03bd3efaa7
[meson] Write git revision to .tarball-revision on dist tarball
4 years ago