diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-08 12:04:13 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-01-03 14:49:02 -0500 |
commit | 5ef824b2f3649bde1239d4b23c2bd20ecea795cf (patch) | |
tree | d7dd45962d58e6a63b36328fa9efe7a99da80ffd | |
parent | f7cde8d3f62c0ae0ef445698a407d1bdb2218cd6 (diff) | |
download | meson-5ef824b2f3649bde1239d4b23c2bd20ecea795cf.zip meson-5ef824b2f3649bde1239d4b23c2bd20ecea795cf.tar.gz meson-5ef824b2f3649bde1239d4b23c2bd20ecea795cf.tar.bz2 |
modules/gnome: use `mlog.log(once=True)` in a few more places
It's probably not useful to spam the user with warnings that old
versions of software may not behave correctly when the first warning was
perfectly valid.
-rw-r--r-- | mesonbuild/modules/gnome.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index b9f97ff..0cb5f53 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -320,7 +320,7 @@ class GnomeModule(ExtensionModule): mlog.warning('GLib compiled dependencies do not work reliably with \n' 'the current version of GLib. See the following upstream issue:', mlog.bold('https://bugzilla.gnome.org/show_bug.cgi?id=774368'), - fatal=False) + once=True, fatal=False) @staticmethod def _print_gdbus_warning() -> None: @@ -1968,7 +1968,7 @@ class GnomeModule(ExtensionModule): mlog.warning('The current version of GLib does not support extra arguments \n' 'for glib-genmarshal. You need at least GLib 2.53.3. See ', mlog.bold('https://github.com/mesonbuild/meson/pull/2049'), - fatal=False) + once=True, fatal=False) for k in ['internal', 'nostdinc', 'skip_source', 'stdinc', 'valist_marshallers']: # Mypy can't figure out that this is correct if kwargs[k]: # type: ignore |