summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2010-03-14 12:29:30 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2010-03-14 12:29:30 +0000
commit11e760b1372e52b802ed0dab74dc9aaa05b3263e (patch)
tree87906b2708c511315bffce0e26c92f8d62638e8b /dev-vcs/darcs
parentRemove Email-MIME-Creator Email-MIME-Modifier Email-Simple-Creator XML-LibXML... (diff)
downloadhistorical-11e760b1372e52b802ed0dab74dc9aaa05b3263e.tar.gz
historical-11e760b1372e52b802ed0dab74dc9aaa05b3263e.tar.bz2
historical-11e760b1372e52b802ed0dab74dc9aaa05b3263e.zip
Copied dev-util/darcs to dev-vcs/darcs. (repoman --force due to comitting new pkgs with stable keywords).
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'dev-vcs/darcs')
-rw-r--r--dev-vcs/darcs/ChangeLog482
-rw-r--r--dev-vcs/darcs/Manifest34
-rw-r--r--dev-vcs/darcs/darcs-1.0.5.ebuild77
-rw-r--r--dev-vcs/darcs/darcs-1.0.6.ebuild80
-rw-r--r--dev-vcs/darcs/darcs-1.0.7.ebuild84
-rw-r--r--dev-vcs/darcs/darcs-1.0.8-r2.ebuild93
-rw-r--r--dev-vcs/darcs/darcs-1.0.9.ebuild99
-rw-r--r--dev-vcs/darcs/darcs-1.1.0_pre1.ebuild104
-rw-r--r--dev-vcs/darcs/darcs-2.0.2.ebuild103
-rw-r--r--dev-vcs/darcs/darcs-2.1.0-r1.ebuild96
-rw-r--r--dev-vcs/darcs/darcs-2.2.1.ebuild78
-rw-r--r--dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch84
-rw-r--r--dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch18
-rw-r--r--dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch39
-rw-r--r--dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff13
-rw-r--r--dev-vcs/darcs/metadata.xml8
16 files changed, 1492 insertions, 0 deletions
diff --git a/dev-vcs/darcs/ChangeLog b/dev-vcs/darcs/ChangeLog
new file mode 100644
index 000000000000..5a3c0adf1056
--- /dev/null
+++ b/dev-vcs/darcs/ChangeLog
@@ -0,0 +1,482 @@
+# ChangeLog for dev-vcs/darcs
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/ChangeLog,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+ 14 Mar 2010; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-1.0.5.ebuild,
+ +darcs-1.0.6.ebuild, +darcs-1.0.7.ebuild, +darcs-1.0.8-r2.ebuild,
+ +files/darcs-1.0.8-ghc66.patch, +darcs-1.0.9.ebuild,
+ +files/darcs-1.0.9-bashcomp.patch, +darcs-1.1.0_pre1.ebuild,
+ +files/darcs-1.1.0pre1-ghc68.patch, +darcs-2.0.2.ebuild,
+ +files/darcs-2.0.2-add-dummy-base-dependency.diff, +darcs-2.1.0-r1.ebuild,
+ +darcs-2.2.1.ebuild, +metadata.xml:
+ Moved from dev-util to dev-vcs.
+
+*darcs-2.3.1 (26 Jan 2010)
+
+ 26 Jan 2010; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.3.1.ebuild,
+ +files/darcs-2.3.1-ghc-6.12-rec-keyword.patch,
+ +files/darcs-2.3.1-haddock-cabal-1.8-break.patch:
+ Version bump.
+
+ 20 Jan 2010; Lennart Kolmodin <kolmodin@gentoo.org> darcs-2.0.2.ebuild:
+ epatch died due to missing cd "${S}", add it.
+
+ 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> darcs-2.2.1.ebuild:
+ Transfer Prefix keywords
+
+ 30 Aug 2009; Lennart Kolmodin <kolmodin@gentoo.org> darcs-2.0.2.ebuild:
+ Fix build system so that it builds with ghc 6.10, as this is the latest
+ stable package and thus is the default to users running stable systems.
+ Patch by Sergei Trofimovich <slyfox@inbox.ru>.
+ Also add sys-libs/zlib as dep, to fix bug #282661.
+
+ 25 Jul 2009; Lennart Kolmodin <kolmodin@gentoo.org> darcs-2.2.1.ebuild:
+ When building with USE=doc, make sure we have >=haddock-2.4.1.
+ See bug #278659, reported by Martin von Gagern <Martin.vGagern@gmx.net>.
+
+*darcs-2.2.1 (21 Jul 2009)
+
+ 21 Jul 2009; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.2.1.ebuild:
+ Version bump.
+
+*darcs-2.1.0-r1 (20 Oct 2008)
+
+ 20 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org> -darcs-2.1.0.ebuild,
+ +darcs-2.1.0-r1.ebuild:
+ Make sure the manual is built when the doc flag is set, the configure
+ argument had changed. Patch by Joachim Fasting <joachim.fasting@gmail.com>.
+
+ Also remove the dep on dev-haskell/http, as it is optional and yet not
+ keyworded on all arches darcs supports.
+
+ 19 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ -darcs-2.1.0_pre2.ebuild, -darcs-2.1.0_pre3.ebuild:
+ Remove pre-releases of darcs-2.1.0
+
+*darcs-2.1.0 (19 Oct 2008)
+
+ 19 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.1.0.ebuild:
+ Version bump
+
+ 18 Oct 2008; nixnut <nixnut@gentoo.org> darcs-2.0.2.ebuild:
+ Stable on ppc wrt bug 239368
+
+ 08 Oct 2008; Markus Meier <maekke@gentoo.org> darcs-2.0.2.ebuild:
+ amd64/x86 stable, bug #239368
+
+ 04 Oct 2008; Raúl Porcel <armin76@gentoo.org> darcs-2.0.2.ebuild:
+ alpha/ia64 stable wrt #239368
+
+*darcs-2.1.0_pre3 (04 Oct 2008)
+
+ 04 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ +darcs-2.1.0_pre3.ebuild:
+ Add the latest pre release of darcs 2.1.0, the third.
+
+ 02 Oct 2008; Ferris McCormick <fmccor@gentoo.org> darcs-2.0.2.ebuild:
+ Sparc stable --- Bug #239368 --- All tests pass and it installs as expected.
+
+ 02 Oct 2008; Jeroen Roovers <jer@gentoo.org> darcs-2.0.2.ebuild:
+ Stable for HPPA (bug #239368).
+
+ 02 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ darcs-2.1.0_pre2.ebuild:
+ Add ~hppa too, as previous versions work well with it.
+
+ 29 Sep 2008; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.9.ebuild:
+ Patch darcs-1.0.9 to add support for ghc-6.8.x
+
+*darcs-2.1.0_pre2 (29 Sep 2008)
+
+ 29 Sep 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ +darcs-2.1.0_pre2.ebuild:
+ Add a pre release of darcs-2.1.0
+
+ 26 Aug 2008; Raúl Porcel <armin76@gentoo.org> darcs-2.0.2.ebuild:
+ Add ~ia64 wrt #227677
+
+*darcs-2.0.2 (25 Aug 2008)
+
+ 25 Aug 2008; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.0.2.ebuild:
+ Bump to 2.0.2, first ebuild in the 2.x series.
+
+ 29 Jun 2008; Tobias Klausmann <klausman@gentoo.org>
+ darcs-1.1.0_pre1.ebuild:
+ Keyworded on alpha, bug #227677
+
+ 17 Jun 2008; Jeroen Roovers <jer@gentoo.org> darcs-1.0.9.ebuild,
+ darcs-1.1.0_pre1.ebuild:
+ Marked one stable for HPPA, another one ~hppa (bug #227677).
+
+ 25 May 2008; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
+ darcs-1.0.9.ebuild, darcs-1.1.0_pre1.ebuild:
+ Use virtual/latex-base instead of virtual/tetex.
+ This enables the user to use any latex implementation, see bug #222501.
+
+ 26 Jan 2008; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
+ darcs-1.0.9.ebuild, darcs-1.1.0_pre1.ebuild:
+ Fix qa bug #207449 and fix installing docs.
+
+ 30 Dec 2007; Lennart Kolmodin <kolmodin@gentoo.org>
+ files/darcs-1.1.0pre1-ghc68.patch, darcs-1.1.0_pre1.ebuild:
+ Rewrite the GHC version patch. It should now work with all versions of GHC
+ where darcs previously worked. This fixes bug #203507.
+
+ 30 Dec 2007; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
+ darcs-1.0.9.ebuild:
+ Add test that dev-tex/latex2html was built with USE=png or USE=gif for all
+ affected darcs versions as the docs documentation will fail otherwise.
+ This fixes bug #195801.
+
+ 21 Dec 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.1.0_pre1.ebuild:
+ Add missing deps on parsec and regex-compat. Fixes bug #202887.
+ Sadly have to drop some keywords because of the dep on the parsec package
+ which does not yet have all the arch keywords. Also fix some quoting issues
+ in the older versions of the ebuild.
+
+*darcs-1.1.0_pre1 (20 Dec 2007)
+
+ 20 Dec 2007; Duncan Coutts <dcoutts@gentoo.org>
+ +files/darcs-1.1.0pre1-ghc68.patch, darcs-1.0.9.ebuild,
+ +darcs-1.1.0_pre1.ebuild:
+ New version compatible with ghc-6.8. Mark older one as not working with
+ ghc-6.8.
+
+ 31 Oct 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild:
+ Drop virtual/ghc in favour of dev-lang/ghc
+
+ 29 Aug 2007; Jeroen Roovers <jer@gentoo.org> darcs-1.0.9.ebuild:
+ Marked ~hppa too.
+
+ 28 Aug 2007; nixnut <nixnut@gentoo.org> darcs-1.0.9.ebuild:
+ Stable on ppc wrt bug 186845
+
+ 11 Aug 2007; Steve Dibb <beandog@gentoo.org> darcs-1.0.9.ebuild:
+ amd64 stable, bug 186845
+
+ 08 Aug 2007; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.9.ebuild:
+ Change virtual/ghc dependency into dev-lang/ghc to fix bug #188079.
+ Also correct a sed to correctly send the user's custom CFLAGS to the
+ assembler.
+
+ 07 Aug 2007; Markus Rothe <corsair@gentoo.org> darcs-1.0.9.ebuild:
+ Stable on ppc64; bug #186845
+
+ 07 Aug 2007; Raúl Porcel <armin76@gentoo.org> darcs-1.0.9.ebuild:
+ x86 stable wrt #186845
+
+ 06 Aug 2007; Ferris McCormick <fmccor@gentoo.org> darcs-1.0.9.ebuild:
+ Sparc stable --- Bug #186845 --- Passes all internal tests.
+
+ 27 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> -darcs-1.0.4.ebuild:
+ Remove old version.
+
+*darcs-1.0.9 (11 Jun 2007)
+
+ 11 Jun 2007; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-1.0.9.ebuild:
+ Version bump
+
+ 08 Jun 2007; Zac Medico <zmedico@gentoo.org> Manifest:
+ Fix broken manifest due to commit withot repoman.
+
+*darcs-1.0.8-r2 (07 Jun 2007)
+
+ 07 Jun 2007; Lennart Kolmodin <kolmodin@gentoo.org>
+ +files/darcs-1.0.9-bashcomp.patch, +darcs-1.0.8-r2.ebuild:
+ Patching to not use have() in the bash completion. Fixes bug #171001
+
+ 30 Apr 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ Add missing inherit eutils.
+
+ 29 Apr 2007; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.4.ebuild,
+ darcs-1.0.5.ebuild, darcs-1.0.6.ebuild, darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ Added ghc-6.6 blocks for 1.0.4, 1.0.5 and 1.0.6. Added proper extra-libs
+ deps to 1.0.7 and 1.0.8-r1. 1.0.4 also got a src_unpack which the otherones
+ already had, wrt compiling C code with correct C flags.
+
+ 16 Apr 2007; Markus Rothe <corsair@gentoo.org> darcs-1.0.8-r1.ebuild:
+ Stable on ppc64
+
+ 21 Mar 2007; Raúl Porcel <armin76@gentoo.org> darcs-1.0.8-r1.ebuild:
+ x86 stable
+
+ 09 Mar 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.4.ebuild,
+ darcs-1.0.5.ebuild, darcs-1.0.6.ebuild, darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ Add dep on dev-libs/gmp as pointed out in bug #169848
+
+ 20 Oct 2006; Duncan Coutts <dcoutts@gentoo.org>
+ +files/darcs-1.0.8-ghc66.patch:
+ Fix bug #150326 again, hopefully for good this time!
+
+ 16 Oct 2006; Chris Parrott <cparrott@gentoo.org> darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ remove virtual/mta from DEPEND and add warning about mta
+
+ 07 Oct 2006; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.8-r1.ebuild:
+ Undo ghc-6.6-specific changes to darcs ebuild, hopefully fixing bug #150326
+
+*darcs-1.0.8-r1 (06 Oct 2006)
+
+ 06 Oct 2006; Luis F. Araujo <araujo@gentoo.org> +darcs-1.0.8-r1.ebuild:
+ Fixing bug #148038
+
+*darcs-1.0.8 (12 Aug 2006)
+
+ 12 Aug 2006; <kolmodin@gentoo.org> +darcs-1.0.8.ebuild:
+ Version bump. See #142785.
+ Thanks to Paulo Jorge de Oliveira Cantante de Matos for reminding us.
+
+*darcs-1.0.7 (16 Jun 2006)
+
+ 16 Jun 2006; Duncan Coutts <dcoutts@gentoo.org> +darcs-1.0.7.ebuild:
+ New version. Minor ebuild cleanup, particularly in the way docs are built.
+
+ 21 May 2006; Markus Rothe <corsair@gentoo.org> darcs-1.0.5.ebuild:
+ Stable on ppc64
+
+ 17 May 2006; Diego Pettenò <flameeyes@gentoo.org> darcs-1.0.6.ebuild:
+ Add ~x86-fbsd keyword (before I forget), although this requires masked
+ ghc/ghc-bin on FreeBSD.
+
+ 27 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.6.ebuild:
+ Marked ~ia64
+
+ 27 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.6.ebuild:
+ Fix for ia64. Not added ia64 to KEYWORDS yet since it depends on ghc which
+ is still p.masked for ia64.
+
+ 24 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> darcs-1.0.6.ebuild:
+ Marked ~alpha.
+
+*darcs-1.0.6 (15 Mar 2006)
+
+ 15 Mar 2006; Andres Loeh <kosmikus@gentoo.org> -darcs-1.0.2.ebuild,
+ -darcs-1.0.3.ebuild, +darcs-1.0.6.ebuild:
+ New version.
+
+ 01 Mar 2006; Markus Rothe <corsair@gentoo.org> darcs-1.0.5.ebuild:
+ Added ~ppc64; bug #124469
+
+ 14 Feb 2006; <duncan@gentoo.org> darcs-1.0.5.ebuild:
+ Marked ~sparc. Fixed use of CFLAGS which casued problems on sparc.
+
+ 10 Feb 2006; <duncan@gentoo.org> -darcs-1.0.5_rc1.ebuild,
+ -darcs-1.0.5_rc2.ebuild:
+ Remove release candidates 1.0.5_rc1 and 1.0.5_rc2 since 1.0.5 available.
+
+ 11 Jan 2006; Mark Loeser <halcy0n@gentoo.org> darcs-1.0.5.ebuild:
+ Stable on x86; bug #112909
+
+ 11 Jan 2006; Luca Barbato <lu_zero@gentoo.org> darcs-1.0.5.ebuild:
+ Marked ppc
+
+ 24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> darcs-1.0.3.ebuild:
+ Stable on ppc.
+
+*darcs-1.0.5 (07 Dec 2005)
+
+ 07 Dec 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.5.ebuild:
+ New release.
+
+ 05 Dec 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-1.0.1.ebuild,
+ -darcs-1.0.3_rc1.ebuild:
+ Cleanup.
+
+*darcs-1.0.5_rc2 (04 Dec 2005)
+
+ 04 Dec 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.5_rc2.ebuild:
+ New release candidate. Removed some old ebuilds.
+
+*darcs-1.0.5_rc1 (25 Nov 2005)
+
+ 25 Nov 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.5_rc1.ebuild:
+ New release candidate.
+
+ 20 Nov 2005; Mark Loeser <halcy0n@gentoo.org> darcs-1.0.3.ebuild:
+ Stable on x86; bug #112909
+
+*darcs-1.0.4 (17 Nov 2005)
+
+ 17 Nov 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.4.ebuild:
+ New version (requested in bug #112847).
+
+ 08 Aug 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.3_rc1.ebuild,
+ darcs-1.0.3.ebuild:
+ Restored missing ~amd64 flags.
+
+*darcs-1.0.3 (26 Jul 2005)
+
+ 26 Jul 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.3.ebuild:
+ New version.
+
+ 10 May 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.3_rc1.ebuild:
+ darcs-1.0.3_rc1 must be built with ghc-6.2.2 or later, fixing bug #92152.
+
+ 03 May 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.1.ebuild,
+ darcs-1.0.2.ebuild, darcs-1.0.3_rc1.ebuild:
+ Darcs needs an mta to operate correctly.
+
+ 02 May 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-0.9.23.ebuild:
+ Cleaning up.
+
+*darcs-1.0.3_rc1 (02 May 2005)
+
+ 02 May 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.3_rc1.ebuild:
+ New release candidate, which supports compilation with ghc-6.4.
+
+ 21 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> darcs-1.0.2.ebuild:
+ Stable on ppc.
+
+ 24 Mar 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.2.ebuild:
+ Marked stable on x86.
+
+ 19 Mar 2005; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.23.ebuild,
+ darcs-1.0.1.ebuild, darcs-1.0.2.ebuild:
+ darcs does not currently build with ghc-6.4, thus it is blocked by this
+ compiler version. Added test phase for darcs-1.0.2.
+
+*darcs-1.0.2 (15 Feb 2005)
+
+ 15 Feb 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-1.0.0.ebuild,
+ +darcs-1.0.2.ebuild:
+ New version.
+
+ 17 Jan 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-0.9.20.ebuild,
+ darcs-0.9.23.ebuild, darcs-1.0.1.ebuild:
+ Disabled wxwindows USE flag in 0.9.23 because of bug #77559. Marked 1.0.1
+ stable on x86.
+
+*darcs-1.0.1 (15 Dec 2004)
+
+ 15 Dec 2004; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.1.ebuild:
+ New version.
+
+ 25 Nov 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0.ebuild:
+ Removed wxhaskell dependency, because wxhaskell features are currently
+ disabled. Added ~amd64 flag (bug #58590).
+
+ 08 Nov 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0.ebuild:
+ Ebuild cleanup.
+
+*darcs-1.0.0 (08 Nov 2004)
+
+ 08 Nov 2004; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.0.ebuild,
+ -darcs-1.0.0_rc1.ebuild, -darcs-1.0.0_rc3.ebuild:
+ Version 1.0.0 released.
+
+*darcs-1.0.0_rc3 (21 Oct 2004)
+
+ 21 Oct 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.22.ebuild,
+ darcs-1.0.0_rc3.ebuild:
+ Version bump, closing bug #68064.
+
+ 24 Sep 2004; <SeJo@gentoo.org> darcs-0.9.23.ebuild:
+ stable bump due to bug 59753
+
+ 24 Aug 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0_rc1.ebuild:
+ Distribution contains compiled filed. Added "make clean" (#61433).
+
+*darcs-1.0.0_rc1 (23 Aug 2004)
+
+ 23 Aug 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.21.ebuild,
+ darcs-1.0.0_rc1.ebuild:
+ New version.
+
+*darcs-0.9.23 (30 Jul 2004)
+
+ 30 Jul 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.19.ebuild,
+ darcs-0.9.23.ebuild:
+ New version.
+
+*darcs-0.9.22 (29 Jun 2004)
+
+ 29 Jun 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.22.ebuild:
+ New version.
+
+*darcs-0.9.21 (13 Jun 2004)
+
+ 13 Jun 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild,
+ darcs-0.9.20.ebuild, darcs-0.9.21.ebuild:
+ Marked 0.9.20 stable for x86 (bug #53293). Added new version 0.9.21.
+
+*darcs-0.9.20 (17 May 2004)
+
+ 17 May 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.20.ebuild:
+ Version bump.
+
+ 12 Apr 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild,
+ darcs-0.9.19.ebuild:
+ Building with -doc did not work due to permission problem (#47546).
+
+*darcs-0.9.19 (12 Apr 2004)
+
+ 12 Apr 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild,
+ darcs-0.9.19.ebuild:
+ New version. Fixed RDEPEND on wxhaskell.
+
+ 18 Mar 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild:
+ Experimental wxHaskell GUI is now built if wxwindows USE flag is set.
+
+*darcs-0.9.17 (25 Feb 2004)
+
+ 25 Feb 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild:
+ New version.
+
+*darcs-0.9.16 (18 Feb 2004)
+
+ 18 Feb 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.13.ebuild,
+ darcs-0.9.16.ebuild:
+ New version.
+
+*darcs-0.9.15 (16 Dec 2003)
+
+ 16 Dec 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.12.ebuild,
+ darcs-0.9.15.ebuild:
+ Version bump.
+
+*darcs-0.9.14 (11 Nov 2003)
+
+ 11 Nov 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.14.ebuild:
+ Version bump.
+
+ 22 Oct 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.13.ebuild:
+ Corrected dependency to teTeX.
+
+*darcs-0.9.13 (22 Sep 2003)
+
+ 22 Sep 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.13.ebuild:
+ New version.
+
+*darcs-0.9.12 (31 Jul 2003)
+
+ 31 Jul 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.11.ebuild,
+ darcs-0.9.12.ebuild:
+ Version bump. Both 0.9.11 and 0.9.12 should compile with GHC 6 now.
+
+ 10 Jul 2003; Andres Loeh <kosmikus@gentoo.org> :
+ Updated digest for darcs-0.9.10
+
+ 04 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> darcs-0.9.10.ebuild:
+ Moved some stuff from script body into src_compile where it belongs
+
+*darcs-0.9.11 (04 Jul 2003)
+
+ 04 Jul 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.11.ebuild:
+ Version bump. This version has an autoconf-base build system. Also updated
+ the digest because the author has changed the archive.
+
+*darcs-0.9.10 (03 Jul 2003)
+
+ 03 Jul 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.10.ebuild,
+ darcs-0.9.11.ebuild:
+ Initial import. darcs is a version control system with advanced underlying
+ theory. It is written in Haskell. Thanks to Peter Simons
+ <simons+gentoo@cryp.to> for pushing me (bug 23771) to do this.
+
diff --git a/dev-vcs/darcs/Manifest b/dev-vcs/darcs/Manifest
new file mode 100644
index 000000000000..79d684ff8f28
--- /dev/null
+++ b/dev-vcs/darcs/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX darcs-1.0.8-ghc66.patch 3057 RMD160 0eb34da97317b5ae24800ae6b026d3a8acc990b1 SHA1 57d192aa7347dbea460de5bd7aea7c7ff160c7ed SHA256 18ff1042e522d9dc09c1f81b716c22370decfa9b02841c8e765f9e30ce682ea1
+AUX darcs-1.0.9-bashcomp.patch 510 RMD160 73888c758f4a2ac93b83229115d23599162c0b15 SHA1 1abf5c0477169eb0109a0dd7ecfb2c38dfee15ff SHA256 39a7e531f68ee4b71958d52557e6c6ace0c7717d546dcddccc4a5e7fb5daeff6
+AUX darcs-1.1.0pre1-ghc68.patch 1548 RMD160 bde8493cae0dd2fa9e21367ec5322252780209d5 SHA1 9f64935e8b4a44cab474352a0b8090192b3052e0 SHA256 252199c644163c24c09504c72a34cf750d065fab322a2c17bf4016d83b1b826e
+AUX darcs-2.0.2-add-dummy-base-dependency.diff 520 RMD160 b7206ef051d9be2df94d0c331dd029de6358106c SHA1 5c3dc86bcadfa51b452d0532d9cd45efec71a3a7 SHA256 a93ffcb918456fdb1514b02e7d1a3fc9498f8505f11d5f1d03cf9acd189a78b2
+DIST darcs-1.0.5.tar.gz 944888 RMD160 453dc7282d2751c0b862cf74bd095b63b927e5d7 SHA1 49512ba28c1724adba9eef4a9e3f7e104b7634f9 SHA256 9e71bfdab2be413b43219bdd10f8e79a3b496d542eb447d910b2708f8a6663a9
+DIST darcs-1.0.6.tar.gz 963609 RMD160 271f5f965a1ccd7428877a06349c8d9d39d74658 SHA1 d45bb51718225525b92b0efc57000ce4c50f49ce SHA256 8296f91934cfff4721356549db0d2f403fcc796ae424307c76afd33101090752
+DIST darcs-1.0.7.tar.gz 1009946 RMD160 01cbde260718b5e16475047b3ed801c8d52507df SHA1 31e9048b223c9cf3bd33102419a63034255071b0 SHA256 8d9e60f67e937f344332458cd58f46545d1348c8427b76ece2f3541661732e94
+DIST darcs-1.0.8.tar.gz 1010010 RMD160 a95309f7dc79b29d7e4f237627aa300a84aa5331 SHA1 f69fb2f5deb3c5281b2eaed9fcb8aa3fe55829dd SHA256 36cf64b10a9e09e4bb2d4bc78371a8b511e7e5bbf13deb1a754e867b0efcfcac
+DIST darcs-1.0.9.tar.gz 1059363 RMD160 3a971f778e4343d90e88f1ba8815ea3c880ac2a1 SHA1 b2d2238c01d530796c29db4b46fd4fd9c21be9b6 SHA256 f848a63363ad72d3217b1eb469c267c00ea6085a491172d385ab6eda210b30dc
+DIST darcs-1.1.0pre1.tar.gz 1116180 RMD160 4269f61695045e85f2b74eb124221c1e0ac449d6 SHA1 ec47136625c2a7c99030cdfa9738d09e77dbd517 SHA256 4c0cc05d251af94c86664bc2e4cdae7bf2a6cf10fcef2ebf5329b593d661a2f0
+DIST darcs-2.0.2.tar.gz 1800653 RMD160 e401bd2ab64e2df4c654bdc03355ce215a053195 SHA1 75a186b906ac8bbc1144c5124c215e4c57c06222 SHA256 164c87bb7e41d1e81c4423432804b634862269291fa495f25e7f67f1b95bf49e
+DIST darcs-2.1.0.tar.gz 1851395 RMD160 4f0073b7a879f5e357601f92320b902098258140 SHA1 738a063e67b90f5f831b7164969f285692250cee SHA256 d5a63e62bceb45905163d508c6b25158dab6aca367015566d8c539ec37107ab4
+DIST darcs-2.2.1.tar.gz 984160 RMD160 c26d27fa40efee05436b7f6c5ff7495175bb8f65 SHA1 9bf214898f895c72e5a9ba36b5d6f7e7ceb5d6dc SHA256 575beb35436685a3ede78e87ff225f04ca92eb24ff1eb45fe5d01b4d3169c447
+EBUILD darcs-1.0.5.ebuild 2100 RMD160 2c1f2dea5046d0a7a0d5c8aa772b602f298e5a71 SHA1 1993e4c9ac13d95c10b6a636f0ab4b442fc621cb SHA256 69ceee84cb7a0119cb419d278c6b11a45f14b2fd5c8da75a6a3c3a242f27f522
+EBUILD darcs-1.0.6.ebuild 2301 RMD160 17f3749e69d215348dc14f165916c30f5db0b209 SHA1 f3c7163c97549c0613eaf320859c1930f398e2e6 SHA256 e2bcf397786ee7eb5a7218c81fd150749a1b82674cb5be281f44f07511d5612c
+EBUILD darcs-1.0.7.ebuild 2373 RMD160 cac751116c9c47359a884fd170714781ba8ae762 SHA1 83a41ad0f1075f6de5a0be86dae8b824968665c6 SHA256 1ca640762b854340cf1e178c2aab243d5b556052e871e66b1a7eab5fb731684c
+EBUILD darcs-1.0.8-r2.ebuild 2814 RMD160 024db1a3f17b60c3ab93ca96f817b1d8e1754356 SHA1 829eb3a3fdd148a0a72f6c77f010639a4a7b5f65 SHA256 229394e7d77d8eb7b4b7527b853eb1afbe4206ca9a9e20101895d871d1d74a06
+EBUILD darcs-1.0.9.ebuild 3103 RMD160 abf5175636beace77fc07ef40caa13c45b4dd804 SHA1 103019661540089464064380f7bc424c3ac4b66d SHA256 865326b299c20cb9ba4e7e19bbd2936ccd68c1042e33c4d65a6fa86967e7ecf2
+EBUILD darcs-1.1.0_pre1.ebuild 3158 RMD160 5239fcf334bb0bd58594edb9a05632f488a8fdec SHA1 a6705aa4b3c44c629a4afc07cad9e4bf9c3f4191 SHA256 31e96a8bf8e24e31915cdb11fb06572fe73ad7ebbab983c6cdfc87b6a0c9e0ba
+EBUILD darcs-2.0.2.ebuild 3227 RMD160 665eb7b84866fce8a99fd0c93fb4ab3d56c2db78 SHA1 b850ecc4544c59092d81a9d95daebef51af2a17f SHA256 02777ab0a8e9ccf21b1b466b7090db02b66f5da3907ca8cabd8933ffa9ada1af
+EBUILD darcs-2.1.0-r1.ebuild 2805 RMD160 27b169ae95406d967445838bf3b50ebfe1792036 SHA1 e44ff459150db5cb1f7dac01cee0e62dc3944583 SHA256 880e1a615e1122523178696b05c8a8205e05aaac695eb60a521379d55110210e
+EBUILD darcs-2.2.1.ebuild 2387 RMD160 46364b38e35561a8392b4b26d7928fc1e34fc20b SHA1 18aad9953e008cd50c1d2618eb2e16b9965bd434 SHA256 6379bc494e8b1b4ad9ebc36b63a27a56397ed2b0df48c878ed4adbd6e0e40a14
+MISC ChangeLog 16848 RMD160 75f9943213e62821781e9749dea1162454ec4043 SHA1 cf92ccb32e2967883d57bb47ef54e79d89c1116e SHA256 fa00b1fefff383bf6e44dbb511d172bf9d9b3e5e9c3b7bb37077be0626c56dd3
+MISC metadata.xml 223 RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 SHA1 7b962c77f2e38479a9d1621ec8d307ca9f761753 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuc1qUACgkQ1n/CYbXjntIYzgCbB/g5tDJTkyDblphlZqZhYPC9
+ALMAoIls5AFIL+RlXaWLMy+NC+SAQL/j
+=QtrK
+-----END PGP SIGNATURE-----
diff --git a/dev-vcs/darcs/darcs-1.0.5.ebuild b/dev-vcs/darcs/darcs-1.0.5.ebuild
new file mode 100644
index 000000000000..d064372d932d
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.5.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base fixheadtails eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc ppc64 ~sparc x86"
+IUSE="doc"
+# disabled wxwindows use flag for now, as I got build errors
+
+DEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ <dev-lang/ghc-6.6
+ doc? ( virtual/latex-base
+ dev-tex/latex2html )"
+# wxwindows? ( dev-haskell/wxhaskell )
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+# wxwindows? ( dev-haskell/wxhaskell )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+ ht_fix_all
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+}
+
+src_compile() {
+ local myconf
+# myconf="`use_with wxwindows wx`"
+ # distribution contains garbage files
+ make clean || die "make clean failed"
+ if use doc ; then
+ sed -i "s:/doc:/doc/${PF}:" GNUmakefile
+ else
+ sed -i \
+ -e 's: installdocs::' \
+ -e 's:^.*BUILDDOC.*yes.*$::' \
+ -e 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \
+ configure
+ fi
+ econf ${myconf} || die "configure failed"
+ echo 'INSTALLWHAT=installbin' >> autoconf.mk
+ make all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "installation failed"
+}
diff --git a/dev-vcs/darcs/darcs-1.0.6.ebuild b/dev-vcs/darcs/darcs-1.0.6.ebuild
new file mode 100644
index 000000000000..71e0f11d3a2e
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.6.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+# disabled wxwindows use flag for now, as I got build errors
+
+DEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ <dev-lang/ghc-6.6
+ doc? ( virtual/latex-base
+ dev-tex/latex2html )"
+# wxwindows? ( dev-haskell/wxhaskell )
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+# wxwindows? ( dev-haskell/wxhaskell )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+}
+
+src_compile() {
+ local myconf
+# myconf="`use_with wxwindows wx`"
+ # distribution contains garbage files
+ make clean || die "make clean failed"
+ if use doc ; then
+ sed -i "s:/doc:/doc/${PF}:" GNUmakefile
+ else
+ sed -i \
+ -e 's: installdocs::' \
+ -e 's:^.*BUILDDOC.*yes.*$::' \
+ -e 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \
+ configure
+ fi
+ econf ${myconf} || die "configure failed"
+ echo 'INSTALLWHAT=installbin' >> autoconf.mk
+ make all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "installation failed"
+}
diff --git a/dev-vcs/darcs/darcs-1.0.7.ebuild b/dev-vcs/darcs/darcs-1.0.7.ebuild
new file mode 100644
index 000000000000..e4efad2a7f78
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.7.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.7.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ dev-haskell/html
+ dev-haskell/mtl
+ dev-haskell/quickcheck
+ >=dev-lang/ghc-6.2.2
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/darcs-1.0.8-ghc66.patch"
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ if use doc; then
+ dodoc "${S}/darcs.ps"
+ dohtml "${S}/manual/"*
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-1.0.8-r2.ebuild b/dev-vcs/darcs/darcs-1.0.8-r2.ebuild
new file mode 100644
index 000000000000..960c889ba995
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.8-r2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.8-r2.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ dev-haskell/html
+ dev-haskell/mtl
+ dev-haskell/quickcheck
+ >=dev-lang/ghc-6.2.2
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-ghc66.patch"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/darcs.ps"
+ dohtml -r "${S}/manual/"*
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-1.0.9.ebuild b/dev-vcs/darcs/darcs-1.0.9.ebuild
new file mode 100644
index 000000000000..ea2d642011e4
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.9.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.9.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ sys-apps/diffutils
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ # For GHC 6.8* compatibility, make sure
+ # * the new openFd/fdToHandle API is found
+ # * to use the containers package, if it exists
+ # Works with all GHC versions
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.1.0pre1-ghc68.patch"
+
+ epatch "${FILESDIR}/${P}-bashcomp.patch"
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS) $(CPPFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild b/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild
new file mode 100644
index 000000000000..2f1b9a397ad9
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://darcs.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/parsec
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ # For GHC 6.8* compatibility, make sure
+ # * the new openFd/fdToHandle API is found
+ # * to use the containers package, if it exists
+ # Works with all GHC versions
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.1.0pre1-ghc68.patch"
+
+ pushd tools
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+ popd
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS) $(CPPFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-2.0.2.ebuild b/dev-vcs/darcs/darcs-2.0.2.ebuild
new file mode 100644
index 000000000000..44264aa00ca9
--- /dev/null
+++ b/dev-vcs/darcs/darcs-2.0.2.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.0.2.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils ghc-package
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://darcs.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/parsec
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ sys-libs/zlib
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-2.0.2-add-dummy-base-dependency.diff"
+ cd "${S}/tools"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ sed -i 's/-Werror//' "${S}/GNUmakefile"
+
+ #emulate: CABAL_CONFIGURE_FLAGS="--constraint=base<4"
+ # ghc-6.4: base-1; ghc-6.6.1: base-2; ghc-6.8: base-3; ghc-6.10: base-3, base-4
+ base_version="$($(ghc-getghcpkg) list --simple-output | tr " " "\n" | egrep '^base-[1-3]')"
+ sed -i "s@, base ,@, $base_version ,@" "${S}/aclocal.m4"
+ sed -i "s@-package base @-package $base_version @" "${S}/autoconf.mk.in"
+
+ cd "${S}"
+ sed -i 's/-Werror//' "${S}/aclocal.m4"
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+ # use --enable-bytestring?
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-2.1.0-r1.ebuild b/dev-vcs/darcs/darcs-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..70b8c70da6f6
--- /dev/null
+++ b/dev-vcs/darcs/darcs-2.1.0-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.1.0-r1.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://darcs.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/parsec
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ dev-haskell/network
+ dev-haskell/filepath
+ sys-libs/zlib
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}/tools"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ cd "${S}"
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+ # use --enable-bytestring?
+ econf $(use_with doc manual) \
+ --disable-haskeline \
+ --disable-haskell-zlib \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-2.2.1.ebuild b/dev-vcs/darcs/darcs-2.2.1.ebuild
new file mode 100644
index 000000000000..896408d63a86
--- /dev/null
+++ b/dev-vcs/darcs/darcs-2.2.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.2.1.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+CABAL_FEATURES="bin lib haddock"
+inherit haskell-cabal eutils bash-completion
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+SRC_URI="http://hackage.haskell.org/packages/archive/darcs/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ >=dev-haskell/cabal-1.6
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/http
+ =dev-haskell/parsec-2.1*
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ dev-haskell/network
+ dev-haskell/filepath
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1
+ >=dev-haskell/haddock-2.4.1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/tools"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+}
+
+src_compile() {
+ # don't use the haskell zlib package
+ # with it, I keep getting this:
+ # darcs failed: Codec.Compression.Zlib: incorrect data check
+ CABAL_CONFIGURE_FLAGS="--flags=-external-zlib"
+ cabal_src_compile
+}
+
+src_install() {
+ cabal_src_install
+ dobashcompletion "${S}/tools/darcs_completion" "${PN}"
+}
+
+pkg_postinst() {
+ ghc-package_pkg_postinst
+ bash-completion_pkg_postinst
+
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch b/dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch
new file mode 100644
index 000000000000..5f0c0d6edd77
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch
@@ -0,0 +1,84 @@
+diff -urwpN darcs-1.0.8.orig/configure.ac darcs-1.0.8/configure.ac
+--- darcs-1.0.8.orig/configure.ac 2006-06-16 20:59:29.000000000 +0200
++++ darcs-1.0.8/configure.ac 2006-09-18 23:15:25.000000000 +0200
+@@ -110,6 +110,7 @@ WORKAROUND_POSIXSIGNALS([installHandler,
+ dnl Look for Text.Regex
+
+ GHC_CHECK_MODULE(Text.Regex( mkRegex, matchRegex, Regex ), text, mkRegex undefined)
++GHC_CHECK_MODULE(Text.Regex( mkRegex, matchRegex, Regex ), regex-compat, mkRegex undefined)
+
+ dnl See if we need a package for QuickCheck
+
+@@ -117,13 +118,17 @@ GHC_CHECK_MODULE(Debug.QuickCheck( quick
+
+ dnl See if we need the util or mtl packages for Control.Monad
+
+-GHC_CHECK_MODULE(Control.Monad.Error, util, putStr undefined)
+-GHC_CHECK_MODULE(Control.Monad.Error, mtl, putStr undefined)
++GHC_CHECK_MODULE(Control.Monad.Error, util, strMsg "foo" :: String)
++GHC_CHECK_MODULE(Control.Monad.Error, mtl, strMsg "foo" :: String)
+
+ dnl See if we need a package for parsec...
+
+ GHC_CHECK_MODULE(Text.ParserCombinators.Parsec, parsec, errorPos undefined)
+
++dnl Check if we need package html
++
++GHC_CHECK_MODULE(Text.Html, html, text "foo")
++
+ dnl Deal with systems on which getCurrentDirectory uses '\\' rather than '/':
+
+ WORKAROUND_getCurrentDirectory
+diff -urwpN darcs-1.0.8.orig/Lcs.lhs darcs-1.0.8/Lcs.lhs
+--- darcs-1.0.8.orig/Lcs.lhs 2006-06-16 20:59:28.000000000 +0200
++++ darcs-1.0.8/Lcs.lhs 2006-09-18 22:28:38.000000000 +0200
+@@ -358,7 +358,8 @@ shiftBoundaries c_a c_b p_a i_ j_ =
+ -- | goto next unchanged line, return the given line if unchanged
+ nextUnchanged :: BSTArray s -> Int -> ST s Int
+ nextUnchanged c i = do
+- if i == (aLen c) + 1 then return i
++ len <- aLenM c
++ if i == len + 1 then return i
+ else do b <- readArray c i
+ if b then nextUnchanged c (i+1)
+ else return i
+@@ -367,7 +368,8 @@ nextUnchanged c i = do
+ -- behind the last line
+ skipOneUnChanged :: BSTArray s -> Int -> ST s Int
+ skipOneUnChanged c i = do
+- if i == (aLen c) + 1 then return i
++ len <- aLenM c
++ if i == len + 1 then return i
+ else do b <- readArray c i
+ if not b then return (i+1)
+ else skipOneUnChanged c (i+1)
+@@ -381,8 +383,9 @@ nextUnchangedN c n i = do
+
+ -- | goto next changed line, return the given line if changed
+ nextChanged :: BSTArray s -> Int -> ST s (Maybe Int)
+-nextChanged c i =
+- if i <= aLen c
++nextChanged c i = do
++ len <- aLenM c
++ if i <= len
+ then do b <- readArray c i
+ if not b then nextChanged c (i+1)
+ else return $ Just i
+@@ -430,8 +433,17 @@ initM a = listArray (0, length a) (0:a)
+ initP :: [PackedString] -> PArray
+ initP a = listArray (0, length a) (nilPS:a)
+
++#if __GLASGOW_HASKELL__ > 604
++aLen :: (IArray a e) => a Int e -> Int
++aLen a = snd $ bounds a
++aLenM :: (MArray a e m) => a Int e -> m Int
++aLenM a = getBounds a >>= return . snd
++#else
+ aLen :: HasBounds a => a Int e -> Int
+ aLen a = snd $ bounds a
++aLenM :: (HasBounds a, Monad m) => a Int e -> m Int
++aLenM = return . snd . bounds
++#endif
+ \end{code}
+
+ \begin{code}
diff --git a/dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch b/dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch
new file mode 100644
index 000000000000..2c5e34521e45
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch
@@ -0,0 +1,18 @@
+diff -urwpN darcs-1.0.9-orig/darcs_completion darcs-1.0.9/darcs_completion
+--- darcs-1.0.9-orig/darcs_completion 2007-06-07 21:42:57.000000000 +0200
++++ darcs-1.0.9/darcs_completion 2007-06-07 21:43:12.000000000 +0200
+@@ -3,7 +3,6 @@
+ # darcs command line completion.
+ # Copyright 2002 "David Roundy" <droundy@abridgegame.org>
+ #
+-have darcs &&
+ _darcs()
+ {
+ local cur
+@@ -48,5 +47,5 @@ _darcs()
+ return 0
+
+ }
+-[ "$have" ] && complete -F _darcs -o default darcs
++complete -F _darcs -o default darcs
+
diff --git a/dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch b/dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch
new file mode 100644
index 000000000000..ac6b8578f491
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch
@@ -0,0 +1,39 @@
+diff -rN -u old-darcs-1.1.0pre1/aclocal.m4 new-darcs-1.1.0pre1/aclocal.m4
+--- old-darcs-1.1.0pre1/aclocal.m4 2007-12-30 18:13:00.000000000 +0100
++++ new-darcs-1.1.0pre1/aclocal.m4 2007-12-30 18:13:01.000000000 +0100
+@@ -447,6 +447,20 @@
+ openFd :: Int -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
+ openFd fd x y z a b = GHC.Handle.openFd fd x b y z a
+ ]]),
++AC_MSG_RESULT([okay])
++IMPORT_WORKAROUND([
++import qualified GHC.Handle ( fdToHandle' )
++import System.IO ( Handle, IOMode )
++import System.Posix.Internals ( FDType )
++import qualified GHC.IOBase ( FD )
++])
++CODE_WORKAROUND([[
++ {-
++ Work around change in the GHC.Handle.fdToHandle' API.
++ -}
++openFd :: GHC.IOBase.FD -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
++openFd fd x y z a b = GHC.Handle.fdToHandle' fd x b y z a
++]]),
+ AC_MSG_RESULT([failed])
+ AC_MSG_ERROR([Couldnt figure out how to call GHC.Handle.openFd!])
+ )
+diff -rN -u old-darcs-1.1.0pre1/configure.ac new-darcs-1.1.0pre1/configure.ac
+--- old-darcs-1.1.0pre1/configure.ac 2007-12-30 18:13:00.000000000 +0100
++++ new-darcs-1.1.0pre1/configure.ac 2007-12-30 18:13:01.000000000 +0100
+@@ -135,6 +135,10 @@
+ GHC_CHECK_MODULE(Text.Html, html, text "foo",,
+ AC_MSG_ERROR(Cannot find Text.Html; try installing package html?))
+
++dnl See if we need a package for containers...
++
++GHC_CHECK_MODULE(Data.Map, containers, empty)
++
+ dnl Deal with systems on which getCurrentDirectory uses '\\' rather than '/':
+
+ WORKAROUND_getCurrentDirectory
+
diff --git a/dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff b/dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff
new file mode 100644
index 000000000000..af5c7ff1a541
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff
@@ -0,0 +1,13 @@
+diff --git a/autoconf.mk.in b/autoconf.mk.in
+index 86e0932..de4bdcf 100644
+--- a/autoconf.mk.in
++++ b/autoconf.mk.in
+@@ -24,7 +24,7 @@ LDFLAGS := @LDFLAGS@
+ OPTLLDFLAGS := $(addprefix -optl,$(LDFLAGS))
+ LIBS := @LIBS@
+ OPTLLIBS := $(filter-out -%,$(LIBS)) $(addprefix -optl,$(filter -%,$(LIBS)))
+-GHCFLAGS := @GHCFLAGS@ @CPPFLAGS@ @DEFS@
++GHCFLAGS := -package base @GHCFLAGS@ @CPPFLAGS@ @DEFS@
+ USE_GNULIBSHA1 := @USE_GNULIBSHA1@
+ HAVE_HTTP := @HAVE_HTTP@
+ HAVE_CURSES := @HAVE_CURSES@
diff --git a/dev-vcs/darcs/metadata.xml b/dev-vcs/darcs/metadata.xml
new file mode 100644
index 000000000000..8c66906af531
--- /dev/null
+++ b/dev-vcs/darcs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>haskell</herd>
+<maintainer>
+ <email>haskell@gentoo.org</email>
+</maintainer>
+</pkgmetadata>