* [gentoo-commits] gentoo-x86 commit in dev-util/darcs: ChangeLog darcs-2.0.2.ebuild
@ 2008-08-25 20:25 Lennart Kolmodin (kolmodin)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Kolmodin (kolmodin) @ 2008-08-25 20:25 UTC (permalink / raw
To: gentoo-commits
kolmodin 08/08/25 20:25:15
Modified: ChangeLog
Added: darcs-2.0.2.ebuild
Log:
Add dev-util/darcs-2.0.2, first in the 2.x series.
(Portage version: 2.1.4.4)
Revision Changes Path
1.88 dev-util/darcs/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.88&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.88&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?r1=1.87&r2=1.88
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- ChangeLog 29 Jun 2008 11:02:14 -0000 1.87
+++ ChangeLog 25 Aug 2008 20:25:15 -0000 1.88
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/darcs
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.87 2008/06/29 11:02:14 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.88 2008/08/25 20:25:15 kolmodin Exp $
+
+*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:
1.1 dev-util/darcs/darcs-2.0.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?rev=1.1&content-type=text/plain
Index: darcs-2.0.2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v 1.1 2008/08/25 20:25:15 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
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 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."
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-util/darcs: ChangeLog darcs-2.0.2.ebuild
@ 2009-08-30 9:55 Lennart Kolmodin (kolmodin)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Kolmodin (kolmodin) @ 2009-08-30 9:55 UTC (permalink / raw
To: gentoo-commits
kolmodin 09/08/30 09:55:34
Modified: ChangeLog darcs-2.0.2.ebuild
Log:
Make darcs-2.0.2 build with the most recent GHC version, and fix bug #282661.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Revision Changes Path
1.104 dev-util/darcs/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.104&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.104&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?r1=1.103&r2=1.104
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- ChangeLog 25 Jul 2009 13:19:17 -0000 1.103
+++ ChangeLog 30 Aug 2009 09:55:34 -0000 1.104
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/darcs
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.103 2009/07/25 13:19:17 kolmodin Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.104 2009/08/30 09:55:34 kolmodin Exp $
+
+ 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.
1.8 dev-util/darcs/darcs-2.0.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?r1=1.7&r2=1.8
Index: darcs-2.0.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- darcs-2.0.2.ebuild 18 Oct 2008 18:05:50 -0000 1.7
+++ darcs-2.0.2.ebuild 30 Aug 2009 09:55:34 -0000 1.8
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v 1.7 2008/10/18 18:05:50 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v 1.8 2009/08/30 09:55:34 kolmodin Exp $
-inherit base autotools eutils
+inherit base autotools eutils ghc-package
DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://darcs.net"
@@ -23,6 +23,7 @@
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 )"
@@ -44,6 +45,7 @@
src_unpack() {
base_src_unpack
+ epatch "${FILESDIR}/${PN}-2.0.2-add-dummy-base-dependency.diff"
cd "${S}/tools"
epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
@@ -51,7 +53,16 @@
# 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
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-util/darcs: ChangeLog darcs-2.0.2.ebuild
@ 2010-01-20 7:56 Lennart Kolmodin (kolmodin)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Kolmodin (kolmodin) @ 2010-01-20 7:56 UTC (permalink / raw
To: gentoo-commits
kolmodin 10/01/20 07:56:38
Modified: ChangeLog darcs-2.0.2.ebuild
Log:
Fix broken epatch in dev-util/darcs-2.0.2
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Revision Changes Path
1.106 dev-util/darcs/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.106&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?rev=1.106&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/ChangeLog?r1=1.105&r2=1.106
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- ChangeLog 15 Jan 2010 21:16:33 -0000 1.105
+++ ChangeLog 20 Jan 2010 07:56:38 -0000 1.106
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/darcs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.105 2010/01/15 21:16:33 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.106 2010/01/20 07:56:38 kolmodin Exp $
+
+ 20 Jan 2010; <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
1.9 dev-util/darcs/darcs-2.0.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild?r1=1.8&r2=1.9
Index: darcs-2.0.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- darcs-2.0.2.ebuild 30 Aug 2009 09:55:34 -0000 1.8
+++ darcs-2.0.2.ebuild 20 Jan 2010 07:56:38 -0000 1.9
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v 1.8 2009/08/30 09:55:34 kolmodin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-2.0.2.ebuild,v 1.9 2010/01/20 07:56:38 kolmodin Exp $
inherit base autotools eutils ghc-package
@@ -45,6 +45,7 @@
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"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-20 7:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 7:56 [gentoo-commits] gentoo-x86 commit in dev-util/darcs: ChangeLog darcs-2.0.2.ebuild Lennart Kolmodin (kolmodin)
-- strict thread matches above, loose matches on Subject: below --
2009-08-30 9:55 Lennart Kolmodin (kolmodin)
2008-08-25 20:25 Lennart Kolmodin (kolmodin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox