diff options
| author | aszlig <aszlig@nix.build> | 2018-04-25 16:42:28 +0200 |
|---|---|---|
| committer | aszlig <aszlig@nix.build> | 2018-04-25 17:09:04 +0200 |
| commit | 6c748ae749faae3ff989a800ffa5095f634a6050 (patch) | |
| tree | 1e083b4ed3829ac4bd90876abba6b29f0c2196eb /pkgs/development/python-modules/python-sql | |
| parent | 542f3dba06b8750f0875ed4e6fd72f7d4a53cf24 (diff) | |
inkscape: Fix build on NixOS
The first problem that was introduced in a276d5160cc4b307d97261b419e183f
was a linking error:
ld: cannot find -licui18n
ld: cannot find -licuuc
ld: cannot find -licudata
So I added icu to the buildInputs.
The second problem was that the interpreter wasn't patched in
share/filters, apparently this is only needed when building with
autotools:
make[3]: Entering directory '/build/inkscape-0.92.3/share/filters'
./i18n.py ./filters.svg > ./filters.svg.h
./i18n.py: /usr/bin/env: bad interpreter: No such file or directory
A similar error also occurs for share/palettes, share/patterns,
share/symbols and share/templates, so I added patching the interpreter
there as well.
Switching to autotools in Inkscape is a very bad idea, because upstream
currently still has their own autotools files in the 0.92.x tree but
master already has them removed, see this commit:
https://gitlab.com/inkscape/inkscape/commit/e471a664f923f517b68071f2e33fbb6ce070f8b7
However for the sake of trying to not break Inkscape on Darwin again,
I tried to keep the fixes minimal and not went back to CMake.
I did however mark the stuff that's unneeded for CMake, so that we can
avoid forgetting to remove that crap once we get back to CMake.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @matthewbauer
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions
