The unit test that checks GCalManager test fails due to missing
schemas.
This patch allows schemas to be compiled in the build tree and also
sets the environment variables so tests can found them and run
properly.
Additional code and testing from Mohammed Sadiq <sadiq@sadiqpk.org>
meson generates the config.h file with multiple defines to be used
as guards, in the same way as autotools does. However, some of them
are not used.
This patch removes those unused defines.
https://bugzilla.gnome.org/show_bug.cgi?id=790234
Following the new meson porting guidelines, this patch renames the
build options. The list of changes is as follows:
- Remove the enable prefix from boolean options.
- The character separator from multi-word options has been changed
to underscore.
https://bugzilla.gnome.org/show_bug.cgi?id=790234
gnome-calendar uses 1 as the project's default warning level.
However, meson already uses this level as the default warning level.
This patch removes the warning level from project's default options.
https://bugzilla.gnome.org/show_bug.cgi?id=790234
Gettext support in autotools does define ENABLE_NLS macro to 1 in
the autoconf generated configuration file. Due to the migration to
the meson build system, the procedure that defines This macro is
missing.
There is no reason to really disable i18n, so this fix removes the
condition that binds the text domain.
https://bugzilla.gnome.org/show_bug.cgi?id=787815
This patch makes some minor improvements to the meson build system.
The changes are as follows:
* Avoid conditional statements when setting config.h values.
* Ordered calendar dependencies.
* Reused variables derived from options.
* Removed unnecessary new line in the output at the configuration's
end.
* Use set10 function avoiding the trinary operator.
* Removed dependencies on the libgcal dependency, as they are not
needed.
https://bugzilla.gnome.org/show_bug.cgi?id=786481
The names of icons' files, besides containing the final names, they
also contained the path in which they were going to be installed.
This implies that they have to be renamed on the installation
process.
This patch creates the proper directory tree needed on the
installation process and renames all files' names to their final
names.
https://bugzilla.gnome.org/show_bug.cgi?id=782843