GNOME Bugzilla – Bug 796274
meson: Various fixes (MSYS2)
Last modified: 2018-05-20 15:50:13 UTC
Some things I've noticed while moving the package in MSYS2 to meson, not strictly MSYS2 related. It would be nice if they would be considered for 1.14.x
Created attachment 372236 [details] [review] meson: Fix detection of glib-mkenums under MSYS2 Under MSYS2 glib-mkenums is an executable and has a .exe extension and the path does not end with "glib-mkenums". Make the script compare the path without the file extension instead. ---- The scripts are gone in master, so this is for 1.14 only.
Created attachment 372237 [details] [review] meson: install license-translations.dict and set LICENSE_TRANSLATIONS_PATH The autotools build installs the file and sets the LICENSE_TRANSLATIONS_PATH macro which licences.c uses as a fallback path. Do the same with meson.
Created attachment 372238 [details] [review] meson: install the man pages
Created attachment 372239 [details] [review] meson: remove non-headers from gl_prototype_headers This made the meson build install those files, while they aren't installed with the autotools build.
That's it :)
commit 39e1dd0bbf053886704b721fa8d13f79976ac98a Author: Tim-Philipp Müller <tim@centricular.com> Date: Sun May 20 14:27:18 2018 +0100 meson: add 'nls' option to disable translations And enable by default. Was implicitly disabled because ENABLE_NLS was not defined. commit eef72d0d85408a03fd894bcf81c63348001cbb5a Author: Christoph Reiter <reiter.christoph@gmail.com> Date: Sun May 20 13:33:13 2018 +0200 meson: install license-translations.dict and set LICENSE_TRANSLATIONS_PATH The autotools build installs the file and sets the LICENSE_TRANSLATIONS_PATH macro which licences.c uses as a fallback path. Do the same with meson. https://bugzilla.gnome.org/show_bug.cgi?id=796274 commit b163f373c393f40a1128eced538e1e947ef51b87 Author: Christoph Reiter <reiter.christoph@gmail.com> Date: Sun May 20 13:35:52 2018 +0200 meson: install the man pages for the command line tools https://bugzilla.gnome.org/show_bug.cgi?id=796274
Comment on attachment 372239 [details] [review] meson: remove non-headers from gl_prototype_headers commit 103f884d99a96c1d20546ff625b046bff5252cb7 Author: Christoph Reiter <reiter.christoph@gmail.com> Date: Sun May 20 13:37:07 2018 +0200 meson: gl: remove non-headers from gl_prototype_headers This made the meson build install those files, while they aren't installed with the autotools build. https://bugzilla.gnome.org/show_bug.cgi?id=796274
Comment on attachment 372236 [details] [review] meson: Fix detection of glib-mkenums under MSYS2 Thanks! commit 9250eb884d13b7f27ba4d4a053552f495cfa4eb5 (HEAD -> 1.14) Author: Christoph Reiter <reiter.christoph@gmail.com> Date: Sun May 20 13:40:37 2018 +0200 meson: Fix detection of glib-mkenums under MSYS2 Under MSYS2 glib-mkenums is an executable and has a .exe extension and the path does not end with "glib-mkenums". Make the script compare the path without the file extension instead. https://bugzilla.gnome.org/show_bug.cgi?id=796274