2011-06-30 18:55:03 +00:00
|
|
|
Name: git-annex
|
2013-02-28 20:10:37 +00:00
|
|
|
Version: 4.20130228
|
2012-04-05 20:39:50 +00:00
|
|
|
Cabal-Version: >= 1.8
|
2011-06-30 18:55:03 +00:00
|
|
|
License: GPL
|
|
|
|
Maintainer: Joey Hess <joey@kitenet.net>
|
|
|
|
Author: Joey Hess
|
|
|
|
Stability: Stable
|
2013-02-27 05:41:01 +00:00
|
|
|
Copyright: 2010-2013 Joey Hess
|
2012-09-24 19:20:28 +00:00
|
|
|
License-File: COPYRIGHT
|
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
|
|
|
|
|
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
|
|
|
|
Description: Building for Android
|
|
|
|
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
|
|
|
|
|
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,
|
2013-02-24 11:22:55 +00:00
|
|
|
unix, containers, utf8-string, network (>= 2.0), mtl (>= 2),
|
2013-02-27 19:59:31 +00:00
|
|
|
bytestring, old-locale, time,
|
2013-02-11 15:47:53 +00:00
|
|
|
extensible-exceptions, dataenc, SHA, process, json,
|
2013-02-08 18:19:45 +00:00
|
|
|
base (>= 4.5 && < 4.8), monad-control, transformers-base, lifted-base,
|
2012-10-05 21:02:51 +00:00
|
|
|
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
|
2013-02-27 03:58:36 +00:00
|
|
|
SafeSemaphore, uuid, random, regex-compat
|
2012-07-19 17:01:41 +00:00
|
|
|
-- Need to list these because they're generated from .hsc files.
|
|
|
|
Other-Modules: Utility.Touch Utility.Mounts
|
2012-07-26 02:04:10 +00:00
|
|
|
Include-Dirs: Utility
|
2012-07-20 00:38:58 +00:00
|
|
|
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
|
2013-02-27 05:41:01 +00:00
|
|
|
CC-Options: -Wall
|
|
|
|
GHC-Options: -threaded -Wall
|
|
|
|
|
|
|
|
if flag(Production)
|
|
|
|
GHC-Options: -O2
|
2012-04-14 18:22:33 +00:00
|
|
|
|
2013-02-27 19:59:31 +00:00
|
|
|
if flag(TestSuite)
|
2013-02-28 03:21:43 +00:00
|
|
|
Build-Depends: HUnit
|
2013-02-27 19:59:31 +00:00
|
|
|
CPP-Options: -DWITH_TESTSUITE
|
|
|
|
|
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
|
|
|
|
2012-11-15 00:25:00 +00:00
|
|
|
if flag(WebDAV)
|
2012-12-06 22:04:38 +00:00
|
|
|
Build-Depends: DAV (>= 0.3), http-conduit, xml-conduit, http-types
|
2012-11-18 17:28:18 +00:00
|
|
|
CPP-Options: -DWITH_WEBDAV
|
2013-02-22 15:08:34 +00:00
|
|
|
|
2012-10-18 02:00:29 +00:00
|
|
|
if flag(Assistant) && ! os(windows) && ! os(solaris)
|
2013-02-27 06:30:26 +00:00
|
|
|
Build-Depends: async, stm (>= 2.3)
|
2012-06-26 13:15:47 +00:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
|
|
|
|
2013-02-27 06:30:26 +00:00
|
|
|
if flag(Android)
|
|
|
|
CPP-Options: -D__ANDROID__
|
|
|
|
|
2012-06-25 15:38:42 +00:00
|
|
|
if os(linux) && flag(Inotify)
|
2012-06-17 21:15:56 +00:00
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2012-07-26 01:26:13 +00:00
|
|
|
else
|
2012-12-27 19:19:12 +00:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
2013-01-05 17:48:21 +00:00
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
2012-12-27 19:19:12 +00:00
|
|
|
else
|
|
|
|
if (! os(windows) && ! os(solaris) && ! os(linux))
|
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2013-02-24 11:58:04 +00:00
|
|
|
Includes: sys/event.h
|
2012-06-17 21:15:56 +00:00
|
|
|
|
2012-07-26 17:05:52 +00:00
|
|
|
if os(linux) && flag(Dbus)
|
2012-10-26 23:38:27 +00:00
|
|
|
Build-Depends: dbus (>= 0.10.3)
|
2012-07-19 17:01:41 +00:00
|
|
|
CPP-Options: -DWITH_DBUS
|
|
|
|
|
2013-02-27 06:30:26 +00:00
|
|
|
if flag(Webapp)
|
2012-08-09 17:33:04 +00:00
|
|
|
Build-Depends: yesod, yesod-static, case-insensitive,
|
2012-07-27 16:09:34 +00:00
|
|
|
http-types, transformers, wai, wai-logger, warp, blaze-builder,
|
2013-02-27 06:30:26 +00:00
|
|
|
crypto-api, hamlet, clientsession, aeson, yesod-form,
|
|
|
|
template-haskell, yesod-default, data-default
|
2012-07-26 01:26:13 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
|
|
|
|
2013-02-27 06:30:26 +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-02-27 06:30:26 +00:00
|
|
|
if flag(XMPP)
|
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-02-27 06:30:26 +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
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|