From 0509bc4cba554789ab91189c234ac8bd35be14cd Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Sat, 13 Sep 2025 00:06:17 +0200 Subject: [PATCH] nls: Avoid call to slow msgfilter program. * Makefile.am (download-po): Replace msgfilter by msgconv. Change-Id: Ic60af4cd605708a7152dd674182adde212ab0fd0 --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 77c23ddcf8cb19046810497d4ad1f590eaca105f..19aad0042e3a8f4f7eedd3834b1e17b0ae9a6551 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,7 @@ # Copyright © 2023, 2024 Wilko Meyer # Copyright © 2024 gemmaro # Copyright © 2025 Brice Waegeneire +# Copyright © 2025 Florian Pelz # # This file is part of GNU Guix. # @@ -1312,7 +1313,7 @@ download-po: target="$$domain/$$target"; \ msgfmt -c "$$po"; \ if msgfmt -c "$$po" && [ "$$translated" != "0" ] && ([ "$$domain" != "po/doc" ] || [ "$$translated" -gt $$(($$total/10)) ] || [ -f $$target ]); then \ - msgfilter --no-wrap -i "$$po" cat > "$$po".tmp; \ + msgconv --no-wrap -o "$$po".tmp "$$po"; \ mv "$$po".tmp "$$target"; \ echo "copied $$target."; \ else \