summaryrefslogtreecommitdiff
path: root/bustle.cabal
blob: 22067f23e17ef5fa733ee8ad7e8a9b4c8be87c99 (plain)
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
Name:           bustle
Category:       Network, Desktop
Version:        0.2.2
Cabal-Version:  >= 0.12
Synopsis:       Draw pretty sequence diagrams of D-Bus traffic
Description:    Draw pretty sequence diagrams of D-Bus traffic
License:        OtherLicense
License-file:   LICENSE
Author:         Will Thompson <will.thompson@collabora.co.uk>
Maintainer:     Will Thompson <will.thompson@collabora.co.uk>
Data-files:     bustle.png, bustle.glade, LICENSE
Build-type:     Simple
Extra-source-files: bustle-dbus-monitor.c, Makefile, README, NEWS, HACKING,
                    run-uninstalled.sh

Flag PostCabalizedGtk2HS
  Description:    Build against recent gtk2hs, with reorganized packaging and
                  module names
  Default:        True

Executable bustle
  Main-is:        Bustle.hs
  Other-modules:  Bustle.Types, Bustle.Parser, Bustle.Diagram, Bustle.Renderer,
                  Bustle.Upgrade
  Ghc-options:    -Wall -fno-warn-unused-imports -fno-warn-unused-do-bind

  if flag(PostCabalizedGtk2HS)
    -- Since gtk2hs 0.11, pango is a separate package, and its module names
    -- have changed.
    Build-Depends:  haskell98, mtl, base >= 4 && < 5, containers, parsec,
                    filepath, process,
                    gtk > 0.11, glade, pango, glib, cairo
  else
    Build-Depends:  haskell98, mtl, base >= 4 && < 5, containers, parsec,
                    filepath, process,
                    gtk > 0.10 && < 0.11, glade, pango, glib, cairo

Executable bustle-count
  Main-is:        bustle-count.hs
  Other-modules:  Bustle.Parser, Bustle.Stats, Bustle.Types,
                  Bustle.Noninteractive
  Build-Depends:  haskell98, base >= 4 && < 5, containers, parsec
  Ghc-options:    -Wall -fno-warn-unused-imports -fno-warn-unused-do-bind

Executable bustle-time
  Main-is:        bustle-time.hs
  Other-modules:  Bustle.Parser, Bustle.Stats, Bustle.Types,
                  Bustle.Noninteractive
  Build-Depends:  haskell98, base >= 4 && < 5, containers, parsec
  Ghc-options:    -Wall -fno-warn-unused-imports -fno-warn-unused-do-bind

Executable bustle-dot
  Main-is:        bustle-dot.hs
  Other-modules:  Bustle.Parser, Bustle.Types
  Build-Depends:  haskell98, base >= 4 && < 5, containers, parsec
  Ghc-options:    -Wall -fno-warn-unused-imports -fno-warn-unused-do-bind