]> git.ipfire.org Git - thirdparty/systemd.git/commit
i18n: drop intltool use, use meson's merge_file directly
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Nov 2017 12:30:39 +0000 (13:30 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Nov 2017 20:35:28 +0000 (21:35 +0100)
commitc81217920effddc93fb780cf8f9eb699d6fe1319
tree9329d39638ffac8fa7fc3fd8c03c9530e66dacf6
parentf38326f21aaf96c76d56c5d69f8515eb7039eae8
i18n: drop intltool use, use meson's merge_file directly

This didn't work during the initial conversion to meson, but should now.
A sufficiently new polkit is also required, for the .its rules files.

Note that https://github.com/mesonbuild/meson/blob/master/docs/markdown/i18n-module.md
says that 'install' argument was added in meson 0.43.0. If this is accurate,
warnigs might be generated with older mesons. Fedora has 0.43.0 across the
board, but other distros probably don't, but I guess that a warning is
prefereable to having to update do latest meson.

The advantages are:
- one less dependency (intltool)
- using the generic implementation instead of our open-coded calls
- we don't need to use the fake "_" prefixes in XML

Replaces #1609, fixes #7300.
16 files changed:
README
po/meson.build
src/core/meson.build
src/core/org.freedesktop.systemd1.policy.in.in
src/hostname/meson.build
src/hostname/org.freedesktop.hostname1.policy.in
src/import/meson.build
src/import/org.freedesktop.import1.policy.in
src/locale/meson.build
src/locale/org.freedesktop.locale1.policy.in
src/login/meson.build
src/login/org.freedesktop.login1.policy.in
src/machine/meson.build
src/machine/org.freedesktop.machine1.policy.in
src/timedate/meson.build
src/timedate/org.freedesktop.timedate1.policy.in