Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 10:28:47 +0200
From:      Stefan Walter <sw@gegenunendlich.de>
To:        Kirill Ponomarew <krion@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/68954: [NEW PORT] graphics/cal3d: Skeletal based 3d character animation library written in C++
Message-ID:  <20040713082847.GA6388@kyuzo.dunkelkammer.void>
In-Reply-To: <200407130645.i6D6jIXs016155@freefall.freebsd.org>
References:  <200407130645.i6D6jIXs016155@freefall.freebsd.org>

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

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Kirill Ponomarew, 13.07.04, 08:45h CEST:

> It doesn't build on 4.x
> In file included from buffersource.cpp:19:
> ../../src/cal3d/buffersource.h:20: istream: No such file or directory

Thanks. Unfortunately, I don't have a single -STABLE box around at the
moment, so I can't test the changes myself.

Attached is a new one with patches for the files that use <istream>. I'm
not sure if it's enough to patch only this, but it seems to be enough
for the NetBSD pkg, so I hope this fixes the build on 4.x.

Stefan

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cal3d.shar"

# 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:
#
#	cal3d
#	cal3d/Makefile
#	cal3d/distinfo
#	cal3d/pkg-plist
#	cal3d/files
#	cal3d/files/patch-src_cal3d_Makefile.am
#	cal3d/files/patch-Makefile.am
#	cal3d/files/patch-src_cal3d_buffersource.h
#	cal3d/files/patch-src_cal3d_loader.h
#	cal3d/files/patch-src_cal3d_streamsource.h
#	cal3d/pkg-descr
#
echo c - cal3d
mkdir -p cal3d > /dev/null 2>&1
echo x - cal3d/Makefile
sed 's/^X//' >cal3d/Makefile << 'END-of-cal3d/Makefile'
X# New ports collection makefile for:	cal3d
X# Date created:				12 Jul 2004
X# Whom:					Stefan Walter <sw@gegenunendlich.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cal3d
XPORTVERSION=	0.9.1
XCATEGORIES=	graphics devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	sw@gegenunendlich.de
XCOMMENT=	Skeletal based 3d character animation library written in C++
X
XUSE_BZIP2=		yes
XUSE_AUTOMAKE_VER=	18
XUSE_AUTOHEADER_VER=	259
XUSE_LIBTOOL_VER=	15
XINSTALLS_SHLIB=		yes
X
X.include <bsd.port.pre.mk>
X
Xpre-configure:
X	cd ${WRKSRC} && ${ACLOCAL}
X	cd ${WRKSRC} && ${AUTOHEADER}
X
X.include <bsd.port.post.mk>
END-of-cal3d/Makefile
echo x - cal3d/distinfo
sed 's/^X//' >cal3d/distinfo << 'END-of-cal3d/distinfo'
XMD5 (cal3d-0.9.1.tar.bz2) = 55023cf5b4063990f355629c57a175af
XSIZE (cal3d-0.9.1.tar.bz2) = 2871094
END-of-cal3d/distinfo
echo x - cal3d/pkg-plist
sed 's/^X//' >cal3d/pkg-plist << 'END-of-cal3d/pkg-plist'
Xinclude/cal3d/animation.h
Xinclude/cal3d/animation_action.h
Xinclude/cal3d/animation_cycle.h
Xinclude/cal3d/bone.h
Xinclude/cal3d/buffersource.h
Xinclude/cal3d/cal3d.h
Xinclude/cal3d/cal3d_wrapper.h
Xinclude/cal3d/coreanimation.h
Xinclude/cal3d/corebone.h
Xinclude/cal3d/corekeyframe.h
Xinclude/cal3d/corematerial.h
Xinclude/cal3d/coremesh.h
Xinclude/cal3d/coremodel.h
Xinclude/cal3d/coremorphanimation.h
Xinclude/cal3d/coreskeleton.h
Xinclude/cal3d/coresubmesh.h
Xinclude/cal3d/coresubmorphtarget.h
Xinclude/cal3d/coretrack.h
Xinclude/cal3d/datasource.h
Xinclude/cal3d/error.h
Xinclude/cal3d/global.h
Xinclude/cal3d/loader.h
Xinclude/cal3d/matrix.h
Xinclude/cal3d/mesh.h
Xinclude/cal3d/mixer.h
Xinclude/cal3d/model.h
Xinclude/cal3d/morphtargetmixer.h
Xinclude/cal3d/physique.h
Xinclude/cal3d/platform.h
Xinclude/cal3d/quaternion.h
Xinclude/cal3d/renderer.h
Xinclude/cal3d/resource.h
Xinclude/cal3d/saver.h
Xinclude/cal3d/skeleton.h
Xinclude/cal3d/springsystem.h
Xinclude/cal3d/streamsource.h
Xinclude/cal3d/submesh.h
Xinclude/cal3d/tinystr.h
Xinclude/cal3d/tinyxml.h
Xinclude/cal3d/vector.h
X@dirrm include/cal3d
Xlib/libcal3d-0.9.1.so
Xlib/libcal3d.la
Xlib/libcal3d.so
Xlibdata/pkgconfig/cal3d.pc
END-of-cal3d/pkg-plist
echo c - cal3d/files
mkdir -p cal3d/files > /dev/null 2>&1
echo x - cal3d/files/patch-src_cal3d_Makefile.am
sed 's/^X//' >cal3d/files/patch-src_cal3d_Makefile.am << 'END-of-cal3d/files/patch-src_cal3d_Makefile.am'
X--- src/cal3d/Makefile.am.orig	Mon Jul 12 17:34:29 2004
X+++ src/cal3d/Makefile.am	Mon Jul 12 17:35:04 2004
X@@ -13,7 +13,8 @@
X INCLUDES = $(all_includes) -I$(top_srcdir)/src
X 
X all_libraries = @all_libraries@
X-LDFLAGS = @LDFLAGS@
X+#LDFLAGS = @LDFLAGS@
X+AM_LDFLAGS = @AM_LDFLAGS@
X 
X EXTRA_DIST = cal3d.rc cal3d.dsp SConscript
X 
END-of-cal3d/files/patch-src_cal3d_Makefile.am
echo x - cal3d/files/patch-Makefile.am
sed 's/^X//' >cal3d/files/patch-Makefile.am << 'END-of-cal3d/files/patch-Makefile.am'
X--- Makefile.am.orig	Mon Jul 12 19:40:09 2004
X+++ Makefile.am	Mon Jul 12 19:41:07 2004
X@@ -16,7 +16,8 @@
X 
X SUBDIRS = src docs
X 
X-pkgconfigdir = $(libdir)/pkgconfig
X+#pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = cal3d.pc
X 
X 
END-of-cal3d/files/patch-Makefile.am
echo x - cal3d/files/patch-src_cal3d_buffersource.h
sed 's/^X//' >cal3d/files/patch-src_cal3d_buffersource.h << 'END-of-cal3d/files/patch-src_cal3d_buffersource.h'
X--- src/cal3d/buffersource.h.orig	Tue Jul 13 10:03:53 2004
X+++ src/cal3d/buffersource.h	Tue Jul 13 10:04:11 2004
X@@ -17,7 +17,7 @@
X 
X #include "cal3d/global.h"
X #include "cal3d/datasource.h"
X-#include <istream>
X+#include <istream.h>
X 
X /**
X  * CalBufferSource class.
END-of-cal3d/files/patch-src_cal3d_buffersource.h
echo x - cal3d/files/patch-src_cal3d_loader.h
sed 's/^X//' >cal3d/files/patch-src_cal3d_loader.h << 'END-of-cal3d/files/patch-src_cal3d_loader.h'
X--- src/cal3d/loader.h.orig	Tue Jul 13 10:04:57 2004
X+++ src/cal3d/loader.h	Tue Jul 13 10:05:09 2004
X@@ -17,7 +17,7 @@
X 
X 
X #include <string>
X-#include <istream>
X+#include <istream.h>
X #include "cal3d/global.h"
X #include "cal3d/datasource.h"
X 
END-of-cal3d/files/patch-src_cal3d_loader.h
echo x - cal3d/files/patch-src_cal3d_streamsource.h
sed 's/^X//' >cal3d/files/patch-src_cal3d_streamsource.h << 'END-of-cal3d/files/patch-src_cal3d_streamsource.h'
X--- src/cal3d/streamsource.h.orig	Tue Jul 13 10:05:35 2004
X+++ src/cal3d/streamsource.h	Tue Jul 13 10:05:47 2004
X@@ -17,7 +17,7 @@
X 
X #include "cal3d/global.h"
X #include "cal3d/datasource.h"
X-#include <istream>
X+#include <istream.h>
X 
X /**
X  * CalStreamSource class.
END-of-cal3d/files/patch-src_cal3d_streamsource.h
echo x - cal3d/pkg-descr
sed 's/^X//' >cal3d/pkg-descr << 'END-of-cal3d/pkg-descr'
XCal3D is a skeletal based 3D character animation library written in C++
Xin a way that is both platform-independent and graphics API-independent.
XIt was originally designed to be used in a 3D client for Worldforge, but
Xevolved into a stand-alone product which can be used in many different
Xkinds of projects.
X
XCal3D's essentials can be boiled down to 2 parts: the C++ library and
Xthe exporter. The exporter is what you would use to take your characters
X(built in a 3D modeling package) and create the Cal3D-format files that
Xthe library knows how to load. The exporters are actually plug-ins for
X3D modeling packages. This allows 3D artists to use the modeling tools
Xthat they're already comfortable with.
X
XThe C++ library is what you would actually use in your application,
Xwhether it's a game or a VR application. The library provides methods to
Xload your exported files, build characters, run animations, and access
Xthe data necessary to render them with 3D graphics. 
X
XWWW:	http://cal3d.sourceforge.net/
END-of-cal3d/pkg-descr
exit


--3V7upXqbjpZ4EhLz--



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