pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/graphics/inkscape



On Mon, 25 May 2020 17:19:36 +0900
Ryo ONODERA <ryo%tetera.org@localhost> wrote:

> Hi,
> 
> What version of devel/cmake is used for your graphics/inkscape?
> CMake parses src/ui/dialog/inkscape-preferences.cpp in
> function(get_inkscape_languages).
> The function's return values are stored in INKSCAPE_LANGUAGE_CODES.
> And INKSCAPE_LANGUAGE_CODES are used to determine the filenames.
> 
> My cmake-3.17.2nb3 generates share/inkscape/templates/default.es_MX.svg
> file.

Same version, INKSCAPE_LANGUAGE_CODES does have es_MX. There exists
however a race condition related to "create_default_templates.py" which
is responsible for creating this file. It has dependencies expressed on
gettext files but something goes wrong with that. If the script is ran
before "es_MX.gmo" exists then it breaks like this. I will commit this
pkgsrc workaround unless there are better ideas:

post-build:
        cd ${WRKSRC} && ${PYTHONBIN} ./share/templates/create_default_templates.py . .



Home | Main Index | Thread Index | Old Index