Refer to Text.ParserCombinators.Parsec.ExprFail in Cabal
[darcs-mirror-arbtt.git] / arbtt.cabal
1 name:               arbtt
2 version:            0.4.5.1
3 license:            GPL
4 license-file:       LICENSE
5 category:           Desktop
6 cabal-version:      >= 1.6
7 build-type:         Simple
8 author:             Joachim Breitner <mail@joachim-breitner.de>
9 maintainer:         Joachim Breitner <mail@joachim-breitner.de>
10 copyright:          Joachim Breitner 2009
11 synopsis:           Automatic Rule-Based Time Tracker
12 description:
13     arbtt is a background daemon that stores which windows are open, which one
14     has the focus and how long since your last action (and possbly more sources
15     later), and stores this. It is also a program that will, based on
16     expressive rules you specify, derive what you were doing, and what for.
17     .
18     WARNING: The log file might contain very sensitive private data. Make sure
19     you understand the consequences of a full-time logger and be careful with this
20     data.
21 homepage:           http://www.joachim-breitner.de/projects#arbtt
22
23
24 extra-source-files:
25     categorize.cfg, arbtt-capture.desktop, README,
26     doc/arbtt.xml, doc/fptools.css, doc/Makefile,
27     setup.iss, modpath.iss
28
29 executable arbtt-capture
30     main-is:            capture-main.hs
31     hs-source-dirs:     src
32     build-depends:
33         base == 4.*, filepath, directory, mtl, time,
34         bytestring, binary
35     other-modules:
36         Data
37         Data.Binary.StringRef
38         CommonStartup
39         Capture
40         TimeLog
41         UpgradeLog1
42
43     if os(windows) 
44         extra-libraries: psapi
45         cpp-options:    -DWIN32
46         ghc-options:    -optl-mwindows
47         other-modules:
48             Capture.Win32
49             Graphics.Win32.Window.Extra
50             System.Win32.Mutex
51         build-depends:
52              Win32
53     else
54         extra-libraries: Xss
55         other-modules:
56             Capture.X11
57             Graphics.X11.XScreenSaver
58             System.Locale.SetLocale
59         build-depends:
60             X11 > 1.4.4, unix
61
62 executable arbtt-stats
63     main-is:            stats-main.hs
64     hs-source-dirs:     src
65     build-depends:
66         base == 4.*, parsec == 2.*, containers, pcre-light
67     other-modules:
68         Data
69         Data.Binary.StringRef
70         CommonStartup
71         Categorize
72         TimeLog
73         Stats
74         Text.ParserCombinators.Parsec.ExprFail
75     if os(windows) 
76         cpp-options:    -DWIN32
77     else
78         other-modules:
79             System.Locale.SetLocale
80
81 executable arbtt-dump
82     main-is:            dump-main.hs
83     hs-source-dirs:     src
84     build-depends:
85         base == 4.*, parsec == 2.*, containers
86     other-modules:
87         Data
88         Data.Binary.StringRef
89         CommonStartup
90         TimeLog
91     if os(windows) 
92         cpp-options:    -DWIN32
93     else
94         other-modules:
95             System.Locale.SetLocale
96
97 executable arbtt-recover
98     main-is:            recover-main.hs
99     hs-source-dirs:     src
100     build-depends:
101         base == 4.*, parsec == 2.*, containers
102     other-modules:
103         Data
104         Data.Binary.StringRef
105         CommonStartup
106         TimeLog
107     if os(windows) 
108         cpp-options:    -DWIN32
109     else
110         other-modules:
111             System.Locale.SetLocale
112
113 source-repository head
114     type:     darcs
115     location: http://darcs.nomeata.de/arbtt