From: Junio C Hamano Date: Wed, 11 Feb 2026 22:49:53 +0000 (-0800) Subject: Merge branch 'master' of https://github.com/j6t/gitk X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=453e7b744aef0d9dab62dac6ab030bb643a2e117;p=thirdparty%2Fgit.git Merge branch 'master' of https://github.com/j6t/gitk * 'master' of https://github.com/j6t/gitk: gitk: fix msgfmt being required gitk: fix highlighted remote prefix of branches with directories --- 453e7b744aef0d9dab62dac6ab030bb643a2e117 diff --cc gitk-git/meson.build index ca3c0cec58,0000000000..aecc068d30 mode 100644,000000..100644 --- a/gitk-git/meson.build +++ b/gitk-git/meson.build @@@ -1,30 -1,0 +1,30 @@@ +project('gitk') + +shell = find_program('sh') +wish = find_program('wish') + +# Verify that dependencies of "generate-tcl.sh" are satisfied. +foreach dependency : [ 'chmod', 'mv', 'sed' ] + find_program(dependency) +endforeach + +custom_target( + command: [ + shell, + meson.current_source_dir() / 'generate-tcl.sh', + wish.full_path(), + '@INPUT@', + '@OUTPUT@', + ], + input: 'gitk', + output: 'gitk', + depend_files: [ + 'generate-tcl.sh', + ], + install: true, + install_dir: get_option('bindir'), +) + - if find_program('msgfmt').found() ++if find_program('msgfmt', required: false).found() + subdir('po') +endif