2011-06-30 14:55:03 -04:00
|
|
|
Name: git-annex
|
2013-11-06 11:18:41 -04:00
|
|
|
Version: 4.20131106
|
2012-04-05 16:39:50 -04:00
|
|
|
Cabal-Version: >= 1.8
|
2013-06-03 21:38:48 +02:00
|
|
|
License: GPL-3
|
2011-06-30 14:55:03 -04:00
|
|
|
Maintainer: Joey Hess <joey@kitenet.net>
|
|
|
|
Author: Joey Hess
|
|
|
|
Stability: Stable
|
2013-02-27 01:41:01 -04:00
|
|
|
Copyright: 2010-2013 Joey Hess
|
2012-09-24 15:20:28 -04:00
|
|
|
License-File: COPYRIGHT
|
2011-06-30 14:55:03 -04:00
|
|
|
Homepage: http://git-annex.branchable.com/
|
2013-02-28 19:18:56 -04:00
|
|
|
Build-type: Custom
|
2011-06-30 14:55:03 -04: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 19:43:15 -04:00
|
|
|
to limitations in memory, time, or disk space.
|
2011-06-30 14:55:03 -04: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 14:22:33 -04:00
|
|
|
Flag S3
|
|
|
|
Description: Enable S3 support
|
|
|
|
|
2012-11-14 20:25:00 -04:00
|
|
|
Flag WebDAV
|
|
|
|
Description: Enable WebDAV support
|
|
|
|
|
2012-06-17 17:15:56 -04:00
|
|
|
Flag Inotify
|
|
|
|
Description: Enable inotify support
|
|
|
|
|
2012-07-19 13:01:41 -04:00
|
|
|
Flag Dbus
|
|
|
|
Description: Enable dbus support
|
|
|
|
|
2012-06-26 09:15:47 -04:00
|
|
|
Flag Assistant
|
|
|
|
Description: Enable git-annex assistant and watch command
|
|
|
|
|
2012-07-25 21:26:13 -04:00
|
|
|
Flag Webapp
|
|
|
|
Description: Enable git-annex webapp
|
|
|
|
|
2012-09-07 19:44:20 -04:00
|
|
|
Flag Pairing
|
|
|
|
Description: Enable pairing
|
2012-09-07 14:54:00 -04:00
|
|
|
|
2012-10-23 20:24:23 -04:00
|
|
|
Flag XMPP
|
|
|
|
Description: Enable notifications using XMPP
|
|
|
|
|
2012-10-28 19:14:30 -04:00
|
|
|
Flag DNS
|
|
|
|
Description: Enable the haskell DNS library for DNS lookup
|
2012-10-25 17:54:00 -04:00
|
|
|
|
2013-02-27 01:41:01 -04:00
|
|
|
Flag Production
|
2013-02-27 02:30:26 -04:00
|
|
|
Description: Enable production build (slower build; faster binary)
|
|
|
|
|
|
|
|
Flag Android
|
|
|
|
Description: Building for Android
|
|
|
|
Default: False
|
2013-02-27 01:41:01 -04:00
|
|
|
|
2013-02-27 15:59:31 -04:00
|
|
|
Flag TestSuite
|
|
|
|
Description: Embed the test suite into git-annex
|
|
|
|
|
2013-05-06 09:44:55 -04:00
|
|
|
Flag TDFA
|
|
|
|
Description: Use regex-tdfa for wildcards
|
|
|
|
|
2013-07-28 15:27:36 -04:00
|
|
|
Flag Feed
|
|
|
|
Description: Enable podcast feed support
|
|
|
|
|
2013-09-09 02:16:22 -04:00
|
|
|
Flag Quvi
|
|
|
|
Description: Enable use of quvi to download videos
|
|
|
|
|
2013-10-03 12:33:38 -04:00
|
|
|
Flag CryptoHash
|
|
|
|
Description: Enable use of cryptohash for checksumming
|
|
|
|
|
2011-06-30 14:55:03 -04:00
|
|
|
Executable git-annex
|
|
|
|
Main-Is: git-annex.hs
|
2011-11-26 23:39:47 +11:00
|
|
|
Build-Depends: MissingH, hslogger, directory, filepath,
|
2013-05-10 15:37:38 -05:00
|
|
|
containers, utf8-string, network (>= 2.0), mtl (>= 2),
|
2013-04-16 15:20:21 -04:00
|
|
|
bytestring, old-locale, time, HTTP,
|
2013-10-03 12:33:38 -04:00
|
|
|
extensible-exceptions, dataenc, SHA, process, json,
|
2013-10-05 13:14:38 -04:00
|
|
|
base (>= 4.5 && < 4.9), monad-control, MonadCatchIO-transformers,
|
2012-10-05 17:02:51 -04:00
|
|
|
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
|
2013-10-26 11:46:45 -04:00
|
|
|
SafeSemaphore, uuid, random, dlist, unix-compat, async
|
2012-07-19 13:01:41 -04:00
|
|
|
-- Need to list these because they're generated from .hsc files.
|
|
|
|
Other-Modules: Utility.Touch Utility.Mounts
|
2012-07-25 22:04:10 -04:00
|
|
|
Include-Dirs: Utility
|
2012-07-19 20:38:58 -04:00
|
|
|
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
|
2013-02-27 01:41:01 -04:00
|
|
|
CC-Options: -Wall
|
2013-05-06 09:35:43 -04:00
|
|
|
GHC-Options: -Wall
|
2013-03-12 05:48:41 -04:00
|
|
|
CPP-Options: -DWITH_CLIBS
|
2013-04-14 12:49:09 -04:00
|
|
|
Extensions: PackageImports
|
2013-07-25 13:57:53 -04:00
|
|
|
-- Some things don't work with the non-threaded RTS.
|
|
|
|
GHC-Options: -threaded
|
2013-02-27 01:41:01 -04:00
|
|
|
|
|
|
|
if flag(Production)
|
|
|
|
GHC-Options: -O2
|
2012-04-14 14:22:33 -04:00
|
|
|
|
2013-10-06 17:23:30 -04:00
|
|
|
if (! os(windows))
|
2013-05-10 15:37:38 -05:00
|
|
|
Build-Depends: unix
|
2013-05-10 15:08:53 -05:00
|
|
|
|
2013-02-27 15:59:31 -04:00
|
|
|
if flag(TestSuite)
|
2013-02-27 23:21:43 -04:00
|
|
|
Build-Depends: HUnit
|
2013-02-27 15:59:31 -04:00
|
|
|
CPP-Options: -DWITH_TESTSUITE
|
|
|
|
|
2013-05-06 09:44:55 -04:00
|
|
|
if flag(TDFA)
|
|
|
|
Build-Depends: regex-tdfa
|
|
|
|
CPP-Options: -DWITH_TDFA
|
2013-10-03 12:33:38 -04:00
|
|
|
|
|
|
|
if flag(CryptoHash)
|
|
|
|
Build-Depends: cryptohash (>= 0.10.0)
|
|
|
|
CPP-Options: -DWITH_CRYPTOHASH
|
2013-05-06 09:44:55 -04:00
|
|
|
|
2012-04-14 14:22:33 -04:00
|
|
|
if flag(S3)
|
|
|
|
Build-Depends: hS3
|
|
|
|
CPP-Options: -DWITH_S3
|
2011-06-30 14:55:03 -04:00
|
|
|
|
2013-08-02 13:44:01 -04:00
|
|
|
-- Not yet available for backport.
|
|
|
|
--if flag(WebDAV)
|
|
|
|
-- Build-Depends: DAV (>= 0.3), http-conduit, xml-conduit, http-types
|
|
|
|
-- CPP-Options: -DWITH_WEBDAV
|
2013-02-22 16:08:34 +01:00
|
|
|
|
2012-10-17 22:00:29 -04:00
|
|
|
if flag(Assistant) && ! os(windows) && ! os(solaris)
|
2013-10-26 11:46:45 -04:00
|
|
|
Build-Depends: stm (>= 2.3)
|
2012-06-26 09:15:47 -04:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
|
|
|
|
2013-02-27 02:30:26 -04:00
|
|
|
if flag(Android)
|
2013-05-02 22:38:45 -04:00
|
|
|
Build-Depends: data-endian
|
2013-02-27 02:30:26 -04:00
|
|
|
CPP-Options: -D__ANDROID__
|
|
|
|
|
2013-07-12 15:36:59 -04:00
|
|
|
if flag(Assistant)
|
|
|
|
if os(linux) && flag(Inotify)
|
2013-07-16 11:29:43 -04:00
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2012-12-27 14:19:12 -05:00
|
|
|
else
|
2013-07-12 15:36:59 -04:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
|
|
|
else
|
|
|
|
if (! os(windows) && ! os(solaris) && ! os(linux))
|
2013-09-22 19:13:31 +01:00
|
|
|
if flag(Android)
|
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
|
|
|
else
|
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2012-06-17 17:15:56 -04:00
|
|
|
|
2012-07-26 13:05:52 -04:00
|
|
|
if os(linux) && flag(Dbus)
|
2012-10-26 19:38:27 -04:00
|
|
|
Build-Depends: dbus (>= 0.10.3)
|
2012-07-19 13:01:41 -04:00
|
|
|
CPP-Options: -DWITH_DBUS
|
|
|
|
|
2013-10-17 18:56:28 -04:00
|
|
|
if flag(Webapp) && (! os(windows))
|
2013-05-23 11:02:25 -04:00
|
|
|
Build-Depends:
|
2013-06-27 00:01:31 -04:00
|
|
|
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
|
2013-05-23 11:02:25 -04:00
|
|
|
case-insensitive, http-types, transformers, wai, wai-logger, warp,
|
2013-08-22 18:25:21 -04:00
|
|
|
blaze-builder, crypto-api, hamlet, clientsession,
|
2013-09-09 02:16:22 -04:00
|
|
|
template-haskell, data-default, aeson
|
2012-07-25 21:26:13 -04:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
|
|
|
|
2013-02-27 02:30:26 -04:00
|
|
|
if flag(Pairing)
|
2012-09-07 19:44:20 -04:00
|
|
|
Build-Depends: network-multicast, network-info
|
|
|
|
CPP-Options: -DWITH_PAIRING
|
2012-09-07 14:54:00 -04:00
|
|
|
|
2013-10-17 18:56:28 -04:00
|
|
|
if flag(XMPP) && (! os(windows))
|
2012-10-31 11:50:43 -04:00
|
|
|
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
|
2012-10-23 20:24:23 -04:00
|
|
|
CPP-Options: -DWITH_XMPP
|
|
|
|
|
2013-02-27 02:30:26 -04:00
|
|
|
if flag(DNS)
|
2012-10-28 19:14:30 -04:00
|
|
|
Build-Depends: dns
|
|
|
|
CPP-Options: -DWITH_DNS
|
2012-10-25 17:54:00 -04:00
|
|
|
|
2013-07-28 15:27:36 -04:00
|
|
|
if flag(Feed)
|
|
|
|
Build-Depends: feed
|
|
|
|
CPP-Options: -DWITH_FEED
|
2013-09-09 02:16:22 -04:00
|
|
|
|
|
|
|
if flag(Quvi)
|
|
|
|
Build-Depends: aeson
|
|
|
|
CPP-Options: -DWITH_QUVI
|
2013-07-28 15:27:36 -04:00
|
|
|
|
2011-06-30 14:55:03 -04:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|