Commit Graph

30 Commits

Author SHA1 Message Date
Jason Francis 1bea54624d meson: Update freetype2 git repository to upstream
The forked repository is unmaintained and several releases out of date.
The upstream repository now includes meson support, so the forked
repository is no longer necessary.
2022-10-26 11:59:04 +00:00
Christopher Degawa a07e2f1e8a
meson: modify gperf test to remove sh dependency
modifies the gperf test to instead rely on a file input
rather than piping in using sh, as sh is often not reliable
on Windows due to paths.

Also changes the if else ladder into a foreach loop.

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2022-10-25 15:57:09 -05:00
Akira TAGOH c45e09df1e Bump version to 2.14.1 2022-10-21 14:14:03 +09:00
Xavier Claessens 36f5b76640 meson: Fix configuration warnings 2022-09-13 08:57:42 -04:00
Xavier Claessens 952a04a9f2 meson: Do not run fc-cache when installing into a DESTDIR
It cause permission denied errors because it is often not run as root.
This requires Meson >=0.57.0.
2022-09-13 08:57:42 -04:00
Tim-Philipp Müller 0c7bb301f4 meson: add 'template-dir', 'baseconfig-dir', 'config-dir', and 'xml-dir' options
Fixes #244
2022-07-02 19:12:09 +01:00
Tim-Philipp Müller 6ae5623674 meson: add 'cache-dir' option
Fixes #244
2022-07-02 19:01:18 +01:00
Tim-Philipp Müller 66fa47c6f1 meson: add 'additional-fonts-dirs' option
Fixes #244
2022-07-02 19:01:17 +01:00
Tim-Philipp Müller 0d8d75e559 meson: add 'default-fonts-dirs' option
Fixes #244
2022-07-02 19:01:03 +01:00
Tim-Philipp Müller 56a2487924 meson: add 'default-hinting' option
Fixes #244
2022-07-02 19:00:41 +01:00
Jeremy Huddleston Sequoia 1bc38359d1 meson: Fix linking libexpat on darwin
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2022-06-20 00:39:25 -07:00
Akira TAGOH 911b19f19f Bump version to 2.14.0 2022-03-31 16:26:11 +09:00
Akira TAGOH d37f97223a Bump version to 2.13.96 2022-02-04 17:19:27 +09:00
Akira TAGOH 53fa8a3801 Bump version to 2.13.95 2022-02-01 14:25:45 +09:00
Akira TAGOH 55eb1ef89b Add an user font directory for Win32 to the default font path
Patch from @takase1121

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/144
2022-01-17 16:19:22 +09:00
Nirbheek Chauhan 7b09c81dab meson: Remove summary() from version_compare() block
The version_compare() block is redundant because we require meson 0.56
now, and it fixes a spurious warning:

```
fontconfig| WARNING: Project targeting '>= 0.53' but tried to use feature introduced in '0.54.0': list_sep arg in summary.
```
2022-01-09 17:04:25 +05:30
Alex Richardson 012ffaac75 Add support for C11 stdatomic atomics
This fixes deprecation warnings when building for macOS >= 10.12 systems.
Additionally, using stdatomic.h (or the more modern __atomic_ builtins)
is required when targeting CHERI-enabled architectures such as
CHERI-RISC-V or Arm's Morello since the compiler rejects __sync_* atomic
for pointer types (they only work with integers).
2021-07-20 09:32:52 +01:00
Akira TAGOH e291fda7d4 Bump version to 2.13.94 2021-06-28 22:45:02 +09:00
Akira TAGOH 10c7390e35 Fix missing <dir> element for WINDOWSFONTDIR in meson
also refactoring logic around it to reduce the redundant

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/276
2021-03-03 22:16:56 +09:00
Xavier Claessens 58c6633d6c Meson: Fallback to gperf subproject on all platforms
With Meson 0.56 when find_program() does not find it on the system it
automatically checks if a .wrap provides it and configure the
subproject.
2021-01-26 08:58:12 -05:00
Tim-Philipp Müller e2c6b620b3 meson: remove unused stdin_wrapper.py script
Not needed any more. Used to be used with fc-case and fc-lang,
but those have since been rewritten in python.
2021-01-07 06:33:20 +00:00
Akira TAGOH d06103e3e7 Bump version to 2.13.93 2020-11-28 11:38:31 +09:00
Akira TAGOH 68e6ab544c Update version in meson.build to sync up with configure.ac 2020-11-28 11:19:07 +09:00
Niklas Guertler 2584554328 Add <dir> XML tags to default values for FC_DEFAULT_FONTS on non-Darwin systems 2020-11-28 01:16:36 +00:00
Niklas Guertler bc84228a2e Allow multiple default system font directories in the fallback config, and set them to the default dirs on Darwin. 2020-11-28 01:16:36 +00:00
Xavier Claessens 73353b3376 meson: Use version comparison function 2020-10-03 21:33:44 -04:00
Xavier Claessens af052688d8 meson: Fix build when 'tools' option is disabled 2020-10-03 21:33:44 -04:00
Chun-wei Fan e50fbc1beb meson: Look for FreeType using CMake too
Some systems build FreeType using CMake rather than autotools (such as Visual
Studio), which will give us CMake config files rather than pkg-config files, so
if we can't find FreeType using pkg-config, try again using CMake.

Please note that according to FreeType's docs/VERSIONS.TXT, the version we want
when checking with CMake is 2.8.1 or later.
2020-10-02 11:09:08 +08:00
Tim-Philipp Müller a5fd5dc471 meson: print configuration summary()
Fixes #249
2020-07-31 15:17:09 +01:00
Tim-Philipp Müller 57a224f51d Add Meson build system
See https://mesonbuild.com
2020-07-31 07:26:11 +00:00