summaryrefslogtreecommitdiff
path: root/src/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Remove XML surfaceEmmanuele Bassi2023-02-041-4/+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.
* dwrite: create C++ dwrite headerAdrian Johnson2023-01-311-1/+2
|
* Drop cairo-glEmmanuele Bassi2023-01-271-24/+0
| | | | | | | | | The GL support in Cairo has always been a prototype, and nothing happened in the past 10+ years to make it work as it was meant to. GL support is not enabled by any downstream packagers of Cairo, so nobody should notice its absence.
* Simplify generating dwrite-fonts docsKhaled Hosny2023-01-261-1/+0
| | | | Tell gtk-doc to scan .cpp files instead of making a proxy .c file.
* Integrate COLR v1 renderer with cairo-ft-font.cAdrian Johnson2023-01-081-0/+1
|
* Support check-def.sh in meson buildAdrian Johnson2023-01-021-4/+17
| | | | | | | | | | | | | The original check-def.sh called make. In meson, check-def.sh is replaced by two shell scripts, one for generating cairo.def, the other for comparing with the library symbols. The library filename appended to the cairo.def has been omitted as this is only reqired in autotools builds where the cairo.def is also to generate cairo.dll in the windows build. make-cairo-def.sh is based on the cairo.def target in Makefile.am. meson-check-def.sh is based on check-def.sh
* Support SVG fonts in FT backendAdrian Johnson2022-12-281-0/+1
|
* Fix build on Windows with -Ddefault_library=staticTim-Philipp Müller2022-10-271-5/+6
| | | | | cairo-perf-chart.c.obj : error LNK2019: unresolved external symbol __imp_cairo_create referenced in function main etc.
* meson: Split tests up into test suitesSimon McVittie2022-07-141-0/+2
| | | | | | | This allows things like `meson test --no-suite=slow` to run subsets of the complete set of tests. Signed-off-by: Simon McVittie <smcv@debian.org>
* DWrite font docsAdrian Johnson2022-03-051-0/+1
|
* Import win32 dwrite font backend fromAdrian Johnson2022-02-271-0/+3
| | | | | | | | | | https://hg.mozilla.org/mozilla-central/file/7338d7d940913147f8a1b1e8bd2b25ab255f4373/gfx/cairo/cairo/src and add to the meson build. I've omitted the cairo_surface_set_subpixel_antialiasing() API and its use in quartz and dwrite. Not sure if that is needed. It compiles. Not tested.
* Remove cairo-directfbEmmanuele Bassi2022-02-251-7/+0
| | | | | Nobody cares about DirectFB any more, not even the people that registered and maintained the DirectFB domain.
* tanis: Remove cairo-coglEmmanuele Bassi2022-02-251-5/+0
| | | | Cogl's upstream is unmaintained, and has been for the past 6 years.
* Remove cairo-drmEmmanuele Bassi2022-02-251-22/+0
| | | | | The DRM backend has always been a science experiment, but now it hasn't been built in more than 10 years, and it's completely broken.
* Remove Qt surfaceEmmanuele Bassi2022-02-251-4/+0
| | | | | It's disabled by default, and unsupported as it depends on Qt4, which has been EOL since 2015.
* meson: Fix build when PDF backend is disabledNirbheek Chauhan2022-01-211-1/+1
| | | | | | | | | | | | | | | | | | | Symbols from cairo-tag-stack.c are used by cairo-tag-attributes.c, so this should be in the same list of sources as that. Fixes this build error: ``` /usr/bin/ld: src/libcairo.so.2.11705.0.p/cairo-tag-attributes.c.o: in function `parse_array': /path/to/cairo/_build/../src/cairo-tag-attributes.c:347: undefined reference to `_cairo_tag_error' /usr/bin/ld: src/libcairo.so.2.11705.0.p/cairo-tag-attributes.c.o: in function `parse_name': /path/to/cairo/cairo/_build/../src/cairo-tag-attributes.c:359: undefined reference to `_cairo_tag_error' /usr/bin/ld: src/libcairo.so.2.11705.0.p/cairo-tag-attributes.c.o: in function `parse_attributes': /path/to/cairo/cairo/_build/../src/cairo-tag-attributes.c:410: undefined reference to `_cairo_tag_error' /usr/bin/ld: /path/to/cairo/cairo/_build/../src/cairo-tag-attributes.c:431: undefined reference to `_cairo_tag_error' /usr/bin/ld: /path/to/cairo/cairo/_build/../src/cairo-tag-attributes.c:441: undefined reference to `_cairo_tag_error' /usr/bin/ld: src/libcairo.so.2.11705.0.p/cairo-tag-attributes.c.o:/path/to/cairo/cairo/_build/../src/cairo-tag-attributes.c:455: more undefined references to `_cairo_tag_error' follow /usr/bin/ld: src/libcairo.so.2.11705.0: hidden symbol `_cairo_tag_error' isn't defined ```
* Set CAIRO_WIN32_STATIC_BUILD when doing a static build on windowsAmos Wenger2021-12-071-1/+7
|
* Merge branch 'more-meson' into 'master'Uli Schlachter2021-06-171-0/+27
|\ | | | | | | | | Add more of the auto-foo build to meson See merge request cairo/cairo!183
| * meson: Add shell script testsUli Schlachter2021-05-141-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | There are a couple of shell scripts in src/ that run various tests. This commit adds them to the meson build. The one exception is check-def.sh, which I couldn't get to work and thus only add it commented out. check-headers.sh and check-plt.sh required some tweaking to get them to work. check-plt.sh will print an error when run since the file '.libs/lib*.so' does not exist, but it will still run its check correctly.
* | meson: Use more dependency objectsUli Schlachter2021-05-221-1/+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: Define HAVE_CONFIG_H as a project flagEmmanuele Bassi2021-05-011-2/+2
| | | | | | | | Precisely what Autotools does, instead of adding it as per-target C argument. Once we remove HAVE_CONFIG_H checks in every source file, we'll be able to drop it.
* meson: fix library versioningTim-Philipp Müller2020-12-151-2/+2
| | | | Fixes #442
* meson: Add dependencies to the declared libcairo depNirbheek Chauhan2020-11-041-1/+3
| | | | | | | | That way when other projects consume our declared dep, they get transitive dependencies too based on what features cairo was built with. Without this, projects that build cairo as a subproject and also build, say, fontconfig as a subproject will fail to find cairo-ft.h (etc).
* meson: Use pkgmod.generate() for all cairo pc filesXavier Claessens2020-10-061-5/+3
| | | | | Also override each dependency so they can be used when cairo is used as subproject.
* Retire dummy cairo-version.h header to fix meson subproject buildTim-Philipp Müller2020-09-291-0/+1
| | | | | | | | | | | | | | It was originally added to make bisecting easier, but has outlived its usefuleness now. Going forward we'll have just a single cairo-version.h header file, the one with the real version numbers. This is needed to fix the case where cairo is being built as a Meson subproject, but also simplifies things in general. Fixes #421
* cogl: Remove filling with cogl-pathGeorge Matsumura2020-08-251-1/+0
| | | | | | | | | This removes code that uses the cogl-path library, which was not used except when manually modifying a preprocessor flag. It could not use path caching, was slightly broken, and all of its functionality was provided better by different code paths. Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
* cogl: Add new path cacheGeorge Matsumura2020-08-251-1/+0
| | | | | | | | | | | | This redesigns the path cache so that it does not mess with the context functions, thereby hopefully making it much more resilient to changes in the rest of cairo that change the way the default context works. It is also much simpler, and it is anticipated that it will be more maintainable. Performance in contrast to the old cache design speeds up most traces in cairo-perf-trace, and slows down only a lesser few by <20%. Signed-off-by: George Matsumura <gmmatsumura01@bvsd.org>
* Add meson build definitionsMathieu Duponchelle2020-07-311-0/+322
Co-Authored by: Nirbheek Chauhan <nirbheek@centricular.com> lb90 <luca.bacci982@gmail.com> Tim-Philipp Müller <tim@centricular.com>