@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
#shelltools.system('sed -i "s/-Werror//g" src/core/CMakeLists.txt')
|
||||
#shelltools.system('sed -i "s/-Werror//g" src/pyglue/CMakeLists.txt')
|
||||
#shelltools.system('sed -i "s/push(hidden)/push(default)/g" src/core/OCIOYaml.cpp')
|
||||
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DUSE_EXTERNAL_YAML=ON \
|
||||
-DUSE_EXTERNAL_TINYXML=ON \
|
||||
-DPYTHON=python3 \
|
||||
-DOCIO_BUILD_pystring=OFF \
|
||||
-DOCIO_BUILD_STATIC=OFF \
|
||||
-DUSE_EXTERNAL_LCMS=ON", sourceDir="..")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("README*")
|
||||
@@ -0,0 +1,182 @@
|
||||
diff --git a/share/cmake/modules/FindExtPackages.cmake b/share/cmake/modules/FindExtPackages.cmake
|
||||
index c98e0af3..5f685935 100644
|
||||
--- a/share/cmake/modules/FindExtPackages.cmake
|
||||
+++ b/share/cmake/modules/FindExtPackages.cmake
|
||||
@@ -34,7 +34,7 @@ find_package(yaml-cpp 0.6.3 REQUIRED)
|
||||
|
||||
# Half (OpenEXR/IlmBase)
|
||||
# https://github.com/openexr/openexr
|
||||
-find_package(Half 2.4.0 REQUIRED)
|
||||
+find_package(Imath 3.0 REQUIRED)
|
||||
|
||||
# pystring
|
||||
# https://github.com/imageworks/pystring
|
||||
diff --git a/src/OpenColorIO/BitDepthUtils.h b/src/OpenColorIO/BitDepthUtils.h
|
||||
index a8b3cbd9..bb0163bf 100644
|
||||
--- a/src/OpenColorIO/BitDepthUtils.h
|
||||
+++ b/src/OpenColorIO/BitDepthUtils.h
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <OpenColorIO/OpenColorIO.h>
|
||||
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
|
||||
|
||||
namespace OCIO_NAMESPACE
|
||||
diff --git a/src/OpenColorIO/CMakeLists.txt b/src/OpenColorIO/CMakeLists.txt
|
||||
index 2ce801e6..824f8a98 100755
|
||||
--- a/src/OpenColorIO/CMakeLists.txt
|
||||
+++ b/src/OpenColorIO/CMakeLists.txt
|
||||
@@ -207,7 +207,7 @@ target_link_libraries(OpenColorIO
|
||||
public_api
|
||||
PRIVATE
|
||||
expat::expat
|
||||
- IlmBase::Half
|
||||
+ Imath::Imath
|
||||
pystring::pystring
|
||||
sampleicc::sampleicc
|
||||
utils::strings
|
||||
diff --git a/src/OpenColorIO/MathUtils.h b/src/OpenColorIO/MathUtils.h
|
||||
index 309c6244..0873d490 100644
|
||||
--- a/src/OpenColorIO/MathUtils.h
|
||||
+++ b/src/OpenColorIO/MathUtils.h
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <OpenColorIO/OpenColorIO.h>
|
||||
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
|
||||
namespace OCIO_NAMESPACE
|
||||
{
|
||||
diff --git a/src/OpenColorIO/ops/range/RangeOp.cpp b/src/OpenColorIO/ops/range/RangeOp.cpp
|
||||
index 9ec863e2..444dac75 100644
|
||||
--- a/src/OpenColorIO/ops/range/RangeOp.cpp
|
||||
+++ b/src/OpenColorIO/ops/range/RangeOp.cpp
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <OpenColorIO/OpenColorIO.h>
|
||||
|
||||
#include "GpuShaderUtils.h"
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
#include "HashUtils.h"
|
||||
#include "MathUtils.h"
|
||||
#include "ops/lut1d/Lut1DOpData.h"
|
||||
diff --git a/src/OpenColorIO/transforms/builtins/ACES.cpp b/src/OpenColorIO/transforms/builtins/ACES.cpp
|
||||
index 20968c0d..9ee2ac27 100644
|
||||
--- a/src/OpenColorIO/transforms/builtins/ACES.cpp
|
||||
+++ b/src/OpenColorIO/transforms/builtins/ACES.cpp
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <OpenColorIO/OpenColorIO.h>
|
||||
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
#include "ops/fixedfunction/FixedFunctionOp.h"
|
||||
#include "ops/gradingrgbcurve/GradingRGBCurveOp.h"
|
||||
#include "ops/log/LogOp.h"
|
||||
diff --git a/src/OpenColorIO/transforms/builtins/OpHelpers.cpp b/src/OpenColorIO/transforms/builtins/OpHelpers.cpp
|
||||
index 04b8fbd4..288ca566 100644
|
||||
--- a/src/OpenColorIO/transforms/builtins/OpHelpers.cpp
|
||||
+++ b/src/OpenColorIO/transforms/builtins/OpHelpers.cpp
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <OpenColorIO/OpenColorIO.h>
|
||||
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
#include "ops/lut1d/Lut1DOp.h"
|
||||
#include "transforms/builtins/OpHelpers.h"
|
||||
|
||||
diff --git a/src/apps/ocioconvert/CMakeLists.txt b/src/apps/ocioconvert/CMakeLists.txt
|
||||
index 68a5db17..6fea394a 100755
|
||||
--- a/src/apps/ocioconvert/CMakeLists.txt
|
||||
+++ b/src/apps/ocioconvert/CMakeLists.txt
|
||||
@@ -27,7 +27,7 @@ set_target_properties(ocioconvert PROPERTIES
|
||||
target_link_libraries(ocioconvert
|
||||
PRIVATE
|
||||
apputils
|
||||
- IlmBase::Half
|
||||
+ Imath::Imath
|
||||
${OCIO_GL_LIB}
|
||||
oiiohelpers
|
||||
OpenColorIO
|
||||
diff --git a/src/apps/ocioconvert/main.cpp b/src/apps/ocioconvert/main.cpp
|
||||
index b56d4999..7e8af7d0 100644
|
||||
--- a/src/apps/ocioconvert/main.cpp
|
||||
+++ b/src/apps/ocioconvert/main.cpp
|
||||
@@ -24,7 +24,7 @@ namespace OIIO = OIIO_NAMESPACE;
|
||||
#endif // OCIO_GPU_ENABLED
|
||||
|
||||
#include "oiiohelpers.h"
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
|
||||
|
||||
// Array of non OpenColorIO arguments.
|
||||
diff --git a/src/apps/ocioperf/CMakeLists.txt b/src/apps/ocioperf/CMakeLists.txt
|
||||
index 69e9ba4c..bcbe47be 100644
|
||||
--- a/src/apps/ocioperf/CMakeLists.txt
|
||||
+++ b/src/apps/ocioperf/CMakeLists.txt
|
||||
@@ -20,7 +20,7 @@ set_target_properties(ocioperf PROPERTIES
|
||||
target_link_libraries(ocioperf
|
||||
PRIVATE
|
||||
apputils
|
||||
- IlmBase::Half
|
||||
+ Imath::Imath
|
||||
oiiohelpers
|
||||
OpenColorIO
|
||||
OpenImageIO::OpenImageIO
|
||||
diff --git a/src/apps/ocioperf/main.cpp b/src/apps/ocioperf/main.cpp
|
||||
index 6427860d..f6e4a63c 100644
|
||||
--- a/src/apps/ocioperf/main.cpp
|
||||
+++ b/src/apps/ocioperf/main.cpp
|
||||
@@ -11,7 +11,7 @@ namespace OIIO = OIIO_NAMESPACE;
|
||||
#endif
|
||||
|
||||
#include "apputils/argparse.h"
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
#include "oiiohelpers.h"
|
||||
#include "utils/StringUtils.h"
|
||||
|
||||
diff --git a/src/libutils/oiiohelpers/CMakeLists.txt b/src/libutils/oiiohelpers/CMakeLists.txt
|
||||
index 6ef7c368..5f4a5113 100644
|
||||
--- a/src/libutils/oiiohelpers/CMakeLists.txt
|
||||
+++ b/src/libutils/oiiohelpers/CMakeLists.txt
|
||||
@@ -31,7 +31,7 @@ target_link_libraries(oiiohelpers
|
||||
|
||||
PRIVATE
|
||||
OpenColorIO
|
||||
- IlmBase::Half
|
||||
+ Imath::Imath
|
||||
utils::strings
|
||||
)
|
||||
|
||||
diff --git a/src/libutils/oiiohelpers/oiiohelpers.cpp b/src/libutils/oiiohelpers/oiiohelpers.cpp
|
||||
index be1a937d..e7db652c 100644
|
||||
--- a/src/libutils/oiiohelpers/oiiohelpers.cpp
|
||||
+++ b/src/libutils/oiiohelpers/oiiohelpers.cpp
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <OpenColorIO/OpenColorIO.h>
|
||||
|
||||
|
||||
-#include "OpenEXR/half.h"
|
||||
+#include "Imath/half.h"
|
||||
#include "oiiohelpers.h"
|
||||
#include "utils/StringUtils.h"
|
||||
|
||||
diff --git a/tests/cpu/CMakeLists.txt b/tests/cpu/CMakeLists.txt
|
||||
index 67389962..8e8dd900 100755
|
||||
--- a/tests/cpu/CMakeLists.txt
|
||||
+++ b/tests/cpu/CMakeLists.txt
|
||||
@@ -18,7 +18,7 @@ function(add_ocio_test NAME SOURCES PRIVATE_INCLUDES)
|
||||
public_api
|
||||
PRIVATE
|
||||
expat::expat
|
||||
- IlmBase::Half
|
||||
+ Imath::Imath
|
||||
pystring::pystring
|
||||
sampleicc::sampleicc
|
||||
unittest_data
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>opencolorio</Name>
|
||||
<Homepage>http://opencolorio.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>app</IsA>
|
||||
<Summary>Enables color transforms and image display across graphics apps</Summary>
|
||||
<Description>Grafik uygulamalarında renk dönüşümlerini ve görüntü ekranını etkinleştirir</Description>
|
||||
<Archive sha1sum="79054e95ca37ba65e91b2b32447f9640f4213cb0" type="targz">https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v2.0.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>pybind11</Dependency>
|
||||
<Dependency>yaml-cpp</Dependency>
|
||||
<Dependency>glew-devel</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>pystring-devel</Dependency>
|
||||
<Dependency>freeglut-devel</Dependency>
|
||||
<Dependency>tinyxml-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>ilmbase-devel</Dependency>
|
||||
<Dependency>openimageio-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">opencolorio-openexr3.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>opencolorio</Name>
|
||||
<Conflicts>
|
||||
<Package>OpenColorIO1</Package>
|
||||
</Conflicts>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glew</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>ilmbase</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>freeglut</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>pystring</Dependency>
|
||||
<Dependency>openimageio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/ocio</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>opencolorio-devel</Name>
|
||||
<Summary>Development files for opencolorio</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">opencolorio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2021-06-30</Date>
|
||||
<Version>2.0.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>OpenColorIO1</Name>
|
||||
<Summary xml:lang="tr">Enables color transforms and image display across graphics apps</Summary>
|
||||
<Description xml:lang="tr">Grafik uygulamalarında renk dönüşümlerini ve görüntü ekranını etkinleştirir</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
+77
-1
@@ -68035,6 +68035,82 @@ cleaner, which will allow to add new features in the future.</Description>
|
||||
</Update>
|
||||
</History>
|
||||
</SpecFile>
|
||||
<SpecFile>
|
||||
<Source>
|
||||
<Name>opencolorio</Name>
|
||||
<Homepage>http://opencolorio.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>app</IsA>
|
||||
<PartOf>multimedia.misc</PartOf>
|
||||
<Summary xml:lang="en">Enables color transforms and image display across graphics apps</Summary>
|
||||
<Description xml:lang="en">Grafik uygulamalarında renk dönüşümlerini ve görüntü ekranını etkinleştirir</Description>
|
||||
<Archive type="targz" sha1sum="79054e95ca37ba65e91b2b32447f9640f4213cb0" name="v2.0.1.tar.gz">https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v2.0.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>pybind11</Dependency>
|
||||
<Dependency>yaml-cpp</Dependency>
|
||||
<Dependency>glew-devel</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>pystring-devel</Dependency>
|
||||
<Dependency>freeglut-devel</Dependency>
|
||||
<Dependency>tinyxml-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>ilmbase-devel</Dependency>
|
||||
<Dependency>openimageio-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<SourceURI>multimedia/misc/opencolorio/pspec.xml</SourceURI>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>opencolorio</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glew</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>ilmbase</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>freeglut</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>pystring</Dependency>
|
||||
<Dependency>openimageio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/ocio</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
<Conflicts>
|
||||
<Package>OpenColorIO1</Package>
|
||||
</Conflicts>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>opencolorio-devel</Name>
|
||||
<Summary xml:lang="en">Development files for opencolorio</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="2">opencolorio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2021-06-30</Date>
|
||||
<Version>2.0.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</SpecFile>
|
||||
<SpecFile>
|
||||
<Source>
|
||||
<Name>libopusenc</Name>
|
||||
@@ -261376,7 +261452,7 @@ to create header files and sources from protocol files.</Description>
|
||||
<Update release="1">
|
||||
<Date>2021-06-30</Date>
|
||||
<Version>1.1.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
|
||||
@@ -1 +1 @@
|
||||
9c7bb64da329259e2007e8e0d32194eeaa296c8d
|
||||
547145a2e842ca9111766a6fd84cc6d3cd996ea3
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
b728c1732e3ecad931f770f6a346728c1aac15e8
|
||||
2629d7a994d85432299d11941c2b31d2cc7f18e8
|
||||
Reference in New Issue
Block a user