From 8b3bd76735c39de4d8f87b231862716cc88442e6 Mon Sep 17 00:00:00 2001 From: hsu Date: Wed, 3 Mar 2010 23:11:04 +0000 Subject: [PATCH] adding collada document object model --- colladadom/Makefile | 34 +++++++++++++++++++++++++++ colladadom/collada-dom-2.2.zip.md5sum | 1 + colladadom/mainpage.dox | 26 ++++++++++++++++++++ colladadom/manifest.xml | 14 +++++++++++ colladadom/use_1_5.patch | 22 +++++++++++++++++ 5 files changed, 97 insertions(+) create mode 100644 colladadom/Makefile create mode 100644 colladadom/collada-dom-2.2.zip.md5sum create mode 100644 colladadom/mainpage.dox create mode 100644 colladadom/manifest.xml create mode 100644 colladadom/use_1_5.patch diff --git a/colladadom/Makefile b/colladadom/Makefile new file mode 100644 index 0000000..af611a8 --- /dev/null +++ b/colladadom/Makefile @@ -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 diff --git a/colladadom/collada-dom-2.2.zip.md5sum b/colladadom/collada-dom-2.2.zip.md5sum new file mode 100644 index 0000000..2ba20f4 --- /dev/null +++ b/colladadom/collada-dom-2.2.zip.md5sum @@ -0,0 +1 @@ +bbb76ef2a8037c945c5cdf26829dcb7d build/collada-dom-2.2.zip diff --git a/colladadom/mainpage.dox b/colladadom/mainpage.dox new file mode 100644 index 0000000..386e4a1 --- /dev/null +++ b/colladadom/mainpage.dox @@ -0,0 +1,26 @@ +/** +\mainpage +\htmlinclude manifest.html + +\b colladadom is ... + + + + +\section codeapi Code API + + + + +*/ diff --git a/colladadom/manifest.xml b/colladadom/manifest.xml new file mode 100644 index 0000000..bbc7dc3 --- /dev/null +++ b/colladadom/manifest.xml @@ -0,0 +1,14 @@ + + + + collada-dom + + + John Hsu + BSD + + http://ros.org/wiki/colladadom + + + + diff --git a/colladadom/use_1_5.patch b/colladadom/use_1_5.patch new file mode 100644 index 0000000..94d7f8d --- /dev/null +++ b/colladadom/use_1_5.patch @@ -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