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

minimal-sdk: accommodate for gettext v0.23.* #30

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

dscho
Copy link
Member

@dscho dscho commented Jan 9, 2025

As of mingw-w64-gettext-runtime (0.22.5-2 -> 0.23.1-1), msgfmt.exe now depends on a newly-introduced library, gettext-libtextstyle. So let's include that in the minimal-sdk sparse checkout, too.

This is a companion of git-for-windows#90 and of git-for-windows/git-sdk-32#36

Since the update of `mingw-w64-gettext-runtime` (0.22.5-2 -> 0.23.1-1),
the `ci-artifacts` workflow was failing in `git-sdk-64` (see e.g.
https://github.com/git-for-windows/git-sdk-64/actions/runs/12649348500/job/35245565295#step:8:523):

      MSGFMT    po/bg.msg application-specific initialization failed: Can't find a usable init.tcl in the following directories:
      D:/a/git-sdk-64/git-sdk-64/minimal-sdk/mingw64/lib/tcl8.6 D:/a/git-sdk-64/git-sdk-64/minimal-sdk/mingw64/lib/tcl8.6 D:/a/git-sdk-64/git-sdk-64/minimal-sdk/lib/tcl8.6 D:/a/git-sdk-64/git-sdk-64/minimal-sdk/mingw64/library D:/a/git-sdk-64/git-sdk-64/minimal-sdk/library D:/a/git-sdk-64/git-sdk-64/minimal-sdk/tcl8.6.13/library D:/a/git-sdk-64/git-sdk-64/tcl8.6.13/library

  This probably means that Tcl wasn't installed properly.

The message about Tcl not being installed properly is a red herring:
While this _is_ true, the actual fall-back to the real `msgfmt.exe` from
the actual `gettext` package _should_ work.

As of v0.23, though, that `msgfmt.exe` program now depends on a
newly-introduced library, gettext-libtextstyle. So let's include that in
minimal SDK's sparse checkout, too.

This would have failed in `git-sdk-arm64`, too, if we were running the
`ci-artifacts` builds (which we cannot do for financial reasons, seeing
as free-of-cost hosted Windows/ARM64 runners for open source are still
pushed into the future).

What _does_ fail because of this is the `git-artifacts` workflow:
https://github.com/git-for-windows/git-for-windows-automation/actions/runs/12689315932/job/35367755275#step:19:1518

So let's fix this also in `git-sdk-arm64`.

Cherry-picked-from: e70ecb7 (minimal-sdk: accommodate for gettext v0.23.*, 2025-01-07)
Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho requested a review from mjcheetham January 9, 2025 12:49
@dscho dscho self-assigned this Jan 9, 2025
@dscho dscho merged commit ed83e02 into main Jan 9, 2025
1 check passed
@dscho dscho deleted the fix-msgfmt-in-makepkg-git branch January 9, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants