chalkboard-1.9.0.15: chalkboard.cabal
Name: chalkboard
Version: 1.9.0.15
Synopsis: Combinators for building and processing 2D images.
Description: ChalkBoard is a Haskell hosted Domain Specific Language (DSL) for image generation and processing.
The basic structure is a Chalk Board, a two-dimensional canvas of values, typically colors.
ChalkBoard provides the usual image processing functions (masking, overlaying, function mapping,
cropping, warping, rotating) as well as a few more unusual ones.
Images can be imported into ChalkBoard, as first-class color chalk boards.
ChalkBoard also provides combinators for drawing shapes on directly on boards.
The system is based loosely on Pan, but the principal image type, a Board, is abstract.
Category: Graphics
License: BSD3
License-file: LICENSE
Author: Andy Gill, Kevin Matlage
Maintainer: Andy Gill <andygill@ku.edu>
Copyright: (c) 2009 University of Kansas
Homepage: http://www.ittc.ku.edu/csdl/fpg/ChalkBoard
Stability: Experimental
build-type: Simple
Cabal-Version: >= 1.6
Extra-Source-Files:
tutorial/basic/tutorial.pdf
tutorial/basic/Main.hs
Flag all
Description: Enable full development tree, including all tests and examples
Default: False
Library
Build-Depends: base >= 4 && < 5, array, data-reify, containers >= 0.2, GLUT>=2.1.2.1, OpenGLRaw>=1.0.1.0, Codec-Image-DevIL, time, directory, binary, bytestring, process
Exposed-modules:
Graphics.ChalkBoard,
Graphics.ChalkBoard.Board,
Graphics.ChalkBoard.Shapes,
Graphics.ChalkBoard.Types,
Graphics.ChalkBoard.Main,
Graphics.ChalkBoard.O,
Graphics.ChalkBoard.Utils
Graphics.ChalkBoard.Options
Other-modules:
Graphics.ChalkBoard.Board.Internals,
Graphics.ChalkBoard.O.Internals,
Graphics.ChalkBoard.CBIR,
Graphics.ChalkBoard.CBIR.Compiler,
Graphics.ChalkBoard.IStorable,
Graphics.ChalkBoard.Core
Graphics.ChalkBoard.Expr
Graphics.ChalkBoard.OpenGL.CBBE
Graphics.ChalkBoard.OpenGL.Monad
-- We choose to build this with O2, because this is about acceleration
Ghc-Options: -O2
Ghc-Options: -Wall
-- The server is by default always built.
-- The suffix number is the same as a version number, above.
flag server { Default: True }
Executable chalkboard-server-1_9_0_15
if flag(server)
buildable: True
else
Buildable: False
Hs-Source-Dirs: .,server
Ghc-Options: -O2
Main-Is: Main.hs
flag test1 { Default: False }
Executable chalkboard-tests-test1
if flag(all) || flag(test1)
buildable: True
else
Buildable: False
Hs-Source-Dirs: .,tests/test1
Ghc-Options: -O2
Main-Is: Main.hs
flag chalkmark { Default: False }
Executable chalkboard-tests-chalkmark
if flag(all) || flag(chalkmark)
buildable: True
else
Buildable: False
Hs-Source-Dirs: .,tests/chalkmark
Ghc-Options: -O2 -auto
Main-Is: Main.hs
flag simple { Default: False }
Executable chalkboard-tests-simple
if flag(all) || flag(simple)
Build-Depends:
buildable: True
else
Build-Depends: base
Buildable: False
Hs-Source-Dirs: .,tests/simple
Ghc-Options: -O2
Main-Is: Main.hs
flag cbbe1 { Default: False }
Executable chalkboard-tests-cbbe1
if flag(all) || flag(cbbe1)
buildable: True
else
Buildable: False
Hs-Source-Dirs: .,tests/cbbe1
Ghc-Options: -O2
Main-Is: Main.hs
-- C-Sources: example1/img1.c
flag example { Default: False }
Executable chalkboard-examples-example
if flag(all) || flag(example)
buildable: True
else
Buildable: False
Hs-Source-Dirs: .,examples/example
Ghc-Options: -O2
Main-Is: Main.hs
flag tutorial { Default: False }
Executable chalkboard-tutorial-basic
if flag(all) || flag(tutorial)
buildable: True
else
Buildable: False
Hs-Source-Dirs: .,tutorial/basic
Ghc-Options: -O2
Main-Is: Main.hs