diff options
author | Michal Sojka <michal.sojka@cvut.cz> | 2022-01-17 12:20:22 +0100 |
---|---|---|
committer | Michal Sojka <michal.sojka@cvut.cz> | 2022-01-17 12:33:57 +0100 |
commit | a6f61081493fa1f3941c0faa0b1b28401ca46b3d (patch) | |
tree | 8e146a4efe8f8405da868c7d5da4f620a9021387 /pkgs/applications/graphics/inkscape | |
parent | 5aaed40d22f0d9376330b6fa413223435ad6fee5 (diff) |
inkscape: fix line spacing problem
Inkscape does not work well with with Pango 1.49+ (nixpkgs has Pango 1.50.0). An upstream commit with the fix will be a part of upcomming 1.1.2 release due in a month. Until than, let's apply the fix in nixpkgs.
Diffstat (limited to 'pkgs/applications/graphics/inkscape')
-rw-r--r-- | pkgs/applications/graphics/inkscape/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index b93a0fcaff849..d3546f6095207 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -81,6 +81,14 @@ stdenv.mkDerivation rec { stripLen = 1; extraPrefix = "share/extensions/"; }) + # Remove mandatory break from end of paragraphs, added in Pango 1.49 + # https://gitlab.com/inkscape/inkscape/-/merge_requests/3630 + # TODO: Remove in Inkscape 1.1.2 + (fetchpatch { + url = "https://gitlab.com/inkscape/inkscape/-/commit/b3dabef2245d4e4e977ee9d6776be9a134493515.patch"; + sha256 = "YhqUlRBKL1vJ/iCM/DvdwbmPIsAHQpcgf4TPpjlnBng="; + }) + ]; postPatch = '' |