summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-07-26 12:40:44 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-07-26 12:40:44 +0000
commit0a6d0777fc667b1f465100fab3cfd357b91d5971 (patch)
treeb3fa10abe4abb28bb9568f4575499c47a22cb084 /kde-base
parentVersion bump (diff)
downloadhistorical-0a6d0777fc667b1f465100fab3cfd357b91d5971.tar.gz
historical-0a6d0777fc667b1f465100fab3cfd357b91d5971.tar.bz2
historical-0a6d0777fc667b1f465100fab3cfd357b91d5971.zip
Remove sudo patch, bug #178758.
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/ChangeLog9
-rw-r--r--kde-base/kdelibs/Manifest23
-rw-r--r--kde-base/kdelibs/files/digest-kdelibs-3.5.6-r109
-rw-r--r--kde-base/kdelibs/files/digest-kdelibs-3.5.7-r29
-rw-r--r--kde-base/kdelibs/kdelibs-3.5.6-r10.ebuild200
-rw-r--r--kde-base/kdelibs/kdelibs-3.5.7-r2.ebuild201
6 files changed, 446 insertions, 5 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index eb2afd6fee59..45f4fe6be8da 100644
--- a/kde-base/kdelibs/ChangeLog
+++ b/kde-base/kdelibs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/kdelibs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.471 2007/07/25 17:13:02 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.472 2007/07/26 12:40:44 carlo Exp $
+
+*kdelibs-3.5.7-r2 (26 Jul 2007)
+*kdelibs-3.5.6-r10 (26 Jul 2007)
+
+ 26 Jul 2007; Carsten Lohrke <carlo@gentoo.org> +kdelibs-3.5.6-r10.ebuild,
+ +kdelibs-3.5.7-r2.ebuild:
+ Remove sudo patch, bug #178758.
25 Jul 2007; Carsten Lohrke <carlo@gentoo.org> kdelibs-3.5.6-r9.ebuild:
Use updated patch set.
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index df82582dd332..d4c6b8befc51 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -49,6 +49,7 @@ SHA256 f306c01fa0da370ecfec9887e9b8c4828437e4bfbc30c84cf5ff2bc5939a1c18 files/kd
DIST kdelibs-3.5-patchset-05.tar.bz2 36423 RMD160 684bb235f3b5b3cb900632e11aa912670f641b96 SHA1 138232cf05ab131a51f3b3febfdd8a3cbc42d45f SHA256 f237ccd3a35c629740355fbcf69b0d706690acac832a4d35db5c0d3a30235e0a
DIST kdelibs-3.5-patchset-08.tar.bz2 19973 RMD160 ea2edb4973cca353baabc89559f11c3db76c9ab2 SHA1 4c17a0b5577e98e28444f5e038ed06e3b2382c12 SHA256 24461470100d91c1374f5257be5e73767389df9ce8fb9e26af8b6b2030c3963a
DIST kdelibs-3.5-patchset-09.tar.bz2 19635 RMD160 c4b60c466ba1625c61259b075fd2b7815b5c1b06 SHA1 7bb4d04c5256d2ca2dc5acc8ea12d4b35a1c347c SHA256 d48a856f2fefe79d3b2064b506ba24cf37b5071cdbbb4eea3cdd78c65a38a94b
+DIST kdelibs-3.5-patchset-10.tar.bz2 19407 RMD160 ae0617dbff497751b51859d55ae45a756e69b0c0 SHA1 0289be2b16631b3dec61d738d208a189e175a592 SHA256 6fca1c1718bb628c5980da797858eeef003e57ae0f1ba89ffbd1afe20d9df975
DIST kdelibs-3.5.5-seli-xinerama.patch.bz2 5470 RMD160 46ed378f1ff2f7e2fa113aa0bf51eae1758264f9 SHA1 1f1e7a02e0dfc35fd2d27d8983a16e53e42397c0 SHA256 8d002a55954aabdb91a534a1b1f1f37c706faebbae0398fb5a2ff29eeb66954c
DIST kdelibs-3.5.5.tar.bz2 15486690 RMD160 8e389869f9a53445754c76a0f7535ef2fffc6d03 SHA1 7961818e41e22cce7c58219c4eb63ed5fbb94307 SHA256 e487cdd56aa14eec3e100501a5e14658c6329fac30ea0ce812c860e3564c31e3
DIST kdelibs-3.5.6.tar.bz2 15509460 RMD160 ce8c088e13f0e59238719600da9c768eac58b57d SHA1 2cc15499bd2191bd9333cfd1892b5ecf1199fbfd SHA256 06766202c6ae21277b7879f363ed88fde8016586ec8c94deb59be260f2231b5c
@@ -62,6 +63,10 @@ EBUILD kdelibs-3.5.5-r4.ebuild 5789 RMD160 cb1dba510ecc6c984401b86ccf9fc94aa64d1
MD5 12710193caa5fb503a4e2bf11141c61c kdelibs-3.5.5-r4.ebuild 5789
RMD160 cb1dba510ecc6c984401b86ccf9fc94aa64d190b kdelibs-3.5.5-r4.ebuild 5789
SHA256 16a1da8ad3d1f9d358956c04d56792b216739db68c488ff3db59d437a550dc80 kdelibs-3.5.5-r4.ebuild 5789
+EBUILD kdelibs-3.5.6-r10.ebuild 5970 RMD160 104b94245e7bd8817c8b67f894b6feef96b2280d SHA1 a5ba0a632a540675630152965f13791edbf5d03c SHA256 c137170556923651f01fcbf04a2f1383dae7701695e7dcd20d7b201cc74d7f06
+MD5 4bcf9a66e512780fa92d6345a19b8c8c kdelibs-3.5.6-r10.ebuild 5970
+RMD160 104b94245e7bd8817c8b67f894b6feef96b2280d kdelibs-3.5.6-r10.ebuild 5970
+SHA256 c137170556923651f01fcbf04a2f1383dae7701695e7dcd20d7b201cc74d7f06 kdelibs-3.5.6-r10.ebuild 5970
EBUILD kdelibs-3.5.6-r7.ebuild 6250 RMD160 c5e971205a632c1cef640b7f70504a8fcf03ee7e SHA1 a98cc863fde0167e26fe91c6e584a64b089ffe41 SHA256 3affcc8c7191b4c2db1d6a9c544039624ca9b15ac6dd6b8f52be9eeae50f2ab5
MD5 cecfaf9bee34f575a75d99d2b8ebf0e6 kdelibs-3.5.6-r7.ebuild 6250
RMD160 c5e971205a632c1cef640b7f70504a8fcf03ee7e kdelibs-3.5.6-r7.ebuild 6250
@@ -78,14 +83,18 @@ EBUILD kdelibs-3.5.7-r1.ebuild 5980 RMD160 1673334736bb6614a898c258b7cf6fa26f52f
MD5 5589304fd343c047d499b661987cc089 kdelibs-3.5.7-r1.ebuild 5980
RMD160 1673334736bb6614a898c258b7cf6fa26f52f4cf kdelibs-3.5.7-r1.ebuild 5980
SHA256 7dca1e34f8c60a58aaf129488139477b9391465f4f5708e48a756b5a669ecf27 kdelibs-3.5.7-r1.ebuild 5980
+EBUILD kdelibs-3.5.7-r2.ebuild 5980 RMD160 2ec54bd8eda29fad1a8e6d1282d282e65f630ebf SHA1 3b58d170464efb7c1ae622b07a17a68a62e40ed3 SHA256 e13bdc9b430fcbb1d18d9fea57dd89443e8790639b084cb499568ff32ab3c4b1
+MD5 0793cc2e82ee2e70024f1fce3104d071 kdelibs-3.5.7-r2.ebuild 5980
+RMD160 2ec54bd8eda29fad1a8e6d1282d282e65f630ebf kdelibs-3.5.7-r2.ebuild 5980
+SHA256 e13bdc9b430fcbb1d18d9fea57dd89443e8790639b084cb499568ff32ab3c4b1 kdelibs-3.5.7-r2.ebuild 5980
EBUILD kdelibs-3.5.7.ebuild 6010 RMD160 7c16918e0bfacb4b293bdb5c729ec1c4c2e69ff6 SHA1 fe2cd018d634674f793aa38ebdc13d8dec6708a7 SHA256 8c13c4ed11eeee80b3d98470f9cd18e1f8591dcc0e6a5ec70ab0a707264debd9
MD5 36327ad34df10d38d9db0845cae8b5a3 kdelibs-3.5.7.ebuild 6010
RMD160 7c16918e0bfacb4b293bdb5c729ec1c4c2e69ff6 kdelibs-3.5.7.ebuild 6010
SHA256 8c13c4ed11eeee80b3d98470f9cd18e1f8591dcc0e6a5ec70ab0a707264debd9 kdelibs-3.5.7.ebuild 6010
-MISC ChangeLog 76562 RMD160 3aab2305df1a6a1ff4d59017e9c7ca6adf693bf1 SHA1 5ed6b3086ccad63ea329cbffb058d3d7e171fe2a SHA256 ba0e47d79f05670ec7b399abed80272bd58275e8698ba327292bce71dd831f31
-MD5 8ba4ff5063e3ab14ad679596fdb20d21 ChangeLog 76562
-RMD160 3aab2305df1a6a1ff4d59017e9c7ca6adf693bf1 ChangeLog 76562
-SHA256 ba0e47d79f05670ec7b399abed80272bd58275e8698ba327292bce71dd831f31 ChangeLog 76562
+MISC ChangeLog 76767 RMD160 a882c24196492af4733563292794cc9ce4428d6f SHA1 79647c45671e9c1f1709f34438485245504f1a65 SHA256 bc2baf94ad771ef09b9751ae4d55279e2029876485c1da4594a9770234711441
+MD5 0e0c7fb709cd5ee31254a05ebc28025e ChangeLog 76767
+RMD160 a882c24196492af4733563292794cc9ce4428d6f ChangeLog 76767
+SHA256 bc2baf94ad771ef09b9751ae4d55279e2029876485c1da4594a9770234711441 ChangeLog 76767
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
@@ -96,6 +105,9 @@ SHA256 9180e5499945c7011b584d592a892bc3ecc4a2cfcc703ede9619ab6238639387 files/di
MD5 4e084c981a53be48eb4df82f46649e60 files/digest-kdelibs-3.5.5-r4 521
RMD160 b35a8ed3374893328cf91746946b98d833051692 files/digest-kdelibs-3.5.5-r4 521
SHA256 8c59629509a40001ff71b42db7096bb8c7a4f78bb8e43b60baf2e205cd843c81 files/digest-kdelibs-3.5.5-r4 521
+MD5 88f14e63fa00f46231fe54b6f00b06e0 files/digest-kdelibs-3.5.6-r10 807
+RMD160 56a896f6119083542fc5cf4a151bd3bf09c77b52 files/digest-kdelibs-3.5.6-r10 807
+SHA256 a3ed9fdd2abfa853f3ced0ac799aef42f959be09b763dc4ce405683f619b1f31 files/digest-kdelibs-3.5.6-r10 807
MD5 f8b50b783cb1b957e55712ff76791423 files/digest-kdelibs-3.5.6-r7 807
RMD160 6be56c93cce88e47c6094bfbb259765585939a5c files/digest-kdelibs-3.5.6-r7 807
SHA256 c8d07b98bd3c441e1b22c0221e8436cb5bf3c97a7b448739f70f9915d933f982 files/digest-kdelibs-3.5.6-r7 807
@@ -111,3 +123,6 @@ SHA256 f177c1614b6bc2ef9225d6221ed5137738c80fe934658a0666e124bd54d45460 files/di
MD5 567dc6a13cb89a7708e5a36b394b0e81 files/digest-kdelibs-3.5.7-r1 807
RMD160 1540da4be0e19a71be31448d673d341dec0839af files/digest-kdelibs-3.5.7-r1 807
SHA256 d3a2c8324dcefa65441e567e04ee6433e738901062ade18d9f9c3ce1ce0aa294 files/digest-kdelibs-3.5.7-r1 807
+MD5 e8176359c956fdc46a08a89a47a65c1f files/digest-kdelibs-3.5.7-r2 807
+RMD160 3273e9ba2053fea20ecb33d32a551a87b1311b3a files/digest-kdelibs-3.5.7-r2 807
+SHA256 7420f254fcd924e81010df1070f7311e63fe02931a44332de1fbf7a51adb66a9 files/digest-kdelibs-3.5.7-r2 807
diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.5.6-r10 b/kde-base/kdelibs/files/digest-kdelibs-3.5.6-r10
new file mode 100644
index 000000000000..f3b29e8de794
--- /dev/null
+++ b/kde-base/kdelibs/files/digest-kdelibs-3.5.6-r10
@@ -0,0 +1,9 @@
+MD5 1ebab8b66b53b8469e92752f128802ce kdelibs-3.5-patchset-10.tar.bz2 19407
+RMD160 ae0617dbff497751b51859d55ae45a756e69b0c0 kdelibs-3.5-patchset-10.tar.bz2 19407
+SHA256 6fca1c1718bb628c5980da797858eeef003e57ae0f1ba89ffbd1afe20d9df975 kdelibs-3.5-patchset-10.tar.bz2 19407
+MD5 d8ce997461cb1aa2255032f02fd14326 kdelibs-3.5.5-seli-xinerama.patch.bz2 5470
+RMD160 46ed378f1ff2f7e2fa113aa0bf51eae1758264f9 kdelibs-3.5.5-seli-xinerama.patch.bz2 5470
+SHA256 8d002a55954aabdb91a534a1b1f1f37c706faebbae0398fb5a2ff29eeb66954c kdelibs-3.5.5-seli-xinerama.patch.bz2 5470
+MD5 e4d137879a66e92b895b3de5413a61d8 kdelibs-3.5.6.tar.bz2 15509460
+RMD160 ce8c088e13f0e59238719600da9c768eac58b57d kdelibs-3.5.6.tar.bz2 15509460
+SHA256 06766202c6ae21277b7879f363ed88fde8016586ec8c94deb59be260f2231b5c kdelibs-3.5.6.tar.bz2 15509460
diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.5.7-r2 b/kde-base/kdelibs/files/digest-kdelibs-3.5.7-r2
new file mode 100644
index 000000000000..78f590de0575
--- /dev/null
+++ b/kde-base/kdelibs/files/digest-kdelibs-3.5.7-r2
@@ -0,0 +1,9 @@
+MD5 1ebab8b66b53b8469e92752f128802ce kdelibs-3.5-patchset-10.tar.bz2 19407
+RMD160 ae0617dbff497751b51859d55ae45a756e69b0c0 kdelibs-3.5-patchset-10.tar.bz2 19407
+SHA256 6fca1c1718bb628c5980da797858eeef003e57ae0f1ba89ffbd1afe20d9df975 kdelibs-3.5-patchset-10.tar.bz2 19407
+MD5 34110d31ae3f56fb37c8a789bffdf65d kdelibs-3.5.7-seli-xinerama.patch.bz2 5226
+RMD160 9eab19cc60cb71d66c0e074242b691c5e8c0c391 kdelibs-3.5.7-seli-xinerama.patch.bz2 5226
+SHA256 6f710ca8d0b3c4789751a1e4630442d04830a8f5aef163d9fd6823bbd6e4e202 kdelibs-3.5.7-seli-xinerama.patch.bz2 5226
+MD5 50ed644f2ec91963570fe2b155652957 kdelibs-3.5.7.tar.bz2 15576038
+RMD160 006c57ef85956ed3903749cace254bdfdf2f347e kdelibs-3.5.7.tar.bz2 15576038
+SHA256 05bc5d0d18b787d964f7c45cc078b047d450d3ddc28b1bde839a26a2eda2c5d9 kdelibs-3.5.7.tar.bz2 15576038
diff --git a/kde-base/kdelibs/kdelibs-3.5.6-r10.ebuild b/kde-base/kdelibs/kdelibs-3.5.6-r10.ebuild
new file mode 100644
index 000000000000..93c3276e1982
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-3.5.6-r10.ebuild
@@ -0,0 +1,200 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.6-r10.ebuild,v 1.1 2007/07/26 12:40:44 carlo Exp $
+
+inherit kde flag-o-matic eutils multilib
+set-kdedir 3.5
+
+DESCRIPTION="KDE libraries needed by all KDE programs."
+HOMEPAGE="http://www.kde.org/"
+SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2
+ mirror://gentoo/kdelibs-3.5-patchset-10.tar.bz2
+ mirror://gentoo/${PN}-3.5.5-seli-xinerama.patch.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="3.5"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="acl alsa arts branding cups doc jpeg2k kerberos legacyssl utempter openexr spell tiff
+avahi kernel_linux fam lua kdehiddenvisibility"
+
+# Added aspell-en as dependency to work around bug 131512.
+# Made openssl and zeroconf mandatory dependencies, see bug #172972 and #175984
+RDEPEND="$(qt_min_version 3.3.3)
+ arts? ( >=kde-base/arts-3.5.5 )
+ app-arch/bzip2
+ >=media-libs/freetype-2
+ media-libs/fontconfig
+ >=dev-libs/libxslt-1.1.16
+ >=dev-libs/libxml2-2.6.6
+ >=dev-libs/libpcre-4.2
+ media-libs/libart_lgpl
+ net-dns/libidn
+ >=dev-libs/openssl-0.9.7d
+ acl? ( kernel_linux? ( sys-apps/acl ) )
+ alsa? ( media-libs/alsa-lib )
+ cups? ( >=net-print/cups-1.1.19 )
+ tiff? ( media-libs/tiff )
+ kerberos? ( virtual/krb5 )
+ jpeg2k? ( media-libs/jasper )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ !avahi? ( net-misc/mDNSResponder !kde-misc/kdnssd-avahi )
+ fam? ( virtual/fam )
+ virtual/ghostscript
+ utempter? ( sys-libs/libutempter )
+ !kde-base/kde-env
+ lua? ( dev-lang/lua )
+ spell? ( >=app-text/aspell-0.60.5 >=app-dicts/aspell-en-6.0.0 )
+ >=sys-apps/portage-2.1.2.6"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ sys-devel/gettext"
+
+RDEPEND="${RDEPEND}
+ x11-apps/rgb
+ x11-apps/iceauth"
+
+PDEPEND="avahi? ( kde-misc/kdnssd-avahi )"
+
+# Testing code is rather broken and merely for developer purposes, so disable it.
+RESTRICT="test"
+
+pkg_setup() {
+ if use legacyssl ; then
+ echo ""
+ elog "You have the legacyssl use flag enabled, which fixes issues with some broken"
+ elog "sites, but breaks others instead. It is strongly discouraged to use it."
+ elog "For more information, see bug #128922."
+ echo ""
+ fi
+
+ if ! use utempter ; then
+ echo ""
+ elog "On some setups, which rely on the correct update of utmp records, not using"
+ elog "utempter might not update them correctly. If you experience unexpected"
+ elog "behaviour, try to rebuild kde-base/kdelibs with utempter use-flag enabled."
+ echo ""
+ fi
+
+ if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror "The alsa USE flag in this package enables ALSA support"
+ eerror "for libkmid, KDE midi library."
+ eerror "For this reason, you have to merge media-libs/alsa-lib"
+ eerror "with the midi USE flag enabled, or disable alsa USE flag"
+ eerror "for this package."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
+src_unpack() {
+ kde_src_unpack
+
+ if use legacyssl ; then
+ # This patch won't be included upstream, see bug #128922.
+ epatch "${WORKDIR}/patches/kdelibs_3.5.4-kssl-3des.patch"
+ fi
+
+ if use utempter ; then
+ # Bug #135818 is the eternal reference.
+ epatch "${WORKDIR}/patches/kdelibs-3.5_libutempter.patch"
+ fi
+
+ if use branding ; then
+ # Add "(Gentoo)" to khtml user agent.
+ epatch "${WORKDIR}/patches/kdelibs_3.5-cattlebrand.diff"
+ fi
+
+ # Xinerama patch from Lubos Lunak.
+ # http://ktown.kde.org/~seli/xinerama/
+ epatch "${DISTDIR}/${PN}-3.5.5-seli-xinerama.patch.bz2"
+}
+
+src_compile() {
+ rm -f "${S}/configure"
+
+ myconf="--with-distribution=Gentoo --disable-fast-malloc
+ --with-libart --with-libidn --with-ssl
+ --without-hspell
+ $(use_enable fam libfam) $(use_enable kernel_linux dnotify)
+ $(use_with acl) $(use_with alsa)
+ $(use_with arts) $(use_enable cups)
+ $(use_with kerberos gssapi) $(use_with tiff)
+ $(use_with jpeg2k jasper) $(use_with openexr)
+ $(use_with utempter) $(use_with lua)
+ $(use_enable kernel_linux sendfile) --enable-mitshm
+ $(use_with spell aspell)"
+
+ if ! use avahi; then
+ myconf="${myconf} --enable-dnssd"
+ else
+ myconf="${myconf} --disable-dnssd"
+ fi
+
+ if has_version x11-apps/rgb; then
+ myconf="${myconf} --with-rgbfile=/usr/share/X11/rgb.txt"
+ fi
+
+ # fix bug 58179, bug 85593
+ # kdelibs-3.4.0 needed -fno-gcse; 3.4.1 needs -mminimal-toc; this needs a
+ # closer look... - corsair
+ use ppc64 && append-flags "-mminimal-toc"
+
+ # work around bug #120858, gcc 3.4.x -Os miscompilation
+ use x86 && replace-flags "-Os" "-O2" # see bug #120858
+
+ replace-flags "-O3" "-O2" # see bug #148180
+
+ export BINDNOW_FLAGS="$(bindnow-flags)"
+
+ kde_src_compile
+
+ if use doc; then
+ make apidox || die
+ fi
+}
+
+src_install() {
+ kde_src_install
+
+ if use doc; then
+ make DESTDIR="${D}" install-apidox || die
+ fi
+
+ # Needed to create lib -> lib64 symlink for amd64 2005.0 profile
+ if [ "${SYMLINK_LIB}" = "yes" ]; then
+ dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) ${KDEDIR}/lib
+ fi
+
+ # Get rid of the disabled version of the kdnsd libraries
+ if use avahi; then
+ rm -rf "${D}/${PREFIX}"/$(get_libdir)/libkdnssd.*
+ fi
+
+ dodir /etc/env.d
+
+ # List all the multilib libdirs
+ local libdirs
+ for libdir in $(get_all_libdirs); do
+ libdirs="${libdirs}:${PREFIX}/${libdir}"
+ done
+
+ # Please note that the KDE install path has to be the last value in KDEDIRS.
+ cat <<EOF > "${D}"/etc/env.d/45kdepaths-${SLOT} # number goes down with version upgrade
+PATH=${PREFIX}/bin
+ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
+LDPATH=${libdirs:1}
+MANPATH=${PREFIX}/share/man
+CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown /usr/share/config"
+KDEDIRS="/usr:/usr/local:${PREFIX}"
+#KDE_IS_PRELINKED=1
+XDG_DATA_DIRS="/usr/share:${PREFIX}/share:/usr/local/share"
+COLON_SEPARATED="XDG_DATA_DIRS"
+EOF
+
+ # Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
+ dodir /etc/revdep-rebuild
+
+cat <<EOF > "${D}"/etc/revdep-rebuild/50-kde3
+SEARCH_DIRS="${PREFIX}/bin ${PREFIX}/lib*"
+EOF
+}
diff --git a/kde-base/kdelibs/kdelibs-3.5.7-r2.ebuild b/kde-base/kdelibs/kdelibs-3.5.7-r2.ebuild
new file mode 100644
index 000000000000..214235b8c87b
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-3.5.7-r2.ebuild
@@ -0,0 +1,201 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.7-r2.ebuild,v 1.1 2007/07/26 12:40:44 carlo Exp $
+
+inherit kde flag-o-matic eutils multilib
+set-kdedir 3.5
+
+DESCRIPTION="KDE libraries needed by all KDE programs."
+HOMEPAGE="http://www.kde.org/"
+SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2
+ mirror://gentoo/kdelibs-3.5-patchset-10.tar.bz2
+ mirror://gentoo/${PN}-3.5.7-seli-xinerama.patch.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="3.5"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="acl alsa arts branding cups doc jpeg2k kerberos legacyssl utempter openexr spell tiff
+avahi kernel_linux fam lua kdehiddenvisibility"
+
+# Added aspell-en as dependency to work around bug 131512.
+# Made openssl and zeroconf mandatory dependencies, see bug #172972 and #175984
+RDEPEND="$(qt_min_version 3.3.3)
+ arts? ( >=kde-base/arts-3.5.5 )
+ app-arch/bzip2
+ >=media-libs/freetype-2
+ media-libs/fontconfig
+ >=dev-libs/libxslt-1.1.16
+ >=dev-libs/libxml2-2.6.6
+ >=dev-libs/libpcre-6.6
+ media-libs/libart_lgpl
+ net-dns/libidn
+ >=dev-libs/openssl-0.9.7d
+ acl? ( kernel_linux? ( sys-apps/acl ) )
+ alsa? ( media-libs/alsa-lib )
+ cups? ( >=net-print/cups-1.1.19 )
+ tiff? ( media-libs/tiff )
+ kerberos? ( virtual/krb5 )
+ jpeg2k? ( media-libs/jasper )
+ openexr? ( >=media-libs/openexr-1.2.2-r2 )
+ !avahi? ( net-misc/mDNSResponder !kde-misc/kdnssd-avahi )
+ fam? ( virtual/fam )
+ virtual/ghostscript
+ utempter? ( sys-libs/libutempter )
+ !kde-base/kde-env
+ lua? ( dev-lang/lua )
+ spell? ( >=app-text/aspell-0.60.5 >=app-dicts/aspell-en-6.0.0 )
+ >=sys-apps/portage-2.1.2.6
+ !kde-base/ksync"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ sys-devel/gettext"
+
+RDEPEND="${RDEPEND}
+ x11-apps/rgb
+ x11-apps/iceauth"
+
+PDEPEND="avahi? ( kde-misc/kdnssd-avahi )"
+
+# Testing code is rather broken and merely for developer purposes, so disable it.
+RESTRICT="test"
+
+pkg_setup() {
+ if use legacyssl ; then
+ echo ""
+ elog "You have the legacyssl use flag enabled, which fixes issues with some broken"
+ elog "sites, but breaks others instead. It is strongly discouraged to use it."
+ elog "For more information, see bug #128922."
+ echo ""
+ fi
+
+ if ! use utempter ; then
+ echo ""
+ elog "On some setups, which rely on the correct update of utmp records, not using"
+ elog "utempter might not update them correctly. If you experience unexpected"
+ elog "behaviour, try to rebuild kde-base/kdelibs with utempter use-flag enabled."
+ echo ""
+ fi
+
+ if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror "The alsa USE flag in this package enables ALSA support"
+ eerror "for libkmid, KDE midi library."
+ eerror "For this reason, you have to merge media-libs/alsa-lib"
+ eerror "with the midi USE flag enabled, or disable alsa USE flag"
+ eerror "for this package."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
+src_unpack() {
+ kde_src_unpack
+
+ if use legacyssl ; then
+ # This patch won't be included upstream, see bug #128922.
+ epatch "${WORKDIR}/patches/kdelibs_3.5.4-kssl-3des.patch"
+ fi
+
+ if use utempter ; then
+ # Bug #135818 is the eternal reference.
+ epatch "${WORKDIR}/patches/kdelibs-3.5_libutempter.patch"
+ fi
+
+ if use branding ; then
+ # Add "(Gentoo)" to khtml user agent.
+ epatch "${WORKDIR}/patches/kdelibs_3.5-cattlebrand.diff"
+ fi
+
+ # Xinerama patch from Lubos Lunak.
+ # http://ktown.kde.org/~seli/xinerama/
+ epatch "${DISTDIR}/${PN}-3.5.7-seli-xinerama.patch.bz2"
+}
+
+src_compile() {
+ rm -f "${S}/configure"
+
+ myconf="--with-distribution=Gentoo --disable-fast-malloc
+ --with-libart --with-libidn --with-ssl
+ --without-hspell
+ $(use_enable fam libfam) $(use_enable kernel_linux dnotify)
+ $(use_with acl) $(use_with alsa)
+ $(use_with arts) $(use_enable cups)
+ $(use_with kerberos gssapi) $(use_with tiff)
+ $(use_with jpeg2k jasper) $(use_with openexr)
+ $(use_with utempter) $(use_with lua)
+ $(use_enable kernel_linux sendfile) --enable-mitshm
+ $(use_with spell aspell)"
+
+ if ! use avahi; then
+ myconf="${myconf} --enable-dnssd"
+ else
+ myconf="${myconf} --disable-dnssd"
+ fi
+
+ if has_version x11-apps/rgb; then
+ myconf="${myconf} --with-rgbfile=/usr/share/X11/rgb.txt"
+ fi
+
+ # fix bug 58179, bug 85593
+ # kdelibs-3.4.0 needed -fno-gcse; 3.4.1 needs -mminimal-toc; this needs a
+ # closer look... - corsair
+ use ppc64 && append-flags "-mminimal-toc"
+
+ # work around bug #120858, gcc 3.4.x -Os miscompilation
+ use x86 && replace-flags "-Os" "-O2" # see bug #120858
+
+ replace-flags "-O3" "-O2" # see bug #148180
+
+ export BINDNOW_FLAGS="$(bindnow-flags)"
+
+ kde_src_compile
+
+ if use doc; then
+ make apidox || die
+ fi
+}
+
+src_install() {
+ kde_src_install
+
+ if use doc; then
+ make DESTDIR="${D}" install-apidox || die
+ fi
+
+ # Needed to create lib -> lib64 symlink for amd64 2005.0 profile
+ if [ "${SYMLINK_LIB}" = "yes" ]; then
+ dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) ${KDEDIR}/lib
+ fi
+
+ # Get rid of the disabled version of the kdnsd libraries
+ if use avahi; then
+ rm -rf "${D}/${PREFIX}"/$(get_libdir)/libkdnssd.*
+ fi
+
+ dodir /etc/env.d
+
+ # List all the multilib libdirs
+ local libdirs
+ for libdir in $(get_all_libdirs); do
+ libdirs="${libdirs}:${PREFIX}/${libdir}"
+ done
+
+ # Please note that the KDE install path has to be the last value in KDEDIRS.
+ cat <<EOF > "${D}"/etc/env.d/45kdepaths-${SLOT} # number goes down with version upgrade
+PATH=${PREFIX}/bin
+ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
+LDPATH=${libdirs:1}
+MANPATH=${PREFIX}/share/man
+CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown /usr/share/config"
+KDEDIRS="/usr:/usr/local:${PREFIX}"
+#KDE_IS_PRELINKED=1
+XDG_DATA_DIRS="/usr/share:${PREFIX}/share:/usr/local/share"
+COLON_SEPARATED="XDG_DATA_DIRS"
+EOF
+
+ # Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
+ dodir /etc/revdep-rebuild
+
+cat <<EOF > "${D}"/etc/revdep-rebuild/50-kde3
+SEARCH_DIRS="${PREFIX}/bin ${PREFIX}/lib*"
+EOF
+}