packages feed

OpenVG-0.5.0: OpenVG.cabal

name:             OpenVG
version:          0.5.0
license:          BSD3
license-file:     LICENSE
copyright:        Stephen Tetley <stephen.tetley@gmail.com>
maintainer:       Stephen Tetley <stephen.tetley@gmail.com>
homepage:         http://code.google.com/p/copperbox/
category:         Graphics
synopsis:         OpenVG (ShivaVG-0.2.1) binding
description:
  A Haskell binding for the OpenVG vector graphics API version 
  1.0.1, specifically the ShivaVG-0.2.1 implementation.
  .
  This version (0.5.0) is NOT compatible with the Haskell Platform 
  (2009.2.0.2) - it uses the split OpenGL packages (RAW, StateVar, 
  etc.).
  .
  \*\* WARNING - major changes to previous version. Also 
  significant changes likely in next revision. \*\*.
  .
  Changelog
  0.4.0 to 0.5.0
  . 
  * Significantly reworked. Changed to use OpenVGRaw. 
  .
  .
  0.3.0 to 0.4.0 
  .
  * LinearGradient type changed to be Vector4 VGfloat.
  . 
  * RadialGradient changed to (Vector4 VGfloat, VGfloat).
  .
  * Removed Marshal and Unmarshal type classes, marshallBool and 
    unmarshalBool moved out of the BasicTypes module.
  .
  * Type change for colorRampStops.
  .
  * Name change - maxStops changed to maxColorRampStops.
  .
  * PathType(..) changed to PathAbsRel(..).
  . 
  * Substantial changes to Haddock docs.
  .
  * Error handling in VGU redone - the original code in 
    ErrorsInternal was taken wholesale from Sven Panne\'s 
    OpenGL binding to help me bootstrap the OpenVG binding. 
    Regrettably I forgot to replace it or attribute it -
    I've now replaced it. Sincere apologies to Sven Panne.
 
build-type:         Simple
stability:          experimental
cabal-version:      >= 1.2

extra-source-files:
  InstallWindows.txt,
  Changes,
  README.txt,
  demo/VguUtils.hs,
  demo/TestVgu.hs

library
  hs-source-dirs:     src
  build-depends:      base < 5, 
                      OpenGL    >= 2.4     && < 2.5, 
                      GLUT      >= 2.2     && < 2.3,
                      OpenGLRaw >= 1.1.0.1 && < 2, 
                      StateVar  >= 1.0.0.0 && < 2,
                      Tensor    >= 1.0.0.1 && < 2,
                      OpenVGRaw >= 0.1.0
  
  exposed-modules:
    Graphics.Rendering.OpenVG,
    Graphics.Rendering.OpenVG.VG,
    Graphics.Rendering.OpenVG.VGU,
    Graphics.Rendering.OpenVG.VG.Blending,
    Graphics.Rendering.OpenVG.VG.DrawingContext,
    Graphics.Rendering.OpenVG.VG.Extending,
    Graphics.Rendering.OpenVG.VG.Images,
    Graphics.Rendering.OpenVG.VG.Paint,
    Graphics.Rendering.OpenVG.VG.Parameters,
    Graphics.Rendering.OpenVG.VG.Paths,
    Graphics.Rendering.OpenVG.VG.RenderingQuality,
    Graphics.Rendering.OpenVG.VG.Scissoring,
    Graphics.Rendering.OpenVG.VG.ShivaExtensions,
    Graphics.Rendering.OpenVG.VGU.VGU
  
  other-modules:
    Graphics.Rendering.OpenVG.VG.Utils,
    Graphics.Rendering.OpenVG.VGU.ErrorsInternal    
  
  extensions:

  ghc-options:  -Wall