diagrams 1.2 → 1.3
raw patch · 3 files changed
+44/−19 lines, 3 filesdep +diagrams-canvasdep ~diagrams-cairodep ~diagrams-contribdep ~diagrams-core
Dependencies added: diagrams-canvas
Dependency ranges changed: diagrams-cairo, diagrams-contrib, diagrams-core, diagrams-gtk, diagrams-lib, diagrams-postscript, diagrams-rasterific, diagrams-svg
Files
- LICENSE +4/−3
- README.markdown +7/−1
- diagrams.cabal +33/−15
LICENSE view
@@ -1,6 +1,7 @@-Copyright (c) 2011-2014, diagrams team (see LICENSE files in-dual-tree, monoid-extras, diagrams-core, diagrams-lib, diagrams-svg,-diagrams-postscript, diagrams-cairo, diagrams-gtk, diagrams-rasterific, +Copyright (c) 2011-2015, diagrams team (see LICENSE files in+dual-tree, monoid-extras, diagrams-solve, active, statestack,+diagrams-core, diagrams-lib, diagrams-svg, diagrams-postscript,+diagrams-cairo, diagrams-gtk, diagrams-rasterific, and diagrams-contrib packages) All rights reserved.
README.markdown view
@@ -17,7 +17,7 @@ [diagrams-svg]: http://github.com/diagrams/diagrams-svg [diagrams-contrib]: http://github.com/diagrams/diagrams-contrib -The package also comes with flags to enable four different backends.+The package also comes with flags to enable six different backends. The [native SVG backend](http://github.com/diagrams/diagrams-svg) is enabled by the `-fsvg` flag and is enabled by default. If you don't want it, you must explicitly disable it with `-f-svg`.@@ -32,6 +32,12 @@ is based on the cairo backend (but split into a separate package to make installing the cairo backend easier). It can be selected with the `fgtk` flag.++The [native rasterific backend](http://github.com/diagrams/diagrams-rasterific) which is+disabled by default but can be selected with the `-frasterific` flag.++The [native canvas backend](http://github.com/diagrams/diagrams-canvas) which is+disabled by default but can be selected with the `-fcanvas` flag. # Installation
diagrams.cabal view
@@ -1,5 +1,5 @@ Name: diagrams-Version: 1.2+Version: 1.3 Synopsis: Embedded domain-specific language for declarative vector graphics Description: Diagrams is a full-featured framework and embedded domain-specific langauge for creating declarative vector graphics and animations.@@ -10,7 +10,7 @@ installed with a single @cabal install diagrams@ command. .- The package also comes with flags to enable four+ The package also comes with flags to enable six different backends. A Haskell-native SVG backend (the @diagrams-svg@ package)@@ -38,16 +38,21 @@ GTK windows. You can enable it with the @-fgtk@ flag. . The Haskell-native postscript- backend (the @diagrams-postscript@ package) which- can be selected with the @-fps@ flag. The only+ backend (the @diagrams-postscript@ package)+ can be selected with the @-fpostscript@ flag. The only feature it does not support is transparency. .- Finally there is a Rasterific backend which is+ There is a Rasterific backend which is also Haskell-native (the @diagrams-rasterific@ package) which can be selected with the @-frasterific@ flag. This is a fully featured backend with the ability to produce PNG, JPG, TIFF, BMP and animated GIF output. .+ Finally there is a Canvas backend, also haskell native,+ which can be selected with the @-fcanvas@ flag. This+ backend allows users to write interactive images onto+ their web browsers.+ . For more information, including a gallery of examples, tutorial, and user manual, see the diagrams website:@@ -64,7 +69,7 @@ Category: Graphics Build-type: Simple Cabal-version: >=1.10-tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.1+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1 Extra-source-files: README.markdown Source-repository head@@ -91,29 +96,42 @@ Default: False Manual: True +Flag postscript+ Description: Enable the Haskell-native PostScript backend+ Default: False+ Manual: True+ Flag rasterific Description: Enable the Haskell-native Rasterific backend Default: False Manual: True +Flag canvas+ Description: Enable the Haskell-native Canvas backend+ Default: False+ Manual: True+ Library- Build-depends: diagrams-core >= 1.2 && < 1.3,- diagrams-lib >= 1.2 && < 1.3,- diagrams-contrib >= 1.0 && < 1.2+ Build-depends: diagrams-core >= 1.3 && < 1.4,+ diagrams-lib >= 1.3 && < 1.4,+ diagrams-contrib >= 1.3 && < 1.4 if flag(cairo)- Build-depends: diagrams-cairo >= 1.2 && < 1.3+ Build-depends: diagrams-cairo >= 1.3 && < 1.4 if flag(gtk)- Build-depends: diagrams-gtk >= 1.0.1 && < 1.1+ Build-depends: diagrams-gtk >= 1.3 && < 1.4 if flag(svg)- Build-depends: diagrams-svg >= 1.0.1.4 && < 1.2+ Build-depends: diagrams-svg >= 1.3 && < 1.4 - if flag(ps)- Build-depends: diagrams-postscript >= 1.0.2 && < 1.2+ if flag(ps) || flag(postscript)+ Build-depends: diagrams-postscript >= 1.3 && < 1.4 if flag(rasterific)- Build-depends: diagrams-rasterific >= 0.1 && < 0.2+ Build-depends: diagrams-rasterific >= 1.3 && < 1.4++ if flag(canvas)+ Build-depends: diagrams-canvas >= 1.3 && < 1.4 Default-language: Haskell2010