Re: [Kicad-developers] Translation building changes in master

2021-01-28 Thread Jean-Samuel Reynaud
Ok thanks for this update. It will complete actions on my side ;) As explained in zulip: On my side I have added a package during build (kicad-its-files) that containt the missing ITS files. Since package shared-mime-info contain the right ITS file after version 2.0, this package is useful only

Re: [Kicad-developers] Translation building changes in master

2021-01-27 Thread Ian McInerney
Ok, I have updated the linux translation framework so that it will now gracefully handle errors in the file translation. If it detects an error when translating the metadata it will instead copy the raw metadata file over and throw a warning into the build log but let the build continue. -Ian On

Re: [Kicad-developers] Translation building changes in master

2021-01-21 Thread Ian McInerney
Yes, Steve made me aware of the lack of that file on older distros - and I am working on a solution. I am currently building out the CMake files so that they try to do the translation and then check the return code and fallback to a simple file copy if the translation fails (and display the

Re: [Kicad-developers] Translation building changes in master

2021-01-21 Thread Steven A. Falco
We have the same problem with Fedora 32 because it also doesn't have the needed ITS file. I believe Ian is looking into a solution. Steve On 1/21/21 11:40 AM, Jean-Samuel Reynaud wrote: Dear Ian, Since this update some build fail on ubuntu. In fact there is translation of some XML

Re: [Kicad-developers] Translation building changes in master

2021-01-21 Thread Jean-Samuel Reynaud
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,

Re: [Kicad-developers] Translation building changes in master

2021-01-18 Thread Ian McInerney
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

[Kicad-developers] Translation building changes in master

2021-01-16 Thread Ian McInerney
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