kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44836
Re: Translation building changes in master
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>
-
Date:
Thu, 21 Jan 2021 17:40:43 +0100
-
Autocrypt:
addr=js.reynaud@xxxxxxxxx; prefer-encrypt=mutual; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUVOQkZSRThWMEJDQUMr QVZBMENtZ2JDbVNabEVXT2RzTytmaXRPWHJUai82aFlnUTVoWFVRM0NGR3VmSzVvCmZaQTlI T3hpQnQrOENCRE9HdDRYTXdpSkYxQkM0cGNocWs5VUl3QXhXSWx0TXZsVGxsWTdwMHFqNUNP MEZQbTQKODYxcEpiUDl1Z2RqZlJISTVGcXRMM0hJc2l4cTVlNmdmV2ZIUHo2bXBuaXplVTkv cWxoR0RHZlE3eFdyaldSdApqcHlCZHkxdGtyVzR5eFdjY0ZNWUFTZW12TjB4LzVqQ3BnNGFl TTJGc3FMUW0rUEpMamlJV1QwQXR5UEJ2dlFTCkNPZUFXWDhCelU1ZGZWWCtxelFVWWxBV1A0 Y2xQc1RIdVE3OGpWOTlDREJ2THJoZ01pMDNTVTFKMzBvaU5MMmEKK0IyUkFIcTdpUHZTaWNr TjFrd3ROSDQySDhRak9UV3g4dnozQUJFQkFBRzBLa3BsWVc0dFUyRnRkV1ZzSUZKbAplVzVo ZFdRZ1BHcHpMbkpsZVc1aGRXUkFaMjFoYVd3dVkyOXRQb2tCT0FRVEFRSUFJZ1VDVkVUeFhR SWJBd1lMCkNRZ0hBd0lHRlFnQ0NRb0xCQllDQXdFQ0hnRUNGNEFBQ2drUWtoUS9rTEZheFNW N2tBZi9hZnkvYmg3Tm5FaGcKanMxTnh5eWNZZGkycnpGR0tLQXlxYXZpK1k1VDBoVm9Jclgz TzI2dEoxTGNoa09YKzlObHJIRFlPd28vZ09QZwpZYm9KejV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b1hRaWJtOEdDUTRNYUZWVlNZVkpBMHdQZStVV3k3REM0citjNy9X ZHJIU00yajhRCkpnUmEzTVpaSi9vR0dPS2taZDB6bkpsRHpGblJOMjJuZk93eFB1dnQ5T3RC RHg0cTlISkZIcm9MOGgrQUdxSGwKK3o0M3pmYnZMVktmZ240SnFvL3l4MG80Vm5CT0hvcnRL bTFjUGF0MUZRREZ2bWJMTk5oNGZyWHpXbldzZVNnOQpFcW8xT0tGb1grUHV5Nk1HSlBrK3Ir L1c0eGxON2thaWRsTS9zNkJaM3FBNGlUbEZjZW1hdXc9PQo9RktVdgotLS0tLUVORCBQR1Ag UFVCTElDIEtFWSBCTE9DSy0tLS0tCg==
-
In-reply-to:
<CACp=VfaBF1M71_1dc-8LfiM6F3vH52rc2Mr0TJMhZNLFDtrTsA@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
Dear Ian,
Since this update some build fail on ubuntu. In fact there is
translation of some XML files (for example mime types
resources/linux/mime/kicad-gerbers.xml.in) but gettext is unable to find
rules to translate that kind of file without the appropriate ITS file.
On Ubuntu 18.04, shared-mime-info is too old and don't ship
shared-mime-info.loc and shared-mime-info.its. So building is failing.
So what is your proposal for that ? Perhaps there is already an answer
about this point ? I think I can fix that by coping missing ITS files on
the appropriate directory but it's a dirty solution...
Le 18/01/2021 à 18:54, Ian McInerney a écrit :
> The changes to the i18n build system have now been merged into the
> master branch - with the change that KICAD_BUILD_I18N will default to
> OFF now, so it must be enabled when you want to build the translations
> libraries.
>
> At this point, all nightly builds of the master branch that include
> translations need to be updated to use the KICAD_BUILD_I18N=ON flag and
> no longer reference the i18n repository.
>
> -Ian
>
> On Sat, Jan 16, 2021 at 7:41 PM Ian McInerney <Ian.S.McInerney@xxxxxxxx
> <mailto:Ian.S.McInerney@xxxxxxxx>> wrote:
>
> Since we now host the v6 translations inside the main code
> repository, I have consolidated the CMake scripts for building the
> translation files into the main build process inside this MR
> (https://gitlab.com/kicad/code/kicad/-/merge_requests/628). That
> exposes a new CMake option `KICAD_BUILD_I18N`, which defaults to on,
> that controls if the translations are built. When that option is ON,
> gettext is a required dependency and when it is off it is not
> needed. This change will require some people to modify their current
> build setup to disable the translations if they do not wish to build
> with gettext.
>
> In that MR I have also added the linux metadata files to the
> translation framework to allow for the strings contained inside them
> to be internationalized (so that the user sees translated strings on
> desktop icons/tooltips in their display manager). That should be a
> transparent change to the packagers of nightly builds, but a welcome
> change for users.
>
> -Ian
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References