Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573440 - media-libs/field3d-1.7.2 - A library for storing voxel data on disk and in memory
Summary: media-libs/field3d-1.7.2 - A library for storing voxel data on disk and in me...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 596268
  Show dependency tree
 
Reported: 2016-01-31 09:24 UTC by Dennis Schridde
Modified: 2019-05-21 21:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
field3d-1.6.1.ebuild (field3d-1.6.1.ebuild,980 bytes, text/plain)
2016-01-31 09:24 UTC, Dennis Schridde
Details
field3d-1.6.1.ebuild (field3d-1.6.1.ebuild,996 bytes, text/plain)
2016-01-31 09:29 UTC, Dennis Schridde
Details
field3d-1.7.2.ebuild (field3d-1.7.2.ebuild,995 bytes, text/plain)
2017-04-29 11:11 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-01-31 09:24:30 UTC
Created attachment 424272 [details]
field3d-1.6.1.ebuild

Please find an ebuild for Field3D attached. It can be used by e.g. OpenImageIO, whose ebuild currently contains this line:
-DUSE_FIELD3D=OFF # missing in Portage

Instead of patching CMakeLists.txt, upstream should probably be asked to include a switch to enable/disable MPI support and documentation generation.
Comment 1 Dennis Schridde 2016-01-31 09:29:09 UTC
Created attachment 424280 [details]
field3d-1.6.1.ebuild

I previously forgot the dependency on CMake.
Comment 2 Dennis Schridde 2016-01-31 09:37:37 UTC
Please note that the license is unknown to me, which is why I left the LICENSE field in the ebuild empty.

https://github.com/imageworks/Field3D/blob/master/COPYING
Comment 3 Dennis Schridde 2017-04-29 11:11:11 UTC
Created attachment 471270 [details]
field3d-1.7.2.ebuild

Version bump to 1.7.2 and support for sub-slots / ABI versioning.
Comment 4 Jonathan Scruggs (RETIRED) gentoo-dev 2017-09-23 16:12:00 UTC
Field3D is in portage now:
https://github.com/gentoo/gentoo/blob/master/media-libs/Field3D/Field3D-1.7.2.ebuild

Soon,the OpenImageIO ebuilds will be updated to use this and also the 1.7.x series will finally be in portage. :) First, I need the OpenEXR ebuilds approved as they fix support for oiio.
Comment 5 Dennis Schridde 2017-09-23 16:50:21 UTC
I suggest to add IUSE=mpi and strip the MPI support from CMakeLists.txt if it is not set: sed -r '/FIND_PACKAGE\s*\(\s*MPI\s*\)/d' -i CMakeLists.txt

MPI support in field3d is optional, but there is not yet a flag to switch it of if the libraries are found.
Comment 6 Dennis Schridde 2017-09-23 17:05:12 UTC
P.S. Same goes for IUSE=doc and DEPEND=app-doc/doxygen.
Comment 7 Larry the Git Cow gentoo-dev 2019-05-21 21:55:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec025cfb18c105c97dbeac18b7eb1ef5112fab1

commit 2ec025cfb18c105c97dbeac18b7eb1ef5112fab1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-05-21 21:48:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-05-21 21:55:04 +0000

    media-libs/Field3D: EAPI-7 bump, USE mpi, add proper src_configure()
    
    Properly disabling Doxygen (don't even build it if it ain't finished).
    
    Closes: https://bugs.gentoo.org/573440
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/Field3D/Field3D-1.7.2.ebuild | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)