inkscape: add compatibility with poppler 0.76.0+

wip/yesman
Dmitry Kalinkin 5 years ago
parent 97dbf112b4
commit 81f6fbdb0a
No known key found for this signature in database
GPG Key ID: 06AF1D3C38F04E0E
  1. 10
      pkgs/applications/graphics/inkscape/default.nix

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, perlPackages, libXft
{ stdenv, fetchurl, fetchpatch, pkgconfig, perlPackages, libXft
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm2
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper
, gsl, gtkspell2, cairo, python2, poppler, imagemagick, libwpg, librevenge
@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
sha256 = "0pjinhjibfsz1aywdpgpj3k23xrsszpj4a1ya5562dkv2yl2vv2p";
};
patches = [
(fetchpatch {
name = "inkscape-poppler_0_76_compat.patch";
url = "https://gitlab.com/inkscape/inkscape/commit/e831b034746f8dc3c3c1b88372751f6dcb974831.diff";
sha256 = "096rdyi6ppjq1h9jwwsm9hb99nggfrfinik8rm23jkn4h2zl01zf";
})
];
# Inkscape hits the ARGMAX when linking on macOS. It appears to be
# CMake’s ARGMAX check doesn’t offer enough padding for NIX_LDFLAGS.
# Setting strictDeps it avoids duplicating some dependencies so it

Loading…
Cancel
Save