summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/openexr_viewers
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/openexr_viewers')
-rw-r--r--media-gfx/openexr_viewers/Manifest4
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc43.patch55
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc44.patch37
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch16
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-2.0.0-nvidia-automagic.patch14
-rw-r--r--media-gfx/openexr_viewers/metadata.xml11
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild58
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild56
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild56
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild56
10 files changed, 363 insertions, 0 deletions
diff --git a/media-gfx/openexr_viewers/Manifest b/media-gfx/openexr_viewers/Manifest
new file mode 100644
index 000000000000..7af3f56c3fc5
--- /dev/null
+++ b/media-gfx/openexr_viewers/Manifest
@@ -0,0 +1,4 @@
+DIST openexr_viewers-1.0.2.tar.gz 482009 SHA256 eb6b1987d587b441f113d417dc8a5baec25f3d81bc06b0369217567c1cde13ef SHA512 06e01be3310a05c5709cdb4641f230522a5d91d50b08b6736a5541d20a03decfd80a9f5b65af383659a3d19407f932317c04eba73d199c03fa0ff9e24cc7ad07 WHIRLPOOL dd6d805f71db710bb70db9d993cc07bcd0b02c225527402f194300b82a3f1036d3584bed5db517c937d3f638e14466ff3c9c3653430d1d7c6fb1a01e331012f8
+DIST openexr_viewers-2.0.1.tar.gz 495240 SHA256 9329e87922eb5e4707a5a107f90434113136299a026d78133e4083742808a412 SHA512 75af19e4a06d31bbb21217bc75a800852d2817dd9d120b879c377316e8aa64f75c49dccbb0d2a4d11d949f48b8fac40249692d1286a77e4812e43b3e8e303235 WHIRLPOOL c9c6a46451a3f2709afaecdbbfbf5e69f74ba2e76a853871a9a1eb5789579be567de39b9206f7b3ff22351c2f5d579f1b5bbcd3a8d4df0d37c9c2eb1140fc455
+DIST openexr_viewers-2.1.0.tar.gz 497290 SHA256 80d98aaa03ab98906f0e535bb2ae908ce3929f4e318ef069620937d195a6fea7 SHA512 fd3b08ad91b1b2299d01d56c7a17694538fd912302db3472a8d8621b49a699a42604de8d816288399b31207304c7684de198acecd2c8a9825d35b827b8a2ddaf WHIRLPOOL 2918c3c40f8969711becc70d422bc89fe28a209b56e964da8e69f249b619b6790efb686ad45aefb57d14a514ad7642a4cc6a7c3af0152e13f5fd6ee3ee6155f5
+DIST openexr_viewers-2.2.0.tar.gz 486235 SHA256 f73fe2e4d19e8fc9317d6c34f156598ad43497bb9549f03feacb8ba095dd04e9 SHA512 ab2f15d0352fa4e9daf76c7317312dad6cfe7b65a86affaf057c8eceb48d2637fc0df58125ea2ec5ad3b7251eed392a8eccff1001cfeced969bbb66fe92284f8 WHIRLPOOL 83190cbab3749dbc543e16cac76b7b0bc4c9c0110feb6ef4ddb4b84808cc9508dc94dda3be5674e6d50f042e0bfd78a951d66b231ad0296ee6b7b24a81ac2e15
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc43.patch b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc43.patch
new file mode 100644
index 000000000000..3630efc6f7a2
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc43.patch
@@ -0,0 +1,55 @@
+diff -up openexr_viewers-1.0.1/exrdisplay/applyCtl.h.gcc43 openexr_viewers-1.0.1/exrdisplay/applyCtl.h
+--- openexr_viewers-1.0.1/exrdisplay/applyCtl.h.gcc43 2006-12-09 01:14:07.000000000 +0100
++++ openexr_viewers-1.0.1/exrdisplay/applyCtl.h 2008-01-10 02:07:14.000000000 +0100
+@@ -49,6 +49,7 @@
+ #include <ImfArray.h>
+ #include <ImfHeader.h>
+ #include <vector>
++#include <cstdlib>
+
+ //
+ // Apply a series of CTL transforms to the raw pixel data from an image file
+diff -up openexr_viewers-1.0.1/configure.ac.gcc43 openexr_viewers-1.0.1/configure.ac
+--- openexr_viewers-1.0.1/configure.ac.gcc43 2007-10-10 00:20:51.000000000 +0200
++++ openexr_viewers-1.0.1/configure.ac 2008-01-10 02:07:14.000000000 +0100
+@@ -126,6 +126,7 @@ AM_COMPILELINKRUN(
+ #include <ImfFrameBuffer.h>
+ #include <ImathBox.h>
+ #include <vector>
++#include <cstdlib>
+ using namespace Ctl;
+ using namespace Imf;
+ using namespace Imath;
+diff -up openexr_viewers-1.0.1/configure.gcc43 openexr_viewers-1.0.1/configure
+--- openexr_viewers-1.0.1/configure.gcc43 2007-10-10 00:21:01.000000000 +0200
++++ openexr_viewers-1.0.1/configure 2008-01-10 02:07:14.000000000 +0100
+@@ -20869,6 +20869,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #include <ImfFrameBuffer.h>
+ #include <ImathBox.h>
+ #include <vector>
++#include <cstdlib>
+ using namespace Ctl;
+ using namespace Imf;
+ using namespace Imath;
+diff -up openexr_viewers-1.0.1/playexr/ctlToLut.h.gcc43 openexr_viewers-1.0.1/playexr/ctlToLut.h
+--- openexr_viewers-1.0.1/playexr/ctlToLut.h.gcc43 2008-01-10 03:09:55.000000000 +0100
++++ openexr_viewers-1.0.1/playexr/ctlToLut.h 2008-01-10 03:11:18.000000000 +0100
+@@ -88,6 +88,7 @@
+ #include <string>
+ #include <vector>
+ #include <half.h>
++#include <cstdlib>
+
+
+ void
+diff -up openexr_viewers-1.0.1/playexr/main.cpp.gcc43 openexr_viewers-1.0.1/playexr/main.cpp
+--- openexr_viewers-1.0.1/playexr/main.cpp.gcc43 2008-01-10 03:05:03.000000000 +0100
++++ openexr_viewers-1.0.1/playexr/main.cpp 2008-01-10 03:05:48.000000000 +0100
+@@ -48,6 +48,7 @@
+ #include <vector>
+ #include <string>
+ #include <stdlib.h>
++#include <cstring>
+
+ using namespace std;
+
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc44.patch b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc44.patch
new file mode 100644
index 000000000000..4ab58548d71a
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.1-gcc44.patch
@@ -0,0 +1,37 @@
+diff -ur openexr_viewers-1.0.1.orig/exrdisplay/applyCtl.cpp openexr_viewers-1.0.1/exrdisplay/applyCtl.cpp
+--- playexr/ctlToLut.cpp.orig 2009-12-14 09:07:00.863493115 -0800
++++ playexr/ctlToLut.cpp 2009-12-14 09:08:16.721186947 -0800
+@@ -49,6 +49,7 @@
+ #include <ImfFrameBuffer.h>
+ #include <cassert>
+ #include <iostream>
++ #include <cstdio>
+
+ using namespace std;
+ using namespace Ctl;
+@@ -61,6 +62,7 @@
+ #include <ImfHeader.h>
+ #include <cassert>
+ #include <iostream>
++ #include <cstdio>
+
+ using namespace std;
+ using namespace Imf;
+--- exrdisplay/applyCtl.cpp.orig 2009-12-14 09:11:44.950334079 -0800
++++ exrdisplay/applyCtl.cpp 2009-12-14 09:11:59.900332294 -0800
+@@ -49,6 +49,7 @@
+ #include <ImfFrameBuffer.h>
+ #include <cassert>
+ #include <iostream>
++ #include <cstdio>
+
+ using namespace std;
+ using namespace Ctl;
+@@ -61,6 +62,7 @@
+ #include <ImfHeader.h>
+ #include <cassert>
+ #include <iostream>
++ #include <cstdio>
+
+ using namespace std;
+ using namespace Imf;
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch
new file mode 100644
index 000000000000..e39a0c1da789
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch
@@ -0,0 +1,16 @@
+--- configure.ac
++++ configure.ac
+@@ -188,8 +188,11 @@
+
+ dnl
+ dnl check for Cg
+-dnlCG_LD
+-if test "${have_fltk}" = yes; then
++dnl CG_LD
++AC_ARG_ENABLE(nvidia, AC_HELP_STRING([--enable-nvidia],
++ [enable nvidia cg support [[default=check]]]), [want_nvidia="${enableval}"], [want_nvidia=yes])
++
++if test "${have_fltk}" = yes -a "${want_nvidia}" != "no"; then
+ AM_PATH_CG(have_cg=yes, have_cg=no)
+ if test "${have_cg}" = yes; then
+ AC_DEFINE(HAVE_FRAGMENT_SHADERS)
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-2.0.0-nvidia-automagic.patch b/media-gfx/openexr_viewers/files/openexr_viewers-2.0.0-nvidia-automagic.patch
new file mode 100644
index 000000000000..1ea9f869a671
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-2.0.0-nvidia-automagic.patch
@@ -0,0 +1,14 @@
+--- configure.ac
++++ configure.ac
+@@ -192,7 +192,10 @@
+ dnl
+ dnl check for Cg
+ dnl
+-if test "${have_fltk}" = yes; then
++AC_ARG_ENABLE(cg, AC_HELP_STRING([--enable-cg],
++ [enable nvidia cg support [[default=check]]]), [want_cg="${enableval}"], [want_cg=yes])
++
++if test "${have_fltk}" = yes -a "${want_cg}" != "no"; then
+ AM_PATH_CG(have_cg=yes, have_cg=no)
+ if test "${have_cg}" = yes; then
+ AC_DEFINE(HAVE_FRAGMENT_SHADERS)
diff --git a/media-gfx/openexr_viewers/metadata.xml b/media-gfx/openexr_viewers/metadata.xml
new file mode 100644
index 000000000000..68f5c4738332
--- /dev/null
+++ b/media-gfx/openexr_viewers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='cg'>Add support for nvidia's cg shaders</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild b/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild
new file mode 100644
index 000000000000..b977448a0943
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="OpenEXR Viewers"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+HOMEPAGE="http://openexr.com/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="opengl video_cards_nvidia"
+
+RDEPEND=">=media-libs/ilmbase-1.0.2
+ >=media-libs/openexr-1.7.0
+ media-libs/ctl
+ media-libs/openexr_ctl
+ opengl? ( virtual/opengl
+ x11-libs/fltk:1[opengl]
+ video_cards_nvidia? ( media-gfx/nvidia-cg-toolkit ) )
+ !<media-libs/openexr-1.5.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nvidia-automagic.patch \
+ "${FILESDIR}"/${PN}-1.0.1-gcc43.patch \
+ "${FILESDIR}"/${PN}-1.0.1-gcc44.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use video_cards_nvidia; then
+ myconf="--with-cg-prefix=/opt/nvidia-cg-toolkit"
+ append-flags $(no-as-needed) # binary-only libCg is not properly linked
+ fi
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable video_cards_nvidia nvidia) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir="/usr/share/doc/${PF}/pdf" \
+ install || die
+
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild
new file mode 100644
index 000000000000..b7ae24f04f51
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="OpenEXR Viewers"
+HOMEPAGE="http://openexr.com/"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="cg opengl"
+
+RDEPEND=">=media-libs/ilmbase-${PV}:=
+ >=media-libs/openexr-${PV}:=
+ media-libs/ctl:=
+ >=media-libs/openexr_ctl-1.0.1-r2:=
+ opengl? (
+ virtual/opengl
+ x11-libs/fltk:1[opengl]
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
+ epatch "${FILESDIR}"/${PN}-2.0.0-nvidia-automagic.patch
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use cg; then
+ myconf="--with-cg-prefix=/opt/nvidia-cg-toolkit"
+ append-flags "$(no-as-needed)" # binary-only libCg is not properly linked
+ fi
+
+ econf \
+ $(use_enable cg) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/pdf \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild
new file mode 100644
index 000000000000..ade36c14b08d
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="OpenEXR Viewers"
+HOMEPAGE="http://openexr.com/"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
+IUSE="cg opengl"
+
+RDEPEND=">=media-libs/ilmbase-${PV}:=
+ >=media-libs/openexr-${PV}:=
+ media-libs/ctl:=
+ >=media-libs/openexr_ctl-1.0.1-r2:=
+ opengl? (
+ virtual/opengl
+ x11-libs/fltk:1[opengl]
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
+ epatch "${FILESDIR}"/${PN}-2.0.0-nvidia-automagic.patch
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use cg; then
+ myconf="--with-cg-prefix=/opt/nvidia-cg-toolkit"
+ append-flags "$(no-as-needed)" # binary-only libCg is not properly linked
+ fi
+
+ econf \
+ $(use_enable cg) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/pdf \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild
new file mode 100644
index 000000000000..b7ae24f04f51
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="OpenEXR Viewers"
+HOMEPAGE="http://openexr.com/"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="cg opengl"
+
+RDEPEND=">=media-libs/ilmbase-${PV}:=
+ >=media-libs/openexr-${PV}:=
+ media-libs/ctl:=
+ >=media-libs/openexr_ctl-1.0.1-r2:=
+ opengl? (
+ virtual/opengl
+ x11-libs/fltk:1[opengl]
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
+ epatch "${FILESDIR}"/${PN}-2.0.0-nvidia-automagic.patch
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use cg; then
+ myconf="--with-cg-prefix=/opt/nvidia-cg-toolkit"
+ append-flags "$(no-as-needed)" # binary-only libCg is not properly linked
+ fi
+
+ econf \
+ $(use_enable cg) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/pdf \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README
+}