public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/files/, media-libs/Field3D/
@ 2017-09-23  8:38 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-09-23  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     ca3952cdeccf9e3c6bd6973e3ed1c0681857aceb
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Thu Sep 21 08:58:57 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 08:32:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca3952cd

media-libs/Field3D: New package

Field3D is an open source library for storing voxel data. It
provides C++ classes that handle in-memory storage and a file
format based on HDF5 that allows the C++ objects to be written
to and read from disk.

This is a new dependency for OpenImageIO.

Closes: https://github.com/gentoo/gentoo/pull/5748

 media-libs/Field3D/Field3D-1.7.2.ebuild            | 28 ++++++++++++++++
 media-libs/Field3D/Manifest                        |  1 +
 .../files/Field3D-1.7.2-openexr-fixes.patch        | 38 ++++++++++++++++++++++
 media-libs/Field3D/metadata.xml                    | 25 ++++++++++++++
 4 files changed, 92 insertions(+)

diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
new file mode 100644
index 00000000000..414b9351f9f
--- /dev/null
+++ b/media-libs/Field3D/Field3D-1.7.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A library for storing voxel data"
+HOMEPAGE="http://opensource.imageworks.com/?p=field3d"
+SRC_URI="https://github.com/imageworks/Field3D/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	>=dev-libs/boost-1.62:=
+	>=media-libs/ilmbase-2.2.0:=
+	sci-libs/hdf5:=
+	virtual/mpi"
+
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/Field3D-1.7.2-openexr-fixes.patch" )
+
+# Docs are not finished yet.
+mycmakeargs=( -DINSTALL_DOCS=OFF )

diff --git a/media-libs/Field3D/Manifest b/media-libs/Field3D/Manifest
new file mode 100644
index 00000000000..4f9c43edc4f
--- /dev/null
+++ b/media-libs/Field3D/Manifest
@@ -0,0 +1 @@
+DIST Field3D-1.7.2.tar.gz 502481 SHA256 8f7c33ecb4489ed626455cf3998d911a079b4f137f86814d9c37c5765bf4b020 SHA512 e4ea51310105980f759dce48830db8ae3592ce32a02b246214d8aed9df7a7f5c500314f2daf92196b7a76d648f2909b18112df4c5c3c8949c0676d710dfbf1f2 WHIRLPOOL c29702dc0c2f15c65d92871ef82059aa35b9fb7927d9510b496511c8de21f160298cf9b32717d0fbac7a5c1656f5c5757a3d1fe3fdb00121d2100664412b65d2

