From 311a6a683667475e32bcf0e4e16eda0ef74565a1 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 29 Dec 2025 02:46:03 +0100 Subject: [PATCH 1/3] inkscape: Enable syntax highlighting in XML editor It was introduced in 1.3 but missed during update: https://gitlab.com/inkscape/inkscape/-/merge_requests/4885 --- pkgs/applications/graphics/inkscape/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 4b3ad8215705..d03f7d3bcf36 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -19,6 +19,7 @@ gspell, gtk-mac-integration, gtkmm3, + gtksourceview4, gdk-pixbuf, imagemagick, lcms, @@ -146,6 +147,7 @@ stdenv.mkDerivation (finalAttrs: { glibmm gsl gtkmm3 + gtksourceview4 imagemagick lcms lib2geom From c47e0f21c52bf9eb75904f19badb1e8584571078 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 29 Dec 2025 02:48:16 +0100 Subject: [PATCH 2/3] inkscape: Improve shell Enables better keyboard interaction, including a command history for `inkscape --shell`. Introduced in Inkscape 1.1 but missed during update: https://gitlab.com/inkscape/inkscape/-/merge_requests/1495 --- pkgs/applications/graphics/inkscape/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index d03f7d3bcf36..f8c18f091a2d 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -35,6 +35,7 @@ libXft, libxml2, libxslt, + readline, ninja, perlPackages, pkg-config, @@ -162,6 +163,7 @@ stdenv.mkDerivation (finalAttrs: { libXft libxml2 libxslt + readline perlPackages.perl poppler popt From bb636865266a082713b73b59d90e4e6973f5c7ad Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 29 Dec 2025 09:48:29 +0100 Subject: [PATCH 3/3] inkscape: Fix Raster extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inkscape currently requires ImageMagick < 7: https://gitlab.com/inkscape/inkscape/-/issues/1294 Let’s switch to GraphicsMagic, which still ships the old API, for now. This is required for the Raster extensions. --- pkgs/applications/graphics/inkscape/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index f8c18f091a2d..a54fc5d1685c 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -21,7 +21,7 @@ gtkmm3, gtksourceview4, gdk-pixbuf, - imagemagick, + graphicsmagick, lcms, lib2geom, libcdr, @@ -149,7 +149,7 @@ stdenv.mkDerivation (finalAttrs: { gsl gtkmm3 gtksourceview4 - imagemagick + graphicsmagick lcms lib2geom libcdr