Import aqsis-1.0.1.

Aqsis is a high quality, photorealistic, 3D rendering solution. It
complies with the RenderMan interface standard defined by Pixar.
Aqsis comprises a command line rendering tool, a tool for compiling
shaders in the RSL language, a tool for preparing textures for optimal
use, and various developer libraries to enable integration with third
party tools.

ok steven@
This commit is contained in:
ajacoutot 2006-11-19 14:29:22 +00:00
parent c5bed01d12
commit df9793f192
10 changed files with 352 additions and 0 deletions

78
graphics/aqsis/Makefile Normal file
View File

@ -0,0 +1,78 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
COMMENT= "photorealistic 3D rendering solution"
DISTNAME= aqsis-1.0.1
CATEGORIES= graphics
SHARED_LIBS += argparse 0.0 # 0.0
SHARED_LIBS += aqsistypes 0.0 # 0.0
SHARED_LIBS += codegenvm 0.0 # 0.0
SHARED_LIBS += rib2 0.0 # 0.0
SHARED_LIBS += rib2ri 0.0 # 0.0
SHARED_LIBS += rib2stream 0.0 # 0.0
SHARED_LIBS += slparse 0.0 # 0.0
SHARED_LIBS += shadervm 0.0 # 0.0
SHARED_LIBS += shaderexecenv 0.0 # 0.0
SHARED_LIBS += raytrace 0.0 # 0.0
SHARED_LIBS += slpp 0.0 # 0.0
SHARED_LIBS += ri2rib 0.0 # 0.0
SHARED_LIBS += slxargs 0.0 # 0.0
SHARED_LIBS += display 0.0 # 0.0
SHARED_LIBS += ddmanager 0.0 # 0.0
SHARED_LIBS += aqsis 0.0 # 0.0
SHARED_LIBS += gif2tif 0.0 # 0.0
SHARED_LIBS += jpg2tif 0.0 # 0.0
SHARED_LIBS += ppm2tif 0.0 # 0.0
SHARED_LIBS += pcx2tif 0.0 # 0.0
SHARED_LIBS += tga2tif 0.0 # 0.0
SHARED_LIBS += bake2tif 0.0 # 0.0
HOMEPAGE= http://www.aqsis.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2/LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aqsis/}
WANTLIB= X11 Xext c m stdc++ z pthread
BUILD_DEPENDS= xsltproc::textproc/libxslt \
:boost-headers-1.33.*:devel/boost
LIB_DEPENDS= fltk.>=1::x11/fltk \
jpeg.>=62::graphics/jpeg \
tiff.>=38::graphics/tiff
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
# This regression test wants an X11 display
# and manual closing of rendered images
REGRESS_IS_INTERACTIVE=Yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -fPIC" \
LDFLAGS="-L${LOCALBASE}/lib -lpthread"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static
pre-configure:
perl -pi -e 's,PLUGIN_FLAGS="-ldl",PLUGIN_FLAGS="",g' \
${WRKSRC}/configure
perl -pi -e 's,libdisplay.so,libdisplay.so.${LIBdisplay_VERSION},g' \
${WRKSRC}/display/displays.ini
perl -pi -e 's,!!LIBdisplay_VERSION!!,${LIBdisplay_VERSION},g' \
${WRKSRC}/display/Makefile.in
@find ${WRKSRC} -name Makefile.in | \
xargs perl -pi -e 's,-I\$$\(top_srcdir\)/boost,,g'
do-regress:
@cd ${WRKBUILD} && \
${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}
.include <bsd.port.mk>

