forked from mirrors/nixpkgs
Merge pull request #209104 from risicle/ris-openimageio-1-to-2
openimageio: default to openimageio2, rename 1.x to openimageio_1
This commit is contained in:
commit
17e0a37381
|
@ -1,7 +1,7 @@
|
|||
{ config, stdenv, lib, fetchurl, fetchzip, boost, cmake, ffmpeg, gettext, glew
|
||||
, ilmbase, libXi, libX11, libXext, libXrender
|
||||
, libjpeg, libpng, libsamplerate, libsndfile
|
||||
, libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio2, openjpeg, python310Packages
|
||||
, libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio, openjpeg, python310Packages
|
||||
, openvdb, libXxf86vm, tbb, alembic
|
||||
, zlib, zstd, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
|
||||
, jackaudioSupport ? false, libjack2
|
||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs =
|
||||
[ boost ffmpeg gettext glew ilmbase
|
||||
freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp
|
||||
opencolorio openexr openimagedenoise openimageio2 openjpeg python zlib zstd fftw jemalloc
|
||||
opencolorio openexr openimagedenoise openimageio openjpeg python zlib zstd fftw jemalloc
|
||||
alembic
|
||||
(opensubdiv.override { inherit cudaSupport; })
|
||||
tbb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, qt4, pkg-config, boost, expat, cairo, python2Packages,
|
||||
cmake, flex, bison, pango, librsvg, librevenge, libxml2, libcdr, libzip,
|
||||
poppler, imagemagick, openexr, ffmpeg, opencolorio_1, openimageio,
|
||||
poppler, imagemagick, openexr, ffmpeg, opencolorio_1, openimageio_1,
|
||||
qmake4Hook, libpng, libGL, lndir, libraw, openjpeg, libwebp, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
|
@ -74,7 +74,7 @@ let
|
|||
sha256 = "OQg6a5wNy9TFFySjmgd1subvXRxY/ZnSOCkaoUo+ZaA=";
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libpng ffmpeg openexr opencolorio_1 openimageio boost libGL
|
||||
libpng ffmpeg openexr opencolorio_1 openimageio_1 boost libGL
|
||||
seexpr libraw openjpeg libwebp
|
||||
];
|
||||
})
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, libclang
|
||||
, zlib
|
||||
, openexr
|
||||
, openimageio2
|
||||
, openimageio
|
||||
, llvm
|
||||
, boost
|
||||
, flex
|
||||
|
@ -60,7 +60,7 @@ in stdenv.mkDerivation rec {
|
|||
libclang
|
||||
llvm
|
||||
openexr
|
||||
openimageio2
|
||||
openimageio
|
||||
partio
|
||||
pugixml
|
||||
python3.pkgs.pybind11
|
||||
|
|
|
@ -44,5 +44,34 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.unix;
|
||||
knownVulnerabilities = [
|
||||
# all discovered in 2.x but there is no reason to
|
||||
# believe that these or similar vulnerabilties aren't
|
||||
# present in the totally unmaintained 1.x branch
|
||||
"CVE-2022-36354"
|
||||
"CVE-2022-38143"
|
||||
"CVE-2022-41639"
|
||||
"CVE-2022-41649"
|
||||
"CVE-2022-41684"
|
||||
"CVE-2022-41794"
|
||||
"CVE-2022-41837"
|
||||
"CVE-2022-41838"
|
||||
"CVE-2022-41977"
|
||||
"CVE-2022-41981"
|
||||
"CVE-2022-41988"
|
||||
"CVE-2022-41999"
|
||||
"CVE-2022-43592"
|
||||
"CVE-2022-43593"
|
||||
"CVE-2022-43594"
|
||||
"CVE-2022-43595"
|
||||
"CVE-2022-43596"
|
||||
"CVE-2022-43597"
|
||||
"CVE-2022-43598"
|
||||
"CVE-2022-43599"
|
||||
"CVE-2022-43600"
|
||||
"CVE-2022-43601"
|
||||
"CVE-2022-43602"
|
||||
"CVE-2022-43603"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, config, stdenv, fetchFromGitHub, symlinkJoin, wrapGAppsHook, cmake, boost172
|
||||
, pkg-config, flex, bison, libpng, libtiff, zlib, python3, embree, openexr
|
||||
, openimagedenoise, openimageio, tbb, c-blosc, gtk3, pcre, doxygen
|
||||
, openimagedenoise, openimageio_1, tbb, c-blosc, gtk3, pcre, doxygen
|
||||
# OpenCL Support
|
||||
, withOpenCL ? true, ocl-icd
|
||||
# Cuda Support
|
||||
|
@ -43,8 +43,8 @@ in stdenv.mkDerivation rec {
|
|||
c-blosc
|
||||
gtk3
|
||||
pcre
|
||||
openimageio.dev
|
||||
openimageio.out
|
||||
openimageio_1.dev
|
||||
openimageio_1.out
|
||||
] ++ lib.optionals withOpenCL [ ocl-icd ]
|
||||
++ lib.optionals withCuda [ cudatoolkit ];
|
||||
|
||||
|
|
|
@ -1074,6 +1074,7 @@ mapAliases ({
|
|||
openconnect_pa = throw "openconnect_pa fork has been discontinued, support for GlobalProtect is now available in openconnect"; # Added 2021-05-21
|
||||
openelec-dvb-firmware = libreelec-dvb-firmware; # Added 2021-05-10
|
||||
openexr_ctl = throw "'openexr_ctl' has been renamed to/replaced by 'ctl'"; # Converted to throw 2022-02-22
|
||||
openimageio2 = openimageio; # Added 2023-01-05
|
||||
openisns = open-isns; # Added 2020-01-28
|
||||
openjpeg_1 = throw "openjpeg_1 has been removed, use openjpeg_2 instead"; # Added 2021-01-24
|
||||
openjpeg_2 = openjpeg; # Added 2021-01-25
|
||||
|
|
|
@ -31420,11 +31420,11 @@ with pkgs;
|
|||
|
||||
openfx = callPackage ../development/libraries/openfx {};
|
||||
|
||||
openimageio = callPackage ../applications/graphics/openimageio {
|
||||
openimageio_1 = callPackage ../development/libraries/openimageio/1.x.nix {
|
||||
boost = boost175;
|
||||
};
|
||||
|
||||
openimageio2 = darwin.apple_sdk_11_0.callPackage ../applications/graphics/openimageio/2.x.nix { };
|
||||
openimageio = darwin.apple_sdk_11_0.callPackage ../development/libraries/openimageio { };
|
||||
|
||||
openjump = callPackage ../applications/misc/openjump { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue