summaryrefslogtreecommitdiff
path: root/atk/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Move to gi-docgenThomas Booker2022-09-281-1/+3
|
* Fix path where atk's generated headers are installedFederico Mena Quintero2022-05-311-2/+4
| | | | | atspi/meson.build redefines atspi_includedir, so it was being used for atk's paths.
* Build atk as part of at-spi2-coreFederico Mena Quintero2022-05-231-8/+8
| | | | | | | | | | | | | | This is basically about merging atk-toplevel-files/meson.build into the toplevel meson.build, and fixing up some meson variable names. One notable change is that ATK's version is kept separate from at-spi2-core's version, namely in the atk_version variable from meson. This gets put as ATK_VERSION in config.h. Then, atk_get_version() is changed to return that ATK_VERSION instead of the plain VERSION, to avoid confusion. (at-spi2-core does not put a VERSION macro anywhere, so there's no chance of using the wrong value, but I prefer to have a namespaced value with an ATK prefix.)
* meson: fix pkg-config generation with internal dependenciesAntonio Ospite2020-08-191-1/+1
| | | | | | | | | | | | | When building with internal dependencies (subprojects) meson fails to configure the build with the following message: subprojects/atk/atk/meson.build:161:10: ERROR: requires argument not a string, library with pkgconfig-generated file or pkgconfig-dependency object, got <InternalDependency null: True> Use libraries instead of requires when calling pkgconfig.generate() to make the configuration succeed. Change inspired by https://gitlab.freedesktop.org/libnice/libnice/commit/ff75be1b19fc2599fda520321649da32625c561d
* Add autocleanup definitionsEmmanuele Bassi2020-04-221-0/+1
| | | | | | | | | The G_DEFINE_AUTOPTR_* macros are used to define various symbols needed in order to use the g_autoptr() macro in GLib, which are a requirement in order to use the G_DECLARE_* macros to cut down the GObject boilerplate in the headers. Fixes: #10
* Fix building atk as subprojectSamuel Thibault2019-11-171-1/+1
| | | | | Using #include <atk/atk.h> (e.g. in at-spi2-atk) requires the root_inc as well.
* Make atk.pc require glibSamuel Thibault2019-09-091-0/+1
| | | | | atkutil.h uses several glib/gobject functions in macros, so the caller will have to link against glib, atk.pc thus has to explicit this.
* Use Meson to generate the pkgconfig fileEmmanuele Bassi2019-06-141-1/+8
| | | | | Meson can generate a compliant pkgconfig file for us, straight from the library we just built, without using a template file.
* Refresh the buildEmmanuele Bassi2019-06-141-43/+47
| | | | Use a consistent, idiomatic syntax and coding style for the Meson build.
* Merge branch 'fix-gir-cross' into 'master'Christoph Reiter2019-05-221-1/+1
|\ | | | | | | | | atk/meson.build: do not guard gir behind a cross_build check. See merge request GNOME/atk!12
| * atk/meson.build: do not guard gir behind a cross_build check.maxice82019-01-291-1/+1
| | | | | | | | | | People that are cross-building are very likely to set the introspection option to false themselves.
* | atk/meson.build: replace shared_library by libraryFabrice Fontaine2019-01-101-1/+1
|/ | | | | | | | | | Use library instead of shared_library to allow the user to build a static libatk library Fixes: - http://autobuild.buildroot.org/results/347a37dd2585974bdbf3bf99158e8ee9127d1202 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* meson: Fix usage of glib as a subproject dependencyNirbheek Chauhan2018-12-011-2/+2
| | | | | | | | | We include glib headers, so we need to ensure that we also pull in the glib dependency correctly, to inherit the right include flags. Also doesn't lead to overlinking because meson uses --as-needed by default. This wasn't noticed earlier because when building against glib inside a prefix, glib and gobject headers are in the same location.
* meson: make atk work as a subprojectNiclas Moeslund Overby2018-11-101-1/+1
|
* meson: follow option convetionsIgnacio Casal Quinteiro2018-04-171-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=795301
* build: Add option to disable introspectionChun-wei Fan2017-09-131-1/+3
| | | | | | | | This adds an option to Meson builds to disable introspection builds even when GObject-Introspection is installed. Introspection is still enabled by default. https://bugzilla.gnome.org/show_bug.cgi?id=785802
* build: Fix .rc generation in Meson buildsChun-wei Fan2017-09-131-0/+1
| | | | | | | We need to specify the value for the ATK_VERSION variable as well, otherwise some version info of the DLL will not be set correctly. https://bugzilla.gnome.org/show_bug.cgi?id=785802
* meson: Build .rc file on WindowsChun-wei Fan2017-08-091-0/+11
| | | | | | | | Like the Visual Studio projects and autotools builds on Windows, include the .rc file for Windows builds, so that people can see the version info of the ATK DLL more easily. https://bugzilla.gnome.org/show_bug.cgi?id=785802
* meson: Add atkversion.h to introspection buildRico Tzschichholz2017-06-071-2/+2
|
* meson: Only depend on generated headerEmmanuele Bassi2017-05-231-1/+1
| | | | | We don't need any target that depends on libatk to also depend on the generated enumeration source file, just the header.
* meson: Install atk.hEmmanuele Bassi2017-05-231-0/+1
| | | | We're missing atk.h from the list of installed header.
* meson: Use the appropriate soversionEmmanuele Bassi2017-05-221-0/+1
| | | | | The shared library should have a soversion of 0, so that Meson can create the appropriate symlinks to match what Autotools do.
* build: Update deprecation warnings symbolsEmmanuele Bassi2017-05-221-1/+2
| | | | | | | The old '*_DISABLE_DEPRECATED` pre-processor symbol class has been deprecated now that the G* stack has moved on to versioned symbols and versioned deprecation warnings. The appropriate way to disable compiler warnings when building is to use `*_DISABLE_DEPRECATION_WARNINGS`.
* Add Meson build systemEmmanuele Bassi2017-05-221-0/+140
Meson is a meta-build system that has several advantages over Autotools: - faster - simpler to use and understand - portable to various platforms - tailored to the needs of GNOME libraries - well maintained and supported Various other libraries in the GNOME stack have already adopted Meson in parallel, or exclusively, including GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=782871