freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Meson build, continued


From: David Turner
Subject: Meson build, continued
Date: Fri, 18 Sep 2020 14:29:51 +0200

Hello

Here's my latest version of the Meson build support files for FreeType 2. It works!
Compared to the previous versions, there are several improvements:

- The generated binaries are now the same size as the ones from the GNU Make and CMake builds.

- The installed shared libraries have the proper libtool-compatible suffix, and the generated pkg-config file is now using the correct FreeType version, paths and other settings.

- The "docs" target will generate the documentation properly, except that this will go into $BUILD_DIR/docs/ instead of $SRC_DIR/docs/, since Meson doesn't support modifying the source tree (a good thing in my opinion).

I'd like to see this submitted to the tree, and I'll keep updating it as needed. See the commit message for instructions on how to build and install with Meson.

There is also a second patch that adds a new scripts/make_distribution_archives.py script. it essentially does the same thing as "make dist", but doesn't rely on GNU Make / CMake / Meson in any way. I think it's a better way to generate our distribution archives and a good way to transition to a different build system overall.

Let me know what you think about these.

- Digit

PS: This introduces several python scripts, I have been using the "yapf" tool to format them. If you know of a better python reformatter, let me know.

Attachment: 0001-build-Add-Meson-build-project-files.patch
Description: Text Data

Attachment: 0002-build-Add-scripts-make_distribution_archives.py.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]