README is now README.md
[darcs-mirror-arbtt.git] / arbtt.cabal
1 name:               arbtt
2 version:            0.7.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-2013
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://arbtt.nomeata.de/
22
23 extra-source-files:
24     categorize.cfg, arbtt-capture.desktop, README.md,
25     doc/arbtt.xml, doc/fptools.css, doc/Makefile,
26     setup.iss, modpath.iss
27
28 executable arbtt-capture
29     main-is:            capture-main.hs
30     hs-source-dirs:     src
31     build-depends:
32         base == 4.5.* || == 4.6.*,
33         filepath, directory, transformers, time >= 1.4, utf8-string,
34         bytestring, binary, deepseq, strict,
35         terminal-progress-bar,
36         bytestring-progress
37     other-modules:
38         Data
39         Data.MyText
40         Data.Binary.StringRef
41         CommonStartup
42         Capture
43         TimeLog
44         UpgradeLog1
45         LeftFold
46     
47     ghc-options: -rtsopts
48
49     if os(windows) 
50         extra-libraries: psapi
51         cpp-options:    -DWIN32
52         ghc-options:    -optl-mwindows
53         other-modules:
54             Capture.Win32
55             Graphics.Win32.Window.Extra
56             System.Win32.Mutex
57         build-depends:
58              Win32
59     else
60         extra-libraries: Xss
61         other-modules:
62             Capture.X11
63             Graphics.X11.XScreenSaver
64             System.Locale.SetLocale
65         build-depends:
66             X11 > 1.4.4, unix
67
68 executable arbtt-stats
69     main-is:            stats-main.hs
70     hs-source-dirs:     src
71     build-depends:
72         base == 4.5.* || == 4.6.*,
73         parsec == 3.*, containers == 0.5.*, pcre-light, old-locale
74     other-modules:
75         Data
76         Data.MyText
77         Data.Binary.StringRef
78         CommonStartup
79         Categorize
80         TimeLog
81         Stats
82         Text.Parsec.ExprFail
83         Text.ParserCombinators.Parsec.ExprFail
84         Text.Regex.PCRE.Light.Text
85         TermSize
86     ghc-options: -rtsopts
87     if os(windows) 
88         cpp-options:    -DWIN32
89     else
90         other-modules:
91             System.Locale.SetLocale
92
93 executable arbtt-dump
94     main-is:            dump-main.hs
95     hs-source-dirs:     src
96     build-depends:
97         base == 4.5.* || == 4.6.*,
98         parsec == 3.*, containers == 0.5.*,
99         aeson == 0.6.*, array == 0.4.*
100     other-modules:
101         Data
102         Data.MyText
103         Data.Binary.StringRef
104         CommonStartup
105         TimeLog
106         DumpFormat
107         Data.List.TakeR
108     ghc-options: -rtsopts
109     if os(windows) 
110         cpp-options:    -DWIN32
111     else
112         other-modules:
113             System.Locale.SetLocale
114
115 executable arbtt-import
116     main-is:            import-main.hs
117     hs-source-dirs:     src
118     build-depends:
119         base == 4.5.* || == 4.6.*,
120         parsec == 3.*, containers == 0.5.*
121     other-modules:
122         Data
123         Data.MyText
124         Data.Binary.StringRef
125         CommonStartup
126         TimeLog
127     ghc-options: -rtsopts
128     if os(windows) 
129         cpp-options:    -DWIN32
130     else
131         other-modules:
132             System.Locale.SetLocale
133
134 executable arbtt-recover
135     main-is:            recover-main.hs
136     hs-source-dirs:     src
137     build-depends:
138         base == 4.5.* || == 4.6.*,
139         parsec == 3.*, containers == 0.5.*
140     other-modules:
141         Data
142         Data.MyText
143         Data.Binary.StringRef
144         CommonStartup
145         TimeLog
146     ghc-options: -rtsopts
147     if os(windows) 
148         cpp-options:    -DWIN32
149     else
150         other-modules:
151             System.Locale.SetLocale
152
153 source-repository head
154     type:     darcs
155     location: http://darcs.nomeata.de/arbtt