diff --git a/media-libs/Field3D/files/Field3D-1.7.2-openexr-fixes.patch b/media-libs/Field3D/files/Field3D-1.7.2-openexr-fixes.patch
new file mode 100644
index 00000000000..41ab1ccf294
--- /dev/null
+++ b/media-libs/Field3D/files/Field3D-1.7.2-openexr-fixes.patch
@@ -0,0 +1,38 @@
+diff -purN a/cmake/FindILMBase.cmake b/cmake/FindILMBase.cmake
+--- a/cmake/FindILMBase.cmake	2016-06-19 05:56:00.000000000 +0100
++++ b/cmake/FindILMBase.cmake	2017-03-02 11:44:35.449043588 +0000
+@@ -37,12 +37,17 @@
+ #  ILMBASE_FOUND - true if ILMBASE was found on the system
+ #  ILMBASE_LIBRARY_DIRS - the full set of library directories
+ 
++find_package(PkgConfig QUIET)
++if(PKG_CONFIG_FOUND)
++  pkg_check_modules(PC_ILMBASE QUIET IlmBase)
++endif()
++
+ FIND_PATH ( Ilmbase_Base_Dir include/OpenEXR/IlmBaseConfig.h
+   ENV ILMBASE_ROOT
+   )
+ 
+ IF ( Ilmbase_Base_Dir )
+-
++  SET ( IlmBase_VERSION ${PC_ILMBASE_VERSION} )
+   SET ( ILMBASE_INCLUDE_DIRS
+     ${Ilmbase_Base_Dir}/include
+     ${Ilmbase_Base_Dir}/include/OpenEXR
+diff -purN a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt	2016-06-19 05:56:00.000000000 +0100
++++ b/CMakeLists.txt	2017-03-02 11:44:37.029035041 +0000
+@@ -146,8 +146,11 @@ IF ( CMAKE_HOST_UNIX )
+       LIST ( APPEND Field3D_Libraries_Shared
+              ${MPI_LIBRARIES} )
+   ENDIF ( MPI_FOUND )
++  # handle new library names for 2.0.0
++  STRING ( REPLACE "." "_" _IlmBase_VERSION ${IlmBase_VERSION} )
++  STRING ( SUBSTRING ${_IlmBase_VERSION} 0 3 _IlmBase_VERSION )
+   LIST ( APPEND Field3D_Libraries_Shared
+-    Iex Half IlmThread Imath
++    Iex-${_IlmBase_VERSION} Half IlmThread-${_IlmBase_VERSION} Imath-${_IlmBase_VERSION}
+     pthread dl z )
+   SET ( Field3D_DSO_Libraries ${Field3D_Libraries_Shared} )
+   SET ( Field3D_BIN_Libraries Field3D ${Field3D_Libraries_Shared}

diff --git a/media-libs/Field3D/metadata.xml b/media-libs/Field3D/metadata.xml
new file mode 100644
index 00000000000..2e6a3587ddc
--- /dev/null
+++ b/media-libs/Field3D/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>j.scruggs@gmail.com</email>
+		<name>Jonathan Scruggs</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>agrigo2001@yahoo.com.au</email>
+		<name>Adrian Grigo</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		Field3D is an open source library for storing voxel data.
+		It provides C++ classes that handle in-memory storage and
+		a file format based on HDF5 that allows the C++ objects 
+		to be written to and read from disk.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">imageworks/Field3D</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/files/, media-libs/Field3D/
@ 2017-09-23 15:47 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-09-23 15:47 UTC (permalink / raw
  To: gentoo-commits

commit:     d0cabeca83fd2052ffa6b7c57d092a944b3ef190
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Sep 23 15:27:43 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 15:47:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0cabeca

media-libs/Field3D: Fix compiling error for some people

* Replaced patch with more robust one to fix an error that
  causes the compile phase to stop.

Closes: https://bugs.gentoo.org/631832

 media-libs/Field3D/Field3D-1.7.2.ebuild            |   2 +-
 .../Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch  | 142 +++++++++++++++++++++
 .../files/Field3D-1.7.2-openexr-fixes.patch        |  38 ------
 3 files changed, 143 insertions(+), 39 deletions(-)

diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
index 414b9351f9f..780a06db52e 100644
--- a/media-libs/Field3D/Field3D-1.7.2.ebuild
+++ b/media-libs/Field3D/Field3D-1.7.2.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}/Field3D-1.7.2-openexr-fixes.patch" )
+PATCHES=( "${FILESDIR}/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch" )
 
 # Docs are not finished yet.
 mycmakeargs=( -DINSTALL_DOCS=OFF )

diff --git a/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch b/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch
new file mode 100644
index 00000000000..e967d20244c
--- /dev/null
+++ b/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch
@@ -0,0 +1,142 @@
+From 5656d8dc657f4702c67fbabfab8922c80e0cf778 Mon Sep 17 00:00:00 2001
+From: Jonathan Scruggs <j.scruggs@gmail.com>
+Date: Sat, 23 Sep 2017 16:08:48 +0100
+Subject: [PATCH] Use PkgConfig for IlmBase
+
+---
+ CMakeLists.txt          | 15 +++++++-------
+ cmake/FindILMBase.cmake | 54 -------------------------------------------------
+ 2 files changed, 8 insertions(+), 61 deletions(-)
+ delete mode 100644 cmake/FindILMBase.cmake
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e9ad44f..864f0d2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -35,8 +35,9 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
+ 
+ PROJECT ( field3d )
+ 
+-set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake )
++set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} )
+ 
++FIND_PACKAGE ( PkgConfig )
+ FIND_PACKAGE (Doxygen)
+ FIND_PACKAGE (HDF5)
+ IF ( CMAKE_HOST_WIN32 )
+@@ -49,7 +50,7 @@ FIND_PACKAGE (Boost COMPONENTS regex thread program_options system)
+ FIND_PACKAGE (MPI)
+ ENDIF ()
+ 
+-FIND_PACKAGE (ILMBase)
++PKG_CHECK_MODULES ( ILMBASE_LIBS REQUIRED IlmBase )
+ 
+ # Allow the developer to select if Dynamic or Static libraries are built
+ OPTION (BUILD_SHARED_LIBS "Build Shared Libraries" ON)
+@@ -65,14 +66,14 @@ INCLUDE_DIRECTORIES ( . )
+ INCLUDE_DIRECTORIES ( src )
+ INCLUDE_DIRECTORIES ( export )
+ INCLUDE_DIRECTORIES ( include )
+-INCLUDE_DIRECTORIES ( ${ILMBASE_INCLUDE_DIRS} )
++INCLUDE_DIRECTORIES ( SYSTEM ${ILMBASE_LIBS_INCLUDE_DIRS} )
+ INCLUDE_DIRECTORIES ( ${HDF5_INCLUDE_DIRS} )
+ INCLUDE_DIRECTORIES ( ${Boost_INCLUDE_DIR} )
+ 
+ # link directories
+ LINK_DIRECTORIES ( ${Boost_LIBRARY_DIRS} )
+ LINK_DIRECTORIES ( ${HDF5_LIBRARY_DIRS} )
+-LINK_DIRECTORIES ( ${ILMBASE_LIBRARY_DIRS} )
++LINK_DIRECTORIES ( ${ILMBASE_LIBS_LIBRARY_DIRS} )
+ 
+ IF ( CMAKE_HOST_UNIX )
+   ADD_DEFINITIONS ( -fPIC -DREQUIRE_IOSTREAM -Wno-invalid-offsetof )
+@@ -147,7 +148,7 @@ IF ( CMAKE_HOST_UNIX )
+              ${MPI_LIBRARIES} )
+   ENDIF ( MPI_FOUND )
+   LIST ( APPEND Field3D_Libraries_Shared
+-    Iex Half IlmThread Imath
++    ${ILMBASE_LIBS_LIBRARIES}
+     pthread dl z )
+   SET ( Field3D_DSO_Libraries ${Field3D_Libraries_Shared} )
+   SET ( Field3D_BIN_Libraries Field3D ${Field3D_Libraries_Shared}
+@@ -155,7 +156,7 @@ IF ( CMAKE_HOST_UNIX )
+ ENDIF ( )
+ IF ( CMAKE_HOST_WIN32 )
+   # Add OpenEXR and zlib release/debug
+-  FOREACH ( lib Iex Half IlmThread Imath zdll )
++  FOREACH ( lib ${ILMBASE_LIBS_LIBRARIES} zdll )
+     LIST ( APPEND Field3D_Libraries_Shared
+       optimized ${lib}
+       debug ${lib}_d )
+@@ -164,7 +165,7 @@ IF ( CMAKE_HOST_WIN32 )
+   SET ( Field3D_BIN_Libraries Field3D ${Boost_LIBRARIES} )
+ ENDIF ()
+ 
+-TARGET_LINK_LIBRARIES ( Field3D ${Field3D_DSO_Libraries} ${Boost_LIBRARIES})
++TARGET_LINK_LIBRARIES ( Field3D ${Field3D_DSO_Libraries} ${Boost_LIBRARIES} )
+ 
+ # Parase version and soversion from export/ns.h
+ 
+diff --git a/cmake/FindILMBase.cmake b/cmake/FindILMBase.cmake
+deleted file mode 100644
+index c555100..0000000
+--- a/cmake/FindILMBase.cmake
++++ /dev/null
+@@ -1,54 +0,0 @@
+-# Copyright (c) 2009 Sony Pictures Imageworks Inc. et al.
+-# 
+-# All rights reserved.
+-# 
+-# Redistribution and use in source and binary forms, with or without
+-# modification, are permitted provided that the following conditions
+-# are met:
+-# 
+-# Redistributions of source code must retain the above copyright
+-# notice, this list of conditions and the following disclaimer.
+-# Redistributions in binary form must reproduce the above copyright
+-# notice, this list of conditions and the following disclaimer in the
+-# documentation and/or other materials provided with the
+-# distribution. Neither the name of Sony Pictures Imageworks nor the
+-# names of its contributors may be used to endorse or promote
+-# products derived from this software without specific prior written
+-# permission.
+-# 
+-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+-# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+-# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+-# OF THE POSSIBILITY OF SUCH DAMAGE.
+-
+-# Author : Nicholas Yue yue.nicholas@gmail.com
+-
+-# This module will define the following variables:
+-#  ILMBASE_INCLUDE_DIRS - Location of the ilmbase includes
+-#  ILMBASE_LIBRARIES - [TODO] Required libraries for all requested bindings
+-#  ILMBASE_FOUND - true if ILMBASE was found on the system
+-#  ILMBASE_LIBRARY_DIRS - the full set of library directories
+-
+-FIND_PATH ( Ilmbase_Base_Dir include/OpenEXR/IlmBaseConfig.h
+-  ENV ILMBASE_ROOT
+-  )
+-
+-IF ( Ilmbase_Base_Dir )
+-
+-  SET ( ILMBASE_INCLUDE_DIRS
+-    ${Ilmbase_Base_Dir}/include
+-    ${Ilmbase_Base_Dir}/include/OpenEXR
+-    CACHE STRING "ILMBase include directories")
+-  SET ( ILMBASE_LIBRARY_DIRS ${Ilmbase_Base_Dir}/lib
+-    CACHE STRING "ILMBase library directories")
+-  SET ( ILMBASE_FOUND TRUE )
+-
+-ENDIF ( Ilmbase_Base_Dir )
+-- 
+2.14.1
+

diff --git a/media-libs/Field3D/files/Field3D-1.7.2-openexr-fixes.patch b/media-libs/Field3D/files/Field3D-1.7.2-openexr-fixes.patch
deleted file mode 100644
index 41ab1ccf294..00000000000
--- a/media-libs/Field3D/files/Field3D-1.7.2-openexr-fixes.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -purN a/cmake/FindILMBase.cmake b/cmake/FindILMBase.cmake
---- a/cmake/FindILMBase.cmake	2016-06-19 05:56:00.000000000 +0100
-+++ b/cmake/FindILMBase.cmake	2017-03-02 11:44:35.449043588 +0000
-@@ -37,12 +37,17 @@
- #  ILMBASE_FOUND - true if ILMBASE was found on the system
- #  ILMBASE_LIBRARY_DIRS - the full set of library directories
- 
-+find_package(PkgConfig QUIET)
-+if(PKG_CONFIG_FOUND)
-+  pkg_check_modules(PC_ILMBASE QUIET IlmBase)
-+endif()
-+
- FIND_PATH ( Ilmbase_Base_Dir include/OpenEXR/IlmBaseConfig.h
-   ENV ILMBASE_ROOT
-   )
- 
- IF ( Ilmbase_Base_Dir )
--
-+  SET ( IlmBase_VERSION ${PC_ILMBASE_VERSION} )
-   SET ( ILMBASE_INCLUDE_DIRS
-     ${Ilmbase_Base_Dir}/include
-     ${Ilmbase_Base_Dir}/include/OpenEXR
-diff -purN a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt	2016-06-19 05:56:00.000000000 +0100
-+++ b/CMakeLists.txt	2017-03-02 11:44:37.029035041 +0000
-@@ -146,8 +146,11 @@ IF ( CMAKE_HOST_UNIX )
-       LIST ( APPEND Field3D_Libraries_Shared
-              ${MPI_LIBRARIES} )
-   ENDIF ( MPI_FOUND )
-+  # handle new library names for 2.0.0
-+  STRING ( REPLACE "." "_" _IlmBase_VERSION ${IlmBase_VERSION} )
-+  STRING ( SUBSTRING ${_IlmBase_VERSION} 0 3 _IlmBase_VERSION )
-   LIST ( APPEND Field3D_Libraries_Shared
--    Iex Half IlmThread Imath
-+    Iex-${_IlmBase_VERSION} Half IlmThread-${_IlmBase_VERSION} Imath-${_IlmBase_VERSION}
-     pthread dl z )
-   SET ( Field3D_DSO_Libraries ${Field3D_Libraries_Shared} )
-   SET ( Field3D_BIN_Libraries Field3D ${Field3D_Libraries_Shared}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/files/, media-libs/Field3D/
@ 2022-11-16  3:56 John Helmert III
  0 siblings, 0 replies; 3+ messages in thread
From: John Helmert III @ 2022-11-16  3:56 UTC (permalink / raw
  To: gentoo-commits

commit:     9d94aa2f823fc2ec729f46314ca0d75d557d9a8d
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Tue Nov 15 16:30:30 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 03:44:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d94aa2f

media-libs/Field3D: drop 1.7.2

Drop for needed dependency on media-libs/ilmbase

Closes: https://bugs.gentoo.org/878243
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28285
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 media-libs/Field3D/Field3D-1.7.2.ebuild            |  39 ------
 .../Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch  | 142 ---------------------
 2 files changed, 181 deletions(-)

diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
deleted file mode 100644
index 60cd9f8a5a4e..000000000000
--- a/media-libs/Field3D/Field3D-1.7.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-DESCRIPTION="A library for storing voxel data"
-HOMEPAGE="http://opensource.imageworks.com/?p=field3d"
-SRC_URI="https://github.com/imageworks/Field3D/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="mpi"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-	dev-libs/boost:=
-	>=media-libs/ilmbase-2.2.0:=
-	sci-libs/hdf5:=
-	mpi? ( virtual/mpi )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-Use-PkgConfig-for-IlmBase.patch" )
-
-src_configure() {
-	# Needed for now ("fix" compatibility with >=sci-libs/hdf5-1.12)
-	# bug #808731
-	append-cppflags -DH5_USE_110_API
-
-	local mycmakeargs=(
-		-DINSTALL_DOCS=OFF # Docs are not finished yet.
-		-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
-		$(cmake_use_find_package mpi MPI)
-	)
-	cmake_src_configure
-}

diff --git a/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch b/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch
deleted file mode 100644
index e967d20244c3..000000000000
--- a/media-libs/Field3D/files/Field3D-1.7.2-Use-PkgConfig-for-IlmBase.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From 5656d8dc657f4702c67fbabfab8922c80e0cf778 Mon Sep 17 00:00:00 2001
-From: Jonathan Scruggs <j.scruggs@gmail.com>
-Date: Sat, 23 Sep 2017 16:08:48 +0100
-Subject: [PATCH] Use PkgConfig for IlmBase
-
----
- CMakeLists.txt          | 15 +++++++-------
- cmake/FindILMBase.cmake | 54 -------------------------------------------------
- 2 files changed, 8 insertions(+), 61 deletions(-)
- delete mode 100644 cmake/FindILMBase.cmake
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e9ad44f..864f0d2 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -35,8 +35,9 @@ CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
- 
- PROJECT ( field3d )
- 
--set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake )
-+set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} )
- 
-+FIND_PACKAGE ( PkgConfig )
- FIND_PACKAGE (Doxygen)
- FIND_PACKAGE (HDF5)
- IF ( CMAKE_HOST_WIN32 )
-@@ -49,7 +50,7 @@ FIND_PACKAGE (Boost COMPONENTS regex thread program_options system)
- FIND_PACKAGE (MPI)
- ENDIF ()
- 
--FIND_PACKAGE (ILMBase)
-+PKG_CHECK_MODULES ( ILMBASE_LIBS REQUIRED IlmBase )
- 
- # Allow the developer to select if Dynamic or Static libraries are built
- OPTION (BUILD_SHARED_LIBS "Build Shared Libraries" ON)
-@@ -65,14 +66,14 @@ INCLUDE_DIRECTORIES ( . )
- INCLUDE_DIRECTORIES ( src )
- INCLUDE_DIRECTORIES ( export )
- INCLUDE_DIRECTORIES ( include )
--INCLUDE_DIRECTORIES ( ${ILMBASE_INCLUDE_DIRS} )
-+INCLUDE_DIRECTORIES ( SYSTEM ${ILMBASE_LIBS_INCLUDE_DIRS} )
- INCLUDE_DIRECTORIES ( ${HDF5_INCLUDE_DIRS} )
- INCLUDE_DIRECTORIES ( ${Boost_INCLUDE_DIR} )
- 
- # link directories
- LINK_DIRECTORIES ( ${Boost_LIBRARY_DIRS} )
- LINK_DIRECTORIES ( ${HDF5_LIBRARY_DIRS} )
--LINK_DIRECTORIES ( ${ILMBASE_LIBRARY_DIRS} )
-+LINK_DIRECTORIES ( ${ILMBASE_LIBS_LIBRARY_DIRS} )
- 
- IF ( CMAKE_HOST_UNIX )
-   ADD_DEFINITIONS ( -fPIC -DREQUIRE_IOSTREAM -Wno-invalid-offsetof )
-@@ -147,7 +148,7 @@ IF ( CMAKE_HOST_UNIX )
-              ${MPI_LIBRARIES} )
-   ENDIF ( MPI_FOUND )
-   LIST ( APPEND Field3D_Libraries_Shared
--    Iex Half IlmThread Imath
-+    ${ILMBASE_LIBS_LIBRARIES}
-     pthread dl z )
-   SET ( Field3D_DSO_Libraries ${Field3D_Libraries_Shared} )
-   SET ( Field3D_BIN_Libraries Field3D ${Field3D_Libraries_Shared}
-@@ -155,7 +156,7 @@ IF ( CMAKE_HOST_UNIX )
- ENDIF ( )
- IF ( CMAKE_HOST_WIN32 )
-   # Add OpenEXR and zlib release/debug
--  FOREACH ( lib Iex Half IlmThread Imath zdll )
-+  FOREACH ( lib ${ILMBASE_LIBS_LIBRARIES} zdll )
-     LIST ( APPEND Field3D_Libraries_Shared
-       optimized ${lib}
-       debug ${lib}_d )
-@@ -164,7 +165,7 @@ IF ( CMAKE_HOST_WIN32 )
-   SET ( Field3D_BIN_Libraries Field3D ${Boost_LIBRARIES} )
- ENDIF ()
- 
--TARGET_LINK_LIBRARIES ( Field3D ${Field3D_DSO_Libraries} ${Boost_LIBRARIES})
-+TARGET_LINK_LIBRARIES ( Field3D ${Field3D_DSO_Libraries} ${Boost_LIBRARIES} )
- 
- # Parase version and soversion from export/ns.h
- 
-diff --git a/cmake/FindILMBase.cmake b/cmake/FindILMBase.cmake
-deleted file mode 100644
-index c555100..0000000
---- a/cmake/FindILMBase.cmake
-+++ /dev/null
-@@ -1,54 +0,0 @@
--# Copyright (c) 2009 Sony Pictures Imageworks Inc. et al.
--# 
--# All rights reserved.
--# 
--# Redistribution and use in source and binary forms, with or without
--# modification, are permitted provided that the following conditions
--# are met:
--# 
--# Redistributions of source code must retain the above copyright
--# notice, this list of conditions and the following disclaimer.
--# Redistributions in binary form must reproduce the above copyright
--# notice, this list of conditions and the following disclaimer in the
--# documentation and/or other materials provided with the
--# distribution. Neither the name of Sony Pictures Imageworks nor the
--# names of its contributors may be used to endorse or promote
--# products derived from this software without specific prior written
--# permission.
--# 
--# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
--# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
--# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
--# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
--# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
--# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
--# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
--# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
--# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
--# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
--# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
--# OF THE POSSIBILITY OF SUCH DAMAGE.
--
--# Author : Nicholas Yue yue.nicholas@gmail.com
--
--# This module will define the following variables:
--#  ILMBASE_INCLUDE_DIRS - Location of the ilmbase includes
--#  ILMBASE_LIBRARIES - [TODO] Required libraries for all requested bindings
--#  ILMBASE_FOUND - true if ILMBASE was found on the system
--#  ILMBASE_LIBRARY_DIRS - the full set of library directories
--
--FIND_PATH ( Ilmbase_Base_Dir include/OpenEXR/IlmBaseConfig.h
--  ENV ILMBASE_ROOT
--  )
--
--IF ( Ilmbase_Base_Dir )
--
--  SET ( ILMBASE_INCLUDE_DIRS
--    ${Ilmbase_Base_Dir}/include
--    ${Ilmbase_Base_Dir}/include/OpenEXR
--    CACHE STRING "ILMBase include directories")
--  SET ( ILMBASE_LIBRARY_DIRS ${Ilmbase_Base_Dir}/lib
--    CACHE STRING "ILMBase library directories")
--  SET ( ILMBASE_FOUND TRUE )
--
--ENDIF ( Ilmbase_Base_Dir )
--- 
-2.14.1
-


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-16  3:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-23  8:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/files/, media-libs/Field3D/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2017-09-23 15:47 David Seifert
2022-11-16  3:56 John Helmert III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox