pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/radiance Make this work on IRIX.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8479d6b09fa
branches: trunk
changeset: 489119:c8479d6b09fa
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Thu Feb 17 00:38:37 2005 +0000
description:
Make this work on IRIX.
diffstat:
graphics/radiance/Makefile | 11 +++++-
graphics/radiance/PLIST | 15 ++++++-
graphics/radiance/distinfo | 7 ++-
graphics/radiance/patches/patch-aa | 2 +-
graphics/radiance/patches/patch-ac | 2 +-
graphics/radiance/patches/patch-ae | 2 +-
graphics/radiance/patches/patch-ah | 74 +-------------------------------------
graphics/radiance/patches/patch-ai | 2 +-
graphics/radiance/patches/patch-al | 2 +-
graphics/radiance/patches/patch-am | 11 +-----
graphics/radiance/patches/patch-an | 2 +-
graphics/radiance/patches/patch-as | 13 ++++++
12 files changed, 48 insertions(+), 95 deletions(-)
diffs (292 lines):
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/Makefile
--- a/graphics/radiance/Makefile Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/Makefile Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+# $NetBSD: Makefile,v 1.3 2005/02/17 00:38:37 jschauma Exp $
#
DISTNAME= rad3R6P1
@@ -33,8 +33,13 @@
.if ${OPSYS} == "NetBSD"
PKGSRC_ARCH= 9
+PLIST_SUBST+= USE_GL="@comment "
.elif ${OPSYS} == "FreeBSD"
PKGSRC_ARCH= 8
+PLIST_SUBST+= USE_GL="@comment "
+.elif ${OPSYS} == "IRIX"
+PKGSRC_ARCH= 3
+PLIST_SUBST+= USE_GL=""
.endif
MAKE_ENV+= MV="${MV}" RM="${RM}" CP="${CP}" \
@@ -52,15 +57,19 @@
${WRKSRC}/${patchee} > ${WRKSRC}/${patchee}.tmp && \
${MV} ${WRKSRC}/${patchee}.tmp ${WRKSRC}/${patchee}
.endfor
+ ${RM} ${WRKSRC}/lib/.gdb_history
do-build:
cd ${WRKSRC} && ${MAKE_ENV} csh ./makeall install
+ @${RM} -f ${WRKSRC}/radiance/bin/wish*
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/radiance
cd ${WRKSRC}/radiance && ${PAX} -rw . ${PREFIX}/radiance/
${INSTALL_DATA_DIR} ${PREFIX}/radiance/obj
cd ${WRKSRC}/obj && ${PAX} -rw . ${PREFIX}/radiance/obj/
+ ${INSTALL_DATA_DIR} ${PREFIX}/radiance/lib
+ cd ${WRKSRC}/lib && ${PAX} -rw . ${PREFIX}/radiance/lib/
${INSTALL_DATA_DIR} ${PREFIX}/radiance/man
cd ${WRKSRC}/doc/man && ${PAX} -rw . ${PREFIX}/radiance/man/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiance
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/PLIST
--- a/graphics/radiance/PLIST Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/PLIST Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/02/17 00:38:37 jschauma Exp $
radiance/bin/arch2rad
radiance/bin/bgraph
radiance/bin/cnt
@@ -26,6 +26,7 @@
radiance/bin/glare
radiance/bin/glarendx
radiance/bin/glaze
+${USE_GL}radiance/bin/glrad
radiance/bin/histo
radiance/bin/icalc
radiance/bin/ies2rad
@@ -122,6 +123,16 @@
radiance/bin/ximage
radiance/bin/xshowtrace
radiance/bin/xyzimage
+${USE_GL}radiance/dev/glx1.hdi
+${USE_GL}radiance/dev/glx1h.hdi
+${USE_GL}radiance/dev/ogl.hdi
+${USE_GL}radiance/dev/oglh.hdi
+${USE_GL}radiance/dev/oglo.hdi
+${USE_GL}radiance/dev/ogloh.hdi
+${USE_GL}radiance/dev/ogls.hdi
+${USE_GL}radiance/dev/oglsh.hdi
+${USE_GL}radiance/dev/oglso.hdi
+${USE_GL}radiance/dev/oglsoh.hdi
radiance/dev/x11.hdi
radiance/dev/x11h.hdi
radiance/lib/Earth.cal
@@ -709,8 +720,8 @@
@dirrm radiance/lib/source/zumtobel
@dirrm radiance/lib/source
@dirrm radiance/lib/meta
+@dirrm radiance/lib/tcl
@dirrm radiance/lib/lib
-@dirrm radiance/lib/tcl
@dirrm radiance/lib
@dirrm radiance/obj/alpha
@dirrm radiance/obj/cabin/anim1
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/distinfo
--- a/graphics/radiance/distinfo Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/distinfo Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: distinfo,v 1.3 2005/02/17 00:38:37 jschauma Exp $
SHA1 (rad3R6P1.tar.gz) = 71f46abd1c30be282a93237fa0c162d3bf0b1f99
Size (rad3R6P1.tar.gz) = 7115997 bytes
@@ -11,14 +11,15 @@
SHA1 (patch-ae) = eaeba41315973013676bf400e5acff29ff61946a
SHA1 (patch-af) = 9a4c265a18a138166c8a041730cd5818430f9186
SHA1 (patch-ag) = e7f8944d96aa51ce8dfdec5abb6d498c3ca193cc
-SHA1 (patch-ah) = a33746e1daae8f7dc6efabb1d73f85eecafb5152
+SHA1 (patch-ah) = be320a6b9b8b6b2153a31ea9218eb7d41aa43b0e
SHA1 (patch-ai) = 02c6c3109c8e425d394980e1d223169dd6a3e7ae
SHA1 (patch-aj) = 5242f18c523bbebcfdd886fa20501434f07b74c0
SHA1 (patch-ak) = 438bd7e9ad397663ddac09543ac484610b13086b
SHA1 (patch-al) = c215a209fccd3d1d2e64d09018bce87291efc880
-SHA1 (patch-am) = bf4a456d905fbd5c9a9cabd3c32b1bb1c6c26620
+SHA1 (patch-am) = 705a3f62c5688f593fd5c5a1a71b22e4652b1c77
SHA1 (patch-an) = d0c388a5aaea622b220e3ef4c0f52956ecca5470
SHA1 (patch-ao) = 22e3e8f3b593bca0423390f696324f42e8b52098
SHA1 (patch-ap) = 42bb1691b2c1d76bf5d19872d70ca50332d31987
SHA1 (patch-aq) = 338ca0df287e797fbc784158e7d622f70ddcd35e
SHA1 (patch-ar) = e2afaad398d61f152ce9a7f3ddf451547c359e13
+SHA1 (patch-as) = 9b7c6bef44a4f9640b7a30253522ffab425ffbac
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-aa
--- a/graphics/radiance/patches/patch-aa Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-aa Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: patch-aa,v 1.3 2005/02/17 00:38:37 jschauma Exp $
Make this script run non-interactively.
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-ac
--- a/graphics/radiance/patches/patch-ac Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-ac Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: patch-ac,v 1.3 2005/02/17 00:38:37 jschauma Exp $
Make this script run non-interactively.
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-ae
--- a/graphics/radiance/patches/patch-ae Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-ae Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: patch-ae,v 1.3 2005/02/17 00:38:37 jschauma Exp $
--- src/common/Rmakefile.orig 2004-10-27 19:36:09.000000000 -0400
+++ src/common/Rmakefile 2005-02-16 18:10:50.000000000 -0500
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-ah
--- a/graphics/radiance/patches/patch-ah Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-ah Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ah,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $
+$NetBSD: patch-ah,v 1.2 2005/02/17 00:38:37 jschauma Exp $
--- src/hd/Rmakefile.orig 2004-10-27 19:23:47.000000000 -0400
+++ src/hd/Rmakefile 2005-02-15 17:24:20.000000000 -0500
@@ -23,75 +23,3 @@
PROGS = rholo rhpict rhcopy genrhgrid rhoptimize rhinfo
-@@ -119,7 +117,7 @@
- rhd_qtree.o rhd_qtree2c.o holo.o
- rm -f $(DEVDIR)/glx1.hdi
- $(CC) $(CFLAGS) -o $(DEVDIR)/glx1.hdi rhd_glx1.o rhdisp.o rhdisp2.o \
--viewbeams.o holo.o rhd_qtree.o rhd_qtree2c.o -lrt -lGLU -lGL -lX11 -lm
-+viewbeams.o holo.o rhd_qtree.o rhd_qtree2c.o -lrt -lX11 -lm
-
- $(DEVDIR)/glx.hdi: rhd_glx0.o rhdisp.o rhdisp2.o viewbeams.o \
- sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
-@@ -127,7 +125,7 @@
- rm -f $(DEVDIR)/glx.hdi
- $(CC) $(CFLAGS) -o $(DEVDIR)/glx.hdi rhd_glx0.o rhdisp.o rhdisp2.o \
- viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
--sm_ogl.o sm.o sm_usets.o -lrt -lGLU -lGL -lX11 -lm
-+sm_ogl.o sm.o sm_usets.o -lrt -lX11 -lm
-
- $(DEVDIR)/glxo.hdi: rhd_glxo.o rhdisp.o rhdisp2.o viewbeams.o \
- sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
-@@ -135,7 +133,7 @@
- rm -f $(DEVDIR)/glxo.hdi
- $(CC) $(CFLAGS) -o $(DEVDIR)/glxo.hdi rhd_glxo.o rhdisp.o rhdisp2.o \
- viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
--sm_ogl.o sm_usets.o sm.o rhdobj.o -lrgl -lrt -lGLU -lGL -lX11 -lm
-+sm_ogl.o sm_usets.o sm.o rhdobj.o -lrgl -lrt -lX11 -lm
-
- $(DEVDIR)/glxs.hdi: rhd_glxs.o rhdisp.o rhdisp2.o viewbeams.o \
- sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
-@@ -143,7 +141,7 @@
- rm -f $(DEVDIR)/glxs.hdi
- $(CC) $(CFLAGS) -o $(DEVDIR)/glxs.hdi rhd_glxs.o rhdisp.o rhdisp2.o \
- viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
--sm_ogl.o sm_usets.o sm.o -lrt -lGLU -lGL -lX11 -lXext -lm
-+sm_ogl.o sm_usets.o sm.o -lrt -lX11 -lXext -lm
-
- $(DEVDIR)/glxso.hdi: rhd_glxso.o rhdisp.o rhdisp2.o viewbeams.o \
- sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
-@@ -152,30 +150,30 @@
- $(CC) $(CFLAGS) -o $(DEVDIR)/glxso.hdi rhd_glxso.o rhdisp.o rhdisp2.o \
- viewbeams.o holo.o sm_samp.o sm_qtree.o sm_stree.o sm_geom.o sm_list.o sm_del.o \
- sm_ogl.o sm_usets.o sm.o rhdobj.o \
---lrgl -lrt -lGLU -lGL -lX11 -lXext -lm
-+-lrgl -lrt -lX11 -lXext -lm
-
- $(DEVDIR)/ogl.hdi: rhd_ogl0.o rhdisp.o rhdisp2.o viewbeams.o \
- rhd_odraw.o rhd_geom.o holo.o
- $(CC) $(CFLAGS) -o $(DEVDIR)/ogl.hdi rhd_ogl0.o rhdisp.o rhdisp2.o \
--viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrt -lGLU -lGL -lX11 -lm
-+viewbeams.o holo.o rhd_odraw.o rhd_geom.o -lrgl -lrt -lX11 -lm
-
- $(DEVDIR)/oglo.hdi: rhd_oglo.o rhdisp.o rhdisp2.o viewbeams.o \
- rhd_odraw.o rhd_geom.o holo.o rhdobj.o
- $(CC) $(CFLAGS) -o $(DEVDIR)/oglo.hdi rhd_oglo.o rhdisp.o \
- rhdisp2.o viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
---lrgl -lrt -lGLU -lGL -lX11 -lm
-+-lrgl -lrt -lX11 -lm
-
- $(DEVDIR)/ogls.hdi: rhd_ogls.o rhdisp.o rhdisp2.o viewbeams.o \
- rhd_odraw.o rhd_geom.o holo.o
- $(CC) $(CFLAGS) -o $(DEVDIR)/ogls.hdi rhd_ogls.o rhdisp.o rhdisp2.o \
- viewbeams.o holo.o rhd_odraw.o rhd_geom.o \
---lrgl -lrt -lGLU -lGL -lX11 -lXext -lm
-+-lrgl -lrt -lX11 -lXext -lm
-
- $(DEVDIR)/oglso.hdi: rhd_oglso.o rhdisp.o rhdisp2.o viewbeams.o \
- rhd_odraw.o rhd_geom.o holo.o rhdobj.o
- $(CC) $(CFLAGS) -o $(DEVDIR)/oglso.hdi rhd_oglso.o rhdisp.o rhdisp2.o \
- viewbeams.o holo.o rhd_odraw.o rhd_geom.o rhdobj.o \
---lrgl -lrt -lGLU -lGL -lX11 -lXext -lm
-+-lrgl -lrt -lX11 -lXext -lm
-
- rhd_glx0.o: rhd_glx.c
- $(CC) $(CFLAGS) -c rhd_glx.c
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-ai
--- a/graphics/radiance/patches/patch-ai Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-ai Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: patch-ai,v 1.3 2005/02/17 00:38:37 jschauma Exp $
--- src/meta/Rmakefile.orig 2003-10-21 22:15:07.000000000 -0400
+++ src/meta/Rmakefile 2005-02-16 18:10:01.000000000 -0500
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-al
--- a/graphics/radiance/patches/patch-al Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-al Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-al,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: patch-al,v 1.3 2005/02/17 00:38:37 jschauma Exp $
--- src/rt/Rmakefile.orig 2004-10-27 19:23:48.000000000 -0400
+++ src/rt/Rmakefile 2005-02-16 18:10:40.000000000 -0500
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-am
--- a/graphics/radiance/patches/patch-am Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-am Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-am,v 1.1.1.1 2005/02/16 22:17:34 jschauma Exp $
+$NetBSD: patch-am,v 1.2 2005/02/17 00:38:37 jschauma Exp $
--- src/util/Rmakefile.orig 2004-10-27 19:23:48.000000000 -0400
+++ src/util/Rmakefile 2005-02-15 17:23:01.000000000 -0500
@@ -21,12 +21,3 @@
PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
vwrays xglaresrc
-@@ -96,7 +94,7 @@
- $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
-
- glrad: glrad.o
-- $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
-+ $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt \
- -lX11 -lXext -lm
-
- contour: contour.o
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-an
--- a/graphics/radiance/patches/patch-an Wed Feb 16 23:58:29 2005 +0000
+++ b/graphics/radiance/patches/patch-an Thu Feb 17 00:38:37 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-an,v 1.2 2005/02/16 23:20:24 jschauma Exp $
+$NetBSD: patch-an,v 1.3 2005/02/17 00:38:37 jschauma Exp $
--- src/cv/mgflib/Makefile.orig 2003-06-06 15:38:57.000000000 -0400
+++ src/cv/mgflib/Makefile 2005-02-16 18:10:56.000000000 -0500
diff -r e660226008ee -r c8479d6b09fa graphics/radiance/patches/patch-as
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/radiance/patches/patch-as Thu Feb 17 00:38:37 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2005/02/17 00:38:37 jschauma Exp $
+
+--- ./src/hd/rhd_ogl.c.orig Wed Feb 16 18:41:22 2005
++++ ./src/hd/rhd_ogl.c Wed Feb 16 18:42:11 2005
+@@ -321,6 +321,8 @@
+ register VIEW *nv
+ )
+ {
++ double d;
++
+ if (nv->type != VT_PER || /* check view legality */
+ nv->horiz > 160. || nv->vert > 160.) {
+ error(COMMAND, "illegal view type/angle");
Home |
Main Index |
Thread Index |
Old Index