-
Notifications
You must be signed in to change notification settings - Fork 1
/
scope.cabal
105 lines (93 loc) · 2.85 KB
/
scope.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
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