From 2d51a3b3c8d797bf63672d3ccc74bdd38233cb39 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Mon, 3 Feb 2025 21:00:09 +0100 Subject: Don't explicitly pass source directory to gettext This is not explicitly needed with meson and silences a deprecation warning about meson.source_root(). [1] [1] https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonsource_root --- po/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/meson.build b/po/meson.build index 6870f58..8f6f5e7 100644 --- a/po/meson.build +++ b/po/meson.build @@ -4,4 +4,4 @@ localedir = join_paths(get_option('prefix'), get_option('localedir')) add_project_arguments('-DGETTEXT_PACKAGE="weltschmerz"', language: 'c') add_project_arguments('-DLOCALEDIR="@0@"'.format(localedir), language: 'c') -i18n.gettext(meson.project_name(), args: '--directory=' + meson.source_root()) +i18n.gettext(meson.project_name()) -- cgit v1.2.3-2-gb3c3