Brought back the dbus and xmpp build flags, so build from source can be done without C libraries that may be hard to install.

This commit is contained in:
Joey Hess 2016-02-05 18:00:20 -04:00
parent 03754a3c1c
commit 0226122842
Failed to extract signature
3 changed files with 17 additions and 7 deletions

2
debian/changelog vendored
View file

@ -17,6 +17,8 @@ git-annex (6.20160127) UNRELEASED; urgency=medium
is linked with libmagic.
* matchexpression: Added --largefiles option to parse an annex.largefiles
expression.
* Brought back the dbus and xmpp build flags, so build from source can be
done without C libraries that may be hard to install.
-- Joey Hess <id@joeyh.name> Thu, 28 Jan 2016 13:53:09 -0400

View file

@ -84,6 +84,12 @@ Flag network-uri
Flag Cryptonite
Description: Use the cryptonite library, instead of the older cryptohash
Flag Dbus
Description: Enable dbus support
Flag XMPP
Description: Enable notifications using XMPP
Executable git-annex
Main-Is: git-annex.hs
Build-Depends:
@ -181,9 +187,10 @@ Executable git-annex
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
if (os(linux))
Build-Depends: dbus (>= 0.10.7), fdo-notify (>= 0.3)
CPP-Options: -DWITH_DBUS -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
if flag(Dbus)
if (os(linux))
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
@ -213,9 +220,10 @@ Executable git-annex
Build-Depends: network-multicast, network-info
CPP-Options: -DWITH_PAIRING
if (! os(windows))
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
CPP-Options: -DWITH_XMPP
if flag(XMPP)
if (! os(windows))
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
CPP-Options: -DWITH_XMPP
if flag(TorrentParser)
Build-Depends: torrent (>= 10000.0.0)

View file

@ -12,8 +12,8 @@ flags:
torrentparser: true
webapp: true
magicmime: false
xmpp: false
dbus: false
xmpp: false
android: false
androidsplice: false
ekg: false