1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-09 14:04:56 +00:00
Commit graph

82 commits

Author SHA1 Message Date
Jan Tojnar 65952e7d27
inkscape: fix build with Poppler 0.83.0 2019-12-03 14:50:49 +01:00
Dmitry Kalinkin 81f6fbdb0a
inkscape: add compatibility with poppler 0.76.0+ 2019-11-06 15:43:54 -05:00
Daiderd Jordan 9b773fd98a
inkscape: fix darwin build
Cairo is also a dependency now.

    /tmp/nix-build-inkscape-0.92.4.drv-0/inkscape-0.92.4/src/display/drawing-context.h:20:10: fatal error: 'cairo.h' file not found
    #include <cairo.h>
             ^~~~~~~~~
    1 error generated.
2019-11-04 16:03:18 +01:00
Yury G. Kudryashov ba0a68c45b inkscape: use latest poppler, use gtkspell2, drop -fpermissive
It seems that `inkscape-0.9.4` builds with the latest poppler and
without the `-fpermissive` workaround.
2019-11-02 17:47:15 -04:00
worldofpeace b0c2aea20b
treewide: drop adding hicolor-icon-theme where possible
This was either for the setup-hook to remove caches or added
even though the respective icon theme propagated it.
2019-09-18 22:47:26 +02:00
Riley Inman cd04b610ba inkscape: add wrapGAppsHook for icons (fixed for strictDeps)
Resolves #68185.
The icons in Inkscape depend on gdk-pixbuf loaders, but because
strictDeps is set to true to fix some macOS issues it doesn't work
(see #56943). Adding librsvg to buildInputs explicitly fixes the issue.
2019-09-08 14:51:12 -04:00
Will Dietz c01c16f09a inkscape: 0.92.3 -> 0.92.4
https://inkscape.org/news/2019/01/17/inkscape-launches-version-0924/
2019-01-31 18:18:56 -06:00
Frederik Rietdijk e343a85cfb Merge master into staging-next 2018-11-19 09:55:32 +01:00
Matthew Bauer e2817a270b inkscape: make python & perl runtime deps
These two interpreters are needed for some runtime scripts.

Fixes #50570
2018-11-18 18:47:02 -06:00
Ben Backhouse fca9a06c2e inkscape: add scour as dependency 2018-11-18 13:40:54 +01:00
volth c0fed1ba77 perlXMLParser -> perlPackages.XMLParser 2018-10-12 22:56:15 +00:00
Frederik Rietdijk 3209775495 Merge master into staging 2018-07-22 11:14:41 +02:00
volth 983abe10e2 "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook 2018-07-21 21:47:26 +00:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Justin Bauer 912e60f929
inkscape: add perl to nativeBuildInputs
This should fix the issue in Linux sandbox.
2018-06-19 15:43:36 -04:00
Matthew Bauer 1f8f89d309 inkscape: work around ARGMAX limit
This uses strictDeps to get our args passed to the linker low enough
to enable building inkscape. With strictDeps we need to correctly use
nativeBuildInputs to avoid an issue.
2018-06-18 18:42:21 -04:00
Matthew Bauer 95f9171531 Revert "inkscape: fix on Darwin"
This reverts commit a276d5160c.
2018-05-31 12:34:15 -04:00
Matthew Bauer 012a3a3f9b Revert "inkscape: typo"
This reverts commit 0a8c91a931.
2018-05-31 12:34:15 -04:00
Matthew Bauer 9e04546809 Revert "inkscape: Fix build on NixOS"
This reverts commit 6c748ae749.
2018-05-31 12:34:15 -04:00
Matthew Bauer 4a58ed6059 Revert "inkscape: don't patch share/filters"
This reverts commit 38364c0b07.
2018-05-31 12:34:15 -04:00
Matthew Bauer 63c0885502 Revert "inkscape: fix on darwin again"
This reverts commit 047c9372ab.
2018-05-31 12:34:15 -04:00
Matthew Bauer e8b7d73653 Revert "inkscape: disable parallelBuilding"
This reverts commit 05a6e94f34.
2018-05-31 12:34:15 -04:00
Michael Raskin 11bf5db639 inkscape: fix build 2018-05-29 15:44:06 +02:00
Tor Hedin Brønner 05a6e94f34 inkscape: disable parallelBuilding
Try to avoid non-deterministic build failure.
2018-05-18 12:32:11 +02:00
Matthew Justin Bauer 047c9372ab
inkscape: fix on darwin again
I have no idea why but this broke Darwin. So added a conditional for the shebang patching.

https://hydra.nixos.org/build/73283875
2018-04-26 20:47:16 -05:00
Matthew Justin Bauer 38364c0b07
inkscape: don't patch share/filters
This should not be needed because they are using `#!/usr/bin/env python` as the shebang and in fact it will break inkscape.x86_64-darwin.

https://hydra.nixos.org/build/73283875/
2018-04-26 10:36:57 -05:00
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
Matthew Bauer 0a8c91a931 inkscape: typo 2018-04-25 00:17:21 -05:00
Matthew Bauer a276d5160c inkscape: fix on Darwin
Fixes #39175
2018-04-24 22:54:33 -05:00
Ryan Mulligan 1317428ca0
inkscape: 0.92.2 -> 0.92.3
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/5khy2kbfjwvkj42lr6z0cvnd17xkfrfg-inkscape-0.92.3/bin/inkscape -h` got 0 exit code
- ran `/nix/store/5khy2kbfjwvkj42lr6z0cvnd17xkfrfg-inkscape-0.92.3/bin/inkscape --help` got 0 exit code
- ran `/nix/store/5khy2kbfjwvkj42lr6z0cvnd17xkfrfg-inkscape-0.92.3/bin/inkscape -V` and found version 0.92.3
- ran `/nix/store/5khy2kbfjwvkj42lr6z0cvnd17xkfrfg-inkscape-0.92.3/bin/inkscape --version` and found version 0.92.3
- found 0.92.3 with grep in /nix/store/5khy2kbfjwvkj42lr6z0cvnd17xkfrfg-inkscape-0.92.3
2018-03-16 20:18:43 +01:00
John Ericson ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
WilliButz 95a4c03c7d inkscape: 0.92.1 -> 0.92.2 2017-08-29 16:45:20 +02:00
Robin Gloster 473b58f20e
inkscape: remove unused automake114x, intltool 2017-08-12 20:08:28 +02:00
Profpatsch bd4c6b456e inkscape: patch python interpreter for extension code 2017-06-01 06:55:38 +02:00
Linus Heckemann 457bc9bdc4 inkscape: add potrace
This allows vectorising bitmap images in inkscape.
2017-04-17 22:10:05 +01:00
Matthew Bauer ba78c50069
inkscape: fix missing library error 2017-04-08 23:20:10 -05:00
Bart Brouns 2ab778cc9c inkscape: 0.92.0 -> 0.92.1 (#23652) 2017-03-09 01:26:26 +01:00
taku0 67573c942e inkscape: 0.91 -> 0.92 2017-01-09 18:25:53 +09:00
Frederik Rietdijk 8ec17dab32 inkscape: use python2
because of syntax error. And don't depend on pyxml
because that shouldn't be necessary anymore
https://bugs.archlinux.org/task/26774
2016-10-18 23:16:09 +02:00
Frederik Rietdijk 7ff1544981 inkscape: use python.withPackages instead of wrappers 2016-09-25 22:31:25 +02:00
Kirill Boltaev bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Vincent Laporte 42701ee33e inkscape: fix on darwin 2016-08-25 15:39:53 +02:00
Damien Cassou 9afd1161e7 inkscape: fix due to glibmm update 2016-06-06 13:59:31 +02:00
Herwig Hochleitner fbc147494c inkscape: add numpy to runtime path
This is nessecary for some plugins
2016-02-17 01:19:17 +01:00
Tobias Geerinckx-Rice 32d40f0f98 Remove no longer (or never) referenced patches
55 files changed, 6041 deletions. Tested with `nix-build -A tarball`.
2016-01-24 02:02:21 +01:00
Joachim Schiele 582ecf4771 inkscape with boxmaker plugin 2015-05-23 12:47:15 +02:00
Eric Seidel 662a6b1ca6 remove all references to stdenv.cc.cc.is{GNU,Clang}
use the new `stdenv.cc.is{GNU,Clang}` instead, which will always be
defined.
2015-05-11 14:44:50 -07:00
Spencer Whitt 22dfdbd2cf inkscape: patch to build with clang (Darwin) 2015-04-08 01:05:51 -04:00
aszlig 7cd6dd9ada
inkscape: Clean up and update to version 0.91.
This now also includes support vor visio and cdr and also adds the
missing dependency on libexif.

Forcing -lX11 in NIX_LDFLAGS is no longer needed in 0.91, so we drop
that as well as the patch and the --with-python configure flag, which is
now no longer even valid.

Tests now seem to run fine without -j1 as well.

I also tested it against the DXF test file mentioned in #3449, to be
sure we don't regress here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-02-22 08:14:53 +01:00
Cillian de Róiste d597651949 inkscape: add python to the PATH, fixes #3449 2014-08-09 17:02:36 +02:00