From 9158e0fcb9800a703e54b871ca63a88a537be3cf Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 3 Apr 2019 21:19:49 +0200 Subject: [PATCH] - updated to 1.1.1 - added disable-latex patch (build just html from sphinx docs) --- OpenColorIO-disable-latex.patch | 12 ++++++++++++ OpenColorIO.spec | 9 +++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 OpenColorIO-disable-latex.patch diff --git a/OpenColorIO-disable-latex.patch b/OpenColorIO-disable-latex.patch new file mode 100644 index 0000000..e076e4e --- /dev/null +++ b/OpenColorIO-disable-latex.patch @@ -0,0 +1,12 @@ +--- OpenColorIO-1.1.1/docs/CMakeLists.txt.orig 2019-04-03 18:36:15.424733746 +0200 ++++ OpenColorIO-1.1.1/docs/CMakeLists.txt 2019-04-03 20:59:12.768266291 +0200 +@@ -76,8 +76,7 @@ + PATTERN .* EXCLUDE + ) + +-find_package(LATEX) +-if(PDFLATEX_COMPILER) ++if(FALSE) + + add_custom_target(latex + COMMAND sphinx-build -b latex . ${CMAKE_CURRENT_BINARY_DIR}/build-latex diff --git a/OpenColorIO.spec b/OpenColorIO.spec index 6b4e184..39fe512 100644 --- a/OpenColorIO.spec +++ b/OpenColorIO.spec @@ -15,12 +15,13 @@ Summary: Complete color management solution Summary(pl.UTF-8): Kompletny pakiet do zarządzania kolorami Name: OpenColorIO -Version: 1.1.0 +Version: 1.1.1 Release: 1 License: BSD Group: Libraries +#Source0Download: https://github.com/imageworks/OpenColorIO/releases Source0: https://github.com/imageworks/OpenColorIO/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 802d8f5b1d1fe316ec5f76511aa611b8 +# Source0-md5: 23d8b9ac81599305539a5a8674b94a3d Patch0: %{name}-system-libs.patch Patch1: %{name}-java.patch Patch2: %{name}-libsuffix.patch @@ -29,6 +30,7 @@ Patch4: %{name}-yaml-cpp.patch Patch5: %{name}-no-Werror.patch Patch6: %{name}-oiio.patch Patch7: %{name}-cmake-dir.patch +Patch8: %{name}-disable-latex.patch URL: http://opencolorio.org/ BuildRequires: cmake >= 2.8 %{?with_java:BuildRequires: jdk} @@ -37,8 +39,6 @@ BuildRequires: pkgconfig BuildRequires: python-devel %if %{with docs} BuildRequires: sphinx-pdg >= 1.1 -BuildRequires: texlive-latex-ams -BuildRequires: texlive-xetex %endif BuildRequires: tinyxml-devel >= 2.6.1 BuildRequires: yaml-cpp-devel >= 0.3.0 @@ -172,6 +172,7 @@ Plik nagłówkowy API PyOpenColorIO. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build # required for cmake to find JNI headers/libs when lib64 is in use -- 2.44.0