SHA256
1
0
forked from pool/openexr

Accepting request 172655 from devel:libraries:c_c++

- update to 2.0.0
 * Deep Data support - Pixels can now store a variable-length list of samples.
   The main rationale behind deep images is to enable the storage of multiple
   values at different depths for each pixel. OpenEXR 2.0 supports both                                                                                              
   hard-surface and volumetric representations for Deep Compositing workflows.                                                                                       
 * Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
   of separate, but related, data parts in one file. Access to any part is
   independent of the others, pixels from parts that are not required in the
   current operation don't need to be accessed, resulting in quicker read
   times when accessing only a subset of channels. The multipart interface                 
   also incorporates support for Stereo images where views are stored in                                                                                             
   separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
   work with than the previous multiview support in OpenEXR.
 * Optimized pixel reading - decoding RGB(A) scanline images has been
   accelerated on SSE processors providing a significant speedup when reading
   both old and new format images, including multipart and multiview files.
 * Namespacing - The library introduces versioned namespaces to avoid
   conflicts between packages compiled with different versions of the library.
- obsoleted 
    openexr-suse-docdir.patch (moved in install phase)
    openexr-disable-tests.patch

OBS-URL: https://build.opensuse.org/request/show/172655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openexr?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2013-04-20 20:07:36 +00:00 committed by Git OBS Bridge
parent 7e2748a5e3
commit 0daaa1afe1
6 changed files with 48 additions and 160 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:692ee6566d49939b2613e63b3afea2d38b871c0202cc829a7e32ced780af55c5
size 13554138

3
openexr-2.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c3742256ad4546c4c386817a6ab05fe8dc0ad8a548272df4708584440bc492d
size 12589533

View File

@ -1,83 +0,0 @@
Index: openexr-1.7.0/IlmImfTest/Makefile.am
===================================================================
--- openexr-1.7.0.orig/IlmImfTest/Makefile.am 2007-11-10 05:59:07.000000000 +0100
+++ openexr-1.7.0/IlmImfTest/Makefile.am 2011-10-31 15:20:40.885580523 +0100
@@ -17,12 +17,12 @@
testPreviewImage.cpp testPreviewImage.h \
testMagic.cpp testMagic.h testStandardAttributes.cpp \
testStandardAttributes.h testExistingStreams.cpp \
- testExistingStreams.h testScanLineApi.cpp \
- testScanLineApi.h testTiledCompression.cpp \
- testTiledCompression.h testTiledCopyPixels.cpp \
- testTiledCopyPixels.h testTiledLineOrder.cpp \
- testTiledLineOrder.h testTiledRgba.cpp \
- testTiledRgba.h compareFloat.h compareFloat.cpp \
+ testExistingStreams.h \
+ testTiledCompression.cpp \
+ testTiledCompression.h \
+ testTiledLineOrder.cpp \
+ testTiledLineOrder.h \
+ compareFloat.h compareFloat.cpp \
testTiledYa.cpp testTiledYa.h \
testYca.cpp testYca.h compareB44.h compareB44.cpp \
testMultiView.cpp testMultiView.h \
Index: openexr-1.7.0/IlmImfTest/Makefile.in
===================================================================
--- openexr-1.7.0.orig/IlmImfTest/Makefile.in 2010-07-22 23:59:41.000000000 +0200
+++ openexr-1.7.0/IlmImfTest/Makefile.in 2011-10-31 15:20:56.064112139 +0100
@@ -56,9 +56,9 @@
testWav.$(OBJEXT) testXdr.$(OBJEXT) testConversion.$(OBJEXT) \
testNativeFormat.$(OBJEXT) testPreviewImage.$(OBJEXT) \
testMagic.$(OBJEXT) testStandardAttributes.$(OBJEXT) \
- testExistingStreams.$(OBJEXT) testScanLineApi.$(OBJEXT) \
- testTiledCompression.$(OBJEXT) testTiledCopyPixels.$(OBJEXT) \
- testTiledLineOrder.$(OBJEXT) testTiledRgba.$(OBJEXT) \
+ testExistingStreams.$(OBJEXT) \
+ testTiledCompression.$(OBJEXT) \
+ testTiledLineOrder.$(OBJEXT) \
compareFloat.$(OBJEXT) testTiledYa.$(OBJEXT) testYca.$(OBJEXT) \
compareB44.$(OBJEXT) testMultiView.$(OBJEXT) \
testIsComplete.$(OBJEXT)
@@ -220,10 +220,10 @@
testPreviewImage.cpp testPreviewImage.h \
testMagic.cpp testMagic.h testStandardAttributes.cpp \
testStandardAttributes.h testExistingStreams.cpp \
- testExistingStreams.h testScanLineApi.cpp \
- testScanLineApi.h testTiledCompression.cpp \
- testTiledCompression.h testTiledCopyPixels.cpp \
- testTiledCopyPixels.h testTiledLineOrder.cpp \
+ testExistingStreams.h \
+ testTiledCompression.cpp \
+ testTiledCompression.h \
+ testTiledLineOrder.cpp \
testTiledLineOrder.h testTiledRgba.cpp \
testTiledRgba.h compareFloat.h compareFloat.cpp \
testTiledYa.cpp testTiledYa.h \
Index: openexr-1.7.0/IlmImfTest/main.cpp
===================================================================
--- openexr-1.7.0.orig/IlmImfTest/main.cpp 2007-11-10 05:59:07.000000000 +0100
+++ openexr-1.7.0/IlmImfTest/main.cpp 2011-10-31 15:20:16.090712086 +0100
@@ -52,11 +52,8 @@
#include <testConversion.h>
#include <testStandardAttributes.h>
#include <testNativeFormat.h>
-#include <testTiledRgba.h>
#include <testTiledCompression.h>
-#include <testTiledCopyPixels.h>
#include <testTiledLineOrder.h>
-#include <testScanLineApi.h>
#include <testExistingStreams.h>
#include <testYca.h>
#include <testTiledYa.h>
@@ -94,11 +91,8 @@
TEST (testSampleImages);
TEST (testPreviewImage);
TEST (testConversion);
- TEST (testTiledRgba);
- TEST (testTiledCopyPixels);
TEST (testTiledCompression);
TEST (testTiledLineOrder);
- TEST (testScanLineApi);
TEST (testExistingStreams);
TEST (testStandardAttributes);
TEST (testYca);

