2011-06-30 14:55:03 -04:00
|
|
|
Name: git-annex
|
2013-02-28 16:10:37 -04:00
|
|
|
Version: 4.20130228
|
2012-04-05 16:39:50 -04:00
|
|
|
Cabal-Version: >= 1.8
|
2011-06-30 14:55:03 -04:00
|
|
|
License: GPL
|
|
|
|
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
|
|
|
|
|
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-02-24 12:22:55 +01:00
|
|
|
unix, containers, utf8-string, network (>= 2.0), mtl (>= 2),
|
2013-02-27 15:59:31 -04:00
|
|
|
bytestring, old-locale, time,
|
2013-02-11 11:47:53 -04:00
|
|
|
extensible-exceptions, dataenc, SHA, process, json,
|
2013-02-08 14:19:45 -04:00
|
|
|
base (>= 4.5 && < 4.8), monad-control, transformers-base, lifted-base,
|
2012-10-05 17:02:51 -04:00
|
|
|
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process,
|
2013-02-26 23:58:36 -04:00
|
|
|
SafeSemaphore, uuid, random, regex-compat
|
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
|
|
|
|
GHC-Options: -threaded -Wall
|
|
|
|
|
|
|
|
if flag(Production)
|
|
|
|
GHC-Options: -O2
|
2012-04-14 14:22:33 -04: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
|
|
|
|
|
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
|
|
|
|
2012-11-14 20:25:00 -04:00
|
|
|
if flag(WebDAV)
|
2012-12-06 18:04:38 -04:00
|
|
|
Build-Depends: DAV (>= 0.3), http-conduit, xml-conduit, http-types
|
2012-11-18 13:28:18 -04:00
|
|
|
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-02-27 02:30:26 -04:00
|
|
|
Build-Depends: async, 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)
|
|
|
|
CPP-Options: -D__ANDROID__
|
|
|
|
|
2012-06-25 11:38:42 -04:00
|
|
|
if os(linux) && flag(Inotify)
|
2012-06-17 17:15:56 -04:00
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2012-07-25 21:26:13 -04:00
|
|
|
else
|
2012-12-27 14:19:12 -05:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
2013-01-05 13:48:21 -04:00
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
2012-12-27 14:19:12 -05:00
|
|
|
else
|
|
|
|
if (! os(windows) && ! os(solaris) && ! os(linux))
|
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2013-02-24 12:58:04 +01:00
|
|
|
Includes: sys/event.h
|
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-02-27 02:30:26 -04:00
|
|
|
if flag(Webapp)
|
2012-08-09 13:33:04 -04:00
|
|
|
Build-Depends: yesod, yesod-static, case-insensitive,
|
2012-07-27 12:09:34 -04:00
|
|
|
http-types, transformers, wai, wai-logger, warp, blaze-builder,
|
2013-02-27 02:30:26 -04:00
|
|
|
crypto-api, hamlet, clientsession, aeson, yesod-form,
|
|
|
|
template-haskell, yesod-default, data-default
|
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-02-27 02:30:26 -04:00
|
|
|
if flag(XMPP)
|
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
|
|
|
|
2011-06-30 14:55:03 -04:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|