2011-06-30 18:55:03 +00:00
|
|
|
Name: git-annex
|
2014-07-17 15:37:21 +00:00
|
|
|
Version: 5.20140717
|
2012-04-05 20:39:50 +00:00
|
|
|
Cabal-Version: >= 1.8
|
2013-06-03 19:38:48 +00:00
|
|
|
License: GPL-3
|
2011-06-30 18:55:03 +00:00
|
|
|
Maintainer: Joey Hess <joey@kitenet.net>
|
|
|
|
Author: Joey Hess
|
|
|
|
Stability: Stable
|
2014-01-16 15:36:54 +00:00
|
|
|
Copyright: 2010-2014 Joey Hess
|
2012-09-24 19:20:28 +00:00
|
|
|
License-File: COPYRIGHT
|
2014-03-20 15:04:47 +00:00
|
|
|
Extra-Source-Files: CHANGELOG
|
2011-06-30 18:55:03 +00:00
|
|
|
Homepage: http://git-annex.branchable.com/
|
2013-02-28 23:18:56 +00:00
|
|
|
Build-type: Custom
|
2011-06-30 18:55:03 +00:00
|
|
|
Category: Utility
|
|
|
|
Synopsis: manage files with git, without checking their contents into git
|
|
|
|
Description:
|
|
|
|
git-annex allows managing files with git, without checking the file
|
|
|
|
contents into git. While that may seem paradoxical, it is useful when
|
|
|
|
dealing with files larger than git can currently easily handle, whether due
|
2012-02-15 23:43:15 +00:00
|
|
|
to limitations in memory, time, or disk space.
|
2011-06-30 18:55:03 +00:00
|
|
|
.
|
|
|
|
Even without file content tracking, being able to manage files with git,
|
|
|
|
move files around and delete files with versioned directory trees, and use
|
|
|
|
branches and distributed clones, are all very handy reasons to use git. And
|
|
|
|
annexed files can co-exist in the same git repository with regularly
|
|
|
|
versioned files, which is convenient for maintaining documents, Makefiles,
|
|
|
|
etc that are associated with annexed files but that benefit from full
|
|
|
|
revision control.
|
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
Flag S3
|
|
|
|
Description: Enable S3 support
|
|
|
|
|
2012-11-15 00:25:00 +00:00
|
|
|
Flag WebDAV
|
|
|
|
Description: Enable WebDAV support
|
|
|
|
|
2012-06-17 21:15:56 +00:00
|
|
|
Flag Inotify
|
|
|
|
Description: Enable inotify support
|
|
|
|
|
2012-07-19 17:01:41 +00:00
|
|
|
Flag Dbus
|
|
|
|
Description: Enable dbus support
|
|
|
|
|
2012-06-26 13:15:47 +00:00
|
|
|
Flag Assistant
|
|
|
|
Description: Enable git-annex assistant and watch command
|
|
|
|
|
2012-07-26 01:26:13 +00:00
|
|
|
Flag Webapp
|
|
|
|
Description: Enable git-annex webapp
|
|
|
|
|
2014-03-13 01:21:10 +00:00
|
|
|
Flag Webapp-secure
|
|
|
|
Description: Secure webapp
|
2014-03-12 16:19:48 +00:00
|
|
|
|
2012-09-07 23:44:20 +00:00
|
|
|
Flag Pairing
|
|
|
|
Description: Enable pairing
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2012-10-24 00:24:23 +00:00
|
|
|
Flag XMPP
|
|
|
|
Description: Enable notifications using XMPP
|
|
|
|
|
2012-10-28 23:14:30 +00:00
|
|
|
Flag DNS
|
|
|
|
Description: Enable the haskell DNS library for DNS lookup
|
2012-10-25 21:54:00 +00:00
|
|
|
|
2013-02-27 05:41:01 +00:00
|
|
|
Flag Production
|
2013-02-27 06:30:26 +00:00
|
|
|
Description: Enable production build (slower build; faster binary)
|
|
|
|
|
|
|
|
Flag Android
|
2013-11-25 17:01:53 +00:00
|
|
|
Description: Cross building for Android
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
Flag AndroidSplice
|
|
|
|
Description: Building to get TH splices for Android
|
2013-02-27 06:30:26 +00:00
|
|
|
Default: False
|
2013-02-27 05:41:01 +00:00
|
|
|
|
2013-02-27 19:59:31 +00:00
|
|
|
Flag TestSuite
|
|
|
|
Description: Embed the test suite into git-annex
|
|
|
|
|
2013-05-06 13:44:55 +00:00
|
|
|
Flag TDFA
|
|
|
|
Description: Use regex-tdfa for wildcards
|
|
|
|
|
2013-07-28 19:27:36 +00:00
|
|
|
Flag Feed
|
|
|
|
Description: Enable podcast feed support
|
|
|
|
|
2013-09-09 06:16:22 +00:00
|
|
|
Flag Quvi
|
|
|
|
Description: Enable use of quvi to download videos
|
|
|
|
|
2014-01-08 20:14:37 +00:00
|
|
|
Flag Tahoe
|
|
|
|
Description: Enable the tahoe special remote
|
|
|
|
|
2013-10-03 16:33:38 +00:00
|
|
|
Flag CryptoHash
|
|
|
|
Description: Enable use of cryptohash for checksumming
|
|
|
|
|
2014-03-22 14:42:38 +00:00
|
|
|
Flag DesktopNotify
|
|
|
|
Description: Enable desktop environment notifications
|
|
|
|
|
2013-11-06 20:33:45 +00:00
|
|
|
Flag EKG
|
|
|
|
Description: Enable use of EKG to monitor git-annex as it runs (at http://localhost:4242/)
|
|
|
|
Default: False
|
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
Executable git-annex
|
|
|
|
Main-Is: git-annex.hs
|
2011-11-26 12:39:47 +00:00
|
|
|
Build-Depends: MissingH, hslogger, directory, filepath,
|
2014-01-08 00:42:13 +00:00
|
|
|
containers, utf8-string, network (>= 2.0), mtl (>= 2),
|
unify exception handling into Utility.Exception
Removed old extensible-exceptions, only needed for very old ghc.
Made webdav use Utility.Exception, to work after some changes in DAV's
exception handling.
Removed Annex.Exception. Mostly this was trivial, but note that
tryAnnex is replaced with tryNonAsync and catchAnnex replaced with
catchNonAsync. In theory that could be a behavior change, since the former
caught all exceptions, and the latter don't catch async exceptions.
However, in practice, nothing in the Annex monad uses async exceptions.
Grepping for throwTo and killThread only find stuff in the assistant,
which does not seem related.
Command.Add.undo is changed to accept a SomeException, and things
that use it for rollback now catch non-async exceptions, rather than
only IOExceptions.
2014-08-08 01:55:44 +00:00
|
|
|
bytestring, old-locale, time, HTTP, dataenc, SHA, process, json,
|
2014-08-08 02:11:28 +00:00
|
|
|
base (>= 4.5 && < 4.9), monad-control, exceptions (>= 0.5), transformers,
|
2012-10-05 21:02:51 +00:00
|
|
|
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
|
2014-02-25 02:00:25 +00:00
|
|
|
SafeSemaphore, uuid, random, dlist, unix-compat, async, stm (>= 2.3),
|
2014-04-13 17:12:14 +00:00
|
|
|
data-default, case-insensitive
|
2013-02-27 05:41:01 +00:00
|
|
|
CC-Options: -Wall
|
2013-05-06 13:35:43 +00:00
|
|
|
GHC-Options: -Wall
|
2013-04-14 16:49:09 +00:00
|
|
|
Extensions: PackageImports
|
2013-07-25 17:57:53 +00:00
|
|
|
-- Some things don't work with the non-threaded RTS.
|
|
|
|
GHC-Options: -threaded
|
2013-02-27 05:41:01 +00:00
|
|
|
|
|
|
|
if flag(Production)
|
|
|
|
GHC-Options: -O2
|
2012-04-14 18:22:33 +00:00
|
|
|
|
2013-12-10 05:18:04 +00:00
|
|
|
if (os(windows))
|
2013-12-11 04:15:10 +00:00
|
|
|
Build-Depends: Win32, Win32-extras
|
2014-02-13 18:00:15 +00:00
|
|
|
C-Sources: Utility/winprocess.c
|
2013-12-10 05:18:04 +00:00
|
|
|
else
|
2013-05-10 20:37:38 +00:00
|
|
|
Build-Depends: unix
|
2013-12-06 22:06:22 +00:00
|
|
|
-- Need to list these because they're generated from .hsc files.
|
|
|
|
Other-Modules: Utility.Touch Utility.Mounts
|
|
|
|
Include-Dirs: Utility
|
|
|
|
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
|
|
|
|
CPP-Options: -DWITH_CLIBS
|
2013-05-10 20:08:53 +00:00
|
|
|
|
2013-02-27 19:59:31 +00:00
|
|
|
if flag(TestSuite)
|
2014-01-27 18:22:44 +00:00
|
|
|
Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun,
|
2014-08-01 19:09:49 +00:00
|
|
|
optparse-applicative, crypto-api
|
2013-02-27 19:59:31 +00:00
|
|
|
CPP-Options: -DWITH_TESTSUITE
|
|
|
|
|
2013-05-06 13:44:55 +00:00
|
|
|
if flag(TDFA)
|
|
|
|
Build-Depends: regex-tdfa
|
|
|
|
CPP-Options: -DWITH_TDFA
|
2014-02-26 17:40:35 +00:00
|
|
|
else
|
|
|
|
Build-Depends: regex-compat
|
2013-10-03 16:33:38 +00:00
|
|
|
|
|
|
|
if flag(CryptoHash)
|
|
|
|
Build-Depends: cryptohash (>= 0.10.0)
|
|
|
|
CPP-Options: -DWITH_CRYPTOHASH
|
2013-05-06 13:44:55 +00:00
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
if flag(S3)
|
|
|
|
Build-Depends: hS3
|
|
|
|
CPP-Options: -DWITH_S3
|
2011-06-30 18:55:03 +00:00
|
|
|
|
2013-12-05 23:15:23 +00:00
|
|
|
if flag(WebDAV)
|
2014-08-08 16:50:51 +00:00
|
|
|
Build-Depends: DAV (>= 1.0),
|
2014-08-08 21:17:23 +00:00
|
|
|
http-client, http-types
|
2012-11-18 17:28:18 +00:00
|
|
|
CPP-Options: -DWITH_WEBDAV
|
2013-02-22 15:08:34 +00:00
|
|
|
|
2013-11-12 18:54:02 +00:00
|
|
|
if flag(Assistant) && ! os(solaris)
|
2012-06-26 13:15:47 +00:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
|
|
|
|
2013-07-12 19:36:59 +00:00
|
|
|
if flag(Assistant)
|
|
|
|
if os(linux) && flag(Inotify)
|
2013-07-16 15:29:43 +00:00
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2012-12-27 19:19:12 +00:00
|
|
|
else
|
2013-07-12 19:36:59 +00:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
|
|
|
else
|
2013-11-12 18:54:02 +00:00
|
|
|
if os(windows)
|
|
|
|
Build-Depends: Win32-notify
|
|
|
|
CPP-Options: -DWITH_WIN32NOTIFY
|
|
|
|
else
|
|
|
|
if (! os(solaris) && ! os(linux))
|
|
|
|
if flag(Android)
|
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
|
|
|
else
|
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2013-07-12 19:36:59 +00:00
|
|
|
|
2014-04-02 21:50:47 +00:00
|
|
|
if (os(linux))
|
2014-03-22 14:42:38 +00:00
|
|
|
if flag(Dbus)
|
2014-04-02 21:50:47 +00:00
|
|
|
Build-Depends: dbus (>= 0.10.3)
|
|
|
|
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
|
2014-03-22 14:42:38 +00:00
|
|
|
|
2013-11-12 18:54:02 +00:00
|
|
|
if flag(Android)
|
|
|
|
Build-Depends: data-endian
|
2013-12-18 06:06:15 +00:00
|
|
|
CPP-Options: -D__ANDROID__ -DANDROID_SPLICES -D__NO_TH__
|
2013-11-25 17:16:04 +00:00
|
|
|
if flag(AndroidSplice)
|
2013-11-25 17:01:53 +00:00
|
|
|
CPP-Options: -DANDROID_SPLICES
|
2012-07-19 17:01:41 +00:00
|
|
|
|
2013-12-06 19:04:19 +00:00
|
|
|
if flag(Webapp)
|
2013-05-23 15:02:25 +00:00
|
|
|
Build-Depends:
|
2013-06-27 04:01:31 +00:00
|
|
|
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
|
2014-08-08 02:11:28 +00:00
|
|
|
http-types, wai, wai-extra, warp, warp-tls,
|
2013-08-22 22:25:21 +00:00
|
|
|
blaze-builder, crypto-api, hamlet, clientsession,
|
2014-07-13 23:24:38 +00:00
|
|
|
template-haskell, data-default, aeson, path-pieces,
|
2014-04-13 17:12:14 +00:00
|
|
|
shakespeare
|
2012-07-26 01:26:13 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
2014-03-13 01:21:10 +00:00
|
|
|
if flag(Webapp) && flag (Webapp-secure)
|
2014-03-26 19:21:19 +00:00
|
|
|
Build-Depends: warp-tls (>= 1.4), securemem, byteable
|
2014-03-13 01:21:10 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP_SECURE
|
2012-07-26 01:26:13 +00:00
|
|
|
|
2013-07-16 15:29:43 +00:00
|
|
|
if flag(Pairing)
|
2012-09-07 23:44:20 +00:00
|
|
|
Build-Depends: network-multicast, network-info
|
|
|
|
CPP-Options: -DWITH_PAIRING
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2013-10-17 22:56:28 +00:00
|
|
|
if flag(XMPP) && (! os(windows))
|
2012-10-31 15:50:43 +00:00
|
|
|
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
|
2012-10-24 00:24:23 +00:00
|
|
|
CPP-Options: -DWITH_XMPP
|
|
|
|
|
2013-07-16 15:29:43 +00:00
|
|
|
if flag(DNS)
|
2012-10-28 23:14:30 +00:00
|
|
|
Build-Depends: dns
|
|
|
|
CPP-Options: -DWITH_DNS
|
2012-10-25 21:54:00 +00:00
|
|
|
|
2013-07-28 19:27:36 +00:00
|
|
|
if flag(Feed)
|
2014-04-21 04:37:14 +00:00
|
|
|
Build-Depends: feed
|
2013-07-28 19:27:36 +00:00
|
|
|
CPP-Options: -DWITH_FEED
|
2013-09-09 06:16:22 +00:00
|
|
|
|
|
|
|
if flag(Quvi)
|
|
|
|
Build-Depends: aeson
|
|
|
|
CPP-Options: -DWITH_QUVI
|
2014-01-08 20:14:37 +00:00
|
|
|
|
|
|
|
if flag(Tahoe)
|
|
|
|
Build-Depends: aeson
|
|
|
|
CPP-Options: -DWITH_TAHOE
|
2013-07-28 19:27:36 +00:00
|
|
|
|
2013-11-06 20:33:45 +00:00
|
|
|
if flag(EKG)
|
|
|
|
Build-Depends: ekg
|
|
|
|
GHC-Options: -with-rtsopts=-T
|
|
|
|
CPP-Options: -DWITH_EKG
|
2013-07-28 19:27:36 +00:00
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|