diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-09-21 17:19:54 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-09-21 17:19:54 +0000 |
commit | 1d4e62fad14423b72b6f5d61bd11b69c84e25478 (patch) | |
tree | c00bca105f1de4113cab3abec3fda210874f31ba /kde-base/kdelibs | |
parent | Initial import. The code was splitted from kdemultimedia and is now developed... (diff) | |
download | gentoo-2-1d4e62fad14423b72b6f5d61bd11b69c84e25478.tar.gz gentoo-2-1d4e62fad14423b72b6f5d61bd11b69c84e25478.tar.bz2 gentoo-2-1d4e62fad14423b72b6f5d61bd11b69c84e25478.zip |
New KDE prerelease.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'kde-base/kdelibs')
-rw-r--r-- | kde-base/kdelibs/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kdelibs/files/digest-kdelibs-3.5_beta1 | 1 | ||||
-rw-r--r-- | kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch | 37 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.5_beta1.ebuild | 135 |
4 files changed, 180 insertions, 1 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog index 70f19738e44e..e5b1929d17c7 100644 --- a/kde-base/kdelibs/ChangeLog +++ b/kde-base/kdelibs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kdelibs # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.272 2005/09/17 16:49:42 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.273 2005/09/21 17:18:55 greg_g Exp $ + +*kdelibs-3.5_beta1 (21 Sep 2005) + + 21 Sep 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/kdelibs-3.5_beta1-configure-acl.patch, +kdelibs-3.5_beta1.ebuild: + New version. Add support for ACLs. *kdelibs-3.4.2-r1 (17 Sep 2005) diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1 b/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1 new file mode 100644 index 000000000000..15fc1f6a2f69 --- /dev/null +++ b/kde-base/kdelibs/files/digest-kdelibs-3.5_beta1 @@ -0,0 +1 @@ +MD5 9981060a65037471f561ca11b2501792 kdelibs-3.4.91.tar.bz2 15267497 diff --git a/kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch b/kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch new file mode 100644 index 000000000000..f3182dd5b7b6 --- /dev/null +++ b/kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch @@ -0,0 +1,37 @@ +diff -Nur kdelibs-3.4.91.orig/configure.in.in kdelibs-3.4.91/configure.in.in +--- kdelibs-3.4.91.orig/configure.in.in 2005-09-10 10:27:50.000000000 +0200 ++++ kdelibs-3.4.91/configure.in.in 2005-09-19 16:26:01.000000000 +0200 +@@ -48,16 +48,27 @@ + AC_HEADER_STDC + AC_CHECK_HEADERS(sys/param.h sys/mman.h sys/time.h sysent.h strings.h sys/stat.h sys/select.h paths.h malloc.h limits.h sys/soundcard.h dlfcn.h termios.h) + +-USE_POSIX_ACL="yes" ++AC_ARG_WITH(acl, ++ [AC_HELP_STRING(--with-acl, ++ [enable support for POSIX ACLs @<:@default=check@:>@])], ++ [], with_acl=check) ++ + ACL_LIBS="" +-KDE_CHECK_HEADER(sys/xattr.h, ,[USE_POSIX_ACL="no"]) +-KDE_CHECK_HEADER(sys/acl.h, ,[USE_POSIX_ACL="no"]) +-KDE_CHECK_HEADER(acl/libacl.h, ,[USE_POSIX_ACL="no"]) +-KDE_CHECK_LIB(acl,acl_init, ,[USE_POSIX_ACL="no"]) ++if test "x$with_acl" != xno; then ++ USE_POSIX_ACL="yes" ++ KDE_CHECK_HEADER(sys/xattr.h, ,[USE_POSIX_ACL="no"]) ++ KDE_CHECK_HEADER(sys/acl.h, ,[USE_POSIX_ACL="no"]) ++ KDE_CHECK_HEADER(acl/libacl.h, ,[USE_POSIX_ACL="no"]) ++ KDE_CHECK_LIB(acl,acl_init, ,[USE_POSIX_ACL="no"]) + +-if test $USE_POSIX_ACL = "yes" ; then ++ if test $USE_POSIX_ACL = "yes" ; then + ACL_LIBS="-lacl -lattr" + AC_DEFINE([USE_POSIX_ACL], 1, [Define if system has POSIX ACL support.]) ++ fi ++ ++ if test "x$with_acl" != xcheck && test "$USE_POSIX_ACL" != "yes"; then ++ AC_MSG_ERROR([--with-acl was given, but test for POSIX ACLs failed]) ++ fi + fi + AC_SUBST(ACL_LIBS) + diff --git a/kde-base/kdelibs/kdelibs-3.5_beta1.ebuild b/kde-base/kdelibs/kdelibs-3.5_beta1.ebuild new file mode 100644 index 000000000000..68e2d08507d8 --- /dev/null +++ b/kde-base/kdelibs/kdelibs-3.5_beta1.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5_beta1.ebuild,v 1.1 2005/09/21 17:18:55 greg_g Exp $ + +inherit kde flag-o-matic eutils multilib +set-kdedir 3.5 + +MY_PV=3.4.91 +S=${WORKDIR}/${PN}-${MY_PV} + +DESCRIPTION="KDE libraries needed by all kde programs" +HOMEPAGE="http://www.kde.org/" +#SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2" +SRC_URI="mirror://kde/unstable/${PV/_/-}/src/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="3.5" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="acl alsa arts cups doc jpeg2k kerberos openexr spell ssl tiff zeroconf" + +# kde.eclass has kdelibs in DEPEND, and we can't have that in here. +# so we recreate the entire DEPEND from scratch. +RDEPEND="$(qt_min_version 3.3.3) + arts? ( ~kde-base/arts-${PV} ) + app-arch/bzip2 + >=media-libs/freetype-2 + media-libs/fontconfig + >=dev-libs/libxslt-1.1.4 + >=dev-libs/libxml2-2.6.6 + >=dev-libs/libpcre-4.2 + media-libs/libart_lgpl + net-dns/libidn + virtual/utempter + acl? ( sys-apps/acl ) + ssl? ( >=dev-libs/openssl-0.9.7d ) + 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 ) + spell? ( || ( app-text/aspell + app-text/ispell ) ) + zeroconf? ( net-misc/mDNSResponder ) + virtual/fam + virtual/ghostscript" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + sys-devel/gettext + dev-util/pkgconfig" + +src_unpack() { + kde_src_unpack + + # Configure check for ACLs. + epatch "${FILESDIR}/${P}-configure-acl.patch" + + # For the configure check. + make -f admin/Makefile.common || die +} + +src_compile() { + myconf="--with-distribution=Gentoo + --enable-libfam $(use_enable kernel_linux dnotify) + --with-libart --with-libidn --with-utempter + $(use_with acl) $(use_with ssl) + $(use_with alsa) $(use_with arts) + $(use_with kerberos gssapi) $(use_with tiff) + $(use_with jpeg2k jasper) $(use_with openexr) + $(use_enable cups) $(use_enable zeroconf dnssd)" + + if use spell && has_version app-text/aspell; then + myconf="${myconf} --with-aspell" + else + myconf="${myconf} --without-aspell" + fi + + myconf="${myconf} --disable-fast-malloc" + + # 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" + + 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 + + if ! use arts ; then + dodir /etc/env.d + + # List all the multilib libdirs + local libdirs + for libdir in $(get_all_libdirs); do + libdirs="${libdirs}:${PREFIX}/${libdir}" + done + + 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} +CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown" +EOF + fi + +} + +pkg_postinst() { + if use zeroconf; then + echo + einfo "To make zeroconf support available in KDE" + einfo "make sure that the 'mdnsd' daemon is running." + einfo "Make sure also that multicast dns lookups are" + einfo "enabled by editing the 'hosts:' line in" + einfo "/etc/nsswitch.conf to include 'mdns', e.g.:" + einfo "hosts: files mdns dns" + echo + fi +} |