Gentoo Archives: gentoo-commits

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/files/, media-libs/opencolorio/
Date: Wed, 02 Nov 2016 14:44:30
Message-Id: 1478097856.088897a292990acf1ce20e62f77f6d899b2fefbf.pinkbyte@gentoo
1 commit: 088897a292990acf1ce20e62f77f6d899b2fefbf
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 14:41:41 2016 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 14:44:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088897a2
7
8 media-libs/opencolorio: drop old versions
9
10 Package-Manager: portage-2.3.2
11
12 media-libs/opencolorio/Manifest | 1 -
13 .../opencolorio-1.0.8-documentation-gen.patch | 54 --------------
14 media-libs/opencolorio/opencolorio-1.0.8.ebuild | 85 ---------------------
15 media-libs/opencolorio/opencolorio-1.0.9.ebuild | 86 ----------------------
16 4 files changed, 226 deletions(-)
17
18 diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest
19 index 7f1743a..33eb023 100644
20 --- a/media-libs/opencolorio/Manifest
21 +++ b/media-libs/opencolorio/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST opencolorio-1.0.8.tar.gz 11912207 SHA256 9b6d540040e29394045c724c1a46ea00913e660269b03bf24790c74a5542adb4 SHA512 16c0deab84013d96c9741a58ddc44a90be6a6eac317b8ceb87afad914aa9b0e1d5880dc11ae3c40d22e4a87b553e3b5a1a8a66c064f71c2203b4b605a97851a1 WHIRLPOOL 32b92dffa07873f2ea0635afc189937c4d695cb40f5a9d112489a98140d36524db3aadd53db9e9f6e6069f3f29f9d17a10883ae6f26d4144b7873ebfb944cb5a
24 DIST opencolorio-1.0.9-yaml-0.5-compat-v2.patch.bz2 15418 SHA256 13fa49b03a792122aa416e07a69c52d6bde71b91882d77784ade4d14bac952b8 SHA512 8383bc84e209b67aa34c6420348634d0d2a34f1dafda6a10b0c4a15776c2094057a38b00d078b59b648131178f2d65f695890204dbee411602689a0bb7419ecc WHIRLPOOL 0a0bbc1a787793ee7275a3c6f31ecc9b65581ae6cd07a5a93c12e02fc26e33b98521366e26efa92879474b833cbe2f5c4148d2ec88ad80afb63260b8a67dfed9
25 DIST opencolorio-1.0.9.tar.gz 12473406 SHA256 0f3b458f69715a942047a7b76545c6a098b632e9e5e71d5caaa756d5f7356aa6 SHA512 f5310cd6d3048d5f307adb41ac1ac807f087a6344c96324cb0f13d0eae1fa3fe5f8005f17adf77664044daf762902223b650b5d8c1636c7801183cd3b4e03ac8 WHIRLPOOL e622d71d40cfdba664178df38d66ecd990515afe4fff0260952bca29e6d46beba47446b6bd36c9965a8169c966a0bddf9bcb5b41f7857ed355ac1a6299c9de6c
26
27 diff --git a/media-libs/opencolorio/files/opencolorio-1.0.8-documentation-gen.patch b/media-libs/opencolorio/files/opencolorio-1.0.8-documentation-gen.patch
28 deleted file mode 100644
29 index 7a396b3..00000000
30 --- a/media-libs/opencolorio/files/opencolorio-1.0.8-documentation-gen.patch
31 +++ /dev/null
32 @@ -1,54 +0,0 @@
33 ---- a/docs/CMakeLists.txt 2013-01-08 03:19:23.649162615 +0400
34 -+++ b/docs/CMakeLists.txt 2013-01-08 03:22:29.647329174 +0400
35 -@@ -81,7 +81,7 @@
36 - ExtractRstCPP(${CMAKE_SOURCE_DIR}/export/OpenColorIO/OpenColorTypes.h developers/api/OpenColorTypes.rst)
37 -
38 - add_custom_target(doc ALL
39 -- COMMAND PYTHONPATH=${PYTHONPATH} ${EXTDIST_BINPATH}/sphinx-build -b html . ${CMAKE_CURRENT_BINARY_DIR}/build-html
40 -+ COMMAND sphinx-build -b html . ${CMAKE_CURRENT_BINARY_DIR}/build-html
41 - DEPENDS
42 - OpenColorIO
43 - PyOpenColorIO
44 -@@ -93,20 +93,18 @@
45 - COMMENT "Building html docs"
46 - SOURCES ${DOCFILES})
47 -
48 --# note: ExternalProject will not build when added to a add_custom_target this
49 --# works around this problem. This seems to be fixed in the cmake ^HEAD
50 --add_dependencies(doc Sphinx)
51 --
52 - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
53 -- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
54 -+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/$ENV{P}/html
55 - PATTERN .* EXCLUDE
56 - )
57 -
58 -+if(OCIO_BUILD_PDF_DOCS)
59 -+
60 - find_package(LATEX)
61 - if(PDFLATEX_COMPILER)
62 -
63 - add_custom_target(latex
64 -- COMMAND PYTHONPATH=${PYTHONPATH} ${EXTDIST_BINPATH}/sphinx-build -b latex . ${CMAKE_CURRENT_BINARY_DIR}/build-latex
65 -+ COMMAND sphinx-build -b latex . ${CMAKE_CURRENT_BINARY_DIR}/build-latex
66 - DEPENDS
67 - OpenColorIO
68 - ${CMAKE_BINARY_DIR}/docs/conf.py
69 -@@ -116,7 +114,6 @@
70 - ${RSTDOC_OUTPUT}
71 - COMMENT "Building latex doc"
72 - SOURCES ${DOCFILES})
73 -- add_dependencies(latex Sphinx)
74 -
75 - add_custom_target(pdf ALL
76 - COMMAND ${PDFLATEX_COMPILER} OpenColorIO.tex
77 -@@ -126,6 +123,8 @@
78 - add_dependencies(pdf latex)
79 -
80 - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/build-latex/OpenColorIO.pdf
81 -- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/)
82 -+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/$ENV{P}/)
83 -
84 - endif()
85 -+
86 -+endif()
87
88 diff --git a/media-libs/opencolorio/opencolorio-1.0.8.ebuild b/media-libs/opencolorio/opencolorio-1.0.8.ebuild
89 deleted file mode 100644
90 index 0785988..00000000
91 --- a/media-libs/opencolorio/opencolorio-1.0.8.ebuild
92 +++ /dev/null
93 @@ -1,85 +0,0 @@
94 -# Copyright 1999-2015 Gentoo Foundation
95 -# Distributed under the terms of the GNU General Public License v2
96 -# $Id$
97 -
98 -EAPI=5
99 -
100 -PYTHON_COMPAT=( python2_7 )
101 -
102 -inherit cmake-utils python-single-r1 vcs-snapshot
103 -
104 -DESCRIPTION="A color management framework for visual effects and animation"
105 -HOMEPAGE="http://opencolorio.org/"
106 -SRC_URI="https://github.com/imageworks/OpenColorIO/tarball/v${PV} \
107 - -> ${P}.tar.gz"
108 -
109 -LICENSE="BSD"
110 -SLOT="0"
111 -KEYWORDS="amd64 x86"
112 -IUSE="doc opengl pdf python cpu_flags_x86_sse2 test"
113 -
114 -RDEPEND="opengl? (
115 - media-libs/lcms:2
116 - >=media-libs/openimageio-1.1.0
117 - media-libs/glew
118 - media-libs/freeglut
119 - virtual/opengl
120 - )
121 - python? ( ${PYTHON_DEPS} )
122 - =dev-cpp/yaml-cpp-0.3*
123 - dev-libs/tinyxml
124 - "
125 -DEPEND="${RDEPEND}
126 - doc? (
127 - pdf? ( dev-python/sphinx[latex,${PYTHON_USEDEP}] )
128 - !pdf? ( dev-python/sphinx[${PYTHON_USEDEP}] )
129 - )
130 - "
131 -
132 -# Documentation building requires Python bindings building
133 -REQUIRED_USE="doc? ( python )"
134 -
135 -# Restricting tests, bugs #439790 and #447908
136 -RESTRICT="test"
137 -
138 -PATCHES=(
139 - "${FILESDIR}/${P}-documentation-gen.patch"
140 - "${FILESDIR}/${P}-remove-external-doc-utilities.patch"
141 -)
142 -
143 -pkg_setup() {
144 - use python && python-single-r1_pkg_setup
145 -}
146 -
147 -src_prepare() {
148 - cmake-utils_src_prepare
149 -
150 - use python && python_fix_shebang .
151 -}
152 -
153 -src_configure() {
154 - # Missing features:
155 - # - Truelight and Nuke are not in portage for now, so their support are disabled
156 - # - Java bindings was not tested, so disabled
157 - # Notes:
158 - # - OpenImageIO is required for building ociodisplay and ocioconvert (USE opengl)
159 - # - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
160 - local mycmakeargs=(
161 - -DOCIO_BUILD_JNIGLUE=OFF
162 - -DOCIO_BUILD_NUKE=OFF
163 - -DOCIO_BUILD_SHARED=ON
164 - -DOCIO_BUILD_STATIC=OFF
165 - -DOCIO_STATIC_JNIGLUE=OFF
166 - -DOCIO_BUILD_TRUELIGHT=OFF
167 - -DUSE_EXTERNAL_LCMS=ON
168 - -DUSE_EXTERNAL_TINYXML=ON
169 - -DUSE_EXTERNAL_YAML=ON
170 - $(cmake-utils_use doc OCIO_BUILD_DOCS)
171 - $(cmake-utils_use opengl OCIO_BUILD_APPS)
172 - $(cmake-utils_use pdf OCIO_BUILD_PDF_DOCS)
173 - $(cmake-utils_use python OCIO_BUILD_PYGLUE)
174 - $(cmake-utils_use cpu_flags_x86_sse2 OCIO_USE_SSE)
175 - $(cmake-utils_use test OCIO_BUILD_TESTS)
176 - )
177 - cmake-utils_src_configure
178 -}
179
180 diff --git a/media-libs/opencolorio/opencolorio-1.0.9.ebuild b/media-libs/opencolorio/opencolorio-1.0.9.ebuild
181 deleted file mode 100644
182 index 9f96600..00000000
183 --- a/media-libs/opencolorio/opencolorio-1.0.9.ebuild
184 +++ /dev/null
185 @@ -1,86 +0,0 @@
186 -# Copyright 1999-2015 Gentoo Foundation
187 -# Distributed under the terms of the GNU General Public License v2
188 -# $Id$
189 -
190 -EAPI=5
191 -
192 -# Compatibility with Python 3 is declared by upstream, but it is broken in fact, check on bump
193 -PYTHON_COMPAT=( python2_7 )
194 -
195 -inherit cmake-utils python-single-r1 vcs-snapshot
196 -
197 -DESCRIPTION="A color management framework for visual effects and animation"
198 -HOMEPAGE="http://opencolorio.org/"
199 -SRC_URI="https://github.com/imageworks/OpenColorIO/archive/v${PV}.tar.gz \
200 - -> ${P}.tar.gz"
201 -
202 -LICENSE="BSD"
203 -SLOT="0"
204 -KEYWORDS="~amd64 ~x86"
205 -IUSE="doc opengl pdf python cpu_flags_x86_sse2 test"
206 -
207 -RDEPEND="opengl? (
208 - media-libs/lcms:2
209 - >=media-libs/openimageio-1.1.0
210 - media-libs/glew
211 - media-libs/freeglut
212 - virtual/opengl
213 - )
214 - python? ( ${PYTHON_DEPS} )
215 - =dev-cpp/yaml-cpp-0.3*
216 - dev-libs/tinyxml
217 - "
218 -DEPEND="${RDEPEND}
219 - doc? (
220 - pdf? ( dev-python/sphinx[latex,${PYTHON_USEDEP}] )
221 - !pdf? ( dev-python/sphinx[${PYTHON_USEDEP}] )
222 - )
223 - "
224 -
225 -# Documentation building requires Python bindings building
226 -REQUIRED_USE="doc? ( python )"
227 -
228 -# Restricting tests, bugs #439790 and #447908
229 -RESTRICT="test"
230 -
231 -PATCHES=(
232 - "${FILESDIR}/${PN}-1.0.8-documentation-gen.patch"
233 - "${FILESDIR}/${P}-remove-external-doc-utilities.patch"
234 -)
235 -
236 -pkg_setup() {
237 - use python && python-single-r1_pkg_setup
238 -}
239 -
240 -src_prepare() {
241 - cmake-utils_src_prepare
242 -
243 - use python && python_fix_shebang .
244 -}
245 -
246 -src_configure() {
247 - # Missing features:
248 - # - Truelight and Nuke are not in portage for now, so their support are disabled
249 - # - Java bindings was not tested, so disabled
250 - # Notes:
251 - # - OpenImageIO is required for building ociodisplay and ocioconvert (USE opengl)
252 - # - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
253 - local mycmakeargs=(
254 - -DOCIO_BUILD_JNIGLUE=OFF
255 - -DOCIO_BUILD_NUKE=OFF
256 - -DOCIO_BUILD_SHARED=ON
257 - -DOCIO_BUILD_STATIC=OFF
258 - -DOCIO_STATIC_JNIGLUE=OFF
259 - -DOCIO_BUILD_TRUELIGHT=OFF
260 - -DUSE_EXTERNAL_LCMS=ON
261 - -DUSE_EXTERNAL_TINYXML=ON
262 - -DUSE_EXTERNAL_YAML=ON
263 - $(cmake-utils_use doc OCIO_BUILD_DOCS)
264 - $(cmake-utils_use opengl OCIO_BUILD_APPS)
265 - $(cmake-utils_use pdf OCIO_BUILD_PDF_DOCS)
266 - $(cmake-utils_use python OCIO_BUILD_PYGLUE)
267 - $(cmake-utils_use cpu_flags_x86_sse2 OCIO_USE_SSE)
268 - $(cmake-utils_use test OCIO_BUILD_TESTS)
269 - )
270 - cmake-utils_src_configure
271 -}