View File

@ -1,50 +0,0 @@
Index: IlmImfExamples/Makefile.am
===================================================================
--- IlmImfExamples/Makefile.am.orig 2010-07-27 16:23:34.292000914 +0200
+++ IlmImfExamples/Makefile.am 2010-07-27 16:23:36.534875311 +0200
@@ -22,7 +22,7 @@
rgbaInterfaceTiledExamples.h \
lowLevelIoExamples.h previewImageExamples.h
-examplesdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples
+examplesdir = $(datadir)/doc/packages/openexr-@OPENEXR_VERSION@/examples
examples_DATA = $(imfexamples_SOURCES)
imfexamplesdir = $(examplesdir)
Index: IlmImfExamples/Makefile.in
===================================================================
--- IlmImfExamples/Makefile.in.orig 2010-07-27 16:23:34.292000914 +0200
+++ IlmImfExamples/Makefile.in 2010-07-27 16:23:36.534875311 +0200
@@ -226,7 +226,7 @@
rgbaInterfaceTiledExamples.h \
lowLevelIoExamples.h previewImageExamples.h
-examplesdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples
+examplesdir = $(datadir)/doc/packages/openexr-@OPENEXR_VERSION@/examples
examples_DATA = $(imfexamples_SOURCES)
imfexamplesdir = $(examplesdir)
all: all-am
Index: doc/Makefile.am
===================================================================
--- doc/Makefile.am.orig 2010-07-27 16:23:34.302885346 +0200
+++ doc/Makefile.am 2010-07-27 16:25:53.501876673 +0200
@@ -4,5 +4,5 @@
OpenEXRFileLayout.pdf \
MultiViewOpenEXR.pdf
-docdir=$(datadir)/doc/OpenEXR-@OPENEXR_VERSION@
+docdir=$(datadir)/doc/packages/openexr-@OPENEXR_VERSION@
doc_DATA = $(EXTRA_DIST)
Index: doc/Makefile.in
===================================================================
--- doc/Makefile.in.orig 2010-07-27 16:23:34.309896002 +0200
+++ doc/Makefile.in 2010-07-27 16:26:09.326876258 +0200
@@ -181,7 +181,7 @@
OpenEXRFileLayout.pdf \
MultiViewOpenEXR.pdf
-docdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@
+docdir = $(datadir)/doc/packages/openexr-@OPENEXR_VERSION@
doc_DATA = $(EXTRA_DIST)
all: all-am

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Fri Apr 12 13:43:33 UTC 2013 - mvyskocil@suse.com
- update to 2.0.0
* Deep Data support - Pixels can now store a variable-length list of samples.
The main rationale behind deep images is to enable the storage of multiple
values at different depths for each pixel. OpenEXR 2.0 supports both
hard-surface and volumetric representations for Deep Compositing workflows.
* Multi-part Image Files - With OpenEXR 2.0, files can now contain a number
of separate, but related, data parts in one file. Access to any part is
independent of the others, pixels from parts that are not required in the
current operation don't need to be accessed, resulting in quicker read
times when accessing only a subset of channels. The multipart interface
also incorporates support for Stereo images where views are stored in
separate parts. This makes stereo OpenEXR 2.0 files significantly faster to
work with than the previous multiview support in OpenEXR.
* Optimized pixel reading - decoding RGB(A) scanline images has been
accelerated on SSE processors providing a significant speedup when reading
both old and new format images, including multipart and multiview files.
* Namespacing - The library introduces versioned namespaces to avoid
conflicts between packages compiled with different versions of the library.
- obsoleted
openexr-suse-docdir.patch (moved in install phase)
openexr-disable-tests.patch
-------------------------------------------------------------------
Thu Sep 27 14:51:27 UTC 2012 - cfarrell@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package openexr
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products 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,30 +16,27 @@
#
%global so_suffix -Imf_2_0-20
Name: openexr
Version: 1.7.1
Version: 2.0.0
Release: 0
Summary: Utilities for work with HDR images in OpenEXR format
License: BSD-3-Clause
Group: Productivity/Graphics/Other
Url: http://www.openexr.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: fltk-devel
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
BuildRequires: ilmbase-devel
# bug437293
%ifarch ppc64
Obsoletes: OpenEXR-64bit
%endif
#
BuildRequires: ilmbase-devel >= 2.0.0
BuildRequires: pkg-config
BuildRequires: zlib-devel
Obsoletes: OpenEXR <= 1.6.1
Provides: OpenEXR = %{version}
Source0: %{name}-%version.tar.gz
Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch0: openexr-suse-docdir.patch
# disable broken tests
Patch1: openexr-disable-tests.patch
%description
OpenEXR is a high dynamic-range (HDR) image file format developed by
@ -54,26 +51,24 @@ contains a set of utilities to work with this format.
* exr2aces, converter to ACES format
* exrmultiview, combine two or more images into one multi-view
%package -n libIlmImf7
%package -n libIlmImf%{so_suffix}
Summary: Library to Handle EXR Pictures in 16-Bit Floating-Point Format
Group: Development/Libraries/C and C++
# provide also the most expected symbol
Provides: libopenexr7 = %{version}
%description -n libIlmImf7
%description -n libIlmImf%{so_suffix}
OpenEXR is a high dynamic-range (HDR) image file format developed by
Industrial Light & Magic for use in computer imaging applications.
This package contains libIlmImf.so.6
This package contains shared library libIlmImf
%post -n libIlmImf7 -p /sbin/ldconfig
%post -n libIlmImf%{so_suffix} -p /sbin/ldconfig
%postun -n libIlmImf7 -p /sbin/ldconfig
%postun -n libIlmImf%{so_suffix} -p /sbin/ldconfig
%files -n libIlmImf7
%files -n libIlmImf%{so_suffix}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libIlmImf.so.*
%{_libdir}/libIlmImf-*.so.*
%package devel
Summary: Library to Handle EXR Pictures (16-bit floating-point format)
@ -107,8 +102,6 @@ This package contains a documentation
%prep
%setup -q
%patch0 -p0
%patch1 -p1
# remove a non-linux file
%{__rm} README.win32 README.OSX
@ -129,6 +122,9 @@ export PTHREAD_LIBS="-lpthread"
%{makeinstall}
%{__rm} -f %{buildroot}%{_libdir}/*.la
install -d -m 0755 %{buildroot}%{_defaultdocdir}/
mv %{buildroot}%{_datadir}/doc/OpenEXR-2.0.0 %{buildroot}%{_defaultdocdir}/%{name}-%{version}
%check
#XXX: it seems running tests in BS is not very reliable, so
# so let disable it
@ -142,8 +138,8 @@ export PTHREAD_LIBS="-lpthread"
%{_bindir}/exrmakepreview
%{_bindir}/exrmaketiled
%{_bindir}/exrstdattr
%{_bindir}/exr2aces
%{_bindir}/exrmultiview
%{_bindir}/exrmultipart
%files devel
%defattr(-,root,root)