adding collada document object model

This commit is contained in:
hsu 2010-03-03 23:11:04 +00:00
parent b610e3f23c
commit 8b3bd76735
5 changed files with 97 additions and 0 deletions

34
colladadom/Makefile Normal file
View File

@ -0,0 +1,34 @@
all: installed
TARBALL = build/collada-dom-2.2.zip
TARBALL_URL = http://sourceforge.net/projects/collada-dom/files/Collada%20DOM/Collada%20DOM%202.2/collada-dom-2.2.zip/download
SOURCE_DIR = build/colladadom
INITIAL_DIR = build/collada-dom/dom
UNPACK_CMD = unzip
TARBALL_PATCH=use_1_5.patch
MD5SUM_FILE = collada-dom-2.2.zip.md5sum
include $(shell rospack find mk)/download_unpack_build.mk
ROOT = $(shell rospack find colladadom)/colladadom
installed: wiped $(SOURCE_DIR)/unpacked
@echo "making it"
cd $(SOURCE_DIR) && make install
@echo "ROOT is: $(ROOT)"
-mkdir -p $(ROOT)
#cd $(SOURCE_DIR) ; make $(ROS_PARALLEL_JOBS);
#mv $(SOURCE_DIR)/boost $(ROOT)/
touch installed
wiped: Makefile
make wipe
touch wiped
clean:
-cd $(SOURCE_DIR) && make clean
rm -rf $(ROOT) installed
wipe: clean
rm -rf build
.PHONY : clean download wipe

View File

@ -0,0 +1 @@
bbb76ef2a8037c945c5cdf26829dcb7d build/collada-dom-2.2.zip

26
colladadom/mainpage.dox Normal file
View File

@ -0,0 +1,26 @@
/**
\mainpage
\htmlinclude manifest.html
\b colladadom is ...
<!--
Provide an overview of your package.
-->
\section codeapi Code API
<!--
Provide links to specific auto-generated API documentation within your
package that is of particular interest to a reader. Doxygen will
document pretty much every part of your code, so do your best here to
point the reader to the actual API.
If your codebase is fairly large or has different sets of APIs, you
should use the doxygen 'group' tag to keep these APIs together. For
example, the roscpp documentation has 'libros' group.
-->
*/

14
colladadom/manifest.xml Normal file
View File

@ -0,0 +1,14 @@
<package>
<description brief="colladadom">
collada-dom
</description>
<author>John Hsu</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>http://ros.org/wiki/colladadom</url>
</package>

22
colladadom/use_1_5.patch Normal file
View File

@ -0,0 +1,22 @@
Index: Makefile
===================================================================
--- Makefile 2008-10-02 17:48:30.000000000 -0700
+++ Makefile 2010-03-03 14:44:09.162398249 -0800
@@ -55,7 +55,7 @@
conf := release
# Collada version: '1.4', '1.5', or 'all'
-colladaVersion := 1.4
+colladaVersion := 1.5
# parser: 'libxml', 'tinyxml', or 'all'.
parser := libxml
@@ -188,7 +188,7 @@
ifneq ($(filter install uninstall installTest,$(MAKECMDGOALS)),)
# You can only install on Mac or Linux. Check for that.
ifeq ($(oss),linux)
-prefix := /usr/local
+prefix := ../../colladadom
else ifeq ($(oss),mac)
prefix := /Library/Frameworks
else