From e9503c0946fab6a5dba7f466e2ebde4236fe0464 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Thu, 30 Nov 2006 01:56:34 +0000 Subject: [PATCH] Treecleaned media-gfx/radiance for bug(s) 106158, 112675 --- media-gfx/radiance/ChangeLog | 26 ----- media-gfx/radiance/Manifest | 5 - media-gfx/radiance/files/digest-radiance-3.5 | 1 - .../radiance/files/radiance-3.5-noX11.patch | 95 ---------------- media-gfx/radiance/metadata.xml | 11 -- media-gfx/radiance/radiance-3.5.ebuild | 103 ------------------ 6 files changed, 241 deletions(-) delete mode 100644 media-gfx/radiance/ChangeLog delete mode 100644 media-gfx/radiance/Manifest delete mode 100644 media-gfx/radiance/files/digest-radiance-3.5 delete mode 100644 media-gfx/radiance/files/radiance-3.5-noX11.patch delete mode 100644 media-gfx/radiance/metadata.xml delete mode 100644 media-gfx/radiance/radiance-3.5.ebuild diff --git a/media-gfx/radiance/ChangeLog b/media-gfx/radiance/ChangeLog deleted file mode 100644 index 6453fe401909..000000000000 --- a/media-gfx/radiance/ChangeLog +++ /dev/null @@ -1,26 +0,0 @@ -# ChangeLog for media-gfx/radiance -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/radiance/ChangeLog,v 1.7 2005/06/03 16:20:42 lu_zero Exp $ - - 03 Jun 2005; Luca Barbato metadata.xml: - Metadata fix - - 27 Apr 2004; Aron Griffis radiance-3.5.ebuild: - Add inherit eutils - - 23 Mar 2004; Martin Holzer radiance-3.5.ebuild: - fixing depend qa issue. see 45343. - - 15 Dec 2003; Brandy Westcott brandy@gentoo.org radiance-3.5.ebuild: - Added app-shells/tcsh as a dependency. - - 15 Dec 2003; Brandy Westcott brandy@gentoo.org radiance-3.5.ebuild: - Added X USE flag and dev-lang/tk as a dependency. Added patch to enable - radiance to build without X. - -*radiance-3.5 (14 Dec 2003) - - 14 Dec 2003; Philip Walls . - Thanks also to James Harlow for an earlier - preliminary ebuild. Closes bug #20163 diff --git a/media-gfx/radiance/Manifest b/media-gfx/radiance/Manifest deleted file mode 100644 index 1fe64d5d1818..000000000000 --- a/media-gfx/radiance/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -MD5 fe5335e413aa2cea96686760caf00ad4 metadata.xml 1054 -MD5 b32b04dc48e3013d93e748f46a0cfa83 radiance-3.5.ebuild 2428 -MD5 da5989d0e3e99dbaf3dc37752078a2f5 ChangeLog 1064 -MD5 347f17131e4ad7db7b308e247e947de5 files/digest-radiance-3.5 59 -MD5 1d71271d9c1459ddba0d0e3cc8b454bd files/radiance-3.5-noX11.patch 3425 diff --git a/media-gfx/radiance/files/digest-radiance-3.5 b/media-gfx/radiance/files/digest-radiance-3.5 deleted file mode 100644 index d857ec827362..000000000000 --- a/media-gfx/radiance/files/digest-radiance-3.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 7b4eea2658704b08cbb775c071985bf0 rad3R5.tar.gz 7159679 diff --git a/media-gfx/radiance/files/radiance-3.5-noX11.patch b/media-gfx/radiance/files/radiance-3.5-noX11.patch deleted file mode 100644 index 1fa1573ea011..000000000000 --- a/media-gfx/radiance/files/radiance-3.5-noX11.patch +++ /dev/null @@ -1,95 +0,0 @@ -diff -ur ray.orig/src/hd/Rmakefile ray/src/hd/Rmakefile ---- ray.orig/src/hd/Rmakefile 2003-12-15 16:52:34.000000000 +1300 -+++ ray/src/hd/Rmakefile 2003-12-15 18:12:48.000000000 +1300 -@@ -24,7 +24,7 @@ - - all: $(PROGS) - --install: all $(DEVS) $(SPECIAL) -+install: all $(SPECIAL) - cp $(PROGS) $(INSTDIR) - - clean: -@@ -74,7 +74,7 @@ - rm -f $(DEVDIR)/x11h.hdi - ln $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi - --$(DEVDIR)/x11.hdi: rhdisp.o rhdisp2.o viewbeams.o rhd_x11.o rhd_qtree.o \ -+$(DEVDIR)/x11.hdi: rhdisp.o rhdisp2.o viewbeams.o rhd_qtree.o \ - rhd_qtree2r.o rhd_ctab.o holo.o - $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdi rhdisp.o rhdisp2.o viewbeams.o \ - rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o -lrt -lX11 -lm -diff -ur ray.orig/src/meta/Rmakefile ray/src/meta/Rmakefile ---- ray.orig/src/meta/Rmakefile 2003-12-15 16:52:35.000000000 +1300 -+++ ray/src/meta/Rmakefile 2003-12-15 18:02:14.000000000 +1300 -@@ -32,7 +32,7 @@ - - general: $(INSTDIR)/meta2tga $(INSTDIR)/pexpand $(INSTDIR)/psort \ - $(INSTDIR)/cv $(INSTDIR)/psmeta $(INSTDIR)/plotin \ --$(INSTDIR)/x11meta ../lib/libmeta.a $(INSTDIR)/bgraph $(INSTDIR)/igraph \ -+../lib/libmeta.a $(INSTDIR)/bgraph $(INSTDIR)/igraph \ - $(INSTDIR)/dgraph $(INSTDIR)/gcomp $(INSTDIR)/plot4 - - special: $(EXEC2)/mt160l $(EXEC2)/mt160 $(EXEC2)/mtext \ -diff -ur ray.orig/src/px/Rmakefile ray/src/px/Rmakefile ---- ray.orig/src/px/Rmakefile 2003-12-15 16:52:34.000000000 +1300 -+++ ray/src/px/Rmakefile 2003-12-15 16:56:41.000000000 +1300 -@@ -20,7 +20,7 @@ - - PROGS = pfilt ttyimage oki20c oki20 psign ra_tiff normtiff \ - pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_hexbit \ --ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ -+ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm \ - ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp - - all: $(PROGS) $(SPECIAL) -diff -ur ray.orig/src/rt/Rmakefile ray/src/rt/Rmakefile ---- ray.orig/src/rt/Rmakefile 2003-12-15 16:52:34.000000000 +1300 -+++ ray/src/rt/Rmakefile 2003-12-15 16:53:39.000000000 +1300 -@@ -34,11 +34,11 @@ - # - # Device drivers for rview (see also devtable.c): - # --DOBJS = devtable.o devcomm.o editline.o x11.o x11twind.o \ -+DOBJS = devtable.o devcomm.o editline.o \ - colortab.o --DSRC = devtable.c devcomm.c editline.c x11.c x11twind.c \ -+DSRC = devtable.c devcomm.c editline.c \ - colortab.c --DLIBS = -lX11 -+DLIBS = - - # - # Standard object files: -diff -ur ray.orig/src/rt/devtable.c ray/src/rt/devtable.c ---- ray.orig/src/rt/devtable.c 2003-12-15 16:52:34.000000000 +1300 -+++ ray/src/rt/devtable.c 2003-12-15 16:55:23.000000000 +1300 -@@ -11,13 +11,11 @@ - - #include "driver.h" - --char dev_default[] = "x11"; -- --extern struct driver *x11_init(); -+char dev_default[] = "sun"; - - struct device devtable[] = { /* supported devices */ - {"slave", "Slave driver", slave_init}, -- {"x11", "X11 color or greyscale display", x11_init}, -- {"x11d", "X11 display using stdin/stdout", x11_init}, -+ {"x11", "X11 color or greyscale display", comm_init}, -+ {"x11d", "X11 display using stdin/stdout", comm_init}, - {0} /* terminator */ - }; -diff -ur ray.orig/src/util/Rmakefile ray/src/util/Rmakefile ---- ray.orig/src/util/Rmakefile 2003-12-15 16:52:35.000000000 +1300 -+++ ray/src/util/Rmakefile 2003-12-15 16:57:16.000000000 +1300 -@@ -18,7 +18,7 @@ - LIBDIR = /usr/local/lib/ray - - PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ -- vwrays xglaresrc -+ vwrays - - all: $(PROGS) - diff --git a/media-gfx/radiance/metadata.xml b/media-gfx/radiance/metadata.xml deleted file mode 100644 index 41142de49e77..000000000000 --- a/media-gfx/radiance/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - graphics - - malverian@gentoo.org - Philip Walls - - Radiance is intended to aid lighting designers and architects by predicting the light levels and appearance of a space prior to construction. The package includes programs for modeling and translating scene geometry, luminaire data and material properties, all of which are needed as input to the simulation. The lighting simulation itself uses ray tracing techniques to compute radiance values (ie. the quantity of light passing through a specific point in a specific direction), which are typically arranged to form a photographic quality image. The resulting image may be analyzed, displayed and manipulated within the package, and converted to other popular image file formats for export to other packages, facilitating the production of hard copy output. - diff --git a/media-gfx/radiance/radiance-3.5.ebuild b/media-gfx/radiance/radiance-3.5.ebuild deleted file mode 100644 index 9d8d19ab9bf6..000000000000 --- a/media-gfx/radiance/radiance-3.5.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/radiance/radiance-3.5.ebuild,v 1.6 2004/06/24 22:48:55 agriffis Exp $ - -inherit eutils - -MY_P=${P/./R} -MY_P=${MY_P/radiance-/rad} - -IUSE="X" - -DESCRIPTION="Radiance is a suite of programs for the analysis and visualization of lighting in design" -HOMEPAGE="http://radsite.lbl.gov/radiance/" -SRC_URI="http://radsite.lbl.gov/${PN}/dist/$MY_P.tar.gz" - -LICENSE="Radiance" -SLOT="0" -KEYWORDS="~x86" - -DEPEND="media-libs/tiff - app-shells/tcsh - X? ( virtual/x11 dev-lang/tk )" - -src_unpack() { - unpack ${A} - cd ${WORKDIR}/ray - mkdir -p src/lib - - use X || epatch ${FILESDIR}/${P}-noX11.patch - - # patch to not build libtiff that comes with Radiance - cp src/px/Rmakefile src/px/Rmakefile.orig - sed -e "s/\.\.\/lib\/libtiff\.a$//g" \ - src/px/Rmakefile.orig > src/px/Rmakefile - - # fix syntax error in standard.h - cp src/common/standard.h src/common/standard.h.orig - sed -e "s/error(et,em) else$/error(et,em); else/g" \ - src/common/standard.h.orig > src/common/standard.h - - # fix incorrect use of errno.h - cp src/cal/ev.c src/cal/ev.c.orig - sed -e "s/extern int errno;/#include /g" \ - src/cal/ev.c.orig > src/cal/ev.c -} - -src_compile() { - mkdir -p ${T}/bin - mkdir -p ${T}/bin/dev - mkdir -p ${T}/lib/ray - - cd ${WORKDIR}/ray/src - local srcdirs="common meta cv gen ot rt px hd util cal" - for i in $srcdirs ; - do - pushd $i - make "SPECIAL=" \ - "OPT=$CFLAGS -DSPEED=200" \ - "MACH=-Dlinux -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO -DBIGMEM" \ - ARCH=IBMPC "COMPAT=bmalloc.o erf.o getpagesize.o" \ - INSTDIR=${T}/bin \ - LIBDIR=${T}/lib/ray \ - CC=gcc "$@" -f Rmakefile install || die "Unable to build $i" - popd - done - - # TODO: figure out what to do with the dev files - mv ${T}/bin/dev ${T}/dev - - rm -r ${WORKDIR}/ray/lib/CVS - rm -r ${T}/lib/ray/CVS - rm -r ${WORKDIR}/ray/doc/notes/CVS -} - -src_install() { - mkdir -p ${D}/usr/bin - mkdir -p ${D}/usr/lib/ray - - dobin ${T}/bin/* - - cp -R ${T}/lib/ray ${D}/usr/lib/ray - cd ${WORKDIR}/ray - (cd lib ; tar -cf - *) | (cd ${D}/usr/lib/ray ; tar -xf -) - - # man = /usr/share/man - cd ${WORKDIR}/ray - doman doc/man/man1/*.1 - doman doc/ray.1 - doman doc/man/man3/*.3 - doman doc/man/man5/*.5 - prepallman - - dodoc README - - docinto notes - dodoc doc/notes/* - - docinto pdf - dodoc doc/pdf/*.pdf - dodoc doc/ps/*.ps - dohtml doc/ray.html - prepalldocs -} -- 2.26.2