diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-28 14:38:58 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-28 14:38:58 -0400 |
commit | 65daf1723f28f275cec3ace753b34c87d51037e1 (patch) | |
tree | 8f4d4f130bb9b6cab17fa7920502934b104489a3 | |
parent | 1ac524685440dd02428a192e2d074bb17f5f4806 (diff) |
remove XMPP, DBus, DesktopNotify build flags
Make these features solely dependent on the OS being built on.
This lets stack build on windows w/o XMPP, on OSX w/o DBUS,
and on Linux with everything.
-rw-r--r-- | git-annex.cabal | 21 | ||||
-rw-r--r-- | stack.yaml | 12 |
2 files changed, 8 insertions, 25 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index bbd3542fe..8cbc762c6 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -40,9 +40,6 @@ Flag WebDAV Flag Inotify Description: Enable inotify support -Flag Dbus - Description: Enable dbus support - Flag Assistant Description: Enable git-annex assistant and watch command @@ -55,9 +52,6 @@ Flag Webapp-secure Flag Pairing Description: Enable pairing -Flag XMPP - Description: Enable notifications using XMPP - Flag DNS Description: Enable the haskell DNS library for DNS lookup @@ -87,9 +81,6 @@ Flag Quvi Flag Tahoe Description: Enable the tahoe special remote -Flag DesktopNotify - Description: Enable desktop environment notifications - Flag TorrentParser Description: Use haskell torrent library to parse torrent files @@ -207,14 +198,8 @@ Executable git-annex C-Sources: Utility/libkqueue.c if (os(linux)) - if flag(Dbus) - Build-Depends: dbus (>= 0.10.7) - CPP-Options: -DWITH_DBUS - - if flag(DesktopNotify) - if flag(Dbus) - Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3) - CPP-Options: -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS + Build-Depends: dbus (>= 0.10.7), fdo-notify (>= 0.3) + CPP-Options: -DWITH_DBUS -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS if flag(Android) Build-Depends: data-endian @@ -246,7 +231,7 @@ Executable git-annex Build-Depends: network-multicast, network-info CPP-Options: -DWITH_PAIRING - if flag(XMPP) && (! os(windows)) + if (! os(windows)) Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types CPP-Options: -DWITH_XMPP diff --git a/stack.yaml b/stack.yaml index a2d14069f..7df6a449d 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,31 +1,29 @@ flags: git-annex: - concurrentoutput: false + concurrentoutput: true tahoe: true tdfa: true inotify: true feed: true webapp-secure: true production: true - ekg: false assistant: true pairing: true cryptonite: true - xmpp: true network-uri: true s3: true - dbus: false testsuite: true webdav: true torrentparser: true - android: false - androidsplice: false quvi: true dns: true - desktopnotify: true webapp: true + android: false + androidsplice: false + ekg: false packages: - '.' extra-deps: - Win32-extras-0.2.0.1 +- concurrent-output resolver: nightly-2015-12-28 |