[prev in list] [next in list] [prev in thread] [next in thread] 

List:       darcs-users
Subject:    Re: [darcs-users] darcs patch: configure: check for packages needed
From:       David Roundy <droundy () darcs ! net>
Date:       2008-07-30 17:27:43
Message-ID: 20080730172742.GM17142 () darcs ! net
[Download RAW message or body]

Applied.  Thanks!

David

On Wed, Jul 30, 2008 at 10:52:57AM +0000, E.Y.Kow@brighton.ac.uk wrote:
> The first patch is to make darcs compile on GHC 6.8.x
> 
> Wed Jul 30 11:38:40 BST 2008  Eric Kow <E.Y.Kow@brighton.ac.uk>
> * configure: check for packages needed with split base.
> Now that all packages must be used explicitly.
> 
> Wed Jul 30 11:43:57 BST 2008  Eric Kow <E.Y.Kow@brighton.ac.uk>
> * Canonize Gaetan Lehmann and Daniel Buenzli.
> (for Daniel B, avoid an accent in his name)
> 

Content-Description: A darcs patch for your repository!
> 
> New patches:
> 
> [configure: check for packages needed with split base.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080730103840
> Now that all packages must be used explicitly.
> ] hunk ./configure.ac 198
> +dnl See if we need any packages from after the split base
> +
> +GHC_CHECK_MODULE(System.Directory, directory, doesFileExist "foo" :: IO Bool,,
> +                 AC_MSG_ERROR(Cannot find System.Directory; try installing the \
> Haskell package directory?)) +GHC_CHECK_MODULE(System.Time, old-time, getClockTime \
> :: IO ClockTime,, +                 AC_MSG_ERROR(Cannot find System.Time; try \
> installing the Haskell package old-time?)) +GHC_CHECK_MODULE(System.Process, \
> process, runCommand "foo" :: IO ProcessHandle,, +                 \
> AC_MSG_ERROR(Cannot find System.Process; try installing the Haskell package \
> process?)) +dnl note that [[Int]] is for [Int] in Haskell
> +GHC_CHECK_MODULE(Data.Array.Unboxed, array, listArray (0,0) :: [[Int]] -> UArray \
> Int Int,, +                 AC_MSG_ERROR(Cannot find Data.Array.Unboxed; try \
> installing the Haskell package array?)) +dnl for make_changelog only
> +GHC_CHECK_MODULE(System.Locale, old-locale, rfc822DateFormat :: String,,
> +                 AC_MSG_ERROR(Cannot find System.Locale; try installing the \
> Haskell package old-locale?)) +
> 
> [Canonize Gaetan Lehmann and Daniel Buenzli.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080730104357
> (for Daniel B, avoid an accent in his name)
> ] hunk ./src/list_authors.hs 98
> +  , ("gaetan.lehmann@jouy.inra.fr", "Gaetan Lehmann")
> hunk ./src/list_authors.hs 180
> +    | s `contains` "daniel.buenzli@epfl.ch" = "Daniel Buenzli \
> <daniel.buenzli@epfl.ch>" -- avoid an accent 
> Context:
> 
> [avoid import of unused function fromMaybe.
> David Roundy <droundy@darcs.net>**20080729172825] 
> [Use haskeline to have a readline-like behavior when asking something to the user
> gaetan.lehmann@jouy.inra.fr**20080719065033
> Unlike the implementations using readline or editline packages, this code
> code doesn't break the Ctrl-C behavior.
> ] 
> [add configure check for Network.URI.
> David Roundy <droundy@darcs.net>**20080711011914] 
> [add -hide-all-packages to default GHCFLAGS.
> David Roundy <droundy@darcs.net>**20080711010952] 
> [add support for outputting patch numbers in darcs changes.
> David Roundy <droundy@darcs.net>**20080710011211] 
> [add support for matching single patches by index.
> David Roundy <droundy@darcs.net>**20080710004512] 
> [add support for matching ranges of patches (counting back from present).
> David Roundy <droundy@darcs.net>**20080710003225] 
> [configure: suggest regex-compat before text
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080725095336] 
> [configure: mention Haskell in 'try installing' suggestion
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080725095015] 
> [Typo (Text.Regex)
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080715121708] 
> [Better avoid silly manpage error.
> Trent W. Buck <trentbuck@gmail.com>**20080704024920
> 
> It turned out only initialize's help string used 'quotes', so just
> remove them.  This makes init's docstring consistent with the others.
> ] 
> [Missing period at end of sentence.
> Trent W. Buck <trentbuck@gmail.com>**20080704024232] 
> [darcs --overview no longer works, so don't document it.
> Trent W. Buck <trentbuck@gmail.com>**20080704030804] 
> [Avoid silly manpage error.
> Trent W. Buck <trentbuck@gmail.com>**20080703010733
> man (nroff) treats an apostrophe in the first column specially,
> resulting in a syntax error without this patch.
> 
> Ideally, all cases of 'foo' in the manpage (i.e. docstrings) should
> become `foo', since man -Tps turns ` and ' into left and right single
> quotes respectively.
> ] 
> [obliterate whitespace in Darcs.Commands.Get
> gwern0@gmail.com**20080627192026
> 'twas causing lhs/haddock difficulties where a \end{code} wasn't getting \
> recognized. ] 
> [rm haddock CPP business
> gwern0@gmail.com**20080627191413
> Try as I might, I can't see any reason to special-case some Haddock CPP logic to \
> deal with some *commented-out guards*, unless CPP magically restores and uncomments \
> the code if Haddock isn't being run. ] 
> [make pull less verbose when --verbose flag is given.
> David Roundy <droundy@darcs.net>**20080624170035] 
> [fix makefile to remember to regenerate version information after running \
> configure. David Roundy <droundy@darcs.net>**20080624170001] 
> [TAG 2.0.2
> David Roundy <droundy@darcs.net>**20080624012041] 
> [bump version number again (brown bag!)
> David Roundy <droundy@darcs.net>**20080624011914] 
> [add script to check that "make dist" actually works.
> David Roundy <droundy@darcs.net>**20080624011817] 
> [fix buggy and inconsistent release-determining scripts.
> David Roundy <droundy@darcs.net>**20080624011759] 
> [ignore boring changelog entry patches when constructing ChangeLog.
> David Roundy <droundy@darcs.net>**20080623224504] 
> [add changelog entry for fix of version-numbering bug.
> David Roundy <droundy@darcs.net>**20080623223901] 
> [fix bug in determine_release_state.pl.
> David Roundy <droundy@darcs.net>**20080623223739] 
> [TAG 2.0.1
> David Roundy <droundy@darcs.net>**20080623214707] 
> [bump version to 2.0.1.
> David Roundy <droundy@darcs.net>**20080623214646] 
> [determine_release_state.pl: use regexp to determine patch count if "darcs changes" \
> does not support --count argument. Dmitry Kurochkin \
> <dmitry.kurochkin@gmail.com>**20080621122305]  [Delete haddock documentation on \
> constructor arguments; see Issue935 Michael De La Rue \
> <gneqbgqnepfqbgarg.yeuhc@spamgourmet.com>**20080622182644]  [Add configure options \
> for libcurl and libwww debugging. Dmitry Kurochkin \
> <dmitry.kurochkin@gmail.com>**20080620221237]  [aclocal.m4: add library to $LIBS \
> instead of $GHCFLAGS in GHC_CHECK_LIBRARY. Dmitry Kurochkin \
> <dmitry.kurochkin@gmail.com>**20080620214538]  [resolve issue930: remove broken \
> link from webpage. David Roundy <droundy@darcs.net>**20080620172635] 
> [add threadWaitRead trick as suggested by Simon (issue916).
> David Roundy <droundy@darcs.net>**20080620172119
> Apparently this should solve the ctrl-C issues on posix systems, but
> windows remains only partially-solved (it requires multiple ctrl-C's
> to exit).
> ] 
> [resolve issue916: use separate thread for reading from stdin.
> David Roundy <droundy@darcs.net>**20080618210110] 
> [Set up configure to build an rpm spec file for building rpm packages with.
> Michael De La Rue <gneqbgqnepfqbgarg.yeuhc@spamgourmet.com>**20080616231617] 
> [hscurl.c: fix harmless warning with curl >= 7.18.1.
> Dmitry Kurochkin <dmitry.kurochkin@gmail.com>**20080613125607] 
> [Even more changelog entries for 2.0.1.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080614091045] 
> [Use changes -s style for unlogged patches (make_changelog).
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080614072632
> This make it easier to tell what a patch is at a glance.
> ] 
> [Still more changelog entries for 2.0.1.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613181548] 
> [Canonize Benjamin Fraksen.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613171147] 
> [fix potential redundancy in version name.
> David Roundy <droundy@darcs.net>**20080613162019] 
> [fix issue #918: use simplePrinters for xml output in "darcs changes" command
> benjamin.franksen@bessy.de**20080613110922] 
> [make darcs send always provide context.
> David Roundy <droundy@darcs.net>**20080613155550
> I've just gotten sick of telling folks to add send --unified to their
> defaults file.  It's hard to see who wouldn't want context included.
> ] 
> [More changelog entries for 2.0.1.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613165729] 
> [Clarify intent of ignored changelog entries.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613162537] 
> [Ignore tags in make_changelog warning about unlogged patches.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613162213] 
> [Support comments on ignored changelog entries.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613161742
> 
> Parsec wibble: the problem was that it would start parsing the
> emptyLine as a 'match' and not backtrack.
> ] 
> [ChangeLog entries by Eric.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613151200
> Some ChangeLog entries for 2.0.1
> ] 
> [Add 'ignored' changelog entries (no warnings).
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613150620] 
> [Resolve issue705: warn about patches which are not changelogged.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613145443
> Mostly by Tommy Pettersson.
> ] 
> [Add ability to ignore patches for ChangeLog.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613142540
> This would be useful if make_changelog could point out which patches
> are not being changelogged.
> ] 
> [Exceptions to GPL granted as of 2008-06-13 morning.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613072749] 
> [Add test for case-insensitive backup bug.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613070918] 
> [Fix a backup bug on case-insensitive file systems.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080613070213
> 
> Avoids this scenario.  The task: move foo to FOO and modify FOO
> 1. FOO (foo) already exists, so I'll back it up
> (moves FOO [foo] to FOO.darcs-backup0)
> 2. Now I can move foo to FOO
> foo no longer exists, but that's ok
> (nothing happens)
> 3. Now I can FOO
> hey, where did FOO go?
> (crash!)
> ] 
> [Check for bash before running shell tests.
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080612145509
> MSYS, for instance, does not provide bash by default.
> [note: or rather, only under the guise of sh.exe]
> ] 
> [TAG 2.0.1rc2
> David Roundy <droundy@darcs.net>**20080613011745] 
> [bump version number up to 2.0.1rc2.
> David Roundy <droundy@darcs.net>**20080613011731] 
> [Resolve issue913: Use Data.Bytestring for IO, not Data.Bytestring.Char8
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080612125719
> 
> This solution comes from Ian Lynagh, who points out that the
> difference between the two is:
> 
> Data.Bytestring.Char8
> ---------------------
> writeFile :: FilePath -> ByteString -> IO ()
> writeFile f txt = bracket (openFile f WriteMode) hClose
> (\h -> hPut h txt)
> 
> Data.Bytestring
> ---------------
> writeFile :: FilePath -> ByteString -> IO ()
> writeFile f txt = bracket (openBinaryFile f WriteMode) hClose
> (\h -> hPut h txt)
> 
> We want this change because, as the System.IO docs say:
> 
> On Windows, reading a file in text mode (which is the default) will
> translate CRLF to LF, and writing will translate LF to CRLF. This is
> usually what you want with text files. With binary files this is
> undesirable; also, as usual under Microsoft operating systems, text
> mode treats control-Z as EOF. Binary mode turns off all special
> treatment of end-of-line and end-of-file characters.
> 
> ] 
> [fix OPTLLIBS filtering
> Karel Gardas <kgardas@objectsecurity.com>**20080607210701] 
> [Darcs.Repository.Prefs: +boring filters for MS Visual Studio (see -users \
> discussion) gwern0@gmail.com**20080607080336] 
> [Demonstrate 'hidden conflicts' bug (old format).
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080606151534] 
> [fix regression introduced by using Data.List.isInfixOf.
> David Roundy <droundy@darcs.net>**20080606102519] 
> [fix bug in test when there's a space in test directory.
> David Roundy <droundy@darcs.net>**20080605151104] 
> [translate pull.pl into shell.
> David Roundy <droundy@darcs.net>**20080605124106] 
> [make test suite smarter about cleaning up test directories.
> David Roundy <droundy@darcs.net>**20080605124025] 
> [darcs put now support --{no-,}set-default.
> Nicolas Pouillard <nicolas.pouillard@gmail.com>**20080604214551] 
> [fix regression in index.html.in.
> David Roundy <droundy@darcs.net>**20080605114356] 
> [resolve issue783: propose 'edit' as a default Windows editor
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080605165812
> 
> I think every Windows box has this.  Advantages over notepad are that
> - it's a console app
> - it appears to support Unix newlines
> ] 
> [Makefile: prefix -optl only on $(LIBS) that start with '-'
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080605105539
> 
> Otherwise, on Windows, if you try to build --with-static-libs, the
> linker will be passed /usr/local/lib/libcurl.a as an argument, which
> makes gcc complain.
> ] 
> [resolve issue770: catch 'does not exist' when running external programs
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080604143100
> Convert these errors into ExitCode 127 (for Windows)
> ] 
> [Improve generic rules for English plurals. 
> Eric Kow <E.Y.Kow@brighton.ac.uk>**20080604123728] 
> [TAG 2.0.1rc1
> David Roundy <droundy@darcs.net>**20080603124331] 
> Patch bundle hash:
> 06003614f3d0437138bcfb85c4cc4e2d96954d7a


-- 
David Roundy
Department of Physics
Oregon State University
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic