[darcs-users] darcs patch: Make Haskeline a required dependency (+ 4 more)

Judah Jacobson judah.jacobson at gmail.com
Tue Feb 3 17:15:44 UTC 2009


The attached patches address two issues:

1) Fix some small problems when building with Cabal on Windows.

2) Make Haskeline required instead of optional.  This removes a
significant amount of platform-dependent terminal manipulation, so I
think it's worth considering.

The Haskeline changes have been tested on both OS X and Windows; I
split it into two patches since the second ("Don't set stdin's
buffering") should probably be reviewed by someone more familiar than
me with SelectChanges.hs.

Once this is applied, developers may need to use "cabal update &&
cabal install haskeline" to get a recent enough version of Haskeline.


Mon Feb  2 18:34:00 Pacific Standard Time 2009  Judah Jacobson
<judah.jacobson at gmail.com>
  * Make Haskeline a required dependency.

    M ./configure.ac -13 +2
    M ./darcs.cabal -13 +4
    M ./src/Darcs/Utils.hs -42 +13

Mon Feb  2 19:06:26 Pacific Standard Time 2009  Judah Jacobson
<judah.jacobson at gmail.com>
  * Don't set stdin's buffering; Haskeline will do that for us.

    M ./src/Darcs/SelectChanges.hs -12 +8
    M ./src/Darcs/Utils.hs -80 +4

Tue Feb  3 08:48:24 Pacific Standard Time 2009  Judah Jacobson
<judah.jacobson at gmail.com>
  * Don't use the bytestring-mmap package on Windows.

    M ./darcs.cabal -2 +2

Tue Feb  3 08:52:06 Pacific Standard Time 2009  Judah Jacobson
<judah.jacobson at gmail.com>
  * Tell Cabal about send_email.c on Windows.

    M ./darcs.cabal +1

Tue Feb  3 08:52:58 Pacific Standard Time 2009  Judah Jacobson
<judah.jacobson at gmail.com>
  * Remove a redundant clause from the Cabal file."

    M ./darcs.cabal -8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-haskeline-a-required-dependency_.dpatch
Type: application/octet-stream
Size: 102265 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20090203/4021075f/attachment-0001.obj 


More information about the darcs-users mailing list