| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
atspi/meson.build redefines atspi_includedir, so it was being used for
atk's paths.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Using #include <atk/atk.h> (e.g. in at-spi2-atk) requires the root_inc as
well.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Meson can generate a compliant pkgconfig file for us, straight from the
library we just built, without using a template file.
|
|
|
|
| |
Use a consistent, idiomatic syntax and coding style for the Meson build.
|
|\
| |
| |
| |
| | |
atk/meson.build: do not guard gir behind a cross_build check.
See merge request GNOME/atk!12
|
| |
| |
| |
| |
| | |
People that are cross-building are very likely to set the introspection
option to false themselves.
|
|/
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=795301
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
We don't need any target that depends on libatk to also depend on the
generated enumeration source file, just the header.
|
|
|
|
| |
We're missing atk.h from the list of installed header.
|
|
|
|
|
| |
The shared library should have a soversion of 0, so that Meson can
create the appropriate symlinks to match what Autotools do.
|
|
|
|
|
|
|
| |
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`.
|
|
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
|