GNOME Bugzilla – Bug 790234
Various meson improvements
Last modified: 2017-11-24 22:45:45 UTC
New meson porting guidelines[0] have been published and the list of options should be renamed. [0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
Created attachment 363427 [details] [review] build: Rename build options 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.
Created attachment 363428 [details] [review] 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, so it's actually unnecessary. This patch removes the warning level from project's default options.
Created attachment 363429 [details] [review] project: Rename build options Fixed commit subject.
Created attachment 363430 [details] [review] project: Remove unused defines There are a lot of defines in the `config.h` file mimicking those generated by autotools. However, most of them are not actually needed: std headers defines and functions defines. I am used to not removed them because I'm not sure if they are necessary in non-linux systems (bsd?), or even on older linux systems. They are at least not necessary on my system. This patch removes the correspondant checks.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/214.