From acd905893148adadf3e5ff080bba71cd940cf93a Mon Sep 17 00:00:00 2001 From: c0bw3b Date: Sun, 17 Nov 2019 19:28:05 +0100 Subject: [PATCH] digikam: disable JPEG2000 support by default jasper has several unfixed CVE and seems unmaintained Upstream open bug to replace it with OpenJPEG is: https://bugs.kde.org/show_bug.cgi?id=364231 --- pkgs/applications/graphics/digikam/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/digikam/default.nix b/pkgs/applications/graphics/digikam/default.nix index 1fc15af7244..1d9b06de29f 100644 --- a/pkgs/applications/graphics/digikam/default.nix +++ b/pkgs/applications/graphics/digikam/default.nix @@ -26,7 +26,7 @@ , exiv2 , ffmpeg , flex -, jasper +, jasper ? null, withJpeg2k ? false # disable JPEG2000 support, jasper has unfixed CVE , lcms2 , lensfun , libgphoto2 @@ -70,7 +70,6 @@ mkDerivation rec { exiv2 ffmpeg flex - jasper lcms2 lensfun libgphoto2 @@ -103,7 +102,8 @@ mkDerivation rec { marble oxygen threadweaver - ]; + ] + ++ lib.optionals withJpeg2k [ jasper ]; enableParallelBuilding = true;