aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile2
-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
-rw-r--r--graphics/qtgtl/Makefile31
-rw-r--r--graphics/qtgtl/distinfo3
-rw-r--r--graphics/qtgtl/pkg-descr18
-rw-r--r--graphics/qtgtl/pkg-plist15
9 files changed, 214 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index feb5c5e73729..34deb46703c2 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -557,6 +557,7 @@
SUBDIR += opendx
SUBDIR += openexr_ctl
SUBDIR += opengl-man
+ SUBDIR += opengtl
SUBDIR += openjpeg
SUBDIR += openjump
SUBDIR += openrm
@@ -777,6 +778,7 @@
SUBDIR += qt4-imageformats
SUBDIR += qt4-pixeltool
SUBDIR += qt4-svg
+ SUBDIR += qtgtl
SUBDIR += qtpfsgui
SUBDIR += quat
SUBDIR += quat-gui
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
diff --git a/graphics/qtgtl/Makefile b/graphics/qtgtl/Makefile
new file mode 100644
index 000000000000..451d37ff62e5
--- /dev/null
+++ b/graphics/qtgtl/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: qtgtl
+# Date created: 28 September 2009
+# Whom: Alberto Villa <villa.alberto@gmail.com>
+# $FreeBSD$
+
+PORTNAME= qtgtl
+PORTVERSION= 0.9.0
+CATEGORIES= graphics devel
+MASTER_SITES= http://www.opengtl.org/download/
+DISTNAME= libQtGTL-${PORTVERSION}
+
+MAINTAINER= villa.alberto@gmail.com
+COMMENT= Qt bindings for the Graphics Transformation Languages
+
+LIB_DEPENDS= GTLCore.0:${PORTSDIR}/graphics/opengtl
+
+USE_BZIP2= yes
+USE_QT_VER= 4
+QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build
+MAKE_JOBS_SAFE= yes
+USE_CMAKE= yes
+USE_LDCONFIG= yes
+
+pre-configure:
+ ${REINPLACE_CMD} -e 's|set(QTGTL_LIB_SOVERSION.*|set(QTGTL_LIB_SOVERSION "0")|' \
+ ${PATCH_WRKSRC}/CMakeLists.txt
+ ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ ${PATCH_WRKSRC}/QtGTL/CMakeLists.txt \
+ ${PATCH_WRKSRC}/QtShiva/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/graphics/qtgtl/distinfo b/graphics/qtgtl/distinfo
new file mode 100644
index 000000000000..1f5ef2161bd9
--- /dev/null
+++ b/graphics/qtgtl/distinfo
@@ -0,0 +1,3 @@
+MD5 (libQtGTL-0.9.0.tar.bz2) = 9a6b817496cee29bd11b641110ae775e
+SHA256 (libQtGTL-0.9.0.tar.bz2) = 24f782fe795ad02bd9719828477a63736fa8108b16dafa599ac68d503076dccd
+SIZE (libQtGTL-0.9.0.tar.bz2) = 17934
diff --git a/graphics/qtgtl/pkg-descr b/graphics/qtgtl/pkg-descr
new file mode 100644
index 000000000000..dc62596f782f
--- /dev/null
+++ b/graphics/qtgtl/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/qtgtl/pkg-plist b/graphics/qtgtl/pkg-plist
new file mode 100644
index 000000000000..770bf72236e3
--- /dev/null
+++ b/graphics/qtgtl/pkg-plist
@@ -0,0 +1,15 @@
+include/QtGTL/QImageBuffer.h
+include/QtGTL/QImageImage.h
+include/QtShiva/KernelParametersWidget.h
+include/QtShiva/ParametersWidgetBase.h
+include/QtShiva/SourceParametersWidget.h
+lib/libQtGTL.so
+lib/libQtGTL.so.0
+lib/libQtGTL.so.0.9.0
+lib/libQtShiva.so
+lib/libQtShiva.so.0
+lib/libQtShiva.so.0.9.0
+libdata/pkgconfig/QtGTL.pc
+libdata/pkgconfig/QtShiva.pc
+@dirrm include/QtShiva
+@dirrm include/QtGTL