[Buildroot] [PATCH v3 2/2] wine: Add gettext dependency check for host-wine

André Hentschel nerv at dawncrow.de
Sun Mar 8 17:52:04 UTC 2015


Am 08.03.2015 um 18:31 schrieb Thomas Petazzoni:
> Dear André Hentschel,
> 
> On Sun, 08 Mar 2015 16:16:56 +0100, André Hentschel wrote:
> 
>> Wine is built using host-wine, so i need gettext support in host-wines wrt.
> 
> In which cases do you need gettext support in host-wine?
> 
> Always ? Only when the target wine is going to be built with gettext
> support (which your patch does not do) ?

When host-gettext is built, then we could use it, otherwise target wine will be english only.
I don't think this diserves a hard dependency, do you?

> Why in the first place would we want to have gettext support in
> host-wine ?

Wine has a tool called wrc which transforms dialogs/strings and such into a windows like resource file.
With the help of the gettext library wrc merges the translations from wines po-files into that resource file.
As the wrc tool from host-wine is used, we need the gettext support there.
Further there are no runtime requirements, so in fact it doesn't matter to wine(or even host-wine) if the target
gettext is built.
Note: host-gettext and target gettext are two different things:

# For the target version, we only need the runtime, and for the host
# version, we only need the tools.
GETTEXT_SUBDIR = gettext-runtime
HOST_GETTEXT_SUBDIR = gettext-tools


More information about the buildroot mailing list