Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Install gettext for Windows #2371

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

phw
Copy link
Member

@phw phw commented Feb 29, 2024

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Problem

On Github action the provided gettext tools (in particular msgfmt where gettext commands shipping with git for Window. Since git 2.44.0 these are no longer bundled and hence the builds started failing.

Fix this by explicitly downloading and installing gettext for Windows.

Unfortunalety there are no official binary packages and many binary packages offered online are outdated. In particular there are no recent gettext packages available for automatic installation via Win-Get or chocolatey.

But https://github.com/vslavik/gettext-tools-windows is maintained by the Poedit author and provides up-to-date packages. Hence this PR downloads the latest release from there and unzips it locally.

Before that the gettext command shipping with git for Windows were used.
Since git 2.44.0 these are no longer bundled.
Copy link
Collaborator

@zas zas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phw phw merged commit 2d126c9 into metabrainz:master Feb 29, 2024
41 checks passed
@phw phw deleted the fix-gha-windows-gettext branch February 29, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants