nixpkgs/pkgs
aszlig 6c748ae749
inkscape: Fix build on NixOS
The first problem that was introduced in a276d5160c
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:

e471a664f9

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
2018-04-25 17:09:04 +02:00
..
applications inkscape: Fix build on NixOS 2018-04-25 17:09:04 +02:00
build-support Merge pull request #38822 from matthewbauer/netbsd 2018-04-24 14:46:01 -05:00
common-updater common-updater: support updating source URL 2018-03-16 23:17:07 +09:00
data all-cabal-hashes: update to latest version 2018-04-25 11:43:55 +02:00
desktops rarian: merge gnome{2,3}.rarian 2018-04-25 15:53:26 +02:00
development rarian: merge gnome{2,3}.rarian 2018-04-25 15:53:26 +02:00
games openarena: needs libcurl for fast assets downloads 2018-04-24 17:06:58 +02:00
misc Revert "libretro.mame: 2017-06-04 -> 2017-03-02" 2018-04-24 13:54:12 -05:00
os-specific netbsd: small fixups 2018-04-24 16:53:56 -05:00
servers Merge pull request #39414 from dtzWill/update/ngx_brotli-0.1.1 2018-04-25 09:34:55 -05:00
shells xonsh: 0.6.0 -> 0.6.1 2018-04-23 10:56:41 +03:00
stdenv Merge pull request #39172 from obsidiansystems/ios-cross 2018-04-19 17:00:05 -04:00
test
tools fio: 3.5 -> 3.6, enable on darwin (#39452) 2018-04-25 08:16:13 +01:00
top-level rarian: merge gnome{2,3}.rarian 2018-04-25 15:53:26 +02:00