Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 17:19:37 +0400 (MSD)
From:      Igor Pokrovsky <tiamat@telegraph.spb.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40366: New port: graphics/openrm OpenGL based library 
Message-ID:  <200207081319.g68DJbvR031123@doom.homeunix.org>

next in thread | raw e-mail | index | archive | help

>Number:         40366
>Category:       ports
>Synopsis:       New port: graphics/openrm OpenGL based library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 08 21:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
MGO 
>Environment:
System: FreeBSD doom.homeunix.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 6 08:05:30 MSD 2002 root@doom.homeunix.org:/usr/src/sys/compile/KERNEL i386


	
>Description:
OpenRM Scene Graph is set of tools and utilities that implement a
high performance, flexible and extendible scene graph API. Underneath
OpenRM, OpenGL(tm) is used as the graphics platform for rendering,
so OpenRM is highly portable and can deliver blazing rendering speeds.
OpenRM can be used on any platform that has OpenGL.
	
>How-To-Repeat:
	
>Fix:

	

--- openrm.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openrm
#	openrm/Makefile
#	openrm/pkg-comment
#	openrm/pkg-descr
#	openrm/pkg-plist
#	openrm/distinfo
#	openrm/files
#	openrm/files/patch-make.cfg
#	openrm/files/patch-bin-mklib.linux
#	openrm/files/patch-rm-rminit.c
#
echo c - openrm
mkdir -p openrm > /dev/null 2>&1
echo x - openrm/Makefile
sed 's/^X//' >openrm/Makefile << 'END-of-openrm/Makefile'
X# New ports collection makefile for:	openrm
X# Date created:		8 July 2002
X# Whom:			Igor Pokrovsky <tiamat@telegraph.spb.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		openrm
XPORTVERSION=		1.4.2
XCATEGORIES=		graphics
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=		${PORTNAME}-devel-${PORTVERSION}
XEXTRACT_SUFX=		.tgz
X.ifdef (WITH_DEMOS)
XDISTFILES=		${PORTNAME}-devel-${PORTVERSION}${EXTRACT_SUFX} \
X			${PORTNAME}-demo-${PORTVERSION}${EXTRACT_SUFX}
X.endif
X
XMAINTAINER=	tiamat@telegraph.spb.ru
X
XLIB_DEPENDS=    jpeg.9:${PORTSDIR}/graphics/jpeg
X
XWRKSRC=		${WRKDIR}/rm142
X.ifdef (WITH_DEMOS)
XWRKSRC2=	${WRKDIR}/rmdemo
X.endif
X
XUSE_X_PREFIX=	yes
XUSE_MESA=	yes
XALL_TARGET=	linux docs
XINSTALLS_SHLIB=	yes
X
X.if !defined(WITH_DEMOS)
XPLIST_SUB=	WITH_DEMOS="@comment "
X.else
XPLIST_SUB=	WITH_DEMOS=""
X.endif
X
X.ifndef (WITH_DEMOS)
Xpre-everything:
X	@${ECHO} "You can define WITH_DEMOS=yes to fetch and install available demos"
X.endif
X
Xdo-install:
X# install libraries
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/librm.so.1 ${PREFIX}/lib
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/librmaux.so.1 ${PREFIX}/lib
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/librmi.so.1 ${PREFIX}/lib
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/librmv.so.1 ${PREFIX}/lib
X	${LN} -fs ${PREFIX}/lib/librm.so.1 ${PREFIX}/lib/librm.so
X	${LN} -fs ${PREFIX}/lib/librmaux.so.1 ${PREFIX}/lib/librmaux.so
X	${LN} -fs ${PREFIX}/lib/librmi.so.1 ${PREFIX}/lib/librmi.so
X	${LN} -fs ${PREFIX}/lib/librmv.so.1 ${PREFIX}/lib/librmv.so
X	${INSTALL_DATA} ${WRKSRC}/lib/librm.a ${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/lib/librmaux.a ${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/lib/librmi.a ${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/lib/librmv.a ${PREFIX}/lib
X
X# install includes
X	${INSTALL_DATA} ${WRKSRC}/include/rm.h ${PREFIX}/include
X	@${MKDIR} ${PREFIX}/include/rm
X	${INSTALL_DATA} ${WRKSRC}/include/rm/*.h ${PREFIX}/include/rm
X	@${MKDIR} ${PREFIX}/include/rmaux
X	${INSTALL_DATA} ${WRKSRC}/include/rmaux/*.h ${PREFIX}/include/rmaux
X	@${MKDIR} ${PREFIX}/include/rmi
X	${INSTALL_DATA} ${WRKSRC}/include/rmi/*.h ${PREFIX}/include/rmi
X	@${MKDIR} ${PREFIX}/include/rmv
X	${INSTALL_DATA} ${WRKSRC}/include/rmv/*.h ${PREFIX}/include/rmv
X
X.ifdef (WITH_DEMOS)
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC2}/README ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC2}/configure ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC2}/makeinclude ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC2}/Makefile.x11 ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC2}/*.c ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC2}/*.h ${EXAMPLESDIR}
X	@${MKDIR} ${EXAMPLESDIR}/data
X	${INSTALL_DATA} ${WRKSRC2}/data/* ${EXAMPLESDIR}/data
X.endif
X
X.ifndef (NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/FUTUREPLANS ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/RELEASENOTES ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/HTML/*.html ${DOCSDIR}
X	@${MKDIR} ${DOCSDIR}/images
X	${INSTALL_DATA} ${WRKSRC}/doc/HTML/images/* ${DOCSDIR}/images
X.endif
X
X.include <bsd.port.mk>
END-of-openrm/Makefile
echo x - openrm/pkg-comment
sed 's/^X//' >openrm/pkg-comment << 'END-of-openrm/pkg-comment'
XDevelopment environment used to build 2D/3D/stereo graphics
END-of-openrm/pkg-comment
echo x - openrm/pkg-descr
sed 's/^X//' >openrm/pkg-descr << 'END-of-openrm/pkg-descr'
XOpenRM Scene Graph is set of tools and utilities that implement a
Xhigh performance, flexible and extendible scene graph API. Underneath
XOpenRM, OpenGL(tm) is used as the graphics platform for rendering,
Xso OpenRM is highly portable and can deliver blazing rendering speeds.
XOpenRM can be used on any platform that has OpenGL, and has been
Xbuilt and tested on:
X   x86 Linux (s/w via Mesa, h/w using vendor drivers, e.g., nVidia)
X   Irix
X   Solaris
X   Win32 (95/98/NT/2K/ME).
X
XOpenRM is a derivative work of RM Scene Graph (tm), a commercial
Xscene graph product from R3vis Corporation. Late in 1999, R3vis announced
Xthe release of OpenRM into the Open Source community, with the
XOpenRM debut occuring on 1 March 2000. R3vis continues to maintain
Xand develop RM Scene Graph, which contains additional features not
Xpresent in OpenRM.
X
XWWW:	http://openrm.sourceforge.net
X
X- Igor Pokrovsky
Xtiamat@telegraph.spb.ru
END-of-openrm/pkg-descr
echo x - openrm/pkg-plist
sed 's/^X//' >openrm/pkg-plist << 'END-of-openrm/pkg-plist'
Xinclude/rm/rmcmpmgr.h
Xinclude/rm/rmdeflts.h
Xinclude/rm/rmdefs.h
Xinclude/rm/rmpipe.h
Xinclude/rm/rmpublic.h
Xinclude/rm/rmthread.h
Xinclude/rm/rmtypes.h
Xinclude/rm/rmvmap.h
Xinclude/rm/rmw.h
Xinclude/rm/rmx.h
X@dirrm include/rm
Xinclude/rmaux/rmaux.h
X@dirrm include/rmaux
Xinclude/rmi/rmi.h
Xinclude/rmi/rmjpeg.h
Xinclude/rmi/rmppm.h
X@dirrm include/rmi
Xinclude/rmv/rmv.h
Xinclude/rmv/rmvdefs.h
Xinclude/rmv/rmvpub.h
X@dirrm include/rmv
Xinclude/rm.h
Xlib/librm.so
Xlib/librmaux.so
Xlib/librmi.so
Xlib/librmv.so
Xlib/librm.so.1
Xlib/librmaux.so.1
Xlib/librmi.so.1
Xlib/librmv.so.1
Xlib/librm.a
Xlib/librmaux.a
Xlib/librmi.a
Xlib/librmv.a
X%%WITH_DEMOS%%share/examples/openrm/data/1a30.pdb
X%%WITH_DEMOS%%share/examples/openrm/data/README
X%%WITH_DEMOS%%share/examples/openrm/data/back.x
X%%WITH_DEMOS%%share/examples/openrm/data/bigsky.x
X%%WITH_DEMOS%%share/examples/openrm/data/clouds.x
X%%WITH_DEMOS%%share/examples/openrm/data/cos-yoffset.dio
X%%WITH_DEMOS%%share/examples/openrm/data/cos.dio
X%%WITH_DEMOS%%share/examples/openrm/data/doghead.jpg
X%%WITH_DEMOS%%share/examples/openrm/data/doghead.x
X%%WITH_DEMOS%%share/examples/openrm/data/elev.dio
X%%WITH_DEMOS%%share/examples/openrm/data/elevData.txt
X%%WITH_DEMOS%%share/examples/openrm/data/floor.x
X%%WITH_DEMOS%%share/examples/openrm/data/front.x
X%%WITH_DEMOS%%share/examples/openrm/data/func10-xoffset.dio
X%%WITH_DEMOS%%share/examples/openrm/data/func10-yoffset.dio
X%%WITH_DEMOS%%share/examples/openrm/data/func10.dio
X%%WITH_DEMOS%%share/examples/openrm/data/greenpaper.x
X%%WITH_DEMOS%%share/examples/openrm/data/left.x
X%%WITH_DEMOS%%share/examples/openrm/data/op.small.x
X%%WITH_DEMOS%%share/examples/openrm/data/orangegrid.x
X%%WITH_DEMOS%%share/examples/openrm/data/right.x
X%%WITH_DEMOS%%share/examples/openrm/data/topo256.dio
X%%WITH_DEMOS%%share/examples/openrm/data/volume.dat
X%%WITH_DEMOS%%share/examples/openrm/data/volume.dio
X%%WITH_DEMOS%%share/examples/openrm/data/waves.dio
X%%WITH_DEMOS%%share/examples/openrm/data/wu.x
X%%WITH_DEMOS%%@dirrm share/examples/openrm/data
X%%WITH_DEMOS%%share/examples/openrm/Makefile.x11
X%%WITH_DEMOS%%share/examples/openrm/README
X%%WITH_DEMOS%%share/examples/openrm/barrier.c
X%%WITH_DEMOS%%share/examples/openrm/barrier.h
X%%WITH_DEMOS%%share/examples/openrm/clipper.c
X%%WITH_DEMOS%%share/examples/openrm/clrball.c
X%%WITH_DEMOS%%share/examples/openrm/cones.c
X%%WITH_DEMOS%%share/examples/openrm/configure
X%%WITH_DEMOS%%share/examples/openrm/dyntmap.c
X%%WITH_DEMOS%%share/examples/openrm/elev-2vu.c
X%%WITH_DEMOS%%share/examples/openrm/elev.c
X%%WITH_DEMOS%%share/examples/openrm/elevImage.c
X%%WITH_DEMOS%%share/examples/openrm/fogtest.c
X%%WITH_DEMOS%%share/examples/openrm/glxinfo.c
X%%WITH_DEMOS%%share/examples/openrm/imgMirror.c
X%%WITH_DEMOS%%share/examples/openrm/isodrv-mt.c
X%%WITH_DEMOS%%share/examples/openrm/isodrv.c
X%%WITH_DEMOS%%share/examples/openrm/jack.c
X%%WITH_DEMOS%%share/examples/openrm/jballs.c
X%%WITH_DEMOS%%share/examples/openrm/keyfunc.c
X%%WITH_DEMOS%%share/examples/openrm/libdio.c
X%%WITH_DEMOS%%share/examples/openrm/libdio.h
X%%WITH_DEMOS%%share/examples/openrm/lines2d.c
X%%WITH_DEMOS%%share/examples/openrm/makeinclude
X%%WITH_DEMOS%%share/examples/openrm/markers2d.c
X%%WITH_DEMOS%%share/examples/openrm/offscreen.c
X%%WITH_DEMOS%%share/examples/openrm/pdb.c
X%%WITH_DEMOS%%share/examples/openrm/pdbwork.c
X%%WITH_DEMOS%%share/examples/openrm/pickListTest.c
X%%WITH_DEMOS%%share/examples/openrm/pickTest.c
X%%WITH_DEMOS%%share/examples/openrm/pntcld.c
X%%WITH_DEMOS%%share/examples/openrm/procmode.h
X%%WITH_DEMOS%%share/examples/openrm/rm2screen.c
X%%WITH_DEMOS%%share/examples/openrm/skeleton.c
X%%WITH_DEMOS%%share/examples/openrm/spotlight.c
X%%WITH_DEMOS%%share/examples/openrm/switchtest.c
X%%WITH_DEMOS%%share/examples/openrm/tcube.c
X%%WITH_DEMOS%%share/examples/openrm/text2d.c
X%%WITH_DEMOS%%share/examples/openrm/tfly.c
X%%WITH_DEMOS%%share/examples/openrm/tmap2d.c
X%%WITH_DEMOS%%share/examples/openrm/trans2d.c
X%%WITH_DEMOS%%share/examples/openrm/vector3d.c
X%%WITH_DEMOS%%share/examples/openrm/vis2d.c
X%%WITH_DEMOS%%share/examples/openrm/vis3d.c
X%%WITH_DEMOS%%share/examples/openrm/vrend.c
X%%WITH_DEMOS%%share/examples/openrm/vslicer.c
X%%WITH_DEMOS%%@dirrm share/examples/openrm
X%%PORTDOCS%%share/doc/openrm/FUTUREPLANS
X%%PORTDOCS%%share/doc/openrm/README
X%%PORTDOCS%%share/doc/openrm/RELEASENOTES
X%%PORTDOCS%%share/doc/openrm/images/ormsg.gif
X%%PORTDOCS%%@dirrm share/doc/openrm/images
X%%PORTDOCS%%share/doc/openrm/index.html
X%%PORTDOCS%%share/doc/openrm/librm.html
X%%PORTDOCS%%share/doc/openrm/librmaux.html
X%%PORTDOCS%%share/doc/openrm/librmi.html
X%%PORTDOCS%%share/doc/openrm/librmv.html
X%%PORTDOCS%%share/doc/openrm/rmarcball.c.html
X%%PORTDOCS%%share/doc/openrm/rmbfuncs.c.html
X%%PORTDOCS%%share/doc/openrm/rmbitmap.c.html
X%%PORTDOCS%%share/doc/openrm/rmcamera.c.html
X%%PORTDOCS%%share/doc/openrm/rmclip.c.html
X%%PORTDOCS%%share/doc/openrm/rmcmpmgr.h.html
X%%PORTDOCS%%share/doc/openrm/rmcreatw.c.html
X%%PORTDOCS%%share/doc/openrm/rmerror.c.html
X%%PORTDOCS%%share/doc/openrm/rmflyui.c.html
X%%PORTDOCS%%share/doc/openrm/rmfog.c.html
X%%PORTDOCS%%share/doc/openrm/rmframe.c.html
X%%PORTDOCS%%share/doc/openrm/rmimage.c.html
X%%PORTDOCS%%share/doc/openrm/rminit.c.html
X%%PORTDOCS%%share/doc/openrm/rmjpeg.c.html
X%%PORTDOCS%%share/doc/openrm/rmlites.c.html
X%%PORTDOCS%%share/doc/openrm/rmmalloc.c.html
X%%PORTDOCS%%share/doc/openrm/rmmatrix.c.html
X%%PORTDOCS%%share/doc/openrm/rmnode.c.html
X%%PORTDOCS%%share/doc/openrm/rmpick.c.html
X%%PORTDOCS%%share/doc/openrm/rmpipe.c.html
X%%PORTDOCS%%share/doc/openrm/rmppm.c.html
X%%PORTDOCS%%share/doc/openrm/rmprim.c.html
X%%PORTDOCS%%share/doc/openrm/rmrstate.c.html
X%%PORTDOCS%%share/doc/openrm/rmscene.c.html
X%%PORTDOCS%%share/doc/openrm/rmstats.h.html
X%%PORTDOCS%%share/doc/openrm/rmtext.c.html
X%%PORTDOCS%%share/doc/openrm/rmthread.c.html
X%%PORTDOCS%%share/doc/openrm/rmthread.h.html
X%%PORTDOCS%%share/doc/openrm/rmtxture.c.html
X%%PORTDOCS%%share/doc/openrm/rmtypes.h.html
X%%PORTDOCS%%share/doc/openrm/rmutil.c.html
X%%PORTDOCS%%share/doc/openrm/rmvcontour.c.html
X%%PORTDOCS%%share/doc/openrm/rmverrplot.c.html
X%%PORTDOCS%%share/doc/openrm/rmvgrid2d.c.html
X%%PORTDOCS%%share/doc/openrm/rmviso.c.html
X%%PORTDOCS%%share/doc/openrm/rmvmap.c.html
X%%PORTDOCS%%share/doc/openrm/rmvmesh.c.html
X%%PORTDOCS%%share/doc/openrm/rmvmeshv.c.html
X%%PORTDOCS%%share/doc/openrm/rmvsignal.c.html
X%%PORTDOCS%%share/doc/openrm/rmvutil.c.html
X%%PORTDOCS%%share/doc/openrm/rmw.h.html
X%%PORTDOCS%%share/doc/openrm/rmwin.c.html
X%%PORTDOCS%%share/doc/openrm/rmx.c.html
X%%PORTDOCS%%share/doc/openrm/rmx.h.html
X%%PORTDOCS%%share/doc/openrm/rmxtext.c.html
X%%PORTDOCS%%@dirrm share/doc/openrm
END-of-openrm/pkg-plist
echo x - openrm/distinfo
sed 's/^X//' >openrm/distinfo << 'END-of-openrm/distinfo'
XMD5 (openrm-devel-1.4.2.tgz) = 15e882d50fdcb009ec1000a73441b40b
XMD5 (openrm-demo-1.4.2.tgz) = 465d7cfa9ab66b77e075b8c0ef099bc7
END-of-openrm/distinfo
echo c - openrm/files
mkdir -p openrm/files > /dev/null 2>&1
echo x - openrm/files/patch-make.cfg
sed 's/^X//' >openrm/files/patch-make.cfg << 'END-of-openrm/files/patch-make.cfg'
X--- make.cfg~	Mon Oct 15 03:37:11 2001
X+++ make.cfg	Mon Jul  8 09:42:17 2002
X@@ -75,7 +75,8 @@
X 	@$(MAKE) $(MFLAGS) -f Makefile.x11 targets \
X 	"CC = gcc" \
X 	"XINC = /usr/X11R6/include" \
X-	"GLINC = /usr/include"\
X+	"GLINC = /usr/X11R6/include" \
X+	"JPEGINC = /usr/local/include" \
X 	"RMINC = ../include" \
X 	"CFLAGS = -c -O2 -m486 -finline-functions -fomit-frame-pointer -DRM_X" \
X 	"RMLIB = librm" \
END-of-openrm/files/patch-make.cfg
echo x - openrm/files/patch-bin-mklib.linux
sed 's/^X//' >openrm/files/patch-bin-mklib.linux << 'END-of-openrm/files/patch-bin-mklib.linux'
X--- bin/mklib.linux~	Mon Jul  8 12:49:05 2002
X+++ bin/mklib.linux	Mon Jul  8 12:49:42 2002
X@@ -58,7 +58,7 @@
X MINOR=$1
X shift 1
X 
X-VERSION=$MAJOR.$MINOR
X+VERSION=$MAJOR
X 
X OBJECTS=$*
X 
END-of-openrm/files/patch-bin-mklib.linux
echo x - openrm/files/patch-rm-rminit.c
sed 's/^X//' >openrm/files/patch-rm-rminit.c << 'END-of-openrm/files/patch-rm-rminit.c'
X--- rm/rminit.c~	Mon Jul  8 12:53:37 2002
X+++ rm/rminit.c		Mon Jul  8 12:54:51 2002
X@@ -91,7 +91,9 @@
X #ifdef SOLARIS
X     glXInitThreadsSUN();
X #else
X+#ifndef __FreeBSD__
X     pthread_setconcurrency(12);
X+#endif    
X #endif
X #endif
X 
END-of-openrm/files/patch-rm-rminit.c
exit
--- openrm.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207081319.g68DJbvR031123>