]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: fix msgfmt being required
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Feb 2026 11:50:13 +0000 (12:50 +0100)
committerPatrick Steinhardt <ps@pks.im>
Thu, 5 Feb 2026 11:54:03 +0000 (12:54 +0100)
commit97121bb0174f5c3604de989e1bad0663edcc0b39
tree3d12c75dd5501d53eced3a807600a3f4756527d9
parent28f96e0173b4de1543ce45978837ddc49b532a83
gitk: fix msgfmt being required

While the Meson build instructions already handle the case where msgfmt
wasn't found, we forgot to mark the dependency itself as optional. This
causes an error in case the executable could not be found:

  Project name: gitk
  Project version: undefined
  Program sh found: YES (C:\Program Files\Git\bin\sh.EXE)
  Program wish found: YES (C:\Program Files\Git\mingw64\bin\wish.EXE)
  Program chmod found: YES (C:\Program Files\Git\usr\bin\chmod.EXE)
  Program mv found: YES (C:\Program Files\Git\usr\bin\mv.EXE)
  Program sed found: YES (C:\Program Files\Git\usr\bin\sed.EXE)
  Program msgfmt found: NO

  subprojects\gitk\meson.build:28:3: ERROR: Program 'msgfmt' not found or not executable

Fix the issue by adding the `required: false` parameter.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
meson.build