summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2007-12-30 16:30:48 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2007-12-30 16:30:48 +0000
commit53c516e5cd1091b6bce6f38c5beebb14446afdda (patch)
treeb2593bfcd3650a7e79aaa32414205f2d93ac1924 /dev-util
parentx86 stable, bug #202306 (diff)
downloadgentoo-2-53c516e5cd1091b6bce6f38c5beebb14446afdda.tar.gz
gentoo-2-53c516e5cd1091b6bce6f38c5beebb14446afdda.tar.bz2
gentoo-2-53c516e5cd1091b6bce6f38c5beebb14446afdda.zip
Add test of USE flags of latex2html to older dev-util/darcs ebuilds. Fixes #195801.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/darcs/ChangeLog9
-rw-r--r--dev-util/darcs/darcs-1.0.5.ebuild13
-rw-r--r--dev-util/darcs/darcs-1.0.6.ebuild13
-rw-r--r--dev-util/darcs/darcs-1.0.7.ebuild11
-rw-r--r--dev-util/darcs/darcs-1.0.8-r2.ebuild11
-rw-r--r--dev-util/darcs/darcs-1.0.9.ebuild11
6 files changed, 60 insertions, 8 deletions
diff --git a/dev-util/darcs/ChangeLog b/dev-util/darcs/ChangeLog
index daab89afca5f..8415ae7a028c 100644
--- a/dev-util/darcs/ChangeLog
+++ b/dev-util/darcs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/darcs
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.81 2007/12/21 00:29:10 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.82 2007/12/30 16:30:48 kolmodin Exp $
+
+ 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.
diff --git a/dev-util/darcs/darcs-1.0.5.ebuild b/dev-util/darcs/darcs-1.0.5.ebuild
index e7d68c7d6c7e..e92c2a223779 100644
--- a/dev-util/darcs/darcs-1.0.5.ebuild
+++ b/dev-util/darcs/darcs-1.0.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.5.ebuild,v 1.10 2007/12/21 00:29:10 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.5.ebuild,v 1.11 2007/12/30 16:30:48 kolmodin Exp $
-inherit base fixheadtails
+inherit base fixheadtails eutils
DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
@@ -31,6 +31,15 @@ RDEPEND=">=net-misc/curl-7.10.2
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
diff --git a/dev-util/darcs/darcs-1.0.6.ebuild b/dev-util/darcs/darcs-1.0.6.ebuild
index a1d32a804eec..8cfd79c46027 100644
--- a/dev-util/darcs/darcs-1.0.6.ebuild
+++ b/dev-util/darcs/darcs-1.0.6.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.6.ebuild,v 1.9 2007/12/21 00:29:10 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.6.ebuild,v 1.10 2007/12/30 16:30:48 kolmodin Exp $
-inherit base
+inherit base eutils
DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
@@ -31,6 +31,15 @@ RDEPEND=">=net-misc/curl-7.10.2
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
diff --git a/dev-util/darcs/darcs-1.0.7.ebuild b/dev-util/darcs/darcs-1.0.7.ebuild
index 6e978386a247..f736d1a227ee 100644
--- a/dev-util/darcs/darcs-1.0.7.ebuild
+++ b/dev-util/darcs/darcs-1.0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.7.ebuild,v 1.7 2007/12/21 00:29:10 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.7.ebuild,v 1.8 2007/12/30 16:30:48 kolmodin Exp $
inherit base autotools eutils
@@ -29,6 +29,15 @@ RDEPEND=">=net-misc/curl-7.10.2
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
diff --git a/dev-util/darcs/darcs-1.0.8-r2.ebuild b/dev-util/darcs/darcs-1.0.8-r2.ebuild
index 3aa6ab4cdeda..27b21fb43ccf 100644
--- a/dev-util/darcs/darcs-1.0.8-r2.ebuild
+++ b/dev-util/darcs/darcs-1.0.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.8-r2.ebuild,v 1.3 2007/12/21 00:29:10 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.8-r2.ebuild,v 1.4 2007/12/30 16:30:48 kolmodin Exp $
inherit base autotools eutils
@@ -29,6 +29,15 @@ RDEPEND=">=net-misc/curl-7.10.2
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
diff --git a/dev-util/darcs/darcs-1.0.9.ebuild b/dev-util/darcs/darcs-1.0.9.ebuild
index d52af353ded2..a315a33b3045 100644
--- a/dev-util/darcs/darcs-1.0.9.ebuild
+++ b/dev-util/darcs/darcs-1.0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.9.ebuild,v 1.9 2007/12/20 13:48:35 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-1.0.9.ebuild,v 1.10 2007/12/30 16:30:48 kolmodin Exp $
inherit base autotools eutils
@@ -31,6 +31,15 @@ RDEPEND=">=net-misc/curl-7.10.2
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