+2013-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * devel/itcl: new spell, object orientation for tcl
+ * graphics/gl2ps: new spell, an OpenGL to PostScript printer
+ * libs/yaml-cpp: new spell, a YAML parser and emitter in C++
+
+2013-01-12 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * graphics-libs/field3d: new spell, a library for representing
+ voxel data
+ * graphics-libs/openimageio: new spell, a library for reading and
writing
+ images
+ * graphics-libs/opencolorio: new spell, a complete color management
+ solution
+ * libs/libspnav: new spell, a replacement of the magellan library
+
2013-01-08 Ismael Luceno <ismael AT sourcemage.org>
* devel/heimdall: new spell, Tool to flash Samsung Galaxy S devices
diff --git a/devel/itcl/DEPENDS b/devel/itcl/DEPENDS
new file mode 100755
index 0000000..4845533
--- /dev/null
+++ b/devel/itcl/DEPENDS
@@ -0,0 +1 @@
+depends tcl
diff --git a/devel/itcl/DETAILS b/devel/itcl/DETAILS
new file mode 100755
index 0000000..ba86d13
--- /dev/null
+++ b/devel/itcl/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=itcl
+ VERSION=4.0b7
+ SOURCE="${SPELL}${VERSION}.tar.gz"
+
SOURCE_URL[0]=${SOURCEFORGE_URL}/incrtcl/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/Itcl%20${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:756afe374547d2b32d9ab751c0a01f672abc81c093df1a806e83c0fdbbcdba72333264102833093f76ec6f75f37b9724d419e605612f6f358d968f16519510de
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}${VERSION}"
+ WEB_SITE="http://incrtcl.sourceforge.net/itcl/"
+ LICENSE[0]=BSD
+ ENTERED=20130113
+ SHORT="object oriented Tcl"
+cat << EOF
+Applications built with Tcl/Tk come together with relative ease. A sticky
+note facility can be put together in an hour. A simple video game can be
+created in an afternoon. But as applications get larger, Tcl/Tk code becomes
+more and more difficult to understand, maintain and extend.
+
+[incr Tcl] provides the extra language support needed to build large Tcl/Tk
+applications. It introduces the notion of objects, which act as building
blocks
+for an application. Each object is a bag of data with a set of procedures or
+"methods" that are used to manipulate it. Objects are organized into
"classes"
+with identical characteristics, and classes can inherit functionality from
+one another. This object-oriented paradigm adds another level of organization
+on top of the basic variable/procedure elements, and the resulting code is
+easier to understand and maintain.
+EOF
diff --git a/devel/itcl/HISTORY b/devel/itcl/HISTORY
new file mode 100644
index 0000000..cdb4f80
--- /dev/null
+++ b/devel/itcl/HISTORY
@@ -0,0 +1,3 @@
+2013-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS: spell created
+
diff --git a/devel/tcl/DETAILS b/devel/tcl/DETAILS
index f8e6153..40b64cc 100755
--- a/devel/tcl/DETAILS
+++ b/devel/tcl/DETAILS
@@ -1,11 +1,12 @@
SPELL=tcl
-if [ "$DEVEL" = "y" ]; then
- VERSION=8.6b2
+if [ "$TCL_BRANCH" = "devel" ]; then
+ VERSION=8.6.0
SOURCE=tcl$VERSION-src.tar.gz
- SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
+
SOURCE_HASH=sha512:ea64d2bb5b37b55bc424c759c67b5624e7d9a13b8bede744fd635cf668ff9e4a8681e41d94849f6c0a3564ee177268cbc3e5f287448b5a93179098d678e321f8
+# SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
else
- VERSION=8.5.11
-
SOURCE_HASH=sha512:1696a3375de2f1ee436d475ada39c6d3c2aac4128bf7c0410650cbecdc11dddb77282c4fe2882692e50c70cdbe3b2dd9970082b812c3b2c27d34f76de2776bfc
+ VERSION=8.6.0
+
SOURCE_HASH=sha512:ea64d2bb5b37b55bc424c759c67b5624e7d9a13b8bede744fd635cf668ff9e4a8681e41d94849f6c0a3564ee177268cbc3e5f287448b5a93179098d678e321f8
SOURCE=tcl$VERSION-src.tar.gz
# SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
fi
diff --git a/devel/tcl/HISTORY b/devel/tcl/HISTORY
index f4d437c..04c8187 100644
--- a/devel/tcl/HISTORY
+++ b/devel/tcl/HISTORY
@@ -1,3 +1,9 @@
+2013-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: stable and devel version 8.6.0
+ * PREPARE, DETAILS: use prepare_select_branch
+ * SUB_DEPENDS, PRE_SUB_DEPENDS: add sub dependency on
+ devel and stable branch
+
2012-04-11 Sukneet Basuta <sukneet AT sourcemage.org>
* DETAILS: updated devel to 8.6b2
diff --git a/devel/tcl/PREPARE b/devel/tcl/PREPARE
index afb62aa..a9b46f9 100755
--- a/devel/tcl/PREPARE
+++ b/devel/tcl/PREPARE
@@ -1 +1,2 @@
-config_query DEVEL "Build devel 8.6 series?" n
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable devel
diff --git a/devel/tcl/PRE_SUB_DEPENDS b/devel/tcl/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..e74feae
--- /dev/null
+++ b/devel/tcl/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ DEVEL) if [[ "$TCL_BRANCH" == "devel" ]]; then return 0; fi;;
+ STABLE) if [[ "$TCL_BRANCH" == "stable" ]]; then return 0; fi;;
+esac
+return 1
diff --git a/devel/tcl/SUB_DEPENDS b/devel/tcl/SUB_DEPENDS
new file mode 100755
index 0000000..8e21726
--- /dev/null
+++ b/devel/tcl/SUB_DEPENDS
@@ -0,0 +1,7 @@
+case $THIS_SUB_DEPENDS in
+ DEVEL) echo "Devel release needed, forcing it." &&
+ TCL_BRANCH="devel" ;;
+ STABLE) echo "Devel release needed, forcing it." &&
+ TCL_BRANCH="stable" ;;
+ *) echo "unknown sub-depends!"; return 1 ;;
+esac
diff --git a/devel/tcl/tcl8.6b2-src.tar.gz.sig
b/devel/tcl/tcl8.6b2-src.tar.gz.sig
deleted file mode 100644
index 33e2d5c..0000000
Binary files a/devel/tcl/tcl8.6b2-src.tar.gz.sig and /dev/null differ
diff --git a/devel/tk/DEPENDS b/devel/tk/DEPENDS
index 21d1279..5a706f0 100755
--- a/devel/tk/DEPENDS
+++ b/devel/tk/DEPENDS
@@ -1,3 +1,8 @@
depends xorg-libs &&
depends tcl "--with-tcl=${INSTALL_ROOT}/usr/lib" &&
+if [[ $TK_BRANCH == "devel" ]]; then
+ sub_depends tcl DEVEL
+else
+ sub_depends tcl STABLE
+fi &&
depends fontconfig
diff --git a/devel/tk/DETAILS b/devel/tk/DETAILS
index e60c096..3c2c26f 100755
--- a/devel/tk/DETAILS
+++ b/devel/tk/DETAILS
@@ -1,12 +1,13 @@
SPELL=tk
if [ "$DEVEL" = "y" ]; then
- VERSION=8.6b2
+ VERSION=8.6.0
SOURCE=tk$VERSION-src.tar.gz
- SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
+
SOURCE_HASH=sha512:e78c3f3a8dacd6c1aaa4587f7e4e2a2a6a5adf3957c89bf450cea82d85701242729ccf6232cef71138685926f6a44fe683aa6425d0c4738326637e88b3d9e38d
+# SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
else
- VERSION=8.5.11
+ VERSION=8.6.0
SOURCE=tk$VERSION-src.tar.gz
-
SOURCE_HASH=sha512:c00cc0cdaafbee24d104fb55c90f61143090ad38b47cc5e77e724638ac357dce83417da3adeca7afc881262cd145b286ad5e9957e53338639f2b2426a81750ec
+
SOURCE_HASH=sha512:e78c3f3a8dacd6c1aaa4587f7e4e2a2a6a5adf3957c89bf450cea82d85701242729ccf6232cef71138685926f6a44fe683aa6425d0c4738326637e88b3d9e38d
fi
SOURCE_DIRECTORY=$BUILD_DIRECTORY/tk$VERSION
SOURCE_URL[0]=$SOURCEFORGE_URL/tcl/$SOURCE
diff --git a/devel/tk/HISTORY b/devel/tk/HISTORY
index df64745..fb8afcb 100644
--- a/devel/tk/HISTORY
+++ b/devel/tk/HISTORY
@@ -1,3 +1,11 @@
+2013-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: stable and devel version 8.6.0
+ * PREPARE, DETAILS: use prepare_select_branch
+ * SUB_DEPENDS, PRE_SUB_DEPENDS: add sub dependency on
+ devel and stable branch
+ * DEPENDS: force devel or stable version of tcl depending
+ on the version selected for tk
+
2012-04-11 Sukneet Basuta <sukneet AT sourcemage.org>
* DETAILS: updated stable to 8.5.11
updated devel to 8.6b2
diff --git a/devel/tk/PREPARE b/devel/tk/PREPARE
index afb62aa..a9b46f9 100755
--- a/devel/tk/PREPARE
+++ b/devel/tk/PREPARE
@@ -1 +1,2 @@
-config_query DEVEL "Build devel 8.6 series?" n
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable devel
diff --git a/devel/tk/PRE_SUB_DEPENDS b/devel/tk/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..12c2803
--- /dev/null
+++ b/devel/tk/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ DEVEL) if [[ "$TK_BRANCH" == "devel" ]]; then return 0; fi;;
+ STABLE) if [[ "$TK_BRANCH" == "stable" ]]; then return 0; fi;;
+esac
+return 1
diff --git a/devel/tk/SUB_DEPENDS b/devel/tk/SUB_DEPENDS
new file mode 100755
index 0000000..833603c
--- /dev/null
+++ b/devel/tk/SUB_DEPENDS
@@ -0,0 +1,7 @@
+case $THIS_SUB_DEPENDS in
+ DEVEL) echo "Devel release needed, forcing it." &&
+ TK_BRANCH="devel" ;;
+ STABLE) echo "Devel release needed, forcing it." &&
+ TK_BRANCH="stable" ;;
+ *) echo "unknown sub-depends!"; return 1 ;;
+esac
diff --git a/devel/tk/tk8.6b2-src.tar.gz.sig b/devel/tk/tk8.6b2-src.tar.gz.sig
deleted file mode 100644
index 6c797da..0000000
Binary files a/devel/tk/tk8.6b2-src.tar.gz.sig and /dev/null differ
diff --git a/graphics-libs/field3d/BUILD b/graphics-libs/field3d/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/graphics-libs/field3d/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/graphics-libs/field3d/DEPENDS b/graphics-libs/field3d/DEPENDS
new file mode 100755
index 0000000..5f1ed1e
--- /dev/null
+++ b/graphics-libs/field3d/DEPENDS
@@ -0,0 +1,7 @@
+depends -sub PROGRAM_OPTIONS boost &&
+depends -sub THREAD boost &&
+depends cmake &&
+depends doxygen &&
+depends -sub CXX gcc &&
+depends hdf5 &&
+depends ilmbase
diff --git a/graphics-libs/field3d/DETAILS b/graphics-libs/field3d/DETAILS
new file mode 100755
index 0000000..20aa345
--- /dev/null
+++ b/graphics-libs/field3d/DETAILS
@@ -0,0 +1,29 @@
+ SPELL=field3d
+ VERSION=1.3.2
+ XVERSION=94d1bf3
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://github.com/imageworks/Field3D/tarball/v${VERSION}
+
SOURCE_HASH=sha512:e587d115b84c1992c9803d4bd28919ed1a178882d712824a5d9e78ee9bf2f99ba8974b8cde15e5dbacdaac1335be26db73f7550c8175bcd6aecd8728d9fb7faf
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/imageworks-Field3D-${XVERSION}"
+ WEB_SITE="https://sites.google.com/site/field3d/home"
+ LICENSE[0]=BSD
+ ENTERED=20130112
+ SHORT="an open source library for storing voxel data"
+cat << EOF
+Field3D is an open source library for storing voxel data. It provides C++
+classes that handle in-memory storage and a file format based on HDF5 that
+allows the C++ objects to be written to and read from disk.
+
+The library and file format is both flexible and extendable. The flexibility
+comes from supporting heterogeneous storage of data structures, bit depths,
+transformations/mappings and metadata in a single file. When functionality
+needs to be extended, the plugin and class factory architecture allows new
+data structures, mappings and file I/O routines to be added.
+
+Field3D was developed with the needs and scale of visual effects production
+in mind. Dense and MAC-fields handle the basic tasks in fluid simulation and
+volume rendering, and where memory becomes a limiting factor optimization
+of used/unused space is provided by the sparse fields, which include an
+out-of-core/dynamic loading mechanism. Procedural fields are also supported,
+which may be used interchangeably with voxel-based fields.
+EOF
diff --git a/graphics-libs/field3d/HISTORY b/graphics-libs/field3d/HISTORY
new file mode 100644
index 0000000..548080c
--- /dev/null
+++ b/graphics-libs/field3d/HISTORY
@@ -0,0 +1,3 @@
+2013-01-12 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
diff --git a/graphics-libs/opencolorio/BUILD b/graphics-libs/opencolorio/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/graphics-libs/opencolorio/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/graphics-libs/opencolorio/DEPENDS
b/graphics-libs/opencolorio/DEPENDS
new file mode 100755
index 0000000..9a1a24f
--- /dev/null
+++ b/graphics-libs/opencolorio/DEPENDS
@@ -0,0 +1,12 @@
+depends cmake &&
+depends -sub CXX gcc &&
+depends tinyxml "-DUSE_EXTERNAL_TINYXML=on" &&
+depends lcms2 "-DUSE_EXTERNAL_LCMS=on" &&
+optional_depends python \
+ "" \
+ "" \
+ "for python bindings" &&
+optional_depends openimageio \
+ "" \
+ "" \
+ "for OpenImageIO support"
diff --git a/graphics-libs/opencolorio/DETAILS
b/graphics-libs/opencolorio/DETAILS
new file mode 100755
index 0000000..8168611
--- /dev/null
+++ b/graphics-libs/opencolorio/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=opencolorio
+ VERSION=1.0.8
+ XVERSION=8883824
+ SOURCE="opencolorio-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://github.com/imageworks/OpenColorIO/tarball/v${VERSION}
+
SOURCE_HASH=sha512:16c0deab84013d96c9741a58ddc44a90be6a6eac317b8ceb87afad914aa9b0e1d5880dc11ae3c40d22e4a87b553e3b5a1a8a66c064f71c2203b4b605a97851a1
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/imageworks-OpenColorIO-${XVERSION}"
+ WEB_SITE="http://opencolorio.org/index.html"
+ LICENSE[0]=BSD
+ ENTERED=20130111
+ SHORT="a complete color management solution geared towards motion
picture production"
+cat << EOF
+OpenColorIO (OCIO) is a complete color management solution geared towards
+motion picture production with an emphasis on visual effects and computer
+animation. OCIO provides a straightforward and consistent user experience
+across all supporting applications while allowing for sophisticated back-end
+configuration options suitable for high-end production usage. OCIO is
+compatible with the Academy Color Encoding Specification (ACES) and is
+LUT-format agnostic, supporting many popular formats.
+EOF
diff --git a/graphics-libs/opencolorio/HISTORY
b/graphics-libs/opencolorio/HISTORY
new file mode 100644
index 0000000..2886632
--- /dev/null
+++ b/graphics-libs/opencolorio/HISTORY
@@ -0,0 +1,3 @@
+2013-01-11 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
diff --git
a/graphics-libs/openimageio/0001-fix-compile-errors-due-to-missing-headers.patch
b/graphics-libs/openimageio/0001-fix-compile-errors-due-to-missing-headers.patch
new file mode 100644
index 0000000..1fb5416
--- /dev/null
+++
b/graphics-libs/openimageio/0001-fix-compile-errors-due-to-missing-headers.patch
@@ -0,0 +1,53 @@
+From 1d4925c5a87cb23c6bc3487b49e3981480b6d36f Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+Date: Fri, 11 Jan 2013 22:57:04 +0100
+Subject: [PATCH] fix compile errors due to missing headers
+
+---
+ src/libtexture/texturesys.cpp | 1 +
+ src/libutil/SHA1.cpp | 2 +-
+ src/testtex/testtex.cpp | 1 +
+ 3 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/libtexture/texturesys.cpp b/src/libtexture/texturesys.cpp
+index c5fdd90..ff69213 100644
+--- a/src/libtexture/texturesys.cpp
++++ b/src/libtexture/texturesys.cpp
+@@ -31,6 +31,7 @@
+
+ #include <math.h>
+ #include <string>
++#include <cstring>
+ #include <sstream>
+ #include <list>
+ #include <boost/tr1/memory.hpp>
+diff --git a/src/libutil/SHA1.cpp b/src/libutil/SHA1.cpp
+index b9e6c8b..c761185 100644
+--- a/src/libutil/SHA1.cpp
++++ b/src/libutil/SHA1.cpp
+@@ -8,9 +8,9 @@
+
+ // If compiling with MFC, you might want to add #include "StdAfx.h"
+
++#include "SHA1.h"
+ #include "hash.h"
+ #include "dassert.h"
+-#include "SHA1.h"
+
+ #ifdef SHA1_UTILITY_FUNCTIONS
+ #define SHA1_MAX_FILE_BUFFER 8000
+diff --git a/src/testtex/testtex.cpp b/src/testtex/testtex.cpp
+index 6361593..6b7a27c 100644
+--- a/src/testtex/testtex.cpp
++++ b/src/testtex/testtex.cpp
+@@ -29,6 +29,7 @@
+ */
+
+
++#include <cstring>
+ #include <cstdio>
+ #include <cstdlib>
+ #include <cmath>
+--
+1.8.1
+
diff --git a/graphics-libs/openimageio/BUILD b/graphics-libs/openimageio/BUILD
new file mode 100755
index 0000000..ccaba29
--- /dev/null
+++ b/graphics-libs/openimageio/BUILD
@@ -0,0 +1,5 @@
+mkdir -p ${SOURCE_DIRECTORY}/build &&
+cd ${SOURCE_DIRECTORY}/build &&
+prepare_cmake_flags &&
+cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT/usr
-DSYSCONFDIR=$INSTALL_ROOT/etc $OPTS ../src &&
+default_build_make
diff --git a/graphics-libs/openimageio/DEPENDS
b/graphics-libs/openimageio/DEPENDS
new file mode 100755
index 0000000..40be2b9
--- /dev/null
+++ b/graphics-libs/openimageio/DEPENDS
@@ -0,0 +1,30 @@
+depends -sub FILESYSTEM boost &&
+depends -sub REGEX boost &&
+depends -sub SYSTEM boost &&
+depends -sub THREAD boost &&
+depends openexr &&
+depends -sub CXX gcc &&
+depends ilmbase &&
+depends libxext &&
+depends libice &&
+depends libx11 &&
+depends hdf5 &&
+depends libwebp &&
+depends zlib &&
+depends libpng &&
+depends JPEG &&
+depends tiff &&
+
+optional_depends opencolorio "-DUSE_OCIO=on" "-DUSE_OCIO=off" "for color
managment" &&
+optional_depends field3d "-DUSE_FIELD3D=on" "-DUSE_FIELD3D=off" "for field3d
support" &&
+optional_depends tbb "-DUSE_TBB=on" "-DUSE_TBB=off" "use tbb" &&
+optional_depends qt4 "-DUSE_QT=on" "-DUSE_QT=off" "for qt bindings" &&
+optional_depends python "-DUSE_PYTHON=on" "-DUSE_PYTHON=off" "for python
bindings" &&
+optional_depends opencv "-DUSE_OPENCV=on" "-DUSE_OPENCV=off" "for OpenCV
support" &&
+optional_depends freetype2 "-DUSE_FREETYPE=on" "-DUSE_FREETYPE=off" "for
freetype2 support" &&
+optional_depends OPENGL "-DUSE_OPENGL=on" "-DUSE_OPENGL=off" "for OpenGL
support" &&
+if is_depends_enabled $SPELL OPENGL; then
+ depends glew
+fi &&
+
+optional_depends openjpeg "-DUSE_OPENJPEG=on" "-DUSE_OPENJPEG=off" "for
openjpeg support"
diff --git a/graphics-libs/openimageio/DETAILS
b/graphics-libs/openimageio/DETAILS
new file mode 100755
index 0000000..d7e59bf
--- /dev/null
+++ b/graphics-libs/openimageio/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=openimageio
+ VERSION=1.1.3
+ XVERSION=77be26d
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://github.com/OpenImageIO/oiio/tarball/Release-${VERSION}
+
SOURCE_HASH=sha512:88afa95e0ee7e05b78f4fb75edca9b3fd2cd4b460b75a4a7f11c61b561d822080e7727de8900b7595c75bd81e47bd3473f74b3df8f095888442b250a109c57f8
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/OpenImageIO-oiio-${XVERSION}"
+ WEB_SITE="https://sites.google.com/site/openimageio/"
+ LICENSE[0]=BSD
+ ENTERED=20130111
+ SHORT="a library for reading and writing images"
+cat << EOF
+OpenImageIO is a library for reading and writing images, and a bunch of
+related classes, utilities, and applications. There is a particular emphasis
+on formats and functionality used in professional, large-scale animation and
+visual effects work for film. OpenImageIO is used extensively in animation
+and VFX studios all over the world, and is also incorporated into several
+commercial products.
+EOF
diff --git a/graphics-libs/openimageio/HISTORY
b/graphics-libs/openimageio/HISTORY
new file mode 100644
index 0000000..b634ca9
--- /dev/null
+++ b/graphics-libs/openimageio/HISTORY
@@ -0,0 +1,4 @@
+2013-01-11 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * 0001-fix-compile-errors-due-to-missing-headers.patch, BUILD,
+ DEPENDS, DETAILS, PRE_BUILD: spell created
+
diff --git a/graphics-libs/openimageio/PRE_BUILD
b/graphics-libs/openimageio/PRE_BUILD
new file mode 100755
index 0000000..6aee1de
--- /dev/null
+++ b/graphics-libs/openimageio/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+patch -p1 <
${SPELL_DIRECTORY}/0001-fix-compile-errors-due-to-missing-headers.patch
diff --git a/graphics/gl2ps/0001-add-libm-to-EXTERNAL_LIBRARIES.patch
b/graphics/gl2ps/0001-add-libm-to-EXTERNAL_LIBRARIES.patch
new file mode 100644
index 0000000..fa62716
--- /dev/null
+++ b/graphics/gl2ps/0001-add-libm-to-EXTERNAL_LIBRARIES.patch
@@ -0,0 +1,26 @@
+From 262107bee42f272eb96b471f60d01ab34849116b Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+Date: Sun, 13 Jan 2013 13:34:50 +0100
+Subject: [PATCH] add libm to EXTERNAL_LIBRARIES
+
+---
+ CMakeLists.txt | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 82c4111..b7ce128 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -44,6 +44,9 @@ endif(DEFINED CMAKE_BUILD_TYPE)
+
+ project(gl2ps C)
+
++find_library(M_LIB m)
++list(APPEND EXTERNAL_LIBRARIES ${M_LIB})
++
+ option(ENABLE_ZLIB "Enable compression using ZLIB" ON)
+ option(ENABLE_PNG "Enable PNG support" ON)
+
+--
+1.8.1
+
diff --git a/graphics/gl2ps/BUILD b/graphics/gl2ps/BUILD
new file mode 100755
index 0000000..a304315
--- /dev/null
+++ b/graphics/gl2ps/BUILD
@@ -0,0 +1,2 @@
+OPTS+=" -DCMAKE_SHARED_LINKER_FLAGS=-lm" &&
+cmake_build
diff --git a/graphics/gl2ps/DEPENDS b/graphics/gl2ps/DEPENDS
new file mode 100755
index 0000000..f113c63
--- /dev/null
+++ b/graphics/gl2ps/DEPENDS
@@ -0,0 +1,8 @@
+depends OPENGL &&
+depends GLUT &&
+optional_depends zlib "-DENABLE_ZLIB=on" "-DENABLE_ZLIB=off" "for zlib
compression support" &&
+optional_depends libpng "-DENABLE_PNG=on" "-DENABLE_PNG=off" "support for
png images" &&
+depends texlive &&
+depends libxext &&
+depends libx11 &&
+depends libice
diff --git a/graphics/gl2ps/DETAILS b/graphics/gl2ps/DETAILS
new file mode 100755
index 0000000..74d47bd
--- /dev/null
+++ b/graphics/gl2ps/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=gl2ps
+ VERSION=1.3.8
+ SOURCE="${SPELL}-${VERSION}.tgz"
+ SOURCE_URL[0]=http://geuz.org/${SPELL}/src/${SOURCE}
+
SOURCE_HASH=sha512:76e90d675764196d249d87c6041088736a8b41d9b93620c6171a40362a259d50e34d5efc06e4ea17e6c147bc26b6a3a7356d95ea5e204193ef631fb48e0c0a4e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}-source"
+ WEB_SITE="http://www.geuz.org/gl2ps/"
+ LICENSE[0]=GPL
+ ENTERED=20130113
+ SHORT="an OpenGL to PostScript printing library"
+cat << EOF
+An OpenGL to PostScript printing library.
+EOF
diff --git a/graphics/gl2ps/HISTORY b/graphics/gl2ps/HISTORY
new file mode 100644
index 0000000..2cc4f50
--- /dev/null
+++ b/graphics/gl2ps/HISTORY
@@ -0,0 +1,4 @@
+2013-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS,
+ 0001-add-libm-to-EXTERNAL_LIBRARIES.patch: spell created
+
diff --git a/graphics/gl2ps/PRE_BUILD b/graphics/gl2ps/PRE_BUILD
new file mode 100755
index 0000000..36622b4
--- /dev/null
+++ b/graphics/gl2ps/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+patch -p1 < ${SPELL_DIRECTORY}/0001-add-libm-to-EXTERNAL_LIBRARIES.patch
diff --git a/libs/libspnav/DEPENDS b/libs/libspnav/DEPENDS
new file mode 100755
index 0000000..9ebd881
--- /dev/null
+++ b/libs/libspnav/DEPENDS
@@ -0,0 +1,4 @@
+optional_depends libx11 \
+ "--enable-x11" \
+ "--disable-x11" \
+ "enable X11 communication mode"
diff --git a/libs/libspnav/DETAILS b/libs/libspnav/DETAILS
new file mode 100755
index 0000000..91cb442
--- /dev/null
+++ b/libs/libspnav/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=libspnav
+ VERSION=0.2.2
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ http://downloads.sourceforge.net/project/spacenav/spacenav%20library%20%28SDK%29/libspnav%200.2.2/libspnav-0.2.2.tar.gz
+
SOURCE_URL[0]=${SOURCEFORGE_URL}/spacenav/spacenav%20library%20%28SDK%29/libspnav%20${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:78b26e6fe4a98af579738743ac4bc2f1de5ccfa9316a103a58ebb935f281fba04b8c6c28c0d63abda15a52c0288e371231425a3a21b26c083a5de7ab101f1940
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://spacenav.sourceforge.net/"
+ LICENSE[0]=BSD
+ ENTERED=20130112
+ SHORT="a free, compatible alternative to the proprietary
3Dconnexion device driver"
+cat << EOF
+The spacenav project provides a free, compatible alternative to the
proprietary
+3Dconnexion device driver and SDK, for their 3D input devices (called "space
+navigator", "space pilot", "space traveller", etc).
+EOF
diff --git a/libs/libspnav/HISTORY b/libs/libspnav/HISTORY
new file mode 100644
index 0000000..2116d49
--- /dev/null
+++ b/libs/libspnav/HISTORY
@@ -0,0 +1,3 @@
+2013-01-12 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS: spell created
+
diff --git a/libs/libspnav/PRE_BUILD b/libs/libspnav/PRE_BUILD
new file mode 100755
index 0000000..0c0d26a
--- /dev/null
+++ b/libs/libspnav/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+sedit 's:^CFLAGS =:CFLAGS +=:' Makefile.in &&
+sedit 's:CC =.*::' Makefile.in &&
+sedit 's:$(CC) -shared:$(CC) -shared $(LDFLAGS):' Makefile.in
diff --git a/libs/yaml-cpp/BUILD b/libs/yaml-cpp/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/libs/yaml-cpp/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/libs/yaml-cpp/DEPENDS b/libs/yaml-cpp/DEPENDS
new file mode 100755
index 0000000..2a6876d
--- /dev/null
+++ b/libs/yaml-cpp/DEPENDS
@@ -0,0 +1,3 @@
+depends cmake &&
+depends boost &&
+depends -sub CXX gcc
diff --git a/libs/yaml-cpp/DETAILS b/libs/yaml-cpp/DETAILS
new file mode 100755
index 0000000..bae1083
--- /dev/null
+++ b/libs/yaml-cpp/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=yaml-cpp
+ VERSION=0.5.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://${SPELL}.googlecode.com/files/${SOURCE}
+
SOURCE_HASH=sha512:901add4a5679aecb95aace6ef7eaf5dd7f7c00513cc673e3e52cbdb25b1fe15199d1ac8fd8b716aba8469eb8e547291a74daac9c37cb8be7e308b1c87d30dd92
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://code.google.com/p/yaml-cpp/"
+ LICENSE[0]=MIT
+ ENTERED=20130113
+ SHORT="a YAML parser and emitter in C++"
+cat << EOF
+yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.
+EOF
diff --git a/libs/yaml-cpp/HISTORY b/libs/yaml-cpp/HISTORY
new file mode 100644
index 0000000..83ed432
--- /dev/null
+++ b/libs/yaml-cpp/HISTORY
@@ -0,0 +1,3 @@
+2013-01-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
diff --git a/mail/thunderbird/BUILD b/mail/thunderbird/BUILD
index e1dc3e4..0f266cd 100755
--- a/mail/thunderbird/BUILD
+++ b/mail/thunderbird/BUILD
@@ -34,6 +34,7 @@ fi
./configure --prefix=${INSTALL_ROOT}/usr \
--with-user-appdir=.thunderbird \
--enable-application=mail \
+ --disable-system-cairo \
--disable-crashreporter \
$OPTS &&