summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-07-12 15:24:36 +0000
committerDan Armak <danarmak@gentoo.org>2002-07-12 15:24:36 +0000
commit6691dd88aad937d51582817a48d306f236def654 (patch)
treeba7fc040500ee0713ab4953836c186027b3ce108 /eclass
parentadd mirrors for ftp.kde.org, used by kde.org.eclass (diff)
downloadhistorical-6691dd88aad937d51582817a48d306f236def654.tar.gz
historical-6691dd88aad937d51582817a48d306f236def654.tar.bz2
historical-6691dd88aad937d51582817a48d306f236def654.zip
add INHERITED variable to all eclasses. this keeps track of what eclasses were inherited. e.g. INHERITED='kde-base kde base'. this will allow drobbins to take eclass mtime changes into account when deciding whether to refresh ebuild cache.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass5
-rw-r--r--eclass/base.eclass4
-rw-r--r--eclass/debug.eclass4
-rw-r--r--eclass/ebook.eclass2
-rw-r--r--eclass/flag-o-matic.eclass2
-rw-r--r--eclass/gnome2.eclass3
-rw-r--r--eclass/java.eclass3
-rw-r--r--eclass/kde-child.eclass4
-rw-r--r--eclass/kde-i18n.eclass5
-rw-r--r--eclass/kde-i18n.org.eclass3
-rw-r--r--eclass/kde-parent.eclass3
-rw-r--r--eclass/kde-patch.eclass3
-rw-r--r--eclass/kde-pre.eclass17
-rw-r--r--eclass/koffice-i18n.eclass5
-rw-r--r--eclass/latex-package.eclass1
-rw-r--r--eclass/perl-module.eclass4
-rw-r--r--eclass/perl-post.eclass4
-rw-r--r--eclass/virtualx.eclass3
18 files changed, 53 insertions, 22 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 559251d9cbd2..f0ae38ece4bc 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.2 2002/01/04 12:06:28 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.3 2002/07/12 15:24:36 danarmak Exp $
# The autotools eclass enables building of the apps that needs the latest autconf/automake.
#
# NOTES:
@@ -22,7 +22,7 @@
# # Copyright 1999-2002 Gentoo Technologies, Inc.
# # Distributed under the terms of the GNU General Public License, v2 or later
# # Maintainer: John Doe <john@foo.com>
-# # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.2 2002/01/04 12:06:28 danarmak Exp $
+# # $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.3 2002/07/12 15:24:36 danarmak Exp $
#
# # If you need to set the versions different from in here, it *must*
# # be done before inherit.eclass is sourced
@@ -72,6 +72,7 @@
ECLASS=AutoTools
+INHERITED="$INHERITED $ECLASS"
#[ -z "$ACONFVER" ] && ACONFVER=2.52f
#[ -z "$AMAKEVER" ] && AMAKEVER=1.5b
diff --git a/eclass/base.eclass b/eclass/base.eclass
index 9da000dd4b07..4ee2e4eb14f1 100644
--- a/eclass/base.eclass
+++ b/eclass/base.eclass
@@ -1,11 +1,11 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.15 2002/06/05 19:09:21 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.16 2002/07/12 15:24:36 danarmak Exp $
# The base eclass defines some default functions and variables. Nearly everything
# else inherits from here.
ECLASS=base
-
+INHERITED="$INHERITED $ECLASS"
S=${WORKDIR}/${P}
DESCRIPTION="Based on the $ECLASS eclass"
diff --git a/eclass/debug.eclass b/eclass/debug.eclass
index 1ed459cd5135..b00f596f7af1 100644
--- a/eclass/debug.eclass
+++ b/eclass/debug.eclass
@@ -1,13 +1,13 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.16 2002/06/24 05:37:57 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.17 2002/07/12 15:24:36 danarmak Exp $
# Author: Spider
# A general DEBUG eclass to ease inclusion of debugging information and to remove "bad" flags from CFLAGS
# Debug ECLASS
ECLASS="debug"
-
+INHERITED="$INHERITED $ECLASS"
# Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
DEBUG="yes"
RESTRICT="nostrip"
diff --git a/eclass/ebook.eclass b/eclass/ebook.eclass
index a33a14527f9d..ab0ea5aecd62 100644
--- a/eclass/ebook.eclass
+++ b/eclass/ebook.eclass
@@ -5,7 +5,7 @@
# The ebook eclass defines some default functions and variables to
# install ebooks.
ECLASS=ebook
-
+INHERITED="$INHERITED $ECLASS"
HOMEPAGE="http://lidn.sourceforge.net"
# ebook eclass user guide:
# -vars
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 9cb3fda0c8f4..0a053e038eac 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -3,7 +3,7 @@
# Author Bart Verwilst <verwilst@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass
ECLASS=flag-o-matic
-
+INHERITED="$INHERITED $ECLASS"
#
#### filter-flags <flag> ####
# Remove particular flags from C[XX]FLAGS
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index b17bfb6e75e6..b69200f33cc0 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.17 2002/06/29 23:50:55 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.18 2002/07/12 15:24:36 danarmak Exp $
inherit libtool
inherit debug
@@ -10,6 +10,7 @@ inherit debug
# Gnome 2 ECLASS
ECLASS="gnome2"
+INHERITED="$INHERITED $ECLASS"
G2CONF="--enable-debug=yes"
ELTCONF=""
diff --git a/eclass/java.eclass b/eclass/java.eclass
index 0a34dc1cb244..1f05905e4ed8 100644
--- a/eclass/java.eclass
+++ b/eclass/java.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.1 2002/06/25 01:35:16 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
ECLASS=java
+INHERITED="$INHERITED $ECLASS"
DESCRIPTION="Based on the $ECLASS eclass"
VMHANDLE=${PN}-${PV}
diff --git a/eclass/kde-child.eclass b/eclass/kde-child.eclass
index 988dd59ef4f0..cb52a1c7a4c6 100644
--- a/eclass/kde-child.eclass
+++ b/eclass/kde-child.eclass
@@ -1,10 +1,10 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-child.eclass,v 1.1 2002/05/10 12:07:56 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-child.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
# Inherited by children ebuilds, which must specify their $PARENT ebuild before inheriting.
ECLASS=kde-child
-
+INHERITED="$INHERITED $ECLASS"
#TODO: prevent $S/README, etc. from being dodoc'd
# determine settings
diff --git a/eclass/kde-i18n.eclass b/eclass/kde-i18n.eclass
index 2def1f307a39..9e9e85b17d96 100644
--- a/eclass/kde-i18n.eclass
+++ b/eclass/kde-i18n.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.eclass,v 1.18 2002/07/05 11:36:44 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.eclass,v 1.19 2002/07/12 15:24:36 danarmak Exp $
inherit kde kde-i18n.org
ECLASS=kde-i18n
+INHERITED="$INHERITED $ECLASS"
S=${WORKDIR}/${PN}
DESCRIPTION="KDE ${PV} - i18n: ${PN}"
@@ -26,4 +27,4 @@ kde-i18n_src_unpack() {
fi
}
-EXPORT_FUNCTIONS src_unpack \ No newline at end of file
+EXPORT_FUNCTIONS src_unpack
diff --git a/eclass/kde-i18n.org.eclass b/eclass/kde-i18n.org.eclass
index dcc7aedafb6f..39cb60c312df 100644
--- a/eclass/kde-i18n.org.eclass
+++ b/eclass/kde-i18n.org.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.org.eclass,v 1.1 2002/07/05 11:36:45 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.org.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
# Contains the locations of i18n ftp.kde.org packages and their mirrors
ECLASS=kde.org
+INHERITED="$INHERITED $ECLASS"
SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2"
diff --git a/eclass/kde-parent.eclass b/eclass/kde-parent.eclass
index 2bcc21cc148b..4a50423a076b 100644
--- a/eclass/kde-parent.eclass
+++ b/eclass/kde-parent.eclass
@@ -1,10 +1,11 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-parent.eclass,v 1.1 2002/05/10 12:07:56 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-parent.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
# Inherited by parent ebuilds, which must set their list of $CHILDREN before inheriting
# Make sure to inherit this eclass LAST, for the empty functions below to take effect
ECLASS=kde-parent
+INHERITED="$INHERITED $ECLASS"
# Don't do anything if we're inheriting from a child ebuild
if [ -z "$PARENT" ]; then
diff --git a/eclass/kde-patch.eclass b/eclass/kde-patch.eclass
index 5657a2d57f88..0b2124dee19e 100644
--- a/eclass/kde-patch.eclass
+++ b/eclass/kde-patch.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-patch.eclass,v 1.1 2002/06/05 19:09:21 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-patch.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
# This applies homemade patches from the tarball to the date specified.
ECLASS=kde-patch
+INHERITED="$INHERITED $ECLASS"
debug-print "Entering eclass $ECLASS"
diff --git a/eclass/kde-pre.eclass b/eclass/kde-pre.eclass
index e69de29bb2d1..894ee579de54 100644
--- a/eclass/kde-pre.eclass
+++ b/eclass/kde-pre.eclass
@@ -0,0 +1,17 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Dan Armak <danarmak@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-pre.eclass,v 1.2 2002/07/12 15:24:36 danarmak Exp $
+# This is for kde prereleases (alpha, beta etc.) which have a _ (underscore) in their portage ebuild
+# names but not in their source archives and source dirs. To be inherited after setting SRC_URI and WORKDIR.
+ECLASS=kde-pre
+INHERITED="$INHERITED $ECLASS"
+
+DESCRIPTION="Based on the $ECLASS eclass"
+
+S="${WORKDIR}/${PN}-${PV//_}"
+
+SRC_PATH="kde/unstable/kde-${PV//_}/src/${P//_}.tar.bz2"
+SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
+ ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
+ ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
diff --git a/eclass/koffice-i18n.eclass b/eclass/koffice-i18n.eclass
index 000ff8a84afe..b8e47de97eb1 100644
--- a/eclass/koffice-i18n.eclass
+++ b/eclass/koffice-i18n.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/koffice-i18n.eclass,v 1.9 2002/07/09 17:04:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/koffice-i18n.eclass,v 1.10 2002/07/12 15:24:36 danarmak Exp $
inherit kde
ECLASS=koffice-i18n
+INHERITED="$INHERITED $ECLASS"
case $PV in
1 | 1_* | 1.1*)
@@ -26,4 +27,4 @@ HOMEPAGE="http://www.koffice.org/"
LICENSE="GPL-2"
DEPEND="~app-office/koffice-${PV}"
-myconf="$myconf --enable-final" \ No newline at end of file
+myconf="$myconf --enable-final"
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index 27272ae88a47..70376d459a04 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -4,6 +4,7 @@
# the src_install function as-is if the system is single-directory.
inherit base
+INHERITED="$INHERITED $ECLASS"
newdepend ">=app-text/tetex-1.0.7"
ECLASS=latex-package
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 4f12888652ca..96d20869c51f 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -1,7 +1,7 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Author: Seemant Kulleen <seemant@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.12 2002/07/02 19:34:01 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.13 2002/07/12 15:24:36 danarmak Exp $
# The perl-module eclass is designed to allow easier installation of perl
# modules, and their incorporation into the Gentoo Linux system.
@@ -9,6 +9,8 @@
inherit perl-post
ECLASS=base
+INHERITED="$INHERITED $ECLASS"
+
EXPORT_FUNCTIONS src_compile src_install src_test
newdepend ">=sys-devel/perl-5"
diff --git a/eclass/perl-post.eclass b/eclass/perl-post.eclass
index 065afe55cd0c..bd43fc331e48 100644
--- a/eclass/perl-post.eclass
+++ b/eclass/perl-post.eclass
@@ -1,11 +1,13 @@
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
# Author: Seemant Kulleen <seemant@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-post.eclass,v 1.4 2002/05/06 14:34:55 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-post.eclass,v 1.5 2002/07/12 15:24:36 danarmak Exp $
# The perl-post eclass is designed to allow the ${installarchdir}/perllocal.pod
# file to be updated cleanly after perl and/or perl-modules are installed
# or removed.
ECLASS=perl
+INHERITED="$INHERITED $ECLASS"
+
EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \
perlinfo updatepod
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index cef063ba78ab..af67b21d91df 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -1,9 +1,10 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.6 2002/06/24 02:06:01 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.7 2002/07/12 15:24:36 danarmak Exp $
# This eclass can be used for packages that needs a working X environment to build
ECLASS=virtualx
+INHERITED="$INHERITED $ECLASS"
newdepend virtual/x11
DESCRIPTION="Based on the $ECLASS eclass"