Introduction snippet: RADIANCE was developed as a research tool for predicting the distribution of visible radiation in illuminated spaces. It takes as input a three-dimensional geometric model of the physical environment, and produces a map of spectral radiance values in a color image. The technique of ray-tracing follows light backwards from the image plane to the source(s). Because it can produce realistic images from a simple description, RADIANCE has a wide range of applications in graphic arts, lighting design, computer-aided engineering and architecture.
Started working on the ebuild. First thing to mention is the licence. It uses it's own OSS licence .. not sure it it's "certified" go read http://radsite.lbl.gov/radiance/misc/license.txt Comments from developers ? Henti
Created attachment 18290 [details] Ebuild. Here's a first-pass ebuild. It does a couple of things wrong - all the compilation is in the src_install stage, because of an odd top-level makelike script, but it installs and runs fine.
Created attachment 18291 [details] Patches that the ebuild references.
Created attachment 18292 [details] The radiance licence. This is the licence that radiance is distributed under. It's a modified version of the BSD licence, as far as I can tell, but I'm sure someone more knowledgeable than me should check it out. I've deliberately left the LICENCE key of the ebuild null so that this has to be done. I'm quite happy to transfer my copyright of the ebuild to Gentoo Technologies, Inc.
Created attachment 20856 [details] an alternate ebuild I also worked on an ebuild, not realizing one had already been started. Mine works a little differently so I decided to attach it if anyone is interested. Differences: - It doesn't build the outdated libtiff included with radiance: it depends on media-libs/tiff and links to that. - uses user's CFLAGS from make.conf. - It patches the the code using sed instead of patch. - It compiles in src_compile by faking an "install" into a subdirectory of ${T}. - installs a few additional doc files (notes)
Your is much better than mine was. :-)
Maybe this ebuild should be assigned to graphics@gentoo.org? I think it's really more of a graphics package. Also, I'm kind of surprised this bug is still marked NEW and that it hasn't gone into portage (masked) since an ebuild was submitted back in September..
Just out of curiosity, what distinguishes this from povray? Graphics people, if you want to consider adding this, go ahead.
I'll add my two-cents worth ... Radiance may be used for numerous tasks, but a fair number of Radiance users are in the building design fields (e.g., building designers, scientists, building-design-tool-developers, etc.). Radiance is essentially THE benchmark tool for lighting assessment, daylighting in particular. Maybe Greg Ward (i.e., the main author of Radiance) should add his thoughts ...
I have a feeling this is going to turn up later, the compilation doesn't seem to go through very well when using multiple jobs. So I'm going to go ahead and add MAKEOPTS="" to the ebuild and commit. Thanks to everyone involved and for being so patient.
Philip, just use make instead of emake. It won't read make.conf's MAKEOPTS (or shouldn't anyway).
Thanks spyderous. I've also added the X USE flag along with dev-lang/tk as a dependency. With a little patching radiance now builds without xfree installed.