packages feed

scope-0.5.0.0: scope.cabal

Name:                scope

Version:             0.5.0.0

Synopsis:            An interactive renderer for plotting time-series data

Description:
    scope is a framework for plotting time-series data, using zoom-cache
    files.
    .
    This version includes a Gtk/Cairo application. It's a desktop
    application with a /File/ menu; remember those? wow! This will probably
    be split out into a separate package later, and there'll be a webby
    javascripty version too, but for now there's this desktop app.
    .
    To run it, simply:
    .
    @
        $ cabal install scope
        $ scope
    @
    .
    Then, select /File->Open/ from the menubar, with your mouse: there's no
    swiping gestures back here, baby! Four (yes, 4) demo files are included
    in this version of the package. Choose one, and it will be drawn in the
    window. Amazing! It should look something like what you saw in the post
    you read about this in, but more personal because now it's happening to
    you.
    .
    Zoom in with the scroll wheel on your mouse. If you don't have a scroll
    wheel, use the Up and Down arrow keys on your keyboard. If you don't have
    up and down arrows /you are elite/!
    .
    Pan around by dragging it. There's a scrollbar too if you're into that.
    .
    Load up another file! It will also be drawn. Zoom in and out and pan
    around, yay! Life is gooood!

License:             BSD3
License-file:        LICENSE
Author:              Conrad Parker
Maintainer:          conrad@metadecks.org
Category:            Development

Cabal-Version:       >= 1.8
Build-type:          Simple
Data-Files:
  data/actions.ui
  demo/demo1.zoom
  demo/demo2.zoom
  demo/demo3.zoom
  demo/demo4.zoom

flag splitBase
  description: Use the split-up base package.

Library
  if flag(splitBase)
    build-depends:
      base >= 3 && < 6
  else
    build-depends:
      base < 3

  Build-Depends:
    cairo,
    gtk,
    iteratee                  >= 0.8.6.0 && < 0.9,
    MonadCatchIO-transformers >  0.2     && < 0.3,
    mtl                       >= 2.0.0.0 && < 3,
    zoom-cache                >= 0.8.1.0 && < 0.9

  Exposed-modules:
    Scope.View
    Scope.Types

Executable scope
  if flag(splitBase)
    build-depends:
      base >= 3 && < 6
  else
    build-depends:
      base < 3

  Main-Is:             main.hs
  Other-Modules:       Children
                       GUI
  Hs-Source-Dirs:      ., src
  Build-Depends:
    cairo,
    containers                >= 0.2     && < 0.5,
    glib,
    gtk,
    iteratee                  >= 0.8.6.0 && < 0.9,
    MonadCatchIO-transformers >  0.2     && < 0.3,
    mtl                       >= 2.0.0.0 && < 3,
    mwc-random,
    zoom-cache                >= 0.8.1.0 && < 0.9

------------------------------------------------------------------------
-- Git repo
--
source-repository head
  type: git
  location: git://github.com/kfish/scope.git