commit OpenImageIO for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package OpenImageIO for openSUSE:Factory checked in at 2016-01-16 11:57:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenImageIO (Old) and /work/SRC/openSUSE:Factory/.OpenImageIO.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "OpenImageIO" Changes: -------- --- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes 2015-11-26 17:01:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.OpenImageIO.new/OpenImageIO.changes 2016-01-16 11:57:10.000000000 +0100 @@ -1,0 +2,88 @@ +Thu Jan 14 13:28:59 UTC 2016 - davejplater@gmail.com + +- Update to release 1.7.0dev +- Explicitly enabled build with openssl because the build fails on + i586 due to internally defined types. +- Upstream changes: + Major new features and improvements: + + Public API changes: + * DeepData internals and API overhaul: struct internals hidden, now you + must use the API; DeepData declaration is now in deepdata.h, not in + imageio.h; DD methods now allow insertion and erasure of individual + samples. #1289 (1.7.0) + * imageio.h: Removed items deprecated since 1.4: a version of + convert_types() that took alpha and z channel indices + (but never used them). #1291 + * fmath.h: Removed safe_sqrtf, safe_acosf, fast_expf, which have been + deprecated since 1.5. (1.7.0) #1291 + * Removed ImageBufAlgo::flipflop(), which was deprecated since 1.5 and + is now called rotate180. #1291 (1.7.0) + * Several varieties of ImageCache and TextureSystem getattribute methods + were noticed to not be properly declared 'const'. This was fixed. + #1300 (1.7.0/1.6.9) + + Fixes, minor enhancements, and performance improvements: + * oiiotool: + * oiiotool --subimage now takes as an argument either the subimage + numeric index, or a subimage name. #1287 (1.7.0) + * oiiotool's image cache was smaller than intended because of typo. + (1.7.0/1.6.9) + * ImageBufAlgo: + * The varieties of add(), sub(), mul(), and div() that take an + image operand and a per-channel constant operand have all been + modified to work properly for "deep" images. #1297 (1.7.0) + * maketx: + * maketx -u now remakes the file if command line arguments or OIIO + version changes, even if the files' dates appear to match. + #1281 (1.7.0) + * TIFF: + * When outputting a TIFF file, a special attribute "tiff:half", if + set to nonzero, will enable writing of 16-bit float pixel data + (obviously, only if the spec.format is HALF). #1283 (1.7.0) + * TIFF input: erase redundant IPTC:Caption and IPTC:OriginatingProgram + if they are identical to existing ImageDescription and Software + metadata, respectively. (1.7.0/1.6.9) + * Video formats: + * The ffmpeg-based reader had a variety of fixes. #1288 (1.7.0) + + Build/test system improvements: + * Fix build break against Boost 1.60. #1299,#1300 (1.7.0/1.6.9/1.5.23) + * filesystem_test now much more comprehensively tests the contents of + Filesystem. #1302 (1.7.0) + * fmath_test adds benchmarks for various data conversions. #1305 (1.7.0) + + Developer goodies / internals: + * parallel_image has been improved in several ways: can choose split + direction; raised minimum chunk size to prevent thread fan-out for + images too small to benefit; uses the calling thread as part of the + pool. #1303 (1.7.0) + * timer.h: DoNotOptimize() and clobber() help to disable certain + optimizations that would interfere with micro-benchmarks. #1305 (1.7.0) + * simd.h improvements: select(); round(); float4::store(half*), + int4::store(unsigned short*), int4::store(unsigned char*). #1305 (1.7.0) + * fmath.h: convert_types has new special cases that vastly speed up + float <-> uint16, uint8, and half buffer conversions. #1305 (1.7.0) + +------------------------------------------------------------------- +Mon Jan 11 13:21:08 UTC 2016 - davejplater@gmail.com + +- Update to release 1.6.9 +- Upstream changes: + Release 1.6.9 (released 5 Jan 2016 -- compared to 1.6.8) + * Several varieties of ImageCache and TextureSystem getattribute + methods were noticed to not be properly declared 'const'. + This was fixed. #1300 (1.6.9) + * Fix build break against Boost 1.60. #1299,#1300 (1.6.9/1.5.23) + * The Python bindings for ImageCache was overhauled after several + of the methods were found to be horribly broken. #1300 (1.6.9) + * oiiotool --subimage now allows a subimage name as argument, as + well as the numeric index. #1271,#1287 (1.6.9) + * TIFF input: erase redundant IPTC:Caption and IPTC:OriginatingProgram + if they are identical to existing ImageDescription and Software + metadata, respectively. (1.6.9) + * Fix oiiotool image cache smaller than intended because of typo. +- See /usr/share/doc/packages/OpenImageIO/Changes for changes since + 1.5.20 + +------------------------------------------------------------------- Old: ---- _service oiio-Release-1.5.20.tar.xz New: ---- oiio-Release-1.7.0dev.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenImageIO.spec ++++++ --- /var/tmp/diff_new_pack.At9hPq/_old 2016-01-16 11:57:13.000000000 +0100 +++ /var/tmp/diff_new_pack.At9hPq/_new 2016-01-16 11:57:13.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package OpenImageIO # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,16 @@ # -%define so_ver 1_5 - +%define so_ver 1_7 Name: OpenImageIO -Version: 1.5.20 +Version: 1.7.0dev Release: 0 Summary: Library for Reading and Writing Images License: BSD-3-Clause Group: Productivity/Graphics/Other Url: http://www.openimageio.org/ #DL-URL: https://github.com/OpenImageIO/oiio/archive/Release-%%{version}/OpenImageIO-%%{version}.tar.gz -Source0: oiio-Release-%{version}.tar.xz +Source0: oiio-Release-%{version}.tar.bz2 Patch0: oiio-clusterfit-boundscheck.patch Patch1: oiio-detectplatform-others.patch # NOTE: Please don't uncomment a build requirement unless you have submitted the package to factory and it exists @@ -40,11 +39,6 @@ BuildRequires: giflib-devel BuildRequires: glew-devel BuildRequires: hdf5-devel -%if 0%{?suse_version} > 1220 -BuildRequires: ilmbase-devel -%else -BuildRequires: libilmbase-devel -%endif BuildRequires: libjpeg-devel BuildRequires: libopenssl-devel BuildRequires: libpng-devel @@ -53,21 +47,26 @@ BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: opencv-devel -%if 0%{?suse_version} > 1220 -BuildRequires: openexr-devel -%else -BuildRequires: OpenEXR-devel -%endif BuildRequires: openjpeg-devel BuildRequires: openjpeg2-devel BuildRequires: pugixml-devel BuildRequires: python-devel -BuildRequires: pkgconfig(gl) -BuildRequires: pkgconfig(glu) # NOTE: txt2man is needed for the man pages but not in factory. BuildRequires: txt2man BuildRequires: zlib-devel +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glu) BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1220 +BuildRequires: ilmbase-devel +%else +BuildRequires: libilmbase-devel +%endif +%if 0%{?suse_version} > 1220 +BuildRequires: openexr-devel +%else +BuildRequires: OpenEXR-devel +%endif %description OpenImageIO is a library for reading and writing images, and a bunch of related @@ -114,7 +113,7 @@ %package -n python-OpenImageIO Summary: Python Bindings for OpenImageIO Group: Development/Libraries/Python -%{py_requires} +%py_requires %description -n python-OpenImageIO This package contains python bindings for OpenImageIO. @@ -130,32 +129,36 @@ rm -rf src/include/tbb/ %build +# This is for build debugging purposed +export OIIOINC=`echo $PWD` +%define pwd $OIIOINC +%define oiioinclude %{pwd}/src/include +echo %{pwd} export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" mkdir -p build cd build -# CMAKE_SKIP_RPATH is OK here because it is set to FALSE internally and causes -# CMAKE_INSTALL_RPATH to be cleared, which is the desired result. cmake \ +%ifarch ppc ppc64 + -DNOTHREADS=ON \ +%endif -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_INSTALL_DIR=%{_libdir} \ -DPYLIB_INSTALL_DIR=%{python_sitearch} \ + -DINSTALL_DOCS:BOOL=ON \ -DDOC_INSTALL_DIR=%{_docdir}/%{name} \ - -DBUILDSTATIC=OFF \ - -DLINKSTATIC=OFF \ - -DUSE_EXTERNAL_PUGIXML=ON \ + -DINSTALL_FONTS:BOOL=ON \ + -DBUILDSTATIC:BOOL=OFF \ + -DLINKSTATIC:BOOL=OFF \ + -DUSE_EXTERNAL_PUGIXML:BOOL=ON \ -DUSE_FFMPEG:BOOL=OFF \ - -DUSE_TBB=OFF \ - -DCMAKE_SKIP_RPATH=ON \ -%ifarch ppc ppc64 - -DNOTHREADS=ON \ -%endif + -DUSE_OPENSSL:BOOL=ON \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ .. -make %{?_smp_mflags} VERBOSE=1 +make %{?_smp_mflags} VERBOSE=1 || \ +make -j1 VERBOSE=1 cd .. - -make doxygen - +make %{?_smp_mflags} doxygen %install %make_install -C build @@ -181,8 +184,16 @@ %defattr(-,root,root,-) %doc CHANGES CREDITS LICENSE README.rst %{_bindir}/* +%dir %{_datadir}/fonts/oiio +%{_datadir}/fonts/oiio/DroidSans-Bold.ttf +%{_datadir}/fonts/oiio/DroidSans.ttf +%{_datadir}/fonts/oiio/DroidSansMono.ttf +%{_datadir}/fonts/oiio/DroidSerif-Bold.ttf +%{_datadir}/fonts/oiio/DroidSerif-BoldItalic.ttf +%{_datadir}/fonts/oiio/DroidSerif-Italic.ttf +%{_datadir}/fonts/oiio/DroidSerif.ttf %if 1 == 1 -%doc %{_mandir}/man1/*.1%{ext_man} +%{_mandir}/man1/*.1%{ext_man} %endif %files devel ++++++ oiio-detectplatform-others.patch ++++++ --- /var/tmp/diff_new_pack.At9hPq/_old 2016-01-16 11:57:13.000000000 +0100 +++ /var/tmp/diff_new_pack.At9hPq/_new 2016-01-16 11:57:13.000000000 +0100 @@ -1,6 +1,8 @@ ---- src/make/detectplatform.mk +Index: src/make/detectplatform.mk +=================================================================== +--- src/make/detectplatform.mk.orig +++ src/make/detectplatform.mk -@@ -25,7 +25,19 @@ +@@ -25,7 +25,19 @@ ifneq (${hw},x86) ifneq (${hw},x86_64) ifneq (${hw},i386) ifneq (${hw},i686) @@ -21,7 +23,7 @@ endif endif endif -@@ -44,6 +56,18 @@ +@@ -44,6 +56,18 @@ ifeq (${platform},unknown) ifeq (${hw},x86_64) platform := linux64 endif
participants (1)
-
root@hilbert.suse.de