summaryrefslogtreecommitdiff
path: root/util/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Remove XML surfaceEmmanuele Bassi2023-02-041-8/+0
| | | | | | According to the Debian code search tool, nothing uses it as part of the Cairo public API, and it has been disabled for a long time with nobody complaining about it.
* Replace deprecated malloc_hookAdrian Johnson2022-03-091-2/+2
|
* Fix meson build without zlibUli Schlachter2021-05-221-0/+2
| | | | | | | | | | | | | | | | | | | | | Trying to build with meson with -Dzlib=disabled failed with the following error message: cairo/test/meson.build:599:2: ERROR: Unknown variable "libcairoscript_dep". This commit fixes that problem by adding a not-found dependency if cairo-script is not built. Additionally, follow-up problems are fixed: - any2ppm.c still tried to include cairo-script-interpreter.h, which was not found - Building cairo-test-trace was attempted, but that also failed because of missing script support. Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/475 Signed-off-by: Uli Schlachter <psychon@znc.in>
* meson: Use more dependency objectsUli Schlachter2021-05-221-3/+2
| | | | | | | | For example, to depend on cairo-script, inccairoscript was added to "include_directories:" and libcairoscript was added to "link_with:". This commit instead uses the libcairoscript_dep dependency everywhere. Signed-off-by: Uli Schlachter <psychon@znc.in>
* meson: Move CAIRO_HAS_INTERPRETER to config.hUli Schlachter2021-05-021-1/+1
| | | | | | | This is what autoconf does and hopefully that means this is the correct thing to do. Signed-off-by: Uli Schlachter <psychon@znc.in>
* utils: remove hacky replacement for backtrace_symbols in glibcTim-Philipp Müller2021-02-231-2/+0
| | | | | | | Doesn't build any more, is very much non-essential, and hasn't been touched in any meaningful way since it was added 13 years ago, so just remove it for now until someone steps up. Chances are the glibc version has improved since then.
* meson: Fix build when libpng is not foundXavier Claessens2020-10-031-1/+1
| | | | | | trace-to-xml.c needs cairo-xml.h which is only available when CAIRO_HAS_XML_SURFACE feature is built which is only available when both zlib and png are found. CAIRO_HAS_INTERPRETER only requires zlib.
* meson: Fix cross build with Android NDKXavier Claessens2020-10-021-1/+1
| | | | | Android NDK does not contain execinfo.h so malloc-stats.c cannot be built.
* meson: Fix musl buildGeorge Matsumura2020-09-021-2/+1
| | | | | | | This constitutes few fixes that are necessary to compile correctly and reduce errors when using musl libc. Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
* Add meson build definitionsMathieu Duponchelle2020-07-311-0/+66
Co-Authored by: Nirbheek Chauhan <nirbheek@centricular.com> lb90 <luca.bacci982@gmail.com> Tim-Philipp Müller <tim@centricular.com>