Hello community, here is the log from the commit of package OpenImageIO for openSUSE:Factory checked in at 2017-12-07 13:54:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenImageIO (Old) and /work/SRC/openSUSE:Factory/.OpenImageIO.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenImageIO" Thu Dec 7 13:54:25 2017 rev:12 rq:554845 version:1.8.6 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes 2017-10-09 19:48:25.259056948 +0200 +++ /work/SRC/openSUSE:Factory/.OpenImageIO.new/OpenImageIO.changes 2017-12-07 13:54:45.623274726 +0100 @@ -1,0 +2,56 @@ +Tue Dec 5 13:45:38 UTC 2017 - [email protected] + +- Drop bundled fonts, recommend google-droid-fonts instead +- Add oiio-add-libdl-for-plugin.patch +- Update to release 1.8.6, upstream changes since 1.8.5 - + for more details see included CHANGES.md: + * oiiotool: Improved logic for propagating the pixel data format + through multiple operations, especially for files with multiple + subimages. #1769 + * ImageCache/TextureSystem: improved stats on how long we wait for + ImageInput mutexes. #1779 + * Build: Fix build bug where if the makefile wrapper got CODECOV=0, + it would force a "Debug" build (required for code coverage tests) + even though code coverage is instructed to be off. (It would be + fine if you didn't specify CODECOV at all.) #1792 + * Build: minor fixes for Windows build. #1793, #1794 + * Developers: The ParamValue class has added get_int_indexed() and + get_float_indexed() methods. #1773 + * Developers: array_view added begin(), end(), cbegin(), cend() + methods, and new constructors from pointer pairs and from std::array. + * Developers: Fixed build break in simd.h when AVX512VL is enabled. #1781 + * Developers: fmath.h now defined OIIO_FMATH_H so other files can + easily detect if it has been included. + * Build: Fix broken build when Freetype was not found or disabled. #1800 + * Python: fixed missing exposure of RATIONAL enum value. #1799 +- Update to release 1.8.5 (beta), upstream changes since 1.7.x: + * New oiiotool features: + --info:format=xml, --info:verbose=1, --colormap, -i:type=..., -i:ch=a,..., + --echo STRING, --eraseattrib, --text takes new optional modifiers, --deepholdout + * New ImageBufAlgo functionality: + + color_map() applies a color map based on the input values; #1552 (1.8.1) + + Added implementation of ImageBufAlgo::to_IplImage(). #1461 (1.7.9/1.8.1) + + render_text() has added parameters controlling text alignment and drop + shadows. #1646 (1.8.3) + + deep_holdout() culls all samples that are farther away than the opaque + depth of a second holdout image. #1691 (1.8.4) + * DICOM file format support (currently read-only). DICOM is the standard + for medical imaging data. Will only build if dependency "dcmtk" is + found at build time. #1534 (1.8.1) + * Experimental: The TextureSystem API has been extended to support batches + of texture lookups in a SIMD fashion. At present, only the new API was + added, a full implementation is in progress and may not be forthcoming + or reliable until 1.9. Even the API is experimental, and may change for + future releases. #1733 (1.8.5) + * Public API changes in TypeDesc; ImageSpec; ColorConig::createLookTransform() + and createDisplayTransform(); ImageBuf::read(); new OIIO::getattribute() + queries; ImageBufAlgo::render_text(); DeepData; ImageBufAlgo::colorconvert(), + ociolook(), and ociodisplay(); ParamValueList::get_float + * Fixes, minor enhancements, and performance improvements in: + + oiiotool + + ImageBufAlgo; ImageBuf; TextureSystem / ImageCache / maketx + + BMP; FFMpeg/movies; GIF; IFF; JPEG; OpenEXR; PNG; PSD; RAW; RLA; TIFF; webp; Nuke + + Fixed several (so far unnoticed) buffer overruns and memory leaks. #1591 (1.8.2) + * Build/test system improvements + +------------------------------------------------------------------- Old: ---- oiio-Release-1.7.17.tar.gz New: ---- oiio-Release-1.8.6.tar.gz oiio-add-libdl-for-plugin.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenImageIO.spec ++++++ --- /var/tmp/diff_new_pack.EjA5gw/_old 2017-12-07 13:55:07.822469685 +0100 +++ /var/tmp/diff_new_pack.EjA5gw/_new 2017-12-07 13:55:07.826469540 +0100 @@ -15,10 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define so_ver 1_7 +%define so_ver 1_8 %global gccv %(gcc -dumpversion) Name: OpenImageIO -Version: 1.7.17 +Version: 1.8.6 Release: 0 Summary: Library for Reading and Writing Images License: BSD-3-Clause @@ -28,6 +28,7 @@ Patch0: oiio-clusterfit-boundscheck.patch Patch1: oiio-detectplatform-others.patch Patch2: oiio_gcc6_missleading_indentation.patch +Patch3: oiio-add-libdl-for-plugin.patch # NOTE: Please don't uncomment a build requirement unless you have submitted the package to factory and it exists #BuildRequires: Field3D-devel BuildRequires: OpenColorIO-devel @@ -50,7 +51,10 @@ BuildRequires: libjpeg-devel BuildRequires: libopenssl-devel BuildRequires: libpng-devel -BuildRequires: libqt4-devel +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Gui) +BuildRequires: cmake(Qt5OpenGL) +BuildRequires: cmake(Qt5Widgets) BuildRequires: libraw-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel @@ -61,11 +65,10 @@ BuildRequires: python-devel BuildRequires: txt2man BuildRequires: zlib-devel -BuildRequires: pkgconfig(gl) -BuildRequires: pkgconfig(glu) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ilmbase-devel BuildRequires: openexr-devel +Recommends: google-droid-fonts %description OpenImageIO is a library for reading and writing images, and a bunch of related @@ -122,6 +125,7 @@ %patch0 %patch1 %patch2 -p0 +%patch3 -p0 echo "gcc version %{gccv}" # Make sure that bundled libraries are not used @@ -152,17 +156,14 @@ %else export CXXFLAGS="%{optflags}" %endif -mkdir -p build -cd build -cmake \ +%cmake \ %ifarch ppc -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} \ + -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \ + -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir}/man1 \ -DINSTALL_FONTS:BOOL=ON \ -DBUILDSTATIC:BOOL=OFF \ -DLINKSTATIC:BOOL=OFF \ @@ -171,6 +172,7 @@ -DUSE_OPENSSL:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DUSE_OPENCV:BOOL=OFF \ + -DCMAKE_DL_LIBS=dl \ .. make %{?_smp_mflags} VERBOSE=1 #|| \ @@ -181,6 +183,9 @@ %install %make_install -C build +# Delete bundled fonts +rm -Rf %{buildroot}%{_datadir}/fonts/%{name} + # Move devel documentation to the right location mkdir -p %{buildroot}%{_docdir}/%{name}-devel mv %{buildroot}%{_docdir}/%{name}/openimageio.pdf %{buildroot}%{_docdir}/%{name}-devel/ @@ -203,14 +208,6 @@ %defattr(-,root,root,-) %doc CHANGES.md CREDITS.md LICENSE README.md %{_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 %{_mandir}/man1/*.1%{ext_man} %files devel ++++++ oiio-Release-1.7.17.tar.gz -> oiio-Release-1.8.6.tar.gz ++++++ /work/SRC/openSUSE:Factory/OpenImageIO/oiio-Release-1.7.17.tar.gz /work/SRC/openSUSE:Factory/.OpenImageIO.new/oiio-Release-1.8.6.tar.gz differ: char 12, line 1 ++++++ oiio-add-libdl-for-plugin.patch ++++++ --- src/libutil/CMakeLists.txt_orig 2017-12-05 15:50:55.476259182 +0100 +++ src/libutil/CMakeLists.txt 2017-12-05 15:51:28.500151000 +0100 @@ -12,6 +12,7 @@ endif () target_link_libraries (OpenImageIO_Util ${SANITIZE_LIBRARIES}) target_link_libraries (OpenImageIO_Util ${Boost_LIBRARIES}) +target_link_libraries (OpenImageIO_Util ${CMAKE_DL_LIBS}) if (WIN32) target_link_libraries (OpenImageIO_Util psapi.lib) endif () --- src/libOpenImageIO/CMakeLists.txt_orig 2017-12-05 16:08:10.729019991 +0100 +++ src/libOpenImageIO/CMakeLists.txt 2017-12-05 16:07:58.601056159 +0100 @@ -106,6 +106,7 @@ # endif () target_link_libraries (OpenImageIO + ${CMAKE_DL_LIBS} ${SANITIZE_LIBRARIES} ${format_plugin_libs} # Add all the target link libraries from the plugins ${Boost_LIBRARIES})
