[packages/openexr_viewers] - updated to 2.0.0 - removed obsolete gcc4 patch - added am patch (fixes build with automake 1.13)
qboosh
qboosh at pld-linux.org
Fri Mar 29 06:51:55 CET 2013
commit a4c80708f145d4fc6d63bbeec9aedad1b479bf9d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 29 06:52:05 2013 +0100
- updated to 2.0.0
- removed obsolete gcc4 patch
- added am patch (fixes build with automake 1.13)
openexr_viewers-am.patch | 11 +++++++++++
openexr_viewers-gcc4.patch | 21 ---------------------
openexr_viewers.spec | 14 +++++++-------
3 files changed, 18 insertions(+), 28 deletions(-)
---
diff --git a/openexr_viewers.spec b/openexr_viewers.spec
index ae9267c..8102c93 100644
--- a/openexr_viewers.spec
+++ b/openexr_viewers.spec
@@ -5,15 +5,15 @@
Summary: Simple still OpenEXR image viewer
Summary(pl.UTF-8): Prosta przeglądarka nieruchomych obrazów OpenEXR
Name: openexr_viewers
-Version: 1.0.2
+Version: 2.0.0
Release: 1
License: BSD
Group: Libraries
Source0: http://download.savannah.nongnu.org/releases/openexr/%{name}-%{version}.tar.gz
-# Source0-md5: 5d4c74ebcaf942267b0353e4c53f8b9e
-Patch0: %{name}-gcc4.patch
+# Source0-md5: 9d78a8d17e1cd6326d7c47fec23c1d4e
+Patch0: %{name}-am.patch
URL: http://www.openexr.com/
-BuildRequires: OpenEXR-devel >= 1.7.0
+BuildRequires: OpenEXR-devel >= 2.0.0
BuildRequires: OpenGL-devel
%{?with_cg:BuildRequires: OpenGL-glut-devel}
BuildRequires: autoconf >= 2.50
@@ -24,12 +24,12 @@ BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.5
BuildRequires: openexr_ctl-devel >= 1.0.1
BuildRequires: pkgconfig
-Requires: OpenEXR >= 1.7.0
+Requires: OpenEXR >= 2.0.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-exrdisplay is a simple still image viewer that optionally applies color
-transforms to OpenEXR images, using CTL.
+exrdisplay is a simple still image viewer that optionally applies
+color transforms to OpenEXR images, using CTL.
%if %{with cg}
playexr is a program that plays back OpenEXR image sequences,
diff --git a/openexr_viewers-am.patch b/openexr_viewers-am.patch
new file mode 100644
index 0000000..28118d5
--- /dev/null
+++ b/openexr_viewers-am.patch
@@ -0,0 +1,11 @@
+--- openexr_viewers-2.0.0/configure.ac.orig 2013-02-04 19:22:35.000000000 +0100
++++ openexr_viewers-2.0.0/configure.ac 2013-03-29 06:25:58.558626667 +0100
+@@ -3,7 +3,7 @@
+ AC_SUBST(OPENEXR_VIEWERS_VERSION, 2.0.0)
+ AC_CANONICAL_HOST
+ AC_CONFIG_SRCDIR(playexr/main.cpp)
+-AM_CONFIG_HEADER(config/OpenEXR_ViewersConfig.h)
++AC_CONFIG_HEADERS(config/OpenEXR_ViewersConfig.h)
+ AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better
+ AM_MAINTAINER_MODE
+
diff --git a/openexr_viewers-gcc4.patch b/openexr_viewers-gcc4.patch
deleted file mode 100644
index 20a081c..0000000
--- a/openexr_viewers-gcc4.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- openexr_viewers-1.0.2/exrdisplay/applyCtl.cpp.orig 2007-07-26 04:34:32.000000000 +0200
-+++ openexr_viewers-1.0.2/exrdisplay/applyCtl.cpp 2010-10-13 07:09:24.827734339 +0200
-@@ -68,6 +68,8 @@
-
- #endif
-
-+#include <cstdio>
-+#include <cstdlib>
-
- #define WARNING(message) (cerr << "Warning: " << message << endl)
-
---- openexr_viewers-1.0.2/configure.ac.orig 2010-07-23 02:41:37.000000000 +0200
-+++ openexr_viewers-1.0.2/configure.ac 2010-10-13 07:21:17.979742720 +0200
-@@ -126,6 +126,7 @@
- #include <ImfFrameBuffer.h>
- #include <ImathBox.h>
- #include <vector>
-+#include <cstdlib>
- using namespace Ctl;
- using namespace Imf;
- using namespace Imath;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openexr_viewers.git/commitdiff/a4c80708f145d4fc6d63bbeec9aedad1b479bf9d
More information about the pld-cvs-commit
mailing list