packages feed

plot-gtk-ui 0.1.0.0 → 0.2.0.0

raw patch · 2 files changed

+12/−30 lines, 2 filesdep ~cairodep ~colourdep ~fixed-vector

Dependency ranges changed: cairo, colour, fixed-vector, gtk, hmatrix, plot, text, vector

Files

README.md view
@@ -4,31 +4,13 @@  ## Installation -### Linux--The installation for gtk requires that-[gtk2hs-buildtools](https://hackage.haskell.org/package/gtk2hs-buildtools)-be installed, and the binary be in your $PATH.  The below commands take-care of that, without permanently changing the $PATH.- ```bash-$ cabal update-$ cabal install gtk2hs-buildtools-$ env PATH="~/.cabal/bin:$PATH" cabal install plot-gtk-ui-```--### Windows--* Install gtk2hs with instructions from-  [here](http://projects.haskell.org/gtk2hs/download/#Windows).--* Then use cabal to install `plot-gtk-ui`.--```batch-cmd> cabal install plot-gtk-ui+stack install plot-gtk-ui ```  ## Usage++> The best way to try this is to use the [calculator](https://github.com/sumitsahrawat/calculator.git).  Import `Graphics.Rendering.Plot.Gtk.UI` and follow the examples below.  
plot-gtk-ui.cabal view
@@ -6,7 +6,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-Version:             0.1.0.0+Version:             0.2.0.0 License:             GPL-2 License-file:        LICENSE Author:              Sumit Sahrawat@@ -33,14 +33,14 @@  Library   Build-depends:       base >=4.7 && <4.9-                     , colour >=2.3 && <2.4-                     , plot >=0.2 && <0.3-                     , gtk >=0.13 && <0.14-                     , cairo >=0.13 && <0.14-                     , hmatrix >=0.16 && <0.17-                     , text >=1.2 && <1.3-                     , vector >=0.10.12.2 && <0.10.13.0-                     , fixed-vector >=0.7.0.0+                     , colour+                     , plot+                     , gtk+                     , cairo+                     , hmatrix+                     , text+                     , vector+                     , fixed-vector   hs-source-dirs:      lib   exposed-modules:     Graphics.Rendering.Plot.Gtk.UI   other-modules:       Paths_plot_gtk_ui