Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20163 - Request new ebuild: Radiance
Summary: Request new ebuild: Radiance
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Science Related Packages
URL: http://radsite.lbl.gov/radiance/HOME....
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-04-29 06:31 UTC by Pravan McGettigan
Modified: 2003-12-14 20:38 UTC (History)
3 users (show)

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


Attachments
Ebuild. (radiance-3.5.0.ebuild,1.40 KB, text/plain)
2003-09-24 19:21 UTC, James Harlow (RETIRED)
Details
Patches that the ebuild references. (patches.tar.gz,3.26 KB, application/x-gzip)
2003-09-24 19:24 UTC, James Harlow (RETIRED)
Details
The radiance licence. (license.txt,2.65 KB, text/plain)
2003-09-24 19:27 UTC, James Harlow (RETIRED)
Details
an alternate ebuild (radiance-3.5.ebuild,2.17 KB, text/plain)
2003-11-17 05:50 UTC, Derek Young
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pravan McGettigan 2003-04-29 06:31:53 UTC
 
Comment 1 Pravan McGettigan 2003-05-03 10:14:43 UTC
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.
Comment 2 Henti Smith 2003-06-19 06:20:39 UTC
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 
Comment 3 James Harlow (RETIRED) gentoo-dev 2003-09-24 19:21:28 UTC
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.
Comment 4 James Harlow (RETIRED) gentoo-dev 2003-09-24 19:24:31 UTC
Created attachment 18291 [details]
Patches that the ebuild references.
Comment 5 James Harlow (RETIRED) gentoo-dev 2003-09-24 19:27:43 UTC
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.
Comment 6 Derek Young 2003-11-17 05:50:14 UTC
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)
Comment 7 James Harlow (RETIRED) gentoo-dev 2003-11-21 12:10:23 UTC
Your is much better than mine was. :-)
Comment 8 Derek Young 2003-12-12 17:30:05 UTC
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..
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-12 17:50:27 UTC
Just out of curiosity, what distinguishes this from povray?

Graphics people, if you want to consider adding this, go ahead.
Comment 10 Denis Bourgeois 2003-12-13 18:00:35 UTC
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 ...
Comment 11 Philip Walls (RETIRED) gentoo-dev 2003-12-14 09:41:19 UTC
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.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2003-12-14 16:38:07 UTC
Philip, just use make instead of emake. It won't read make.conf's MAKEOPTS (or shouldn't anyway).
Comment 13 Brandy Westcott (RETIRED) gentoo-dev 2003-12-14 20:38:06 UTC
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.