summaryrefslogtreecommitdiff
path: root/bustle.cabal
blob: 11e6c897559aece0d5e25c1dc32617d44900f14a (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
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
Name:           bustle
Category:       Network, Desktop
Version:        0.3.0.1
Cabal-Version:  >= 1.6
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:     data/bustle.png,
                data/dfeet-method.png,
                data/dfeet-signal.png,
                data/bustle.glade,
                LICENSE
Build-type:     Simple
Extra-source-files: c-sources/bustle-dbus-monitor.c,
                    c-sources/bustle-pcap.c,
                    Makefile,
                    README,
                    NEWS,
                    HACKING,
                    INSTALL,
                    bustle.sh,
                    run-uninstalled.sh

Source-Repository head
  Type:           git
  Location:       git://anongit.freedesktop.org/bustle

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

Executable bustle
  Main-is:       Bustle.hs
  Other-modules: Bustle.Application.Monad
               , Bustle.Diagram
               , Bustle.Loader
               , Bustle.Loader.OldSkool
               , Bustle.Loader.Pcap
               , Bustle.Markup
               , Bustle.Noninteractive
               , Bustle.Regions
               , Bustle.Renderer
               , Bustle.StatisticsPane
               , Bustle.Stats
               , Bustle.Types
               , Bustle.UI
               , Bustle.UI.DetailsView
               , Bustle.UI.FilterDialog
               , Bustle.Upgrade
               , Bustle.Util
               , Bustle.VariantFormatter
  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: base >= 4 && < 5
                 , binary
                 , bytestring
                 , cairo
                 , containers
                 , dbus-core == 0.9.*
                 , filepath
                 , glade
                 , glib
                 , gtk > 0.11
                 , haskell98
                 , mtl
                 , pango
                 , parsec
                 , pcap
                 , process
                 , text
  else
    Build-Depends: base >= 4 && < 5
                 , binary
                 , bytestring
                 , cairo
                 , containers
                 , dbus-core == 0.9.*
                 , filepath
                 , glade
                 , glib
                 , gtk > 0.10 && < 0.11
                 , haskell98
                 , mtl
                 , pango
                 , parsec
                 , pcap
                 , process
                 , text