From 6e50bea2089ce78d5de876ec5383eb99bda28aa0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 19 Nov 2023 11:30:30 +0100 Subject: [PATCH] lib2geom: pick patch from Inkscape 1.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inkscape 1.3.1 updates the lib2geom submodule as follows: https://gitlab.com/inkscape/lib2geom/-/compare/18fc32f9972dfaee597055b3226c5b7ef3bfbb4c...cf523857e48c87f9f6a09217bdf935fff457823d We already have the clang patch and do not care about mingw, let’s backport the ellipsis patch since it affects rendering: https://gitlab.com/inkscape/inkscape/-/issues/4445 --- pkgs/development/libraries/lib2geom/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/libraries/lib2geom/default.nix b/pkgs/development/libraries/lib2geom/default.nix index 8c2d0adf60e7..e0db2b76f19e 100644 --- a/pkgs/development/libraries/lib2geom/default.nix +++ b/pkgs/development/libraries/lib2geom/default.nix @@ -37,6 +37,17 @@ stdenv.mkDerivation rec { url = "https://gitlab.com/inkscape/lib2geom/-/commit/23d9393af4bee17aeb66a3c13bdad5dbed982d08.patch"; hash = "sha256-LAaGMIXpDI/Wzv5E2LasW1Y2/G4ukhuEzDmFu3AzZOA="; }) + + # Fix ellipses rendering near page corners. + # https://gitlab.com/inkscape/lib2geom/-/issues/66 + (fetchpatch { + url = "https://gitlab.com/inkscape/lib2geom/-/commit/039ce8d4af23a0a2a9d48eb970b321d9795dcc08.patch"; + hash = "sha256-JfgGrqBcYSYKcdl4Bt7vGZ4aTBPSHM6JjZ95IlzxPwI="; + }) + (fetchpatch { + url = "https://gitlab.com/inkscape/lib2geom/-/commit/cf523857e48c87f9f6a09217bdf935fff457823d.patch"; + hash = "sha256-BRg8ANHMSgoi6vt9PNbhwG1fRkzEPXb4gPTPO3sY0XE="; + }) ]; nativeBuildInputs = [