2014-10-01 13:36:37 +00:00
|
|
|
-- Initial CG2.cabal generated by cabal init. For further documentation,
|
|
|
|
-- see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
-- The name of the package.
|
2014-10-15 20:50:39 +00:00
|
|
|
name: CGA
|
2014-10-01 13:36:37 +00:00
|
|
|
|
|
|
|
-- The package version. See the Haskell package versioning policy (PVP)
|
|
|
|
-- for standards guiding when and how versions should be incremented.
|
|
|
|
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
|
|
|
|
-- PVP summary: +-+------- breaking API changes
|
|
|
|
-- | | +----- non-breaking API additions
|
|
|
|
-- | | | +--- code changes with no API change
|
2014-10-10 15:40:08 +00:00
|
|
|
version: 0.0.0.9
|
2014-10-01 13:36:37 +00:00
|
|
|
|
|
|
|
-- A short (one-line) description of the package.
|
|
|
|
synopsis: Computer graphics algorithms
|
|
|
|
|
|
|
|
-- A longer description of the package.
|
|
|
|
-- description:
|
|
|
|
|
|
|
|
-- URL for the project homepage or repository.
|
|
|
|
homepage: https://hasufell.de/CG2
|
|
|
|
|
|
|
|
-- The license under which the package is released.
|
|
|
|
license: GPL-2
|
|
|
|
|
|
|
|
-- The file containing the license text.
|
|
|
|
license-file: LICENSE
|
|
|
|
|
|
|
|
-- The package author(s).
|
|
|
|
author: Julian Ospald
|
|
|
|
|
|
|
|
-- An email address to which users can send suggestions, bug reports, and
|
|
|
|
-- patches.
|
|
|
|
maintainer: hasufell@hasufell.de
|
|
|
|
|
|
|
|
-- A copyright notice.
|
|
|
|
-- copyright:
|
|
|
|
|
|
|
|
category: Graphics
|
|
|
|
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
-- Extra files to be distributed with the package, such as examples or a
|
|
|
|
-- README.
|
|
|
|
-- extra-source-files:
|
|
|
|
|
|
|
|
-- Constraint on the version of Cabal needed to build this package.
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
|
2014-10-10 15:40:08 +00:00
|
|
|
executable Gtk
|
2014-10-01 13:36:37 +00:00
|
|
|
-- .hs or .lhs file containing the Main module.
|
2014-10-10 15:40:08 +00:00
|
|
|
main-is: GtkMain.hs
|
2014-10-01 13:36:37 +00:00
|
|
|
|
|
|
|
-- Modules included in this executable, other than Main.
|
2014-11-15 23:28:11 +00:00
|
|
|
other-modules: Algebra.Vector
|
|
|
|
Algorithms.ConvexHull.GrahamScan
|
|
|
|
Algorithms.PolygonIntersection.Core
|
|
|
|
Algorithms.QuadTree.QuadTree
|
2014-11-29 04:11:15 +00:00
|
|
|
Algorithms.KDTree.KDTree
|
2014-11-15 03:06:16 +00:00
|
|
|
Graphics.Diagram.Gtk
|
|
|
|
Graphics.Diagram.Plotter
|
2014-11-15 23:28:11 +00:00
|
|
|
Graphics.Diagram.Types
|
|
|
|
GUI.Gtk
|
|
|
|
MyPrelude
|
|
|
|
Parser.Meshparser
|
|
|
|
Parser.PathParser
|
2014-11-15 03:06:16 +00:00
|
|
|
QueueEx
|
2014-10-01 13:36:37 +00:00
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
|
|
-- other-extensions:
|
|
|
|
|
|
|
|
-- Other library packages from which modules are imported.
|
2014-11-21 03:30:50 +00:00
|
|
|
build-depends: attoparsec >= 0.12.1.1,
|
|
|
|
base >=4.6 && <4.8,
|
|
|
|
bytestring >= 0.10.4.0,
|
2014-11-15 23:28:11 +00:00
|
|
|
containers >= 0.5.0.0,
|
|
|
|
dequeue >= 0.1.5,
|
2014-11-15 03:06:16 +00:00
|
|
|
diagrams-lib >=1.2 && <1.3,
|
|
|
|
diagrams-cairo >=1.2 && <1.3,
|
2014-11-15 23:28:11 +00:00
|
|
|
diagrams-contrib >= 1.1.2.1,
|
|
|
|
directory >=1.2 && <1.3,
|
|
|
|
filepath >= 1.3.0.2,
|
2014-11-15 03:06:16 +00:00
|
|
|
glade >=0.12 && <0.13,
|
2014-11-15 23:28:11 +00:00
|
|
|
gloss >= 1.2.0.1,
|
2014-11-15 03:06:16 +00:00
|
|
|
gtk >=0.12 && <0.13,
|
|
|
|
multiset-comb >= 0.2.1,
|
|
|
|
safe >= 0.3.8,
|
2014-11-15 23:28:11 +00:00
|
|
|
transformers >=0.4 && <0.5
|
2014-10-01 13:36:37 +00:00
|
|
|
|
|
|
|
-- Directories containing source files.
|
|
|
|
-- hs-source-dirs:
|
|
|
|
|
|
|
|
-- Base language which the package is written in.
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
2014-10-10 15:40:08 +00:00
|
|
|
|
|
|
|
executable Gif
|
|
|
|
-- .hs or .lhs file containing the Main module.
|
|
|
|
main-is: GifMain.hs
|
|
|
|
|
|
|
|
-- Modules included in this executable, other than Main.
|
2014-11-15 23:28:11 +00:00
|
|
|
other-modules: Algebra.Vector
|
|
|
|
Algorithms.ConvexHull.GrahamScan
|
|
|
|
Algorithms.PolygonIntersection.Core
|
|
|
|
Algorithms.QuadTree.QuadTree
|
2014-11-29 04:11:15 +00:00
|
|
|
Algorithms.KDTree.KDTree
|
2014-11-15 03:06:16 +00:00
|
|
|
Graphics.Diagram.Gif
|
|
|
|
Graphics.Diagram.Plotter
|
2014-11-15 23:28:11 +00:00
|
|
|
Graphics.Diagram.Types
|
|
|
|
MyPrelude
|
|
|
|
Parser.Meshparser
|
|
|
|
Parser.PathParser
|
2014-11-15 03:06:16 +00:00
|
|
|
QueueEx
|
2014-11-15 23:28:11 +00:00
|
|
|
|
2014-10-10 15:40:08 +00:00
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
|
|
-- other-extensions:
|
|
|
|
|
|
|
|
-- Other library packages from which modules are imported.
|
2014-11-21 03:30:50 +00:00
|
|
|
build-depends: attoparsec >= 0.12.1.1,
|
|
|
|
base >=4.6 && <4.8,
|
|
|
|
bytestring >= 0.10.4.0,
|
2014-11-21 03:40:31 +00:00
|
|
|
containers >= 0.5.0.0,
|
|
|
|
dequeue >= 0.1.5,
|
2014-11-15 03:06:16 +00:00
|
|
|
diagrams-lib >=1.2 && <1.3,
|
|
|
|
diagrams-cairo >=1.2 && <1.3,
|
2014-11-21 03:40:31 +00:00
|
|
|
diagrams-contrib >= 1.1.2.1,
|
|
|
|
gloss >= 1.2.0.1,
|
2014-11-15 03:06:16 +00:00
|
|
|
JuicyPixels >= 3.1.7.1,
|
|
|
|
multiset-comb >= 0.2.1,
|
2014-11-21 03:40:31 +00:00
|
|
|
transformers >=0.4 && <0.5,
|
|
|
|
safe >= 0.3.8
|
2014-10-10 15:40:08 +00:00
|
|
|
|
|
|
|
-- Directories containing source files.
|
|
|
|
-- hs-source-dirs:
|
|
|
|
|
|
|
|
-- Base language which the package is written in.
|
|
|
|
default-language: Haskell2010
|