packages feed

diagrams 0.6 → 0.7

raw patch · 2 files changed

+32/−9 lines, 2 filesdep +diagrams-postscriptdep ~diagrams-cairodep ~diagrams-contribdep ~diagrams-core

Dependencies added: diagrams-postscript

Dependency ranges changed: diagrams-cairo, diagrams-contrib, diagrams-core, diagrams-lib, diagrams-svg

Files

README.markdown view
@@ -15,11 +15,15 @@ [diagrams-lib]: http://github.com/diagrams/diagrams-lib [diagrams-contrib]: http://github.com/diagrams/diagrams-contrib -The package also comes with flags to enable two different backends.+The package also comes with flags to enable three 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`. +The+[native postscript backend](http://github.com/diagrams/diagrams-postscript)+is disabled by default but can be enabled by the `-fps` flag.+ The [cairo/gtk backend](http://github.com/diagrams/diagrams-cairo) is disabled by default but can be selected with the `-fcairo` flag. @@ -29,7 +33,13 @@ cabal update && cabal install diagrams ``` -or, to get the cairo backend in addition to the SVG backend+or, to get the postscript backend in addition to the SVG backend:++```+cabal update && cabal install -fps diagrams+```++or, to get the cairo backend in addition to the SVG backend:  ``` cabal update && cabal install gtk2hs-buildtools && cabal install -fcairo diagrams
diagrams.cabal view
@@ -1,5 +1,5 @@ Name:                diagrams-Version:             0.6+Version:             0.7 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 two+                     The package also comes with flags to enable three                      different backends.                      A Haskell-native SVG                      backend (the @diagrams-svg@ package)@@ -32,6 +32,11 @@                      due to its dependencies it can be difficult to                      install on some platforms (notably OS X).                      .+                     Finally, there is a Haskell-native postscript+                     backend (the @diagrams-postscript@ package) which+                     can be selected with the @-fps@ flag.  The only+                     feature it does not support is transparency.+                     .                      For more information, including a gallery of                      examples, tutorial, and user manual, see the                      diagrams website:@@ -64,15 +69,23 @@   Default: True   Manual:  True +Flag ps+  Description: Enable the Haskell-native PostScript backend+  Default: False+  Manual: True+ Library-  Build-depends:     diagrams-core >= 0.6 && < 0.7,-                     diagrams-lib >= 0.6 && < 0.7,-                     diagrams-contrib >= 0.6 && < 0.7+  Build-depends:     diagrams-core >= 0.7 && < 0.8,+                     diagrams-lib >= 0.7 && < 0.8,+                     diagrams-contrib >= 0.7 && < 0.8    if flag(cairo)-    Build-depends:   diagrams-cairo >= 0.6 && < 0.7+    Build-depends:   diagrams-cairo >= 0.7 && < 0.8    if flag(svg)-    Build-depends:   diagrams-svg >= 0.6 && < 0.7+    Build-depends:   diagrams-svg >= 0.7 && < 0.8++  if flag(ps)+    Build-depends:   diagrams-postscript >= 0.7 && < 0.8    Default-language:  Haskell2010