4
graphics/aqsis/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (aqsis-1.0.1.tar.gz) = 17e58818ab647f002c642c8abe591e35
RMD160 (aqsis-1.0.1.tar.gz) = 860401b598eaed59a0fe1e044b66c13dbf58444a
SHA1 (aqsis-1.0.1.tar.gz) = ad66c5d7488e3bdde0e99a77ae07bd9fbe2e3341
SIZE (aqsis-1.0.1.tar.gz) = 2788459

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
--- Makefile.in.orig Thu Nov 16 11:13:41 2006
+++ Makefile.in Thu Nov 16 11:13:50 2006
@@ -60,7 +60,7 @@ RECURSIVE_TARGETS = all-recursive check-
uninstall-recursive
ETAGS = etags
CTAGS = ctags
-DIST_SUBDIRS = . bin boost thirdparty all images libargparse \
+DIST_SUBDIRS = . bin thirdparty all images libargparse \
libaqsistypes libcodegenvm librib2 librib2ri librib2stream \
libslparse libshadervm libshaderexecenv libraytrace ribfiles \
slpp aqsl shaders libri2rib libslxargs aqsltell dsotest \
@@ -196,7 +196,7 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-MAINDIRS = bin boost thirdparty all images libargparse libaqsistypes libcodegenvm librib2 librib2ri librib2stream libslparse libshadervm libshaderexecenv libraytrace ribfiles slpp aqsl shaders libri2rib libslxargs aqsltell dsotest display libddmanager render aqsis teqser man renderer.xcode
+MAINDIRS = bin thirdparty all images libargparse libaqsistypes libcodegenvm librib2 librib2ri librib2stream libslparse libshadervm libshaderexecenv libraytrace ribfiles slpp aqsl shaders libri2rib libslxargs aqsltell dsotest display libddmanager render aqsis teqser man renderer.xcode
@PLUGINS_FALSE@PLUGINSDIRS =
@PLUGINS_TRUE@PLUGINSDIRS = plugins
SUBDIRS = . $(MAINDIRS) $(PLUGINSDIRS)

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-aqsis_aqsis_cpp,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
--- aqsis/aqsis.cpp.orig Thu Nov 16 15:47:28 2006
+++ aqsis/aqsis.cpp Thu Nov 16 15:47:56 2006
@@ -145,8 +145,8 @@ RtVoid PrintProgress( RtFloat percent, R
return ;
}
- static long tick = 0;
- long now;
+ static time_t tick = 0;
+ time_t now;
if ( tick == 0 )
time( &tick );

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-display_Makefile_in,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
--- display/Makefile.in.orig Sat Nov 18 16:34:44 2006
+++ display/Makefile.in Sat Nov 18 16:35:17 2006
@@ -538,7 +538,7 @@ uninstall-am: uninstall-configDATA unins
check-local:
rm -f $(top_srcdir)/display/libdisplay.so
chmod a+w $(top_srcdir)/display
- ln -s $(top_builddir)/display/.libs/libdisplay.so $(top_srcdir)/display/libdisplay.so
+ ln -s $(top_builddir)/display/.libs/libdisplay.so.!!LIBdisplay_VERSION!! $(top_srcdir)/display/libdisplay.so.!!LIBdisplay_VERSION!!
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libaqsistypes_plugins_cpp,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
--- libaqsistypes/plugins.cpp.orig Thu Nov 16 10:42:04 2006
+++ libaqsistypes/plugins.cpp Thu Nov 16 10:42:30 2006
@@ -153,7 +153,7 @@ CqPluginBase::DLError( void )
// Free the buffer.
LocalFree( lpMsgBuf );
#elif not defined AQSIS_SYSTEM_MACOSX
- char* error = dlerror();
+ const char* error = dlerror();
if( error )
errorlog = error;
#endif

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-libddmanager_ddmanager_cpp,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
--- libddmanager/ddmanager.cpp.orig Thu Nov 16 15:49:03 2006
+++ libddmanager/ddmanager.cpp Thu Nov 16 15:49:17 2006
@@ -34,6 +34,7 @@
#include "logging.h"
#include "ndspy.h"
#include "version.h"
+#include <unistd.h>
#ifdef AQSIS_SYSTEM_WIN32
#include "winsock2.h"

15
graphics/aqsis/pkg/DESCR Normal file
View File

@ -0,0 +1,15 @@
Aqsis is a high quality, photorealistic, 3D rendering solution. It
complies with the RenderMan interface standard defined by Pixar.
The RenderMan standard has been used in film and television visual
effects since its introduction in 1989. Pixar has used their own
implementation for all of their award winning CG features, and provided
their implementation for use in the visual effects of most major
blockbuster films over the last 2 decades. The Aqsis project offers a
way for individuals and organisations alike to gain experience with the
RenderMan interface without the cost of commercial software licenses.
Aqsis comprises a command line rendering tool, a tool for compiling
shaders in the RSL language, a tool for preparing textures for optimal
use, and various developer libraries to enable integration with third
party tools.

View File

@ -0,0 +1,23 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
@lib lib/aqsis/libbake2tif.so.${LIBbake2tif_VERSION}
@lib lib/aqsis/libdisplay.so.${LIBdisplay_VERSION}
@lib lib/aqsis/libgif2tif.so.${LIBgif2tif_VERSION}
@lib lib/aqsis/libjpg2tif.so.${LIBjpg2tif_VERSION}
@lib lib/aqsis/libpcx2tif.so.${LIBpcx2tif_VERSION}
@lib lib/aqsis/libppm2tif.so.${LIBppm2tif_VERSION}
@lib lib/aqsis/libtga2tif.so.${LIBtga2tif_VERSION}
@lib lib/libaqsis.so.${LIBaqsis_VERSION}
@lib lib/libaqsistypes.so.${LIBaqsistypes_VERSION}
@lib lib/libargparse.so.${LIBargparse_VERSION}
@lib lib/libcodegenvm.so.${LIBcodegenvm_VERSION}
@lib lib/libddmanager.so.${LIBddmanager_VERSION}
@lib lib/libraytrace.so.${LIBraytrace_VERSION}
@lib lib/libri2rib.so.${LIBri2rib_VERSION}
@lib lib/librib2.so.${LIBrib2_VERSION}
@lib lib/librib2ri.so.${LIBrib2ri_VERSION}
@lib lib/librib2stream.so.${LIBrib2stream_VERSION}
@lib lib/libshaderexecenv.so.${LIBshaderexecenv_VERSION}
@lib lib/libshadervm.so.${LIBshadervm_VERSION}
@lib lib/libslparse.so.${LIBslparse_VERSION}
@lib lib/libslpp.so.${LIBslpp_VERSION}
@lib lib/libslxargs.so.${LIBslxargs_VERSION}

162
graphics/aqsis/pkg/PLIST Normal file
View File

@ -0,0 +1,162 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/19 14:29:22 ajacoutot Exp $
%%SHARED%%
bin/aqsis
bin/aqsl
bin/aqsltell
bin/teqser
include/aqsis/
include/aqsis/aqsis.h
include/aqsis/aqsis_types.h
include/aqsis/argparse.h
include/aqsis/bitvector.h
include/aqsis/color.h
include/aqsis/exception.h
include/aqsis/file.h
include/aqsis/librib.h
include/aqsis/librib2ri.h
include/aqsis/librib2stream.h
include/aqsis/list.h
include/aqsis/matrix.h
include/aqsis/memorypool.h
include/aqsis/parserstate.h
include/aqsis/random.h
include/aqsis/refcount.h
include/aqsis/ri.h
include/aqsis/ri.inl
include/aqsis/shadeop.h
include/aqsis/slx.h
include/aqsis/sstring.h
include/aqsis/vector2d.h
include/aqsis/vector3d.h
include/aqsis/vector4d.h
lib/aqsis/
lib/aqsis/displays.ini
lib/aqsis/libbake2tif.a
lib/aqsis/libbake2tif.la
lib/aqsis/libdisplay.a
lib/aqsis/libdisplay.la
lib/aqsis/libgif2tif.a
lib/aqsis/libgif2tif.la
lib/aqsis/libjpg2tif.a
lib/aqsis/libjpg2tif.la
lib/aqsis/libpcx2tif.a
lib/aqsis/libpcx2tif.la
lib/aqsis/libppm2tif.a
lib/aqsis/libppm2tif.la
lib/aqsis/libtga2tif.a
lib/aqsis/libtga2tif.la
lib/libaqsis.a
lib/libaqsis.la
lib/libaqsistypes.a
lib/libaqsistypes.la
lib/libargparse.a
lib/libargparse.la
lib/libcodegenvm.a
lib/libcodegenvm.la
lib/libddmanager.a
lib/libddmanager.la
lib/libraytrace.a
lib/libraytrace.la
lib/libri2rib.a
lib/libri2rib.la
lib/librib2.a
lib/librib2.la
lib/librib2ri.a
lib/librib2ri.la
lib/librib2stream.a
lib/librib2stream.la
lib/libshaderexecenv.a
lib/libshaderexecenv.la
lib/libshadervm.a
lib/libshadervm.la
lib/libslparse.a
lib/libslparse.la
lib/libslpp.a
lib/libslpp.la
lib/libslxargs.a
lib/libslxargs.la
@man man/man1/aqsis.1
share/aqsis/
share/aqsis/shaders/
share/aqsis/shaders/DPProctext.h
share/aqsis/shaders/ambientlight.sl
share/aqsis/shaders/ambientlight.slx
share/aqsis/shaders/background.sl
share/aqsis/shaders/background.slx
share/aqsis/shaders/bake.h
share/aqsis/shaders/bluescreen.sl
share/aqsis/shaders/bluescreen.slx
share/aqsis/shaders/borg_metal.sl
share/aqsis/shaders/borg_metal.slx
share/aqsis/shaders/brickbump.sl
share/aqsis/shaders/brickbump.slx
share/aqsis/shaders/bumpy.sl
share/aqsis/shaders/bumpy.slx
share/aqsis/shaders/cellnoisetest.sl
share/aqsis/shaders/cellnoisetest.slx
share/aqsis/shaders/constant.sl
share/aqsis/shaders/constant.slx
share/aqsis/shaders/curvetube.sl
share/aqsis/shaders/curvetube.slx
share/aqsis/shaders/debug.sl
share/aqsis/shaders/debug.slx
share/aqsis/shaders/dented.sl
share/aqsis/shaders/dented.slx
share/aqsis/shaders/depthcue.sl
share/aqsis/shaders/depthcue.slx
share/aqsis/shaders/distantlight.sl
share/aqsis/shaders/distantlight.slx
share/aqsis/shaders/dpbluemarble.sl
share/aqsis/shaders/dpbluemarble.slx
share/aqsis/shaders/expensive.sl
share/aqsis/shaders/expensive.slx
share/aqsis/shaders/exposure.sl
share/aqsis/shaders/exposure.slx
share/aqsis/shaders/face_plastic.sl
share/aqsis/shaders/face_plastic.slx
share/aqsis/shaders/fakesky.sl
share/aqsis/shaders/fakesky.slx
share/aqsis/shaders/fog.sl
share/aqsis/shaders/fog.slx
share/aqsis/shaders/gradient.sl
share/aqsis/shaders/gradient.slx
share/aqsis/shaders/iramp.sl
share/aqsis/shaders/iramp.slx
share/aqsis/shaders/matte.sl
share/aqsis/shaders/matte.slx
share/aqsis/shaders/metal.sl
share/aqsis/shaders/metal.slx
share/aqsis/shaders/noises.h
share/aqsis/shaders/paintedplastic.sl
share/aqsis/shaders/paintedplastic.slx
share/aqsis/shaders/patterns.h
share/aqsis/shaders/plastic.sl
share/aqsis/shaders/plastic.slx
share/aqsis/shaders/pointlight.sl
share/aqsis/shaders/pointlight.slx
share/aqsis/shaders/randgrid.sl
share/aqsis/shaders/randgrid.slx
share/aqsis/shaders/shadowdistant.sl
share/aqsis/shaders/shadowdistant.slx
share/aqsis/shaders/shadowpoint.sl
share/aqsis/shaders/shadowpoint.slx
share/aqsis/shaders/shadowspot.sl
share/aqsis/shaders/shadowspot.slx
share/aqsis/shaders/shinymetal.sl
share/aqsis/shaders/shinymetal.slx
share/aqsis/shaders/show_N.sl
share/aqsis/shaders/show_N.slx
share/aqsis/shaders/show_st.sl
share/aqsis/shaders/show_st.slx
share/aqsis/shaders/showuser.sl
share/aqsis/shaders/showuser.slx
share/aqsis/shaders/spacetest.sl
share/aqsis/shaders/spacetest.slx
share/aqsis/shaders/spotlight.sl
share/aqsis/shaders/spotlight.slx
share/aqsis/shaders/sticky_texture.sl
share/aqsis/shaders/sticky_texture.slx
share/aqsis/shaders/uvtest.sl
share/aqsis/shaders/uvtest.slx
share/aqsis/shaders/wavy.sl
share/aqsis/shaders/wavy.slx