1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Add opengtl ang qtgtl ports, it required for KOffice2 suite

The Graphics Transformation Languages is a set of library for using and
integrating transformation algorithms (such as filter or color conversion)
in graphics applications.

Approved by:	miwi (mentor)
This commit is contained in:
Dima Panov 2009-12-08 12:00:52 +00:00
parent 4439b5857f
commit d9b7c5c724
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245407
9 changed files with 214 additions and 0 deletions

View File

@ -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

41
graphics/opengtl/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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

31
graphics/qtgtl/Makefile Normal file
View File

@ -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>

3
graphics/qtgtl/distinfo Normal file
View File

@ -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

18
graphics/qtgtl/pkg-descr Normal file
View File

@ -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

15
graphics/qtgtl/pkg-plist Normal file
View File

@ -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