summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/koffice/files/digest-koffice-2.1.11
-rw-r--r--app-office/koffice/files/digest-koffice-2.1.1_beta21
-rw-r--r--app-office/koffice/files/digest-koffice-2.1.1_beta31
-rw-r--r--app-office/koffice/files/digest-koffice-2.1.1_beta3-r11
-rw-r--r--app-office/koffice/files/koffice-2.1.1_beta2-gentoo.diff21
-rw-r--r--app-office/koffice/files/koffice-2.1.1_beta3-r1-gentoo.diff18
-rw-r--r--app-office/koffice/koffice-1.1.ebuild5
-rw-r--r--app-office/koffice/koffice-2.1.1_beta2.ebuild48
-rw-r--r--app-office/koffice/koffice-2.1.1_beta3-r1.ebuild47
-rw-r--r--app-office/koffice/koffice-2.1.1_beta3.ebuild47
-rw-r--r--dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild4
-rw-r--r--eclass/debug.eclass4
-rw-r--r--eclass/doc/eclass-howto.lyx110
-rw-r--r--eclass/doc/eclass-howto.sgml72
-rw-r--r--eclass/doc/eclass-howto.txt97
-rw-r--r--eclass/doc/news.txt11
-rw-r--r--eclass/doc/todo.txt14
-rw-r--r--eclass/inherit.eclass6
-rw-r--r--eclass/kde-base.eclass3
-rw-r--r--eclass/kde-dist.eclass4
-rw-r--r--eclass/kde-objprelink.eclass14
-rw-r--r--eclass/kde.eclass10
-rw-r--r--eclass/kde.org.eclass3
-rw-r--r--kde-base/kdelibs/files/digest-kdelibs-2.2.1-r11
-rw-r--r--kde-base/kdelibs/kdelibs-2.2.1-r1.ebuild59
-rw-r--r--kde-base/kdeutils/files/digest-kdeutils-2.2.1-r11
26 files changed, 299 insertions, 304 deletions
diff --git a/app-office/koffice/files/digest-koffice-2.1.1 b/app-office/koffice/files/digest-koffice-2.1.1
deleted file mode 100644
index 42eea71b516a..000000000000
--- a/app-office/koffice/files/digest-koffice-2.1.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9c00587760676f2ac844a5696ec5a7bc koffice-1.1.tar.bz2
diff --git a/app-office/koffice/files/digest-koffice-2.1.1_beta2 b/app-office/koffice/files/digest-koffice-2.1.1_beta2
deleted file mode 100644
index 6cd0cfd85222..000000000000
--- a/app-office/koffice/files/digest-koffice-2.1.1_beta2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e5848036dcece805678f7413125a0730 koffice-1.1-beta2.tar.bz2
diff --git a/app-office/koffice/files/digest-koffice-2.1.1_beta3 b/app-office/koffice/files/digest-koffice-2.1.1_beta3
deleted file mode 100644
index b19b54e64bee..000000000000
--- a/app-office/koffice/files/digest-koffice-2.1.1_beta3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e3b689dbaa6d84ac2b697de9dc73e0d0 koffice-1.1-beta3.tar.bz2
diff --git a/app-office/koffice/files/digest-koffice-2.1.1_beta3-r1 b/app-office/koffice/files/digest-koffice-2.1.1_beta3-r1
deleted file mode 100644
index b19b54e64bee..000000000000
--- a/app-office/koffice/files/digest-koffice-2.1.1_beta3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e3b689dbaa6d84ac2b697de9dc73e0d0 koffice-1.1-beta3.tar.bz2
diff --git a/app-office/koffice/files/koffice-2.1.1_beta2-gentoo.diff b/app-office/koffice/files/koffice-2.1.1_beta2-gentoo.diff
deleted file mode 100644
index b01250a4cc7e..000000000000
--- a/app-office/koffice/files/koffice-2.1.1_beta2-gentoo.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- admin/acinclude.m4.in~ Wed May 16 14:39:19 2001
-+++ admin/acinclude.m4.in Tue May 22 04:32:31 2001
-@@ -3566,14 +3566,10 @@
- dnl Note: this test is very weak
- kde_python_link_found=no
- KDE_TRY_LINK_PYTHON(normal)
-- KDE_TRY_LINK_PYTHON(m, -lm)
-- KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD)
-- KDE_TRY_LINK_PYTHON(tcl, -ltcl)
-- KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm])
-- KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil])
-- KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil])
-- KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3])
-- KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil])
-+ KDE_TRY_LINK_PYTHON(gentoo1, [$LIBPTHREAD -lm -ldb-3.2 -lreadline -lcrypt -lz -lncurses -lutil])
-+ KDE_TRY_LINK_PYTHON(gentoo2, [$LIBPTHREAD -lm -lreadline -lcrypt -lz -lncurses -lutil])
-+ KDE_TRY_LINK_PYTHON(gentoo3, [$LIBPTHREAD -lm -ldb-3.2 -lcrypt -lz -lncurses -lutil])
-+ KDE_TRY_LINK_PYTHON(gentoo4, [$LIBPTHREAD -lm -lcrypt -lz -lncurses -lutil])
- KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [],
- [AC_MSG_WARN([it seems, Python depends on another library.
- Pleae use \"make LIBPYTHON='-lpython$version -lotherlib'\" to fix this
diff --git a/app-office/koffice/files/koffice-2.1.1_beta3-r1-gentoo.diff b/app-office/koffice/files/koffice-2.1.1_beta3-r1-gentoo.diff
deleted file mode 100644
index cbe01508c87a..000000000000
--- a/app-office/koffice/files/koffice-2.1.1_beta3-r1-gentoo.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- admin/acinclude.m4.in~ Wed May 16 14:39:19 2001
-+++ admin/acinclude.m4.in Tue May 22 04:32:31 2001
-@@ -3566,14 +3566,7 @@
- dnl Note: this test is very weak
- kde_python_link_found=no
- KDE_TRY_LINK_PYTHON(normal)
-- KDE_TRY_LINK_PYTHON(m, -lm)
-- KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD)
-- KDE_TRY_LINK_PYTHON(tcl, -ltcl)
-- KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm])
-- KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil])
-- KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil])
-- KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3])
-- KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil])
-+ KDE_TRY_LINK_PYTHON(gentoo, [$LIBPTHREAD `python-config --libs`])
- KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [],
- [AC_MSG_WARN([it seems, Python depends on another library.
- Pleae use \"make LIBPYTHON='-lpython$version -lotherlib'\" to fix this
diff --git a/app-office/koffice/koffice-1.1.ebuild b/app-office/koffice/koffice-1.1.ebuild
index e8ae1d3cafcc..0c07b71fabad 100644
--- a/app-office/koffice/koffice-1.1.ebuild
+++ b/app-office/koffice/koffice-1.1.ebuild
@@ -1,9 +1,9 @@
# 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/app-office/koffice/koffice-1.1.ebuild,v 1.3 2001/10/02 23:54:52 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.1.ebuild,v 1.4 2001/10/03 17:10:16 danarmak Exp $
. /usr/portage/eclass/inherit.eclass || die
-inherit kde-base || die
+inherit kde-base kde-objprelink || die
DESCRIPTION="KDE ${PV} - KOffice"
@@ -27,4 +27,5 @@ RDEPEND="$RDEPEND
src_unpack() {
base_src_unpack all patch
+ kde-objprelink-patch
}
diff --git a/app-office/koffice/koffice-2.1.1_beta2.ebuild b/app-office/koffice/koffice-2.1.1_beta2.ebuild
deleted file mode 100644
index c00aabe2c7b4..000000000000
--- a/app-office/koffice/koffice-2.1.1_beta2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-2.1.1_beta2.ebuild,v 1.3 2001/09/29 21:03:25 danarmak Exp $
-
-P=${PN}-1.1-beta2
-A=${P}.tar.bz2
-S=${WORKDIR}/${P}
-DESCRIPTION="KDE ${PV} - KOffice"
-SRC_PATH="kde/unstable/${P}/src/${A}"
-SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
- ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
-
-HOMEPAGE="http://www.kde.org/"
-
-DEPEND=">=kde-base/kdelibs-2.1.2
- >=dev-lang/python-2.0-r2
- sys-devel/automake
- sys-devel/autoconf"
-
-RDEPEND=">=kde-base/kdelibs-2.1.2"
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
- make -f admin/Makefile.common
-}
-
-src_compile() {
- QTBASE=/usr/X11R6/lib/qt
- local myconf
- if [ "`use qtmt`" ]
- then
- myconf="--enable-mt"
- fi
- myconf="$myconf --enable-mitshm"
- try ./configure --prefix=$KDEDIR --host=${CHOST} \
- --with-qt-dir=$QTBASE $myconf
- try make
-}
-
-src_install() {
- try make install DESTDIR=${D}
- dodoc ChangeLog COPYING AUTHORS NEWS README
-}
-
diff --git a/app-office/koffice/koffice-2.1.1_beta3-r1.ebuild b/app-office/koffice/koffice-2.1.1_beta3-r1.ebuild
deleted file mode 100644
index 41204794842f..000000000000
--- a/app-office/koffice/koffice-2.1.1_beta3-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-2.1.1_beta3-r1.ebuild,v 1.3 2001/09/29 21:03:25 danarmak Exp $
-
-P=${PN}-1.1-beta3
-A=${P}.tar.bz2
-S=${WORKDIR}/${P}
-DESCRIPTION="KDE ${PV} - KOffice"
-SRC_PATH="kde/unstable/${P}/src/${A}"
-SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
- ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
-
-HOMEPAGE="http://www.kde.org/"
-
-DEPEND=">=kde-base/kdelibs-2.1.2
- >=dev-lang/python-2.0-r4
- sys-devel/automake
- sys-devel/autoconf"
-
-RDEPEND=">=kde-base/kdelibs-2.1.2"
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
- make -f admin/Makefile.common
-}
-
-src_compile() {
- local myconf
- if [ "`use qtmt`" ]
- then
- myconf="--enable-mt"
- fi
- myconf="$myconf --enable-mitshm"
- ./configure --host=${CHOST} \
- $myconf || die
- make || die
-}
-
-src_install() {
- try make install DESTDIR=${D}
- dodoc ChangeLog COPYING AUTHORS NEWS README
-}
-
diff --git a/app-office/koffice/koffice-2.1.1_beta3.ebuild b/app-office/koffice/koffice-2.1.1_beta3.ebuild
deleted file mode 100644
index f6ff7bb9ff4b..000000000000
--- a/app-office/koffice/koffice-2.1.1_beta3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-2.1.1_beta3.ebuild,v 1.3 2001/09/29 21:03:25 danarmak Exp $
-
-P=${PN}-1.1-beta3
-A=${P}.tar.bz2
-S=${WORKDIR}/${P}
-DESCRIPTION="KDE ${PV} - KOffice"
-SRC_PATH="kde/unstable/${P}/src/${A}"
-SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
- ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
-
-HOMEPAGE="http://www.kde.org/"
-
-DEPEND=">=kde-base/kdelibs-2.1.2
- >=dev-lang/python-2.0-r2
- sys-devel/automake
- sys-devel/autoconf"
-
-RDEPEND=">=kde-base/kdelibs-2.1.2"
-
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- patch -p0 < ${FILESDIR}/${PN}-2.1.1_beta2-gentoo.diff
- make -f admin/Makefile.common
-}
-
-src_compile() {
- local myconf
- if [ "`use qtmt`" ]
- then
- myconf="--enable-mt"
- fi
- myconf="$myconf --enable-mitshm"
- try ./configure --host=${CHOST} \
- $myconf
- try make
-}
-
-src_install() {
- try make install DESTDIR=${D}
- dodoc ChangeLog COPYING AUTHORS NEWS README
-}
-
diff --git a/dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild b/dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild
index 7ced0bef91ef..9dcd5738a9f1 100644
--- a/dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild
+++ b/dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bart Verwilst <bart.verwilst@pandora.be>
-# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild,v 1.4 2001/10/03 09:54:07 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop/kdevelop-2.0.1-r1.ebuild,v 1.5 2001/10/03 17:10:16 danarmak Exp $
. /usr/portage/eclass/inherit.eclass || die
-inherit kde-base || die
+inherit kde-base kde-objprelink || die
DESCRIPTION="KDevelop ${PV}"
HOMEPAGE="www.kdevelop.org"
diff --git a/eclass/debug.eclass b/eclass/debug.eclass
index 6b6deee40aee..709c60da91c5 100644
--- a/eclass/debug.eclass
+++ b/eclass/debug.eclass
@@ -1,14 +1,14 @@
# 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/debug.eclass,v 1.3 2001/10/03 00:36:51 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.4 2001/10/03 17:10:16 danarmak Exp $
# This provides functions for verbose output for debugging
# Note: we check whether these settings are set by "if [ "$FOO" ]; then".
# Therefore set them to true/false only - not yes/no or whatever.
# redirect output, unset to disable
-# use e.g. /dev/tty6 for quiet output out of harm's way.
+# use e.g. /dev/tty.
# todo: add support for loging into a file.
DEBUG_OUTPUT=""
diff --git a/eclass/doc/eclass-howto.lyx b/eclass/doc/eclass-howto.lyx
index f62fe91d766b..5fb233dc8a64 100644
--- a/eclass/doc/eclass-howto.lyx
+++ b/eclass/doc/eclass-howto.lyx
@@ -30,7 +30,7 @@ eclass howto
Dan Armak
\layout Date
-Updated for eclasses v3
+Updated for eclasses v3.2
\layout Section
Introduction
@@ -44,18 +44,18 @@ eclasses are parts of ebuilds; that is, they have the same syntax ebuilds
\layout Standard
The most similar group of ebuilds is the kde apps.
- These have been selected to be the test case for this first incarnation
+ These have been selected to be the test case for the first incarnation
of eclasses.
- Currently test ebuilds are available for all of kde-2.2.1 (as kde*-2.2.1-r1),
- kdevelop-2.0.1 and koffice-1.1.
- Many others will follow.
+ Inheriting ebuilds are available for all of kde-2.2.1 (as kde*-2.2.1-r1), kdevelop-
+2.0.1 and koffice-1.1.
+ Others will follow.
\layout Standard
-Please read news.txt for an astract of changes between versions of the eclasses.
+Please read news.txt for an abstract of changes between versions of the eclasses.
\layout Standard
-Section two explains how eclasses work.Section three shows a sample inheriting
- ebuild.
+Section two explains how eclasses work; section three explains how to write
+ inheriting ebuilds.
\layout Subsection
Notes on this document
@@ -68,6 +68,14 @@ ebuild variables/functions
refers to those used in std.
ebuilds e.g.
$S, $P, src_unpack()...
+\layout Itemize
+
+Versioning: I suppose I could have made, instead of versions 1, 2, 3, 3.1,
+ 3.1 versions 0.1, ...
+ 0.3.1, or maybe 0.0.3-1.
+ Usually I would.
+ Not sure why I didn't.
+ Too late to change it now.
\layout Section
The eclasses
@@ -124,23 +132,14 @@ xbuilds
), any name-to-file resolution code will go in here.
\layout Standard
-This function is the entire contents of inherit.eclass.
- In the future, once eclasses are considered to be stable, this function
- will live in ebuild.sh, and every ebuild will be able to use it.
- For now, we don't want to make a new version of portage just for this,
- so we put this function in a separate eclass.
- Every inheriting ebuild begins with these two lines:
+Every inheriting ebuild begins with these two lines:
\layout Code
.
/usr/portage/eclass/inherit.eclass || die
\layout Code
-inherit kde-base || die
-\layout Standard
-
-Once the inherit() function goes into ebuild.sh, we can drop the first line;
- there will be no further change necessary.
+inherit <list of eclasses> || die
\layout Standard
Eclasses do not need this first line, since they are always sourced from
@@ -409,20 +408,14 @@ A final note: not all functions execute all their sections when called with
all
\emph default
or without parameters.
- Some sections may be non-standrd and must be called explicitly.
- Current examples inculde base_src_unpack
-\emph on
- patch
-\emph default
-and the upcoming kde_src_unpack
+ Some sections may be non-standard and must be called explicitly.
+ Current examples include base_src_unpack
\emph on
-objprelink-patch
-\emph default
- (whose name may change when I actually write it).
+ patch.
\layout Standard
A more final note: the eclasses also include some debug statements, which
- are not part of the function/section strufture.
+ are not part of the function/section structure.
More on this at the debug.eclass section.
\layout Subsection
@@ -483,7 +476,7 @@ Briefly, it handles all standard kde-2.1* and 2.2* apps that need configure/make
ake install cycles.
It handles all the std.
configure options e.g.
- objprelink.
+ qtmt.
It also adds kdelibs to DEPEND/RDEPEND.
\layout Standard
@@ -492,15 +485,15 @@ Note: some kde apps, like widget styles and i18n packages, do not need to
Therefore kde.eclass does not inherit c and does not depend on qt.
These packages can then inherit straight from here (or from kde-i18n.eclass,
which also inherits from here).
- All other packages, which need to ompile c code and link against qt, should
- inhreit from kde-base.eclass.
+ All other packages, which need to compile c code and link against qt, should
+ inherit from kde-base.eclass.
\layout Subsection
kde-base.eclass
\layout Standard
Meant for standard kde apps, of both 2.1 and 2.2 architectures.
- Inherits c,kde and adds objprelink and qt deps.
+ Inherits c,kde and adds qt deps.
Sets HOMEPAGE=apps.kde.com.
\layout Subsection
@@ -525,7 +518,7 @@ kde-dist.eclass
\layout Standard
Meant for the base kde distribution packages in kde-base/*.
- Inherits kde-base,kde.org.
+ Inherits kde-base, kde.org and kde-objprelink.
Adds the correct DESCRIPTION and HOMEPAGE and kdelibs-${PV} deps.
The simpler/smaller kde-base/ packages (e.g.
kdetoys) make no changes at all; most of those that do only add deps.
@@ -635,7 +628,7 @@ parameters are $2...
\begin_inset Quotes erd
\end_inset
- (all following aprameteres to the function).
+ (all following parameters to the function).
\layout Standard
debug-print-section() prints
@@ -666,18 +659,51 @@ Inside debug.eclass are several settings, which can later be moved to some
\layout Standard
The functions are used in all ebuild functions/sections of all eclasses,
- and in the helper funcions inherit() and EXPORT_FUNCTIONS().
+ and in the helper functions inherit() and EXPORT_FUNCTIONS().
+\layout Standard
+
+Note that all debugging output is off by default.
+ You can change this setting in debug.eclass (for now), but be careful not
+ to commit the new setting to cvs.
+ In addition, debug output is further disabled in inherit() in inherit.eclass
+ to avoid extra-inheriting.
+ You can enable it there by uncommenting the appropriate lines.
\layout Subsection
kde-objprelink.eclass
\layout Standard
-Will be written soon.
- Will provide the objprelink deps and the
-\emph on
-objprelink-patch
-\emph default
- src_unpack section.
+Provides objprelink deps (>=objprelink-0-r1).
+ Also provides a function kde-objprelink-patch() that applies the kde-admin-acin
+clude patch.
+ Call it and the end of your src_unpack if you need it.
+\layout Standard
+
+Known issue: the actual --enable-objprelink option is passed to configure
+ from kde.eclass, regardless of the inheritance of objprelink.
+ Therefore if:
+\layout Enumerate
+
+A package has builtin objprelink capability which can be activated from
+ configure with --enable-objprelink
+\layout Enumerate
+
+The package does not inherit from kde-objprelink (or kde-dist etc.)
+\layout Enumerate
+
+USE objprelink is set
+\layout Enumerate
+
+>=objprelink-0-r1 is, incidentally, not installed
+\layout Standard
+
+Then, the make process will try to use objprelink, but won't find it and
+ will (may?) fail and abort.
+\layout Standard
+
+However, because the package will depend on kdelibs, which inherits kde-objpreli
+nk through kde-dist, the chances of this happening are practically nil.
+ In any case, I'll try to think of a better solution.
\layout Section
The inheriting ebuilds
diff --git a/eclass/doc/eclass-howto.sgml b/eclass/doc/eclass-howto.sgml
index 8c7fe87629be..0c287cd11afa 100644
--- a/eclass/doc/eclass-howto.sgml
+++ b/eclass/doc/eclass-howto.sgml
@@ -10,7 +10,7 @@
Dan Armak
</author>
<date>
- Updated for eclasses v3
+ Updated for eclasses v3.2
</date>
<sect1>
<title>
@@ -20,13 +20,13 @@
eclasses are parts of ebuilds; that is, they have the same syntax ebuilds do, but do not define all the required variables and functions. ebuilds can inherit from eclasses, and eclasses can inherit from other eclasses. As in OOP, this is used to ensure maximum code reuse among similar ebuilds.
</para>
<para>
- The most similar group of ebuilds is the kde apps. These have been selected to be the test case for this first incarnation of eclasses. Currently test ebuilds are available for all of kde-2.2.1 (as kde*-2.2.1-r1), kdevelop-2.0.1 and koffice-1.1. Many others will follow.
+ The most similar group of ebuilds is the kde apps. These have been selected to be the test case for the first incarnation of eclasses. Inheriting ebuilds are available for all of kde-2.2.1 (as kde*-2.2.1-r1), kdevelop-2.0.1 and koffice-1.1. Others will follow.
</para>
<para>
- Please read news.txt for an astract of changes between versions of the eclasses.
+ Please read news.txt for an abstract of changes between versions of the eclasses.
</para>
<para>
- Section two explains how eclasses work.Section three shows a sample inheriting ebuild.
+ Section two explains how eclasses work; section three explains how to write inheriting ebuilds.
</para>
<sect2>
<title>
@@ -38,6 +38,11 @@
ebuild variables/functions</emphasis> refers to those used in std. ebuilds e.g. &dollar;S, &dollar;P, src_unpack()...
</para>
</listitem>
+ <listitem>
+ <para>
+ Versioning: I suppose I could have made, instead of versions 1, 2, 3, 3.1, 3.1 versions 0.1, ... 0.3.1, or maybe 0.0.3-1. Usually I would. Not sure why I didn't. Too late to change it now.
+ </para>
+ </listitem>
</itemizedlist>
</sect2>
</sect1>
@@ -71,16 +76,13 @@
This function simply sources files from a hard-coded location. If, in the future, we will decide to move eclasses to a different location or to introduce more &ldquo;formats&rdquo; (like drobbins' projected <emphasis>xbuilds</emphasis>), any name-to-file resolution code will go in here.
</para>
<para>
- This function is the entire contents of inherit.eclass. In the future, once eclasses are considered to be stable, this function will live in ebuild.sh, and every ebuild will be able to use it. For now, we don't want to make a new version of portage just for this, so we put this function in a separate eclass. Every inheriting ebuild begins with these two lines:
+ Every inheriting ebuild begins with these two lines:
</para>
<programlisting>
<![ CDATA [. /usr/portage/eclass/inherit.eclass || die
-]]><![ CDATA [inherit kde-base || die
+]]><![ CDATA [inherit <list of eclasses> || die
]]> </programlisting>
<para>
- Once the inherit() function goes into ebuild.sh, we can drop the first line; there will be no further change necessary.
- </para>
- <para>
Eclasses do not need this first line, since they are always sourced from an ebuild which has it.
</para>
</sect2>
@@ -202,10 +204,10 @@
The only way to know what functions contain what sections is to read the eclasses.
</para>
<para>
- A final note: not all functions execute all their sections when called with <emphasis>all</emphasis> or without parameters. Some sections may be non-standrd and must be called explicitly. Current examples inculde base_src_unpack<emphasis> patch </emphasis>and the upcoming kde_src_unpack <emphasis>objprelink-patch</emphasis> (whose name may change when I actually write it).
+ A final note: not all functions execute all their sections when called with <emphasis>all</emphasis> or without parameters. Some sections may be non-standard and must be called explicitly. Current examples include base_src_unpack<emphasis> patch.</emphasis>
</para>
<para>
- A more final note: the eclasses also include some debug statements, which are not part of the function/section strufture. More on this at the debug.eclass section.
+ A more final note: the eclasses also include some debug statements, which are not part of the function/section structure. More on this at the debug.eclass section.
</para>
</sect3>
</sect2>
@@ -244,10 +246,10 @@
Read it to find out what it defines. It is quite self-explanatory.
</para>
<para>
- Briefly, it handles all standard kde-2.1* and 2.2* apps that need configure/make/make install cycles. It handles all the std. configure options e.g. objprelink. It also adds kdelibs to DEPEND/RDEPEND.
+ Briefly, it handles all standard kde-2.1* and 2.2* apps that need configure/make/make install cycles. It handles all the std. configure options e.g. qtmt. It also adds kdelibs to DEPEND/RDEPEND.
</para>
<para>
- Note: some kde apps, like widget styles and i18n packages, do not need to compile anything. Therefore kde.eclass does not inherit c and does not depend on qt. These packages can then inherit straight from here (or from kde-i18n.eclass, which also inherits from here). All other packages, which need to ompile c code and link against qt, should inhreit from kde-base.eclass.
+ Note: some kde apps, like widget styles and i18n packages, do not need to compile anything. Therefore kde.eclass does not inherit c and does not depend on qt. These packages can then inherit straight from here (or from kde-i18n.eclass, which also inherits from here). All other packages, which need to compile c code and link against qt, should inherit from kde-base.eclass.
</para>
</sect2>
<sect2>
@@ -255,7 +257,7 @@
kde-base.eclass
</title>
<para>
- Meant for standard kde apps, of both 2.1 and 2.2 architectures. Inherits c,kde and adds objprelink and qt deps. Sets HOMEPAGE=apps.kde.com.
+ Meant for standard kde apps, of both 2.1 and 2.2 architectures. Inherits c,kde and adds qt deps. Sets HOMEPAGE=apps.kde.com.
</para>
</sect2>
<sect2>
@@ -277,7 +279,7 @@
kde-dist.eclass
</title>
<para>
- Meant for the base kde distribution packages in kde-base/*. Inherits kde-base,kde.org. Adds the correct DESCRIPTION and HOMEPAGE and kdelibs-&dollar;&lcub;PV&rcub; deps. The simpler/smaller kde-base/ packages (e.g. kdetoys) make no changes at all; most of those that do only add deps.
+ Meant for the base kde distribution packages in kde-base/*. Inherits kde-base, kde.org and kde-objprelink. Adds the correct DESCRIPTION and HOMEPAGE and kdelibs-&dollar;&lcub;PV&rcub; deps. The simpler/smaller kde-base/ packages (e.g. kdetoys) make no changes at all; most of those that do only add deps.
</para>
</sect2>
<sect2>
@@ -331,7 +333,7 @@
]]><![ CDATA [}
]]> </programlisting>
<para>
- debug-print-function() prints &ldquo;now in function &dollar;1&rdquo;, &ldquo;parameters are &dollar;2...&rdquo; (all following aprameteres to the function).
+ debug-print-function() prints &ldquo;now in function &dollar;1&rdquo;, &ldquo;parameters are &dollar;2...&rdquo; (all following parameters to the function).
</para>
<para>
debug-print-section() prints &ldquo;now in section &dollar;1&rdquo;.
@@ -343,7 +345,10 @@
Inside debug.eclass are several settings, which can later be moved to some external config file. They include turning debug on or off and redirecting its output.
</para>
<para>
- The functions are used in all ebuild functions/sections of all eclasses, and in the helper funcions inherit() and EXPORT_FUNCTIONS().
+ The functions are used in all ebuild functions/sections of all eclasses, and in the helper functions inherit() and EXPORT_FUNCTIONS().
+ </para>
+ <para>
+ Note that all debugging output is off by default. You can change this setting in debug.eclass (for now), but be careful not to commit the new setting to cvs. In addition, debug output is further disabled in inherit() in inherit.eclass to avoid extra-inheriting. You can enable it there by uncommenting the appropriate lines.
</para>
</sect2>
<sect2>
@@ -351,7 +356,38 @@
kde-objprelink.eclass
</title>
<para>
- Will be written soon. Will provide the objprelink deps and the <emphasis>objprelink-patch</emphasis> src_unpack section.
+ Provides objprelink deps (&gt;=objprelink-0-r1). Also provides a function kde-objprelink-patch() that applies the kde-admin-acinclude patch. Call it and the end of your src_unpack if you need it.
+ </para>
+ <para>
+ Known issue: the actual --enable-objprelink option is passed to configure from kde.eclass, regardless of the inheritance of objprelink. Therefore if:
+ </para>
+ <orderedlist>
+ <listitem>
+ <para>
+ A package has builtin objprelink capability which can be activated from configure with --enable-objprelink
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The package does not inherit from kde-objprelink (or kde-dist etc.)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ USE objprelink is set
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ &gt;=objprelink-0-r1 is, incidentally, not installed
+ </para>
+ </listitem>
+ </orderedlist>
+ <para>
+ Then, the make process will try to use objprelink, but won't find it and will (may?) fail and abort.
+ </para>
+ <para>
+ However, because the package will depend on kdelibs, which inherits kde-objprelink through kde-dist, the chances of this happening are practically nil. In any case, I'll try to think of a better solution.
</para>
</sect2>
</sect1>
diff --git a/eclass/doc/eclass-howto.txt b/eclass/doc/eclass-howto.txt
index eaa6fbba4a94..3f7384e9f0d2 100644
--- a/eclass/doc/eclass-howto.txt
+++ b/eclass/doc/eclass-howto.txt
@@ -4,7 +4,7 @@ eclass howto
Dan Armak
-Updated for eclasses v3
+Updated for eclasses v3.2
1 Introduction
@@ -15,22 +15,27 @@ can inherit from other eclasses. As in OOP, this is used
to ensure maximum code reuse among similar ebuilds.
The most similar group of ebuilds is the kde apps. These
-have been selected to be the test case for this first incarnation
-of eclasses. Currently test ebuilds are available for all
-of kde-2.2.1 (as kde*-2.2.1-r1), kdevelop-2.0.1 and koffice-1.1.
-Many others will follow.
+have been selected to be the test case for the first incarnation
+of eclasses. Inheriting ebuilds are available for all of
+kde-2.2.1 (as kde*-2.2.1-r1), kdevelop-2.0.1 and koffice-1.1.
+Others will follow.
-Please read news.txt for an astract of changes between versions
+Please read news.txt for an abstract of changes between versions
of the eclasses.
-Section two explains how eclasses work.Section three shows
-a sample inheriting ebuild.
+Section two explains how eclasses work; section three explains
+how to write inheriting ebuilds.
1.1 Notes on this document
* ebuild variables/functions refers to those used in std.
ebuilds e.g. $S, $P, src_unpack()...
+* Versioning: I suppose I could have made, instead of versions
+ 1, 2, 3, 3.1, 3.1 versions 0.1, ... 0.3.1, or maybe 0.0.3-1.
+ Usually I would. Not sure why I didn't. Too late to change
+ it now.
+
2 The eclasses
The best way of becoming familiar with the current eclass
@@ -62,19 +67,11 @@ different location or to introduce more "formats"
(like drobbins' projected xbuilds), any name-to-file resolution
code will go in here.
-This function is the entire contents of inherit.eclass. In
-the future, once eclasses are considered to be stable, this
-function will live in ebuild.sh, and every ebuild will be
-able to use it. For now, we don't want to make a new version
-of portage just for this, so we put this function in a separate
-eclass. Every inheriting ebuild begins with these two lines:
+Every inheriting ebuild begins with these two lines:
. /usr/portage/eclass/inherit.eclass || die
-inherit kde-base || die
-
-Once the inherit() function goes into ebuild.sh, we can drop
-the first line; there will be no further change necessary.
+inherit <list of eclasses> || die
Eclasses do not need this first line, since they are always
sourced from an ebuild which has it.
@@ -244,13 +241,11 @@ is to read the eclasses.
A final note: not all functions execute all their sections
when called with all or without parameters. Some sections
-may be non-standrd and must be called explicitly. Current
-examples inculde base_src_unpack patch and the upcoming
-kde_src_unpack objprelink-patch (whose name may change when
-I actually write it).
+may be non-standard and must be called explicitly. Current
+examples include base_src_unpack patch.
A more final note: the eclasses also include some debug statements,
-which are not part of the function/section strufture. More
+which are not part of the function/section structure. More
on this at the debug.eclass section.
2.3 base.eclass
@@ -290,21 +285,21 @@ Read it to find out what it defines. It is quite self-explanatory.
Briefly, it handles all standard kde-2.1* and 2.2* apps that
need configure/make/make install cycles. It handles all
-the std. configure options e.g. objprelink. It also adds
-kdelibs to DEPEND/RDEPEND.
+the std. configure options e.g. qtmt. It also adds kdelibs
+to DEPEND/RDEPEND.
Note: some kde apps, like widget styles and i18n packages,
do not need to compile anything. Therefore kde.eclass does
not inherit c and does not depend on qt. These packages
can then inherit straight from here (or from kde-i18n.eclass,
which also inherits from here). All other packages, which
-need to ompile c code and link against qt, should inhreit
+need to compile c code and link against qt, should inherit
from kde-base.eclass.
2.5 kde-base.eclass
Meant for standard kde apps, of both 2.1 and 2.2 architectures.
-Inherits c,kde and adds objprelink and qt deps. Sets HOMEPAGE=apps.kde.com.
+Inherits c,kde and adds qt deps. Sets HOMEPAGE=apps.kde.com.
2.6 kde-i18n.eclass
@@ -320,10 +315,10 @@ as PROVIDE virtual/kde-i18n, correct $S, HOMEPAGE and DESCRIPTION.
2.7 kde-dist.eclass
Meant for the base kde distribution packages in kde-base/*.
-Inherits kde-base,kde.org. Adds the correct DESCRIPTION
-and HOMEPAGE and kdelibs-${PV} deps. The simpler/smaller
-kde-base/ packages (e.g. kdetoys) make no changes at all;
-most of those that do only add deps.
+Inherits kde-base, kde.org and kde-objprelink. Adds the
+correct DESCRIPTION and HOMEPAGE and kdelibs-${PV} deps.
+The simpler/smaller kde-base/ packages (e.g. kdetoys) make
+no changes at all; most of those that do only add deps.
2.8 c.eclass
@@ -386,7 +381,7 @@ base_src_install() {
debug-print-function() prints "now
in function $1", "parameters
-are $2..." (all following aprameteres to the function).
+are $2..." (all following parameters to the function).
debug-print-section() prints "now
in section $1".
@@ -398,12 +393,44 @@ be moved to some external config file. They include turning
debug on or off and redirecting its output.
The functions are used in all ebuild functions/sections of
-all eclasses, and in the helper funcions inherit() and EXPORT_FUNCTIONS().
+all eclasses, and in the helper functions inherit() and
+EXPORT_FUNCTIONS().
+
+Note that all debugging output is off by default. You can
+change this setting in debug.eclass (for now), but be careful
+not to commit the new setting to cvs. In addition, debug
+output is further disabled in inherit() in inherit.eclass
+to avoid extra-inheriting. You can enable it there by uncommenting
+the appropriate lines.
2.11 kde-objprelink.eclass
-Will be written soon. Will provide the objprelink deps and
-the objprelink-patch src_unpack section.
+Provides objprelink deps (>=objprelink-0-r1). Also provides
+a function kde-objprelink-patch() that applies the kde-admin-acinclude
+patch. Call it and the end of your src_unpack if you need
+it.
+
+Known issue: the actual --enable-objprelink option is passed
+to configure from kde.eclass, regardless of the inheritance
+of objprelink. Therefore if:
+
+1. A package has builtin objprelink capability which can be
+ activated from configure with --enable-objprelink
+
+2. The package does not inherit from kde-objprelink (or kde-dist
+ etc.)
+
+3. USE objprelink is set
+
+4. >=objprelink-0-r1 is, incidentally, not installed
+
+Then, the make process will try to use objprelink, but won't
+find it and will (may?) fail and abort.
+
+However, because the package will depend on kdelibs, which
+inherits kde-objprelink through kde-dist, the chances of
+this happening are practically nil. In any case, I'll try
+to think of a better solution.
3 The inheriting ebuilds
diff --git a/eclass/doc/news.txt b/eclass/doc/news.txt
index 42d591be1ed3..bd06c53c9b4d 100644
--- a/eclass/doc/news.txt
+++ b/eclass/doc/news.txt
@@ -1,3 +1,12 @@
+3/10
+v3.2
+Addition of kde-objprelink, further minor changes and fixes.
+You now inherit from kde-objprelink. If you need the admin patch, run kde-objprelink-patch()
+at the end of src_unpack. kde-dist inherits from kde-objprelink, other eclasses do not.
+
+2/10
+Unmasking of eclasses. Other developers test, but do not use in their work. Evaluation period.
+
1/10
v3.1
Addition of debug.eclass.
@@ -41,4 +50,4 @@ Documented in original howto
29/9
v1
Original version
-Had an infinite recursion in base.eclass. Was deleted from cvs later that day. \ No newline at end of file
+Had an infinite recursion in base.eclass. Was deleted from cvs later that day.
diff --git a/eclass/doc/todo.txt b/eclass/doc/todo.txt
index 694ffeef544f..845d935e7269 100644
--- a/eclass/doc/todo.txt
+++ b/eclass/doc/todo.txt
@@ -1,14 +1,20 @@
-debug.eclass - debug levels
+inverse section requests (I like fancy names)
-kde-objprelink.eclass
+newdepend() in virtual.eclass, consider functions.eclass or similar
+
+debug.eclass - tee output to file
+
+kde-objprelink.eclass - cancelled, integrate into kde.eclass
decide where qt deps versioning should go
koffice-i18n packages
--r1 packages for all kde apps in portage
+-r1 packages for all kde apps in portage - update versions and build all
sort out docs/sgml, get link from site
-make scheme stable and unmask
+cleanup or remove kde.org.eclass
+
+new inheriting kdelibs ebuild
diff --git a/eclass/inherit.eclass b/eclass/inherit.eclass
index 2905cc51c6d9..ba981df71853 100644
--- a/eclass/inherit.eclass
+++ b/eclass/inherit.eclass
@@ -1,7 +1,7 @@
# 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/inherit.eclass,v 1.7 2001/10/03 00:36:51 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/inherit.eclass,v 1.8 2001/10/03 17:10:16 danarmak Exp $
# This eclass provides the inherit() function. In the future it will be placed in ebuild.sh, but for now drobbins
# doesn't want to make a new portage just for my testing, so every eclass/ebuild will source this file manually and
# then inherit(). This way when the tmie comes for this to move into stable ebuild.sh, we can just delete the source lines.
@@ -14,8 +14,8 @@ inherit() {
location="${ECLASSDIR}/${1}.eclass"
# someday we'll do this the right way.
# for now, disable by deafult because it creates a lot extra sourcing.
- #. ${ECLASSDIR}/debug.eclass
- #debug-print "inherit: $1 -> $location"
+ # . ${ECLASSDIR}/debug.eclass
+ # debug-print "inherit: $1 -> $location"
source "$location"
shift
done
diff --git a/eclass/kde-base.eclass b/eclass/kde-base.eclass
index 6d7009e6f957..1255727af5ae 100644
--- a/eclass/kde-base.eclass
+++ b/eclass/kde-base.eclass
@@ -1,7 +1,7 @@
# 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-base.eclass,v 1.9 2001/10/01 13:54:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-base.eclass,v 1.10 2001/10/03 17:10:16 danarmak Exp $
# This is the kde ebuild for std. kde-dependant apps which follow configure/make/make install
# procedures and have std. configure options.
inherit c kde || die
@@ -11,7 +11,6 @@ DESCRIPTION="Based on the $ECLASS eclass"
HOMEPAGE="http://apps.kde.com/"
DEPEND="${DEPEND}
- objprelink? ( dev-util/objprelink )
x11-libs/qt-x11"
RDEPEND="${RDEPEND}
x11-libs/qt-x11"
diff --git a/eclass/kde-dist.eclass b/eclass/kde-dist.eclass
index e4d4bccd159f..cd52a9403d2f 100644
--- a/eclass/kde-dist.eclass
+++ b/eclass/kde-dist.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-dist.eclass,v 1.1 2001/10/01 13:54:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-dist.eclass,v 1.2 2001/10/03 17:10:16 danarmak Exp $
# This is the kde ebuild for >=2.2.1 kde base packages. Don't use for kdelibs though :-)
# It can't be used for e.g. kdevelop, koffice because of their separate versionnig schemes.
-inherit kde-base kde.org || die
+inherit kde-base kde.org kde-objprelink || die
ECLASS=kde-dist
DESCRIPTION="KDE ${PV} - "
diff --git a/eclass/kde-objprelink.eclass b/eclass/kde-objprelink.eclass
new file mode 100644
index 000000000000..741c685691d4
--- /dev/null
+++ b/eclass/kde-objprelink.eclass
@@ -0,0 +1,14 @@
+# 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-objprelink.eclass,v 1.1 2001/10/03 17:10:16 danarmak Exp $
+# Provides deps and functions for objprelink. Supports objprelink-admin.ptch.
+ECLASS=kde-objprelink
+
+DEPEND="$DEPEND >=dev-util/objprelink-0-r1"
+
+kde-objprelink-patch() {
+ debug-print-function kde-objprelink-patch $*
+ use objprelink && cd ${S} && patch -p0 < /usr/share/objprelink/kde-admin-acinclude.patch
+}
+
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 98f2626df4c3..b4a922c1aa5e 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -4,7 +4,7 @@
# 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>Xx
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.9 2001/10/01 13:54:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.10 2001/10/03 17:10:16 danarmak Exp $
# The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
inherit autoconf base || die
ECLASS=kde
@@ -26,13 +26,13 @@ kde_src_compile() {
case $1 in
myconf)
debug-print-section myconf
+ myconf="--host=${CHOST} --with-x --enable-mitshm --with-xinerama --prefix=${KDEDIR}"
use qtmt && myconf="$myconf --enable-mt"
use objprelink && myconf="$myconf --enable-objprelink" || myconf="$myconf --disable-objprelink"
;;
configure)
debug-print-section configure
- ./configure --host=${CHOST} --with-x \
- ${myconf} --with-xinerama || die
+ ./configure ${myconf} || die
;;
make)
debug-print-section make
@@ -59,11 +59,11 @@ kde_src_install() {
case $1 in
make)
debug-print-section make
- make install DESTDIR=${D} || die
+ make install DESTDIR=${D} destdir=${D} || die
;;
dodoc)
debug-print-section dodoc
- dodoc AUTHORS ChangeLog README*
+ dodoc AUTHORS ChangeLog README* COPYING NEWS TODO
;;
all)
debug-print-section all
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 7464ef09aa92..e479e60cd836 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -1,7 +1,8 @@
# 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.org.eclass,v 1.2 2001/10/02 23:54:52 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.org.eclass,v 1.3 2001/10/03 17:10:16 danarmak Exp $
+# Contains the locations of ftp.kde.org packages and their mirrors
ECLASS=kde.org
SRC_PATH="kde/stable/${PV}/src/${P}.tar.bz2"
diff --git a/kde-base/kdelibs/files/digest-kdelibs-2.2.1-r1 b/kde-base/kdelibs/files/digest-kdelibs-2.2.1-r1
new file mode 100644
index 000000000000..2ff9715484f4
--- /dev/null
+++ b/kde-base/kdelibs/files/digest-kdelibs-2.2.1-r1
@@ -0,0 +1 @@
+MD5 3aa73b3fe7095b3bab3081bece73f56f kdelibs-2.2.1.tar.bz2
diff --git a/kde-base/kdelibs/kdelibs-2.2.1-r1.ebuild b/kde-base/kdelibs/kdelibs-2.2.1-r1.ebuild
new file mode 100644
index 000000000000..d75c9d2e5f3b
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-2.2.1-r1.ebuild
@@ -0,0 +1,59 @@
+# 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/kde-base/kdelibs/kdelibs-2.2.1-r1.ebuild,v 1.1 2001/10/03 17:10:16 danarmak Exp $
+. /usr/portage/eclass/inherit.eclass || die
+inherit kde-dist || die
+
+DESCRIPTION="${DESCRIPTION}Libraries"
+
+# kde.eclass has kdelibs in DEPEND, and we can't have that in here. so we recreate the entire
+# DEPEND from scratch.
+COMMONDEPEND=">=sys-devel/gcc-2.95.2
+ virtual/glibc
+ sys-deve/ld.so
+ sys-devel/perl
+ >=media-libs/audiofile-0.1.9
+ >=x11-libs/qt-x11-2.3.0
+ >=sys-apps/bzip2-1.0.1
+ >=dev-libs/libpcre-3.4
+ >=gnome-libs/libxml2-2.4.1
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ alsa? ( >=media-libs/alsa-lib-0.5.9 )
+ cups? ( net-print/cups )
+ >=media-libs/tiff-3.5.5"
+
+DEPEND="$COMMONDEPEND
+ sys-devel/make
+ sys-devel/autoconf
+ sys-devel/automake"
+
+RDEPEND="$COMMONDEPEND
+ ~kde-base/kde-env-${PV}
+ app-text/sgml-common
+ cups? ( net-print/cups )
+ dev-lang/python"
+
+src_compile() {
+
+ kde_src_compile myconf
+
+ myconf="$myconf --with-ipv6-lookup=no --disable-libafm"
+ use ssl && myconf="$myconf --with-ssl-dir=/usr" || myconf="$myconf --without-ssl"
+ use alsa && myconf="$myconf --with-alsa" || myconf="$myconf --without-alsa"
+ use cups && myconf="$myconf --enable-cups" || myconf="$myconf --disable-cups"
+
+ kde_src_compile configure make
+
+}
+
+src_install() {
+
+ kde_src_install
+
+ docinto html
+ dodoc *.html
+
+}
+
+
diff --git a/kde-base/kdeutils/files/digest-kdeutils-2.2.1-r1 b/kde-base/kdeutils/files/digest-kdeutils-2.2.1-r1
new file mode 100644
index 000000000000..48b5ca483968
--- /dev/null
+++ b/kde-base/kdeutils/files/digest-kdeutils-2.2.1-r1
@@ -0,0 +1 @@
+MD5 a511f6be6949d5b1c2f943f3f9ce27a5 kdeutils-2.2.1.tar.bz2