Skip to content

Commit

Permalink
gdk-pixbuf: disable JPEG2000 support
Browse files Browse the repository at this point in the history
jasper has unfixed CVE
Upstream has no plan to switch to openjpeg AFAICT
  • Loading branch information
c0bw3b committed Nov 19, 2019
1 parent 0a443f4 commit 9aa6232
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/development/libraries/gdk-pixbuf/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, nixosTests, fixDarwinDylibNames, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
, jasper, gobject-introspection, doCheck ? false, makeWrapper }:
, gobject-introspection, doCheck ? false, makeWrapper }:

let
pname = "gdk-pixbuf";
Expand Down Expand Up @@ -31,11 +31,10 @@ in stdenv.mkDerivation rec {
]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;

propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
propagatedBuildInputs = [ glib libtiff libjpeg libpng ];

mesonFlags = [
"-Ddocs=true"
"-Djasper=true"
"-Dx11=true"
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
"-Dgio_sniffing=false"
Expand Down

0 comments on commit 9aa6232

Please sign in to comment.