aboutsummaryrefslogtreecommitdiff
path: root/graphics/opengtl
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2009-12-08 12:00:52 +0000
committerDima Panov <fluffy@FreeBSD.org>2009-12-08 12:00:52 +0000
commitd9b7c5c724fbde5a25c15d594ec886ab24422c13 (patch)
tree842c5e9d4baefdb32195ccdb06819c859b86d73e /graphics/opengtl
parent4439b5857f9bece90e1d4058709ffa51f7ddfb93 (diff)
downloadports-d9b7c5c724fbde5a25c15d594ec886ab24422c13.tar.gz
ports-d9b7c5c724fbde5a25c15d594ec886ab24422c13.zip
Notes
Diffstat (limited to 'graphics/opengtl')
-rw-r--r--graphics/opengtl/Makefile41
-rw-r--r--graphics/opengtl/distinfo3
-rw-r--r--graphics/opengtl/pkg-descr18
-rw-r--r--graphics/opengtl/pkg-plist83
4 files changed, 145 insertions, 0 deletions
diff --git a/graphics/opengtl/Makefile b/graphics/opengtl/Makefile
new file mode 100644
index 000000000000..c3e011900a6a
--- /dev/null
+++ b/graphics/opengtl/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: opengtl
+# Date created: 28 September 2009
+# Whom: Alberto Villa <villa.alberto@gmail.com>
+# $FreeBSD$
+
+PORTNAME= opengtl
+PORTVERSION= 0.9.12
+CATEGORIES= graphics devel
+MASTER_SITES= http://www.opengtl.org/download/
+DISTNAME= OpenGTL-${PORTVERSION}
+
+MAINTAINER= villa.alberto@gmail.com
+COMMENT= Graphics Transformation Languages
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+BUILD_DEPENDS= llvm>=2.5:${PORTSDIR}/devel/llvm
+
+USE_BZIP2= yes
+USE_PERL5= yes
+MAKE_JOBS_SAFE= yes
+USE_CMAKE= yes
+USE_LDCONFIG= yes
+CMAKE_USE_PTHREAD= yes
+
+post-patch:
+#disable layex doc, it not ready yer
+ ${REINPLACE_CMD} -e '/add_subdirectory.*doc/d' \
+ ${PATCH_WRKSRC}/OpenShiva/CMakeLists.txt
+
+pre-configure:
+ ${REINPLACE_CMD} -e 's|set(OPENGTL_LIB_SOVERSION.*|set(OPENGTL_LIB_SOVERSION "0")|' \
+ ${PATCH_WRKSRC}/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ ${PATCH_WRKSRC}/OpenCTL/OpenCTL/CMakeLists.txt \
+ ${PATCH_WRKSRC}/OpenGTL/GTLCore/CMakeLists.txt \
+ ${PATCH_WRKSRC}/OpenGTL/GTLImageIO/CMakeLists.txt \
+ ${PATCH_WRKSRC}/OpenShiva/OpenShiva/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|(int) pthread_self|(unsigned long long) pthread_self|' \
+ ${PATCH_WRKSRC}/OpenGTL/GTLCore/MemoryManager_p.cpp
+
+.include <bsd.port.mk>
diff --git a/graphics/opengtl/distinfo b/graphics/opengtl/distinfo
new file mode 100644
index 000000000000..2d8359422580
--- /dev/null
+++ b/graphics/opengtl/distinfo
@@ -0,0 +1,3 @@
+MD5 (OpenGTL-0.9.12.tar.bz2) = c45fddf10c922ebcf9cb5b7c5df89220
+SHA256 (OpenGTL-0.9.12.tar.bz2) = 07ac111c4041370a0ebda35200d0a04e38f3932ada20225e86c644e6e6260659
+SIZE (OpenGTL-0.9.12.tar.bz2) = 482004
diff --git a/graphics/opengtl/pkg-descr b/graphics/opengtl/pkg-descr
new file mode 100644
index 000000000000..dc62596f782f
--- /dev/null
+++ b/graphics/opengtl/pkg-descr
@@ -0,0 +1,18 @@
+The Graphics Transformation Languages is a set of libraries for using and
+integrating transformation algorithms (such as filter or color conversion) in
+graphics applications.
+The goal is to provide the tools, languages and libraries to create generic
+transformation for graphics. Those transformations could then be used by
+different programs (Krita, The Gimp, CinePaint, gegl...).
+
+Currently the focus is on developing two languages, designed for two different
+implementations.
+- OpenCTL which is a GPL compatible of the Color Transformation Language, this
+ language is dedicated at transforming the value of a single pixel (for
+ instance brightness adjustement or desaturate). CTL is designed to be part of
+ the Color Management process.
+- OpenShiva is inspired by Adobe's Hydra language from the AIF Toolkit, Shiva
+ is a language that apply a kernel-like transformations on an image, that means
+ it works using more than one pixel.
+
+WWW: http://opengtl.org
diff --git a/graphics/opengtl/pkg-plist b/graphics/opengtl/pkg-plist
new file mode 100644
index 000000000000..f2dfa1a8a80e
--- /dev/null
+++ b/graphics/opengtl/pkg-plist
@@ -0,0 +1,83 @@
+bin/ctlc
+bin/ctli
+bin/ctltc
+bin/gtlconvert
+bin/imagecompare
+bin/shiva
+bin/shivac
+bin/shivainfo
+bin/shivatester
+include/GTLCore/AbstractImage.h
+include/GTLCore/Array.h
+include/GTLCore/Buffer.h
+include/GTLCore/BufferImage.h
+include/GTLCore/CategoriesManager.h
+include/GTLCore/Category.h
+include/GTLCore/ErrorMessage.h
+include/GTLCore/Export.h
+include/GTLCore/Function.h
+include/GTLCore/Image.h
+include/GTLCore/Macros.h
+include/GTLCore/Metadata/Entry.h
+include/GTLCore/Metadata/Group.h
+include/GTLCore/Metadata/ParameterEntry.h
+include/GTLCore/Metadata/TextEntry.h
+include/GTLCore/Parameter.h
+include/GTLCore/PixelDescription.h
+include/GTLCore/ProgressReport.h
+include/GTLCore/Region.h
+include/GTLCore/RegionF.h
+include/GTLCore/ScopedName.h
+include/GTLCore/String.h
+include/GTLCore/Type.h
+include/GTLCore/TypesManager.h
+include/GTLCore/Value.h
+include/GTLCore/Version.h
+include/GTLImageIO/Export.h
+include/GTLImageIO/ImageDC.h
+include/GTLImageIO/ImageDCRegistry.h
+include/OpenCTL/Export.h
+include/OpenCTL/Module.h
+include/OpenCTL/ModulesManager.h
+include/OpenCTL/Program.h
+include/OpenCTL/Template.h
+include/OpenCTL/Version.h
+include/OpenShiva/Export.h
+include/OpenShiva/Kernel.h
+include/OpenShiva/LibrariesManager.h
+include/OpenShiva/Library.h
+include/OpenShiva/Metadata.h
+include/OpenShiva/Source.h
+include/OpenShiva/SourcesCollection.h
+include/OpenShiva/Version.h
+lib/GTLImageIO/Extensions/libPngDC.so
+lib/GTLImageIO/Extensions/libRawDC.so
+lib/libGTLCore.so
+lib/libGTLCore.so.0
+lib/libGTLCore.so.0.9.12
+lib/libGTLImageIO.so
+lib/libGTLImageIO.so.0
+lib/libGTLImageIO.so.0.9.12
+lib/libOpenCTL.so
+lib/libOpenCTL.so.0
+lib/libOpenCTL.so.0.9.12
+lib/libOpenShiva.so
+lib/libOpenShiva.so.0
+lib/libOpenShiva.so.0.9.12
+libdata/pkgconfig/GTLCore.pc
+libdata/pkgconfig/GTLImageIO.pc
+libdata/pkgconfig/OpenCTL.pc
+libdata/pkgconfig/OpenShiva.pc
+share/OpenGTL/ctl/ctlstdlib.ctl
+share/OpenGTL/shiva/libraries/shivastdlib.shiva
+@dirrm share/OpenGTL/shiva/libraries
+@dirrm share/OpenGTL/shiva
+@dirrm share/OpenGTL/ctl
+@dirrm share/OpenGTL
+@dirrm lib/GTLImageIO/Extensions
+@dirrm lib/GTLImageIO
+@dirrm include/OpenShiva
+@dirrm include/OpenCTL
+@dirrm include/GTLImageIO
+@dirrm include/GTLCore/Metadata
+@dirrm include/GTLCore