Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2004 06:35:59 +0300 (MSK)
From:      Igor Pokrovsky <tiamat@comset.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62370: New port: graphics/quesa High level 3D graphics library compatible with Apple's QuickDraw(TM)
Message-ID:  <200402050335.i153ZxhK000704@doom.homeunix.org>
Resent-Message-ID: <200402050340.i153e8uQ030066@freefall.freebsd.org>

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

>Number:         62370
>Category:       ports
>Synopsis:       New port: graphics/quesa High level 3D graphics library compatible with Apple's QuickDraw(TM)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 04 19:40:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 26 19:02:19 MSK 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Quesa is a high level 3D graphics library, released as Open Source under
the LGPL, which offers binary and source level compatibility with Apple's
QuickDraw(TM) 3D API. Quesa does not contain any Apple source code, and was
developed without access to Apple's QD3D implementation.

QD3D supports both retained and immediate mode rendering, an extensible file
format, plug-in renderers, a wide range of high level geometries, hierarchical
models, and a consistent and object-orientated API.
	
>How-To-Repeat:
	
>Fix:

	

--- quesa.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:
#
#	quesa
#	quesa/pkg-plist
#	quesa/pkg-descr
#	quesa/distinfo
#	quesa/Makefile
#	quesa/files
#	quesa/files/patch-Scripts_buildUnix.sh
#	quesa/files/patch-Makefile.am
#	quesa/files/patch-configure.in
#	quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h
#	quesa/files/patch-Makefile.am.examples
#
echo c - quesa
mkdir -p quesa > /dev/null 2>&1
echo x - quesa/pkg-plist
sed 's/^X//' >quesa/pkg-plist << 'END-of-quesa/pkg-plist'
Xinclude/quesa/Quesa.h
Xinclude/quesa/QuesaCamera.h
Xinclude/quesa/QuesaController.h
Xinclude/quesa/QuesaCustomElements.h
Xinclude/quesa/QuesaDrawContext.h
Xinclude/quesa/QuesaErrors.h
Xinclude/quesa/QuesaExtension.h
Xinclude/quesa/QuesaGeometry.h
Xinclude/quesa/QuesaGroup.h
Xinclude/quesa/QuesaIO.h
Xinclude/quesa/QuesaLight.h
Xinclude/quesa/QuesaMath.h
Xinclude/quesa/QuesaMemory.h
Xinclude/quesa/QuesaPick.h
Xinclude/quesa/QuesaRenderer.h
Xinclude/quesa/QuesaSet.h
Xinclude/quesa/QuesaShader.h
Xinclude/quesa/QuesaStorage.h
Xinclude/quesa/QuesaString.h
Xinclude/quesa/QuesaStyle.h
Xinclude/quesa/QuesaTransform.h
Xinclude/quesa/QuesaView.h
Xinclude/quesa/QuesaViewer.h
Xlib/libquesa.a
Xlib/libquesa.so
Xlib/libquesa.so.0
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/F15.3dmf
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/F18.3dmf
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/PodRacer.3dmf
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/Models/QuesaLogo.3dmf
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/bin/cameratest
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/bin/dumpgroup
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/bin/geomtest
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/bin/importtest
X%%WITH_QUESA_EXAMPLES%%%%EXAMPLESDIR%%/bin/lighttest
X%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/bin
X%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%/Models
X%%WITH_QUESA_EXAMPLES%%@dirrm %%EXAMPLESDIR%%
X@dirrm include/quesa
END-of-quesa/pkg-plist
echo x - quesa/pkg-descr
sed 's/^X//' >quesa/pkg-descr << 'END-of-quesa/pkg-descr'
XQuesa is a high level 3D graphics library, released as Open Source under
Xthe LGPL, which offers binary and source level compatibility with Apple's
XQuickDraw(TM) 3D API. Quesa does not contain any Apple source code, and was
Xdeveloped without access to Apple's QD3D implementation.
X
XQD3D supports both retained and immediate mode rendering, an extensible file
Xformat, plug-in renderers, a wide range of high level geometries, hierarchical
Xmodels, and a consistent and object-orientated API.
X
XWWW:	http://www.quesa.org/
X
X- Igor Pokrovsky
Xtiamat@comset.net
END-of-quesa/pkg-descr
echo x - quesa/distinfo
sed 's/^X//' >quesa/distinfo << 'END-of-quesa/distinfo'
XMD5 (quesa_1.6d18.tar.gz) = 6c6740ef4459e2d6cbde7389a63f61b6
END-of-quesa/distinfo
echo x - quesa/Makefile
sed 's/^X//' >quesa/Makefile << 'END-of-quesa/Makefile'
X# New ports collection makefile for: quesa
X# Date created:		03 Feb 2004
X# Whom:			Igor Pokrovsky <tiamat@comset.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	quesa
XPORTVERSION=	1.6d18
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.quesa.org/info/files/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	tiamat@comset.net
XCOMMENT=	High level 3D graphics library compatible with Apple's QuickDraw(TM)
X
XUSE_REINPLACE=	yes
XWANT_AUTOCONF_VER?=	253
XWANT_AUTOMAKE_VER?=	15
XUSE_LIBTOOL=	yes
XUSE_GL=		yes
XUSE_X_PREFIX=	yes
X.ifdef (WITH_QUESA_EXAMPLES)
XUSE_GNOME=	gtk12
X.endif
XINSTALLS_SHLIB=	yes
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/Development/Projects/Unix
X
XCSH?=		/bin/csh
X
X.if !defined(WITH_QUESA_EXAMPLES)
XPLIST_SUB=	WITH_QUESA_EXAMPLES="@comment "
X.else
XPLIST_SUB=	WITH_QUESA_EXAMPLES=""
X.endif
X
X.ifndef (WITH_QUESA_EXAMPLES)
Xpre-everything::
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "Define WITH_QUESA_EXAMPLES=yes to build and install Quesa example programs"
X	@${ECHO_CMD} ""
X.endif
X
Xpre-patch:
X	@${FIND} -X ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e 's|\r|\n|g'
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|%%ACLOCAL%%|${ACLOCAL}|g; \
X			      s|%%AUTOMAKE%%|${AUTOMAKE}|g; \
X			      s|%%AUTOMAKE_ENV%%|${AUTOMAKE_ENV}|g; \
X			      s|%%AUTOCONF%%|${AUTOCONF}|g; \
X			      s|%%AUTOCONF_ENV%%|${AUTOCONF_ENV}|g; \
X			      s|%%SETENV%%|${SETENV}|g' \
X		${WRKSRC}/Scripts/buildUnix.sh
X.ifdef (WITH_QUESA_EXAMPLES)
X	@${REINPLACE_CMD} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g' \
X		${WRKSRC}/Makefile.am.examples
X.endif
X
Xpre-configure:
X	cd ${WRKSRC}/Scripts && \
X	${CSH} ./prepareUnixTree.sh && ${CSH} ./buildUnix.sh
X.ifdef (WITH_QUESA_EXAMPLES)
X	@(cd ${WRKSRC}/Examples && \
X		${SETENV}	CC="${CC}" CXX="${CXX}" \
X				CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
X				INSTALL="${INSTALL}" \
X				INSTALL_DATA="${INSTALL_DATA}" \
X				INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
X				INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
X		${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
X.endif
X
X.ifdef (WITH_QUESA_EXAMPLES)
Xpost-build:
X	@(cd ${WRKSRC}/Examples && \
X		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
X				${MAKE_ARGS} ${ALL_TARGET})
X.endif
X
X.ifdef (WITH_QUESA_EXAMPLES)
Xpost-install:
X	@(cd ${WRKSRC}/Examples && \
X		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
X			${MAKE_ARGS} ${INSTALL_TARGET})
X.endif
X
X.include <bsd.port.mk>
END-of-quesa/Makefile
echo c - quesa/files
mkdir -p quesa/files > /dev/null 2>&1
echo x - quesa/files/patch-Scripts_buildUnix.sh
sed 's/^X//' >quesa/files/patch-Scripts_buildUnix.sh << 'END-of-quesa/files/patch-Scripts_buildUnix.sh'
X--- Scripts/buildUnix.sh.orig	Wed Feb  4 09:16:35 2004
X+++ Scripts/buildUnix.sh	Wed Feb  4 09:17:32 2004
X@@ -28,11 +28,11 @@
X 
X # create the build system for libquesa
X ######################################
X-aclocal
X-automake --add-missing
X-automake
X-autoconf
X-./configure
X+%%ACLOCAL%%
X+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% --add-missing
X+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% -i
X+%%SETENV%% %%AUTOCONF_ENV%% %%AUTOCONF%%
X+#./configure
X 
X # create the build system for the examples
X ######################################
X@@ -40,27 +40,25 @@
X pushd Examples || exit
X 
X # make sure we can find gtk-config
X-PATH=${PATH}:/usr/local/bin
X-
X-export PATH
X+#setenv PATH ${PATH}:/usr/local/bin
X 
X # make sure we can find gtk.m4
X-ACLOCALADDPATHS=
X-if test -d /usr/local/share/aclocal; then
X- ACLOCALADDPATHS="${ACLOCALADDPATHS} -I /usr/local/share/aclocal"
X-fi
X+#ACLOCALADDPATHS=
X+#if test -d /usr/local/share/aclocal; then
X+# ACLOCALADDPATHS="${ACLOCALADDPATHS} -I /usr/local/share/aclocal"
X+#fi
X 
X-aclocal ${ACLOCALADDPATHS}
X-automake --add-missing
X-automake
X-autoconf
X-./configure
X+%%ACLOCAL%%
X+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% --add-missing
X+%%SETENV%% %%AUTOMAKE_ENV%% %%AUTOMAKE%% -i
X+%%SETENV%% %%AUTOCONF_ENV%% %%AUTOCONF%%
X+#./configure
X 
X popd
X 
X # build libquesa
X ######################################
X-make
X+#make
X 
X popd
X 
END-of-quesa/files/patch-Scripts_buildUnix.sh
echo x - quesa/files/patch-Makefile.am
sed 's/^X//' >quesa/files/patch-Makefile.am << 'END-of-quesa/files/patch-Makefile.am'
X--- Makefile.am.orig	Wed Feb  4 08:19:51 2004
X+++ Makefile.am	Wed Feb  4 08:20:09 2004
X@@ -267,6 +267,6 @@
X              ${SRC}${PLATFORM}/E3UnixDrawContext.c       
X 
X 
X-libquesa_la_CFLAGS= -std=c99 -DQUESA_OS_UNIX=1 $(WARN) $(QUESAINCLUDES)
X+libquesa_la_CFLAGS= -DQUESA_OS_UNIX=1 $(WARN) $(QUESAINCLUDES)
X libquesa_la_LIBADD= -lm -lc -lX11 -lGL -lGLU
X 
END-of-quesa/files/patch-Makefile.am
echo x - quesa/files/patch-configure.in
sed 's/^X//' >quesa/files/patch-configure.in << 'END-of-quesa/files/patch-configure.in'
X--- configure.in.orig	Wed Feb  4 09:49:14 2004
X+++ configure.in	Wed Feb  4 09:49:33 2004
X@@ -2,7 +2,7 @@
X AC_INIT(Quesa,1.6d18,quesa_list@designcommunity.com)
X 
X AC_CONFIG_SRCDIR(Source/Core/Glue/QD3DCamera.c)
X-AM_INIT_AUTOMAKE([no-dependencies])
X+AM_INIT_AUTOMAKE(quesa,1.6d18)
X AM_MAINTAINER_MODE
X 
X dnl Checks for programs.
END-of-quesa/files/patch-configure.in
echo x - quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h
sed 's/^X//' >quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h << 'END-of-quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h'
X--- ../../Source/Platform/Unix/E3UnixPrefix.h.orig	Wed Feb  4 10:52:24 2004
X+++ ../../Source/Platform/Unix/E3UnixPrefix.h	Wed Feb  4 10:52:51 2004
X@@ -44,7 +44,9 @@
X //-----------------------------------------------------------------------------
X // Build constants go here
X 
X-
X+#ifdef __FreeBSD__
X+#define isfinite finite
X+#endif
X 
X 
X 
END-of-quesa/files/patch-.._.._Source_Platform_Unix_E3UnixPrefix.h
echo x - quesa/files/patch-Makefile.am.examples
sed 's/^X//' >quesa/files/patch-Makefile.am.examples << 'END-of-quesa/files/patch-Makefile.am.examples'
X--- Makefile.am.examples.orig	Wed Feb  4 14:49:13 2004
X+++ Makefile.am.examples	Wed Feb  4 14:51:42 2004
X@@ -2,19 +2,19 @@
X 
X QUT= Qut
X GEOMTEST= GeomTest
X-prefix = /usr/local/Quesa
X+prefix = %%EXAMPLESDIR%%
X 
X-modelsdir=$(prefix)/Models
X+modelsdir=%%EXAMPLESDIR%%/Models
X 
X quesaexamples_commoncflags= -DQUESA_OS_UNIX=1 $(WARN) $(QUESAINCLUDES) $(GTK_CFLAGS)
X-quesaexamples_commonldadd= -L/usr/local/lib -L. -lquesaqut -lquesa -lc -lGL -lGLU $(GTK_LIBS)
X+quesaexamples_commonldadd= -L../$(srcdir) -L. -lquesaqut -lquesa -lc -lGL -lGLU $(GTK_LIBS)
X 
X 
X-bin_PROGRAMS= geomtest importtest cameratest dumpgroup lighttest
X+bin_PROGRAMS= geomtest importtest cameratest dumpgroup lighttest
X 
X noinst_LIBRARIES= libquesaqut.a
X 
X-QUESAINCLUDES= -I/usr/local/include/quesa \
X+QUESAINCLUDES= -I../$(srcdir)/APIincludes \
X 			-I$(srcdir)/Qut
X 
X WARN= -Wall -Wpointer-arith -Wno-cast-qual -Waggregate-return         \
END-of-quesa/files/patch-Makefile.am.examples
exit
--- quesa.shar ends here ---


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



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