parent
808f05808b
commit
73a87b57a6
@ -3,7 +3,7 @@
|
|||||||
, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, shared-mime-info
|
, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, shared-mime-info
|
||||||
, python2Packages, libexif, gettext, xorg, glib-networking, libmypaint, gexiv2
|
, python2Packages, libexif, gettext, xorg, glib-networking, libmypaint, gexiv2
|
||||||
, harfbuzz, mypaint-brushes, libwebp, libheif, libgudev, openexr
|
, harfbuzz, mypaint-brushes, libwebp, libheif, libgudev, openexr
|
||||||
, AppKit, Cocoa, gtk-mac-integration }:
|
, AppKit, Cocoa, gtk-mac-integration-gtk2, cf-private }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (python2Packages) pygtk wrapPython python;
|
inherit (python2Packages) pygtk wrapPython python;
|
||||||
@ -23,8 +23,11 @@ in stdenv.mkDerivation rec {
|
|||||||
freetype fontconfig lcms libpng libjpeg poppler poppler_data libtiff openexr
|
freetype fontconfig lcms libpng libjpeg poppler poppler_data libtiff openexr
|
||||||
libmng librsvg libwmf zlib libzip ghostscript aalib shared-mime-info libwebp libheif
|
libmng librsvg libwmf zlib libzip ghostscript aalib shared-mime-info libwebp libheif
|
||||||
python pygtk libexif xorg.libXpm glib-networking libmypaint mypaint-brushes
|
python pygtk libexif xorg.libXpm glib-networking libmypaint mypaint-brushes
|
||||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Cocoa gtk-mac-integration ]
|
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ libgudev ];
|
# cf-private is needed to get some things not in swift-corefoundation.
|
||||||
|
# For instance _OBJC_CLASS_$_NSArray is missing.
|
||||||
|
AppKit Cocoa gtk-mac-integration-gtk2 cf-private
|
||||||
|
] ++ stdenv.lib.optionals stdenv.isLinux [ libgudev ];
|
||||||
|
|
||||||
pythonPath = [ pygtk ];
|
pythonPath = [ pygtk ];
|
||||||
|
|
||||||
@ -69,7 +72,9 @@ in stdenv.mkDerivation rec {
|
|||||||
"--with-icc-directory=/var/run/current-system/sw/share/color/icc"
|
"--with-icc-directory=/var/run/current-system/sw/share/color/icc"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
# on Darwin,
|
||||||
|
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -17050,6 +17050,7 @@ with pkgs;
|
|||||||
lcms = lcms2;
|
lcms = lcms2;
|
||||||
inherit (gnome3) gexiv2;
|
inherit (gnome3) gexiv2;
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
|
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
|
||||||
|
inherit (darwin) cf-private;
|
||||||
};
|
};
|
||||||
|
|
||||||
gimp-with-plugins = callPackage ../applications/graphics/gimp/wrapper.nix {
|
gimp-with-plugins = callPackage ../applications/graphics/gimp/wrapper.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user