Commit Graph
10 Commits
Author SHA1 Message Date
Iñigo Martínez 11fb4717a2 tests: Fix GCalManager test
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>
2018-02-11 23:17:12 +00:00
Iñigo Martínez edbb4e5b86 project: Add configurable gettext domain
The gettext domain is hardcoded in the gschema file. It has been
changed so its now configurable and its possible to change it
via build files.
2018-02-11 23:16:50 +00:00
Iñigo Martínez 1dcda5087b project: Remove unused defines
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
2018-01-22 08:09:14 +01:00
Iñigo Martínez 66b113ac83 project: Rename build options
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
2018-01-22 08:06:16 +01:00
Iñigo Martínez 1a246116ea project: Remove default warning level
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
2018-01-22 08:05:55 +01:00
Iñigo Martínez 3d2ca61490 project: Fix missing translations
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
2017-09-20 19:14:17 -03:00
Iñigo Martínez 1b04e6f4f5 project: Minor meson improvements.
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
2017-08-18 23:06:29 -03:00
Iñigo Martínez 4cb0b14343 project: Renamed the names of the icons' files
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
2017-08-10 07:49:16 -03:00
Iñigo Martínez a1d25d2d7e project: Remove autotools
https://bugzilla.gnome.org/show_bug.cgi?id=782843
2017-08-10 07:49:16 -03:00
Iñigo Martínez 4c115249a7 project: Port to meson build system
https://bugzilla.gnome.org/show_bug.cgi?id=782843
2017-08-10 07:19:28 -03:00