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.
This commit is contained in:
Michal Sojka 2022-01-17 12:20:22 +01:00
parent 5aaed40d22
commit a6f6108149

View File

@ -81,6 +81,14 @@ stdenv.mkDerivation rec {
stripLen = 1; stripLen = 1;
extraPrefix = "share/extensions/"; 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 = '' postPatch = ''