import ctl 1.4.1

The Color Transformation Language, or "CTL," is a portable and
platform-independent scripting language and interpreter, is intended to
be used as a building block for color management systems as well as for
sharing transforms in a common format.

from John Danks, with some tweaks by me
This commit is contained in:
jasper 2009-11-12 12:31:44 +00:00
parent a59befff7d
commit eff3331914
6 changed files with 97 additions and 0 deletions

31
graphics/ctl/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/12 12:31:44 jasper Exp $
COMMENT = Color Transformation Language interpreter
DISTNAME = ctl-1.4.1
SHARED_LIBS += IlmCtl 0.0 # .2.0
SHARED_LIBS += IlmCtlMath 0.0 # .2.0
SHARED_LIBS += IlmCtlSimd 0.0 # .2.0
CATEGORIES = graphics lang
HOMEPAGE = http://www.oscars.org/science-technology/council/projects/ctl.html
# 3-clause BSD license
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = m stdc++
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ampasctl/}
LIB_DEPENDS = Half,Iex,IlmThread,Imath::graphics/ilmbase
SEPARATE_BUILD = concurrent
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>

5
graphics/ctl/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (ctl-1.4.1.tar.gz) = EeIVrqbGOAgzreO1dmYGOA==
RMD160 (ctl-1.4.1.tar.gz) = AGni8TLMkmGmW+qi202VJAn2IrE=
SHA1 (ctl-1.4.1.tar.gz) = TjHejo2hRLvIQNlwFKj0XiDjmKw=
SHA256 (ctl-1.4.1.tar.gz) = sgLZVS7rgfPe1mpnhnGfbhE4+k4xyGZ5mx761u96n5o=
SIZE (ctl-1.4.1.tar.gz) = 996923

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-IlmCtl_CtlInterpreter_cpp,v 1.1.1.1 2009/11/12 12:31:44 jasper Exp $
--- IlmCtl/CtlInterpreter.cpp.orig Sun Oct 18 16:20:30 2009
+++ IlmCtl/CtlInterpreter.cpp Sun Oct 18 16:20:55 2009
@@ -64,6 +64,7 @@
#include <fstream>
#include <algorithm>
#include <cassert>
+#include <unistd.h>
#ifdef WIN32
#include <io.h>

11
graphics/ctl/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
The Color Transformation Language, or "CTL," is a portable and
platform-independent scripting language and interpreter, is intended to
be used as a building block for color management systems as well as for
sharing transforms in a common format.
CTL addresses an industry need to precisely and unambiguously describe
and share color transforms that are routinely used in motion picture
mastering. For example, transformations between various color spaces and
film density encodings can be defined in a CTL program that can be
delivered along with image data, thus ensuring the image is properly
rendered for display or other processing steps.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/11/12 12:31:44 jasper Exp $
@lib lib/libIlmCtl.so.${LIBIlmCtl_VERSION}
@lib lib/libIlmCtlMath.so.${LIBIlmCtlMath_VERSION}
@lib lib/libIlmCtlSimd.so.${LIBIlmCtlSimd_VERSION}

35
graphics/ctl/pkg/PLIST Normal file
View File

@ -0,0 +1,35 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/12 12:31:44 jasper Exp $
%%SHARED%%
include/CTL/
include/CTL/CtlAddr.h
include/CTL/CtlAlign.h
include/CTL/CtlColorSpace.h
include/CTL/CtlErrors.h
include/CTL/CtlExc.h
include/CTL/CtlFunctionCall.h
include/CTL/CtlInterpreter.h
include/CTL/CtlLContext.h
include/CTL/CtlLookupTable.h
include/CTL/CtlMessage.h
include/CTL/CtlModule.h
include/CTL/CtlRbfInterpolator.h
include/CTL/CtlRcPtr.h
include/CTL/CtlReadWriteAccess.h
include/CTL/CtlSimdInterpreter.h
include/CTL/CtlSparseMatrix.h
include/CTL/CtlSymbolTable.h
include/CTL/CtlSyntaxTree.h
include/CTL/CtlTokens.h
include/CTL/CtlType.h
include/CTL/CtlVersion.h
lib/libIlmCtl.a
lib/libIlmCtl.la
lib/libIlmCtlMath.a
lib/libIlmCtlMath.la
lib/libIlmCtlSimd.a
lib/libIlmCtlSimd.la
lib/pkgconfig/
lib/pkgconfig/CTL.pc
share/doc/CTL-1.4.1/
share/doc/CTL-1.4.1/CtlManual.doc
share/doc/CTL-1.4.1/CtlManual.pdf