diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-06-10 12:09:57 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-06-10 12:09:57 +0000 |
commit | 46c1d78b65396c881a43e8a13ae978640393c4c5 (patch) | |
tree | 6ad03b853b8b5c06f43fe02173ff1fe3046ac18b /kde-base | |
parent | Fix use invocation (diff) | |
download | historical-46c1d78b65396c881a43e8a13ae978640393c4c5.tar.gz historical-46c1d78b65396c881a43e8a13ae978640393c4c5.tar.bz2 historical-46c1d78b65396c881a43e8a13ae978640393c4c5.zip |
Version bump
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/arts/ChangeLog | 5 | ||||
-rw-r--r-- | kde-base/arts/Manifest | 6 | ||||
-rw-r--r-- | kde-base/arts/arts-1.2.3.ebuild | 89 | ||||
-rw-r--r-- | kde-base/arts/files/digest-arts-1.2.3 | 1 | ||||
-rw-r--r-- | kde-base/kdebase/ChangeLog | 9 | ||||
-rw-r--r-- | kde-base/kdebase/Manifest | 12 | ||||
-rw-r--r-- | kde-base/kdebase/files/3.2.3/Xsetup | 36 | ||||
-rw-r--r-- | kde-base/kdebase/files/3.2.3/backgroundrc | 18 | ||||
-rw-r--r-- | kde-base/kdebase/files/3.2.3/kdmrc | 417 | ||||
-rw-r--r-- | kde-base/kdebase/files/3.2.3/startkde-3.2.3-gentoo.diff | 67 | ||||
-rw-r--r-- | kde-base/kdebase/files/digest-kdebase-3.2.3 | 1 | ||||
-rw-r--r-- | kde-base/kdebase/kdebase-3.2.3.ebuild | 116 | ||||
-rw-r--r-- | kde-base/kdelibs/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdelibs/Manifest | 12 | ||||
-rw-r--r-- | kde-base/kdelibs/files/digest-kdelibs-3.2.3 | 1 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-3.2.3.ebuild | 89 |
16 files changed, 873 insertions, 13 deletions
diff --git a/kde-base/arts/ChangeLog b/kde-base/arts/ChangeLog index 07472b05c761..2163377cfccc 100644 --- a/kde-base/arts/ChangeLog +++ b/kde-base/arts/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for kde-base/arts # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.98 2004/06/03 23:39:49 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.99 2004/06/10 12:07:07 caleb Exp $ + + 09 Jun 2004; Caleb Tennis <caleb@gentoo.org> arts-1.2.3.ebuild: + Version bump 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> arts-1.1.5.ebuild, arts-1.2.0.ebuild, arts-1.2.1.ebuild: diff --git a/kde-base/arts/Manifest b/kde-base/arts/Manifest index 15c09a84893b..5095c3064626 100644 --- a/kde-base/arts/Manifest +++ b/kde-base/arts/Manifest @@ -1,10 +1,11 @@ -MD5 34cb1b1b96687cbcdc145bea8d959633 arts-1.3.0_alpha1.ebuild 2844 +MD5 8f1697b0a9a26244140d7912a9f9a1a4 arts-1.3.0_alpha1.ebuild 2845 MD5 50fa957849948de56e4dae5838df2543 arts-1.2.1.ebuild 3068 MD5 fe303a24daa4db3cdf7b52fa6597c7fc arts-1.1.5.ebuild 2756 +MD5 5c01ee7091c416ca892bddb28f232c4a arts-1.2.3.ebuild 3073 MD5 88aa8d8c9e41848bdd52766b2dd4594f arts-1.2.0.ebuild 2827 MD5 009b98f4569de582a5e01f06a2aa2728 ChangeLog 13046 MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161 -MD5 af682d3b5663fb968f6555c4d6a98953 arts-1.2.2.ebuild 3067 +MD5 8b04d96793212189653186f756be3bde arts-1.2.2.ebuild 3068 MD5 9ffc978b18c6e1ad49a0c7eec49074f6 files/optional-deps.diff 3154 MD5 e78db892e7b447f86fab2ea9503a3a3d files/arts-1.2.2-buffer.patch 745 MD5 d77d4a331d35cb5dd84b5d84a5ff0cd5 files/digest-arts-1.3.0_alpha1 64 @@ -14,3 +15,4 @@ MD5 2d584d662a2b0b0e7a278bde6cd42e8f files/digest-arts-1.1.5 63 MD5 31e77598f97a91673f69ed4c44bd1f57 files/digest-arts-1.2.0 63 MD5 4adfa9a4a83af1e64f93a0b430bf7532 files/digest-arts-1.2.1 64 MD5 1fc0f59ed1b61c1221f4156dac3569b7 files/digest-arts-1.2.2 63 +MD5 ac0526184e3193af65a2a8aa7fd5feab files/digest-arts-1.2.3 63 diff --git a/kde-base/arts/arts-1.2.3.ebuild b/kde-base/arts/arts-1.2.3.ebuild new file mode 100644 index 000000000000..3a643b083bfb --- /dev/null +++ b/kde-base/arts/arts-1.2.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.2.3.ebuild,v 1.1 2004/06/10 12:07:07 caleb Exp $ + +inherit kde flag-o-matic eutils +set-kdedir 3.2 + +DESCRIPTION="aRts, the KDE sound (and all-around multimedia) server/output manager" +HOMEPAGE="http://multimedia.kde.org/" +SRC_URI="mirror://kde/stable/${PV/1.2.3/3.2.3}/src/${PN}-${PV}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="3.2" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64" +IUSE="alsa oggvorbis esd artswrappersuid mad" + +DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa ) + oggvorbis? ( media-libs/libvorbis media-libs/libogg ) + esd? ( media-sound/esound ) + mad? ( media-libs/libmad media-libs/libid3tag ) + media-libs/audiofile + >=dev-libs/glib-2 + >=x11-libs/qt-3.2 + >=sys-apps/portage-2.0.49-r8" + +# patch to configure.in.in that makes the vorbis, libmad deps optional +# has no version number in its filename because it's the same for all +# arts versions - the patched file hasn't changed in a year's time +# PATCHES="$FILESDIR/optional-deps.diff" + +src_unpack() { + kde_src_unpack + kde_sandbox_patch ${S}/soundserver + # for the configure.in.in patch, for some reason it's not automatically picked up + # rm -f $S/configure + + cd ${S} + use amd64 && epatch ${FILESDIR}/arts-${PV}-buffer.patch + # this patch fixes the high cpu usage of mp3 and vorbis + epatch ${FILESDIR}/arts-vorbis-fix.dif +} + +src_compile() { +# if [ "${COMPILER}" == "gcc3" ]; then +# # GCC 3.1 kinda makes arts buggy and prone to crashes when compiled with +# # these.. Even starting a compile shuts down the arts server +# filter-flags -fomit-frame-pointer -fstrength-reduce +# fi + + #fix bug 13453 + filter-flags -foptimize-sibling-calls + + #fix bug 41980 + use sparc && filter-flags -fomit-frame-pointer + + myconf="$myconf `use_enable alsa`" + myconf="$myconf `use_enable oggvorbis vorbis`" + myconf="$myconf `use_enable mad libmad`" + + kde_src_compile +} + +src_install() { + kde_src_install + dodoc ${S}/doc/{NEWS,README,TODO} + + # moved here from kdelibs so that when arts is installed + # without kdelibs it's still in the path. + dodir /etc/env.d +echo "PATH=${PREFIX}/bin +ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin +LDPATH=${PREFIX}/lib +CONFIG_PROTECT=${PREFIX}/share/config" > ${D}/etc/env.d/48kdepaths-3.2.3 # number goes down with version upgrade + + echo "KDEDIR=$PREFIX" > ${D}/etc/env.d/57kdedir-3.2.3 # number goes up with version upgrade + + # used for realtime priority, but off by default as it is a security hazard + use artswrappersuid && chmod +s ${D}/${PREFIX}/bin/artswrapper +} + +pkg_postinst() { + if ! use artswrappersuid ; then + einfo "Run chmod +s ${PREFIX}/bin/artswrapper to let artsd use realtime priority" + einfo "and so avoid possible skips in sound. However, on untrusted systems this" + einfo "creates the possibility of a DoS attack that'll use 100% cpu at realtime" + einfo "priority, and so is off by default. See bug #7883." + einfo "Or, you can set the local artswrappersuid USE flag to make the ebuild do this." + fi +} diff --git a/kde-base/arts/files/digest-arts-1.2.3 b/kde-base/arts/files/digest-arts-1.2.3 new file mode 100644 index 000000000000..f8d75869f325 --- /dev/null +++ b/kde-base/arts/files/digest-arts-1.2.3 @@ -0,0 +1 @@ +MD5 fca8a9ec7538c4fe8e4c79767bb2a7e8 arts-1.2.3.tar.bz2 964576 diff --git a/kde-base/kdebase/ChangeLog b/kde-base/kdebase/ChangeLog index feaea08f2e2f..a43d28daadc4 100644 --- a/kde-base/kdebase/ChangeLog +++ b/kde-base/kdebase/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for kde-base/kdebase # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.132 2004/06/03 23:41:21 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.133 2004/06/10 12:09:57 caleb Exp $ + +*kdebase-3.2.3 (10 Jun 2004) + + 10 Jun 2004; Caleb Tennis <caleb@gentoo.org> +files/3.2.3/Xsetup, + +files/3.2.3/backgroundrc, +files/3.2.3/kdmrc, + +files/3.2.3/startkde-3.2.3-gentoo.diff, +kdebase-3.2.3.ebuild: + Version bump 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> kdebase-3.2.0.ebuild, kdebase-3.2.1.ebuild: diff --git a/kde-base/kdebase/Manifest b/kde-base/kdebase/Manifest index eed5200ee078..5fc136d1ee6a 100644 --- a/kde-base/kdebase/Manifest +++ b/kde-base/kdebase/Manifest @@ -1,10 +1,11 @@ +MD5 8a353b41472883e6ab68f549f09dbeb8 kdebase-3.2.3.ebuild 3294 MD5 031886248b5f42ab01f678241f168802 kdebase-3.2.0.ebuild 3352 -MD5 1d28b0f0053b76c79042fa369f0093ff kdebase-3.2.2.ebuild 3351 -MD5 521ed904b23994112927d8f808cd9e42 kdebase-3.3.0_alpha1.ebuild 3201 +MD5 793e262812de5a2c24321f7e1a0e6f6e kdebase-3.2.2.ebuild 3352 +MD5 75ab34a0d8f806e7d1b8d440a53a1a24 kdebase-3.3.0_alpha1.ebuild 3202 MD5 05bcd0c09e0eb5778b4365d72c6f137e kdebase-3.2.1.ebuild 3661 MD5 3636ccd44711111e227acf51e19e9172 ChangeLog 23351 MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161 -MD5 dd1671c3f7d69a05a7a936d97e74232b kdebase-3.1.5.ebuild 3628 +MD5 32004e321d6078f46002cd0228126d6d kdebase-3.1.5.ebuild 3629 MD5 9b4df4afee8c5f857c91799f415a4ab2 files/kdebase-3.1.5-amd64-accessviol.patch 836 MD5 b048371a651391ef2bb4166e40e6adff files/kde.pam 405 MD5 a51f233fcc133f5d318222a5f79f7d03 files/digest-kdebase-3.3.0_alpha1 69 @@ -15,6 +16,7 @@ MD5 78ebd13a55a30a97f9a65da56b015a34 files/digest-kdebase-3.1.5 68 MD5 c0cb6e59bf4bbd19caa7b9435f253ff3 files/digest-kdebase-3.2.0 68 MD5 7b4a3c4a318e02c24c0ebacb4264bcdd files/digest-kdebase-3.2.1 68 MD5 7a15aed698aee6f910a32b6fb7a1e8dd files/digest-kdebase-3.2.2 68 +MD5 daa284d6a1f62c5c73deb8aeda9df57d files/digest-kdebase-3.2.3 68 MD5 2eb15d4b93c483b634ea34475d91e79b files/kdebase-3.2.2-genkdmconf.c.diff 1082 MD5 7db6d7353b1bfbb47d44e9df63be1410 files/3.1.5/kdmrc 17661 MD5 2f1f31f38b93136baeb537500c8cfabc files/3.1.5/backgroundrc 342 @@ -31,6 +33,10 @@ MD5 9adecda5cdf6951ea0bcb6515c21a38b files/3.2.2/kdmrc 18202 MD5 0faaf9eacb170e30dae8818f927b2934 files/3.2.2/startkde-3.2.2-gentoo.diff 1923 MD5 2f1f31f38b93136baeb537500c8cfabc files/3.2.2/backgroundrc 342 MD5 3403677f5c4e44815c5a97c507d4f117 files/3.2.2/Xsetup 758 +MD5 9adecda5cdf6951ea0bcb6515c21a38b files/3.2.3/kdmrc 18202 +MD5 2f1f31f38b93136baeb537500c8cfabc files/3.2.3/backgroundrc 342 +MD5 3403677f5c4e44815c5a97c507d4f117 files/3.2.3/Xsetup 758 +MD5 0faaf9eacb170e30dae8818f927b2934 files/3.2.3/startkde-3.2.3-gentoo.diff 1923 MD5 fd94a04c116a96b4fdee387b7921699e files/3.3.0_alpha1/startkde-3.3.0_alpha1-gentoo.diff 1561 MD5 9adecda5cdf6951ea0bcb6515c21a38b files/3.3.0_alpha1/kdmrc 18202 MD5 2f1f31f38b93136baeb537500c8cfabc files/3.3.0_alpha1/backgroundrc 342 diff --git a/kde-base/kdebase/files/3.2.3/Xsetup b/kde-base/kdebase/files/3.2.3/Xsetup new file mode 100644 index 000000000000..427ed61d709b --- /dev/null +++ b/kde-base/kdebase/files/3.2.3/Xsetup @@ -0,0 +1,36 @@ +#! /bin/sh +# Xsetup - run as root before the login dialog appears + +#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole & + +SESSIONDIR="_PREFIX_/share/config/kdm/sessions" + +session_to_desktop_entry() +{ +SESSION=$1 +SESSIONFILE="/etc/X11/Sessions/${SESSION}" + +if [ ! -d ${SESSIONDIR} ]; then + echo "cannot create ${SESSION}.desktop:" + echo "directory ${SESSIONDIR} does not exist." + return; +fi + +if [ ! -e ${SESSIONDIR}/${SESSION}.desktop ]; then + +cat > "${SESSIONDIR}/${SESSION}.desktop" <<EOF +[Desktop Entry] +Type=XSession +Exec=${SESSIONFILE} +TryExec=${SESSIONFILE} +Name=${SESSION} +EOF + +fi +} + +echo "Creating menu entries for kdm in ${SESSIONDIR}..." + +for i in `ls /etc/X11/Sessions/`; do + session_to_desktop_entry $i +done diff --git a/kde-base/kdebase/files/3.2.3/backgroundrc b/kde-base/kdebase/files/3.2.3/backgroundrc new file mode 100644 index 000000000000..d00db3a27bff --- /dev/null +++ b/kde-base/kdebase/files/3.2.3/backgroundrc @@ -0,0 +1,18 @@ +[Desktop0] +BackgroundMode=VerticalGradient +BlendBalance=100 +BlendMode=NoBlending +ChangeInterval=60 +Color1=14,120,131 +Color2=67,174,192 +CurrentWallpaper=0 +LastChange=0 +MinOptimizationDepth=1 +MultiWallpaperMode=NoMulti +Pattern=fish +Program= +ReverseBlending=false +UseSHM=false +Wallpaper=default_blue.jpg +WallpaperList= +WallpaperMode=NoWallpaper diff --git a/kde-base/kdebase/files/3.2.3/kdmrc b/kde-base/kdebase/files/3.2.3/kdmrc new file mode 100644 index 000000000000..ba853ca21534 --- /dev/null +++ b/kde-base/kdebase/files/3.2.3/kdmrc @@ -0,0 +1,417 @@ +# KDM master configuration file +# +# Definition: the greeter is the login dialog, i.e., the part of KDM +# which the user sees. +# +# You can configure every X-display individually. +# Every display has a display name, which consists of a host name +# (which is empty for local displays specified in the Xservers file), +# a colon and a display number. Additionally, a display belongs to a +# display class (which can be ignored in most cases; the control center +# does not support this feature at all). +# Sections with display-specific settings have the formal syntax +# "[X-" host [":" number [ "_" class ]] "-" sub-section "]" +# You can use the "*" wildcard for host, number and class. You may omit +# trailing components; they are assumed to be "*" then. +# The host part may be a domain specification like ".inf.tu-dresden.de". +# From which section a setting is actually taken is determined by these +# rules: +# - an exact match takes precedence over a partial match (for the host part), +# which in turn takes precedence over a wildcard +# - precedence decreases from left to right for equally exact matches +# Example: display name "myhost:0", class "dpy". +# [X-myhost:0_dpy] precedes +# [X-myhost:0_*] (same as [X-myhost:0]) precedes +# [X-myhost:*_dpy] precedes +# [X-myhost:*_*] (same as [X-myhost]) precedes +# [X-*:0_dpy] precedes +# [X-*:0_*] (same as [X-*:0]) precedes +# [X-*:*_*] (same as [X-*]) +# These sections do NOT match this display: +# [X-hishost], [X-myhost:0_dec], [X-*:1], [X-:*] +# If a setting is not found in any matching section, the default is used. +# +# Every comment applies to the following section or key. Note, that all +# comments will be lost if you change this file with the kcontrol frontend. +# The defaults refer to KDM's built-in values, not anything set in this file. +# + +[General] +# This option exists solely for the purpose of a clean automatic upgrade. +# Don't even think about changing it! +ConfigVersion=2.1 +# If the value starts with a slash (/), it specifies the file, where X-servers +# to be used by KDM are listed; the file is in the usual XDM-Xservers format. +# Otherwise it's interpreted like one line of the Xservers file, i.e., it +# specifies exactly one X-server. +# Default is ":0 local@tty1 /usr/X11R6/bin/X vt7" +# XXX i'm planning to absorb this file into kdmrc, but i'm not sure how to +# do this best. +Xservers=_PREFIX_/share/config/kdm/Xservers +# Where KDM should store its PID. Default is "" (don't store) +PidFile=/var/run/kdm.pid +# Whether KDM should lock the pid file to prevent having multiple KDM +# instances running at once. Leave it "true", unless you're brave. +#LockPidFile=false +# Where to store authorization files. Default is /var/run/xauth +#AuthDir=/tmp +# Whether KDM should automatically re-read configuration files, if it +# finds them having changed. Just keep it "true". +#AutoRescan=false +# Additional environment variables KDM should pass on to kdm_config, kdm_greet, +# Xsetup, Xstartup, Xsession, and Xreset. LD_LIBRARY_PATH is a good candidate; +# otherwise it shouldn't be necessary very often. +#ExportList=SOME_VAR,ANOTHER_IMPORTANT_VAR +# Where the command FiFos should be created. Make it empty to disable +# the FiFos. Default is /var/run/xdmctl +#FifoDir=/tmp +# To which group the command FiFos should belong. +# Default is -1 (effectively root) +#FifoGroup=xdmctl +# The directory kdm should store persistent working data in. +# Default is /var/lib/kdm +#DataDir=/var/lib/kdm +# The directory kdm should store users' .dmrc files in. This is only needed +# if the home directories are not readable before actually logging in (like +# with AFS). Default is "" +#DmrcDir=/nfs-shared/var/dmrcs + +[Xdmcp] +# Whether KDM should listen to XDMCP requests. Default is true. +Enable=false +# The UDP port KDM should listen on for XDMCP requests. Don't change the 177. +#Port=177 +# File with the private keys of X-terminals. Required for XDM authentication. +# Default is "" +#KeyFile=_PREFIX_/share/config/kdm/kdmkeys +# XDMCP access control file in the usual XDM-Xaccess format. +# Default is _PREFIX_/share/config/kdm/Xaccess +# XXX i'm planning to absorb this file into kdmrc, but i'm not sure how to +# do this best. +#Xaccess= +# Number of seconds to wait for display to respond after the user has +# selected a host from the chooser. Default is 15. +#ChoiceTimeout=10 +# Strip domain name from remote display names if it is equal to the local +# domain. Default is true +#RemoveDomainname=false +# Use the numeric IP address of the incoming connection instead of the +# host name. Use this on multihomed hosts. Default is false +#SourceAddress=true +# The program which is invoked to dynamically generate replies to XDMCP +# BroadcastQuery requests. +# By default no program is invoked and "Willing to manage" is sent. +Willing=_PREFIX_/share/config/kdm/Xwilling + +[Shutdown] +# The command to run to halt the system. Default is /sbin/halt +#HaltCmd= +# The command to run to reboot the system. Default is /sbin/reboot +#RebootCmd= +# Whether one can shut down the system via the global command FiFo. +# Default is false +#AllowFifo=true +# Whether one can abort still running sessions when shutting down the system +# via the global command FiFo. Default is true +#AllowFifoNow=false +# Offer LiLo boot options in shutdown dialog. Default is false +#UseLilo=true +# The location of the LiLo binary. Default is /sbin/lilo +#LiloCmd= +# The location of the LiLo map file. Default is /boot/map +#LiloMap= + +# Rough estimations about how many seconds KDM will spend at most on +# - opening a connection to the X-server (OpenTime): +# OpenRepeat * (OpenTimeout + OpenDelay) +# - starting a local X-server (ServerTime): ServerAttempts * ServerTimeout +# - starting a display: +# - local display: StartAttempts * (ServerTime + OpenTime) +# - remote/foreign display: StartAttempts * OpenTime + +# Core config for all displays +[X-*-Core] +# How long to wait before retrying to start the display after various +# errors. Default is 15 +#OpenDelay= +# How long to wait before timing out XOpenDisplay. Default is 120 +#OpenTimeout= +# How often to try the XOpenDisplay. Default is 5 +#OpenRepeat= +# Try at most that many times to start a display. If this fails, the display +# is disabled. Default is 4 +#StartAttempts= +# The StartAttempt counter is reset after that many seconds. Default is 30 +#StartInterval= +# Ping remote display every that many minutes. Default is 5 +#PingInterval= +# Wait for a Pong that many minutes. Default is 5 +#PingTimeout= +# Restart instead of resetting the local X-server after session exit. +# Use it if the server leaks memory, etc. Default is false +#TerminateServer=true +# The signal needed to reset the local X-server. Default is 1 (SIGHUP) +#ResetSignal= +# The signal needed to terminate the local X-server. Default is 15 (SIGTERM) +#TermSignal= +# Need to reset the X-server to make it read initial Xauth file. +# Default is false +#ResetForAuth=true +# Create X-authorizations for local displays. Default is true +#Authorize=false +# Which X-authorization mechanisms should be used. +# Default is MIT-MAGIC-COOKIE-1 +#AuthNames= +# The name of this X-server's Xauth file. Default is "", which means, that +# a random name in the AuthDir directory will be used. +#AuthFile= +# Specify a file with X-resources for the greeter, chooser and background. +# The KDE frontend doesn't care for this, so you don't need it unless you +# use an alternative chooser or another background generator than kdmdesktop. +# Default is "" +#Resources= +# The xrdb program to use to read the above specified recources. +# Default is /usr/X11R6/bin/xrdb +#Xrdb= +# A program to run before the greeter is shown. You should start kdmdesktop +# there. Also, xconsole can be started by this script. +# Default is "" +Setup=_PREFIX_/share/config/kdm/Xsetup +# A program to run before a user session starts. You should invoke sessreg +# there and optionally change the ownership of the console, etc. +# Default is "" +Startup=_PREFIX_/share/config/kdm/Xstartup +# A program to run after a user session exits. You should invoke sessreg +# there and optionally change the ownership of the console, etc. +# Default is "" +Reset=_PREFIX_/share/config/kdm/Xreset +# The program which is run as the user which logs in. It is supposed to +# interpret the session argument (see SessionsDirs) and start an appropriate +# session according to it. +# Default is /usr/X11R6/bin/xterm -ls -T +Session=_PREFIX_/share/config/kdm/Xsession +# The program to run if Session fails. +# Default is /usr/X11R6/bin/xterm +#FailsafeClient= +# The PATH for the Session program. Default is +# /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin +#UserPath=_PREFIX_/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin +# The PATH for Setup, Startup and Reset, etc. Default is +# /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin +#SystemPath=_PREFIX_:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin +# The default system shell. Default is /bin/sh +#SystemShell=/bin/bash +# Where to put the user's X-server authorization file if ~/.Xauthority +# cannot be created. Default is /tmp +#UserAuthDir= +# If "true", KDM will automatically restart a session after an X-server +# crash (or if it is killed by Alt-Ctrl-BackSpace). Note, that enabling +# this opens a security hole: a secured display lock can be circumvented +# (unless you use KDE's built-in screen lock). Default is false +#AutoReLogin=true +# Allow root logins? Default is true +AllowRootLogin=false +# Allow to log in, when user has set an empty password? Default is true +AllowNullPasswd=false +# Who is allowed to shut down the system. This applies both to the +# greeter and to the command FiFo. Default is All +# "None" - no "Shutdown..." button is shown at all +# "Root" - the root password must be entered to shut down +# "All" - everybody can shut down the machine (Default) +AllowShutdown=Root +# Who is allowed to abort all still running sessions when shutting down. +# Same options as for AllowShutdown. Default is All +#AllowSdForceNow=Root +# The default choice for the shutdown condition/timing. +# "Schedule" - shutdown after all sessions exit (possibly at once) (Default) +# "TryNow" - shutdown, if no sessions are open, otherwise do nothing +# "ForceNow" - shutdown unconditionally +#DefaultSdMode=ForceNow +# If this is false the user must select the shutdown condition/timing already +# in the shutdown dialog. If this is true he won't be bothered with the options, +# but will be asked what to do if sessions are actually open. Default is true +# NOTE: the interaction is currently not implemented. If this is set to true, +# a normal forced shutdown will happen (without caring for the AllowSdForceNow +# option!), i.e., KDM will behave exactly as before KDE 3.0. +#InteractiveSd=false +# The directories containing session type definitions in .desktop format. +# Default is _PREFIX_/share/apps/kdm/sessions +SessionsDirs=_PREFIX_/share/config/kdm/sessions + +# Greeter config for all displays +[X-*-Greeter] +# Widget style of the greeter. "" means the built-in default which currently +# is "Keramik". Default is "" +#GUIStyle=Windows +# Widget color scheme of the greeter. "" means the built-in default which +# currently is quite greyish. Default is "" +#ColorScheme=Pumpkin +# What should be shown righthand of the input lines: +# "Logo" - the image specified by LogoPixmap (Default) +# "Clock" - a neat analog clock +# "None" - nothing +#LogoArea=None +# The image to show when LogoArea=Logo. Default is kdelogo.png +#LogoPixmap= +# Normally, the greeter is centered on the screen. Use this, if you want +# it to appear elsewhere on the screen. Default is false +#GreeterPosFixed=true +#GreeterPosX=200 +#GreeterPosY=100 +# The headline in the greeter. +# The following character pairs are replaced: +# - %d -> current display +# - %h -> host name, possibly with domain name +# - %n -> node name, most probably the host name without domain name +# - %s -> the operating system +# - %r -> the operating system's version +# - %m -> the machine (hardware) type +# - %% -> a single % +# Default is "Welcome to %s at %n" +#GreetString=K Desktop Environment (%n) +# The font for the headline. Default is charter,20,bold +#GreetFont=charter,20,5,0,50,0 +# The normal font used in the greeter. Default is helvetica,10 +#StdFont=helvetica,10,5,0,50,0 +# The font used for the "Login Failed" message. Default is helvetica,10,bold +#FailFont=helvetica,10,5,0,75,0 +# Whether the fonts shown in the greeter should be antialiased. Default is false +AntiAliasing=true +# What to do with the Num Lock modifier for the time the greeter is running: +# "On" -> - turn on +# "Off" -> - turn off +# "Keep" -> - don't change the state (Default) +#NumLock=Off +# Language to use in the greeter. Default is en_US +#Language=de_DE +# Specify, which user names (along with pictures) should be shown in the +# greeter. +# "NotHidden" - all users except those listed in HiddenUsers (Default) +# "Selected" - only the users listed in SelectedUsers +# "None" - no user list will be shown at all +#ShowUsers=None +# For ShowUsers=Selected. Default is "" +#SelectedUsers=root,johndoe +# For ShowUsers=NotHidden. Default is "" +#HiddenUsers=root +# Special case of HiddenUsers: users with a UID less than this number +# (except root) will not be shown as well. Default is 0 +MinShowUID=1000 +# Complement to MinShowUID: users with a UID greater than this number will +# not be shown as well. Default is 65535 +MaxShowUID=65000 +# If false, the users are listed in the order they appear in /etc/passwd. +# If true, they are sorted alphabetically. Default is true +#SortUsers=false +# Specify, where the users' pictures should be taken from. +# "AdminOnly" - from <FaceDir>/$USER.face[.icon] (Default) +# "UserOnly" - from the user's $HOME/.face[.icon] +# "PreferAdmin" - prefer <FaceDir>, fallback on $HOME +# "PreferUser" - ... and the other way round +#FaceSource=PreferUser +# The directory containing the user images if FaceSource is not UserOnly. +# Default is _PREFIX_/share/apps/kdm/faces +#FaceDir=/usr/share/faces +# Specify, if/which user should be preselected for log in. +# Note, that enabling this feature can be considered a security hole, +# as it presents a valid login name to a potential attacker, so he "only" +# needs to guess the password. +# "None" - don't preselect any user (Default) +# "Previous" - the user which successfully logged in last time +# "Default" - the user specified in the DefaultUser field +#PreselectUser=Previous +# The user to preselect if PreselectUser=Default +#DefaultUser=ethel +# If this is true, the password input line is focused automatically if +# a user is preselected. Default is false +#FocusPasswd=true +# The password input fields cloak the typed in text. Specify, how to do it: +# "NoEcho" - nothing is shown at all, the cursor doesn't move +# "OneStar" - "*" is shown for every typed letter (Default) +# "ThreeStars" - "***" is shown for every typed letter +#EchoMode=NoEcho +# If true, krootimage will be automatically started by KDM. Otherwise, the +# Setup script should be used to setup the background. Default is true +#UseBackground=false +# The configuration file to be used by krootimage. +# Default is _PREFIX_/share/config/kdm/backgroundrc +#BackgroundCfg= +# Hold the X-server grabbed the whole time the greeter is visible. This +# may be more secure, but it will disable any background and other +# X-clients started from the Setup script. Default is false +#GrabServer=true +# How many seconds to wait for grab to succeed. Default is 3 +#GrabTimeout= +# Use this number as a random seed when forging saved session types, etc. of +# unknown users. This is used to avoid telling an attacker about existing users +# by reverse conclusion. This value should be random but constant across the +# login domain. Default is 0 +ForgingSeed=_RANDOM_ +# Specify greeter plugins that can be used to obtain authentication data. +# This can be a plugin's base name (expands to $kde_modulesdir/kgreet_$base) +# or a full pathname. Default is classic +#PluginsLogin=sign +# Same as PluginsLogin, but for the shutdown dialog. +#PluginsShutdown=modern + +# Core config for local displays +[X-:*-Core] +# How often to try to run the X-server. Running includes executing it and +# waiting for it to come up. Default is 1 +#ServerAttempts= +# How long to wait for a local X-server to come up. Default is 15 +#ServerTimeout= +# See above +AllowShutdown=All +# See above +AllowRootLogin=true +# See above +AllowNullPasswd=true +# Enable password-less logins on this display. USE WITH EXTREME CARE! +# Default is false +#NoPassEnable=true +# The users that don't need to provide a password to log in. NEVER list root! +# Default is "" +#NoPassUsers=fred,ethel + +# Greeter config for local displays +[X-:*-Greeter] +# Warn, if local X-authorization cannot be created. Default is true +# XXX this is a dummy currently +#AuthComplain=false +# The screen the greeter should be displayed on in multi-headed setups. +# The numbering starts with 0 and corresponds to the listing order in the +# active ServerLayout section of XF86Config. -1 means to use the upper-left +# screen, -2 means to use the upper-right screen. Default is 0 +#GreeterScreen=-1 +# Specify whether the greeter of local displays should start up in host chooser +# (remote) or login (local) mode and whether it is allowed to switch to the +# other mode. +# "LocalOnly" - only local login possible (Default) +# "RemoteOnly" - only choice of remote host possible +# "DefaultLocal" - start up in local mode, but allow switch to remote mode +# "DefaultRemote" - ... and the other way round +#LoginMode=DefaultLocal +# A list of hosts to be automatically added to the remote login menu. The +# special name "*" means broadcast. Default is "*" +#ChooserHosts=*,ugly,sky,dino,kiste.local,login.crap.com + +# Core config for 1st local display +[X-:0-Core] +# Enable automatic login on this display. USE WITH EXTREME CARE! +# Default is false +#AutoLoginEnable=true +# The user to log in automatically. NEVER specify root! Default is "" +#AutoLoginUser=fred +# The password for the user to log in automatically. This is NOT required +# unless the user is to be logged into a NIS or Kerberos domain. If you use +# it, you should "chmod 600 kdmrc" for obvious reasons. Default is "" +#AutoLoginPass=secret! + +# Greeter config for 1st local display +[X-:0-Greeter] +# See above +#PreselectUser=Default +# See above +#DefaultUser=johndoe + diff --git a/kde-base/kdebase/files/3.2.3/startkde-3.2.3-gentoo.diff b/kde-base/kdebase/files/3.2.3/startkde-3.2.3-gentoo.diff new file mode 100644 index 000000000000..2f1c520b2deb --- /dev/null +++ b/kde-base/kdebase/files/3.2.3/startkde-3.2.3-gentoo.diff @@ -0,0 +1,67 @@ +--- startkde 2003-03-12 18:20:54.000000000 +0100 ++++ startkde 2003-03-12 18:26:10.000000000 +0100 +@@ -1,12 +1,34 @@ +-#!/bin/sh ++#!/bin/sh --login + # +-# DEFAULT KDE STARTUP SCRIPT ( KDE-3.2 ) ++# GENTOO CUSTOMIZED KDE STARTUP SCRIPT ( KDE-3.2 ) + # + + # When the X server dies we get a HUP signal from xinit. We must ignore it + # because we still need to do some cleanup. + trap 'echo GOT SIGHUP' HUP + ++# Gentoo part: ++export PATH="_KDEDIR_/bin:${PATH}" ++export KDEDIR="_KDEDIR_" ++# Use env.d's KDEDIRS. They should only include locations like /usr though, not ++# actual KDE installations ++ ++# handle ~/.kde* dirs - separate ones for separate KDEs ++cd ~ ++[ -d .kde ] && /bin/mv .kde .kde.backup ++if [ ! -e .kde3.2 ]; then ++ if [ -e .kde3.1 ]; then ++ /bin/cp -r .kde3.1 .kde3.2 ++ else ++ /bin/mkdir .kde3.2 ++ fi ++fi ++/bin/ln -sf .kde3.2 .kde ++ ++#export KDEHOME="${HOME}/.kde3.2" ++ ++# Gentoo part ends ++ + # we have to unset this for Darwin since it will screw up KDE's dynamic-loading + unset DYLD_FORCE_FLAT_NAMESPACE + +@@ -112,12 +134,12 @@ + # especially necessary on slow machines, where starting KDE takes one or two + # minutes until anything appears on the screen. + # +-# Set the background to plain grey. ++# Set the background to cyan (Gentoo version change). + # The standard X background is nasty, causing moire effects and exploding + # people's heads. We use colours from the standard KDE palette for those with + # palettised displays. + +-test "$XDM_MANAGED" || bkg="-solid #C0C0C0" ++test "$XDM_MANAGED" || bkg="-solid #5477A0" + xsetroot -cursor_name left_ptr $bkg + + # The user's personal KDE directory is usually ~/.kde, but this setting +@@ -163,7 +186,11 @@ + fi + + # the splashscreen and progress indicator +-ksplash --nodcop ++if [ -n "$KSPLASH" ]; then ++ $KSPLASH ++else ++ ksplash --nodcop ++fi + + # We set LD_BIND_NOW to increase the efficiency of kdeinit. + # kdeinit unsets this variable before loading applications. diff --git a/kde-base/kdebase/files/digest-kdebase-3.2.3 b/kde-base/kdebase/files/digest-kdebase-3.2.3 new file mode 100644 index 000000000000..dbb0c552ab33 --- /dev/null +++ b/kde-base/kdebase/files/digest-kdebase-3.2.3 @@ -0,0 +1 @@ +MD5 fd05a338d155610856b06988d8dff117 kdebase-3.2.3.tar.bz2 17330422 diff --git a/kde-base/kdebase/kdebase-3.2.3.ebuild b/kde-base/kdebase/kdebase-3.2.3.ebuild new file mode 100644 index 000000000000..b65a8c7519ad --- /dev/null +++ b/kde-base/kdebase/kdebase-3.2.3.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.2.3.ebuild,v 1.1 2004/06/10 12:09:57 caleb Exp $ + +inherit kde-dist eutils + +DESCRIPTION="KDE base packages: the desktop, panel, window manager, konqueror..." + +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64" +IUSE="ldap pam motif encode cups ssl opengl samba java" + +DEPEND="media-sound/cdparanoia + ldap? ( net-nds/openldap ) + pam? ( sys-libs/pam ) + motif? ( x11-libs/openmotif ) + encode? ( media-sound/lame ) + cups? ( net-print/cups ) + ssl? ( dev-libs/openssl ) + opengl? ( virtual/opengl ) + samba? ( net-fs/samba ) + java? ( || ( virtual/jdk virtual/jre ) ) + >=media-libs/freetype-2" +RDEPEND="${DEPEND} + sys-apps/eject" + +src_unpack() { + kde_src_unpack +} + +src_compile() { + myconf="$myconf --with-dpms --with-cdparanoia" + myconf="$myconf `use_with ldap` `use_with motif`" + myconf="$myconf `use_with encode lame` `use_with cups`" + myconf="$myconf `use_with opengl gl` `use_with ssl`" + + use pam \ + && myconf="$myconf --with-pam=yes" \ + || myconf="$myconf --with-pam=no --with-shadow" + + if use java ; then + if has_version virtual/jdk ; then + myconf="$myconf --with-java=$(java-config --jdk-home)" + else + myconf="$myconf --with-java=$(java-config --jre-home)" + fi + else + myconf="$myconf --without-java" + fi + + kde_src_compile myconf configure + kde_remove_flag kdm/kfrontend -fomit-frame-pointer + kde_src_compile make +} + +src_install() { + kde_src_install + cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup" install + + insinto /etc/pam.d + newins ${FILESDIR}/kde.pam kde + # kde-np is new requirement for 3.2 autologins - #33690 + newins ${FILESDIR}/kde-np.pam kde-np + + # startkde script + cd ${D}/${KDEDIR}/bin + epatch ${FILESDIR}/${PVR}/startkde-${PVR}-gentoo.diff + mv startkde startkde.orig + sed -e "s:_KDEDIR_:${KDEDIR}:" startkde.orig > startkde + rm startkde.orig + chmod a+x startkde + + # kcontrol modules + cd ${D}/${KDEDIR}/etc/xdg/menus + ln -s default_kde-settings.menu kde-settings.menu + ln -s default_kde-information.menu kde-information.menu + ln -s default_kde-screensavers.menu kde-screensavers.menu + + # x11 session script + cd ${T} + echo "#!/bin/sh +${KDEDIR}/bin/startkde" > kde-${PV} + chmod a+x kde-${PV} + exeinto /etc/X11/Sessions + doexe kde-${PV} + + cd ${D}/${KDEDIR}/share/config/kdm || die + dodir ${KDEDIR}/share/config/kdm/sessions + sed -e "s:_PREFIX_:${PREFIX}:g" \ + -e "s:_RANDOM_:${RANDOM}${RANDOM}:g" \ + ${FILESDIR}/${PVR}/kdmrc > kdmrc + sed -e "s:_PREFIX_:${PREFIX}:g" ${FILESDIR}/${PVR}/Xsetup > Xsetup + + cp ${FILESDIR}/${PVR}/backgroundrc . + + #backup splashscreen images, so they can be put back when unmerging + #mosfet or so. + if [ ! -d ${KDEDIR}/share/apps/ksplash.default ] + then + cd ${D}/${KDEDIR}/share/apps + cp -rf ksplash/ ksplash.default + fi + + # Show gnome icons when choosing new icon for desktop shortcut + dodir /usr/share/pixmaps + mv ${D}/${KDEDIR}/share/apps/kdesktop/pics/* ${D}/usr/share/pixmaps/ + rm -rf ${D}/${KDEDIR}/share/apps/kdesktop/pics/ + cd ${D}/${KDEDIR}/share/apps/kdesktop/ + ln -sf /usr/share/pixmaps/ pics + + rmdir ${D}/${KDEDIR}/share/templates/.source/emptydir + +} + +pkg_postinst() { + mkdir -p ${KDEDIR}/share/templates/.source/emptydir +} diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog index 39656aadf79c..123f760576d1 100644 --- a/kde-base/kdelibs/ChangeLog +++ b/kde-base/kdelibs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdelibs # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.142 2004/06/03 23:43:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.143 2004/06/10 12:08:04 caleb Exp $ + +*kdelibs-3.2.3 (10 Jun 2004) + + 10 Jun 2004; Caleb Tennis <caleb@gentoo.org> +kdelibs-3.2.3.ebuild: + Version bump 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> kdelibs-3.2.0.ebuild: Fix use invocation diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest index ba7817fd0900..e9764aa25009 100644 --- a/kde-base/kdelibs/Manifest +++ b/kde-base/kdelibs/Manifest @@ -1,9 +1,10 @@ -MD5 e46515ea2e482523624428f98cc73188 kdelibs-3.3.0_alpha1.ebuild 2457 +MD5 ada0f078aa7632bef0eb0628fc030bb1 kdelibs-3.3.0_alpha1.ebuild 2458 MD5 25d117a12cd30fc12411addf35e05e93 kdelibs-3.2.0.ebuild 2412 -MD5 d24e8ebfb98340006ac7f7baa85c3ba7 kdelibs-3.2.2.ebuild 2500 -MD5 3e388b1a261395173c5686ee0a07c998 kdelibs-3.1.5-r1.ebuild 2058 -MD5 27987d14adc0415e439b06561acd45eb kdelibs-3.2.2-r1.ebuild 2616 -MD5 9a8c58b12c6030a812da2af9984b44ad kdelibs-3.2.1.ebuild 2420 +MD5 8b8359c7ad25484c9665f14e95a13693 kdelibs-3.2.2.ebuild 2501 +MD5 003eda9dc9f1851eaa468cbd48fc370e kdelibs-3.1.5-r1.ebuild 2059 +MD5 932ec7b8151e5215b65d7d31e8a3b231 kdelibs-3.2.2-r1.ebuild 2617 +MD5 cedfff3fb87b78788e9e47d7c4a75de9 kdelibs-3.2.1.ebuild 2421 +MD5 464e433c77a91003f884187b57e6a8a7 kdelibs-3.2.3.ebuild 2467 MD5 b7477605cf1dfdae03eacb31fba7e7c1 ChangeLog 22772 MD5 14889ab75f97d76e58b0c1154e7683a9 metadata.xml 161 MD5 52e0e955204a77781505d33b9a3c341d files/post-3.2.2-kdelibs-ktelnetservice.patch 974 @@ -12,6 +13,7 @@ MD5 3f21fc4e8ddbf79459bfa8f2df1a5e15 files/animated-gif-fix.patch 317 MD5 ee0b53e6fbaea17ae3543638dc09ca34 files/digest-kdelibs-3.2.0 68 MD5 2c0a17ac5767265af5bcfb2f892f66ec files/digest-kdelibs-3.2.1 68 MD5 6176dc207f5ba91edee9b04ab111afe5 files/digest-kdelibs-3.2.2 68 +MD5 57b3bdaa9934d84f320c1aa40a56afe4 files/digest-kdelibs-3.2.3 68 MD5 41d30ba8cf8d36ad3caebeedb1ddfd0e files/kdelibs-3.1.5-kjs-alphaev6-gcc3-workaround.patch 477 MD5 7cebc1abb3141287db618486fd679b32 files/post-3.2.2-kdelibs-kapplication.patch 882 MD5 76ef4c7d472a5e3659219ee223f12cb5 files/qt-3.3-printfix.patch 333 diff --git a/kde-base/kdelibs/files/digest-kdelibs-3.2.3 b/kde-base/kdelibs/files/digest-kdelibs-3.2.3 new file mode 100644 index 000000000000..ab94bd8ba7fd --- /dev/null +++ b/kde-base/kdelibs/files/digest-kdelibs-3.2.3 @@ -0,0 +1 @@ +MD5 d9d1c4bd2016a96f156b491ca908dc16 kdelibs-3.2.3.tar.bz2 12737024 diff --git a/kde-base/kdelibs/kdelibs-3.2.3.ebuild b/kde-base/kdelibs/kdelibs-3.2.3.ebuild new file mode 100644 index 000000000000..d3626434d36c --- /dev/null +++ b/kde-base/kdelibs/kdelibs-3.2.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.2.3.ebuild,v 1.1 2004/06/10 12:08:04 caleb Exp $ + +inherit kde eutils + +need-autoconf 2.5 +set-kdedir ${PV} + +DESCRIPTION="KDE libraries needed by all kde programs" +HOMEPAGE="http//www.kde.org/" +SRC_URI="mirror://kde/stable/${PV}/src/${PN}-${PV}.tar.bz2" + +LICENSE="GPL-2 LGPL-2" +SLOT="3.2" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64" +IUSE="alsa cups ipv6 ssl doc ldap" + +# kde.eclass has kdelibs in DEPEND, and we can't have that in here. +# so we recreate the entire DEPEND from scratch. +DEPEND=">=sys-devel/autoconf-2.58 + >=sys-devel/automake-1.8 + >=app-arch/bzip2-1.0.2 + >=dev-libs/libxslt-1.0.31 + >=dev-libs/libxml2-2.5.8 + >=dev-libs/libpcre-3.9 + ssl? ( >=dev-libs/openssl-0.9.6k ) + alsa? ( media-libs/alsa-lib virtual/alsa ) + cups? ( >=net-print/cups-1.1.19 ) + ldap? ( >=net-nds/openldap-2.0.25 ) + media-libs/tiff + >=app-admin/fam-2.6.10 + virtual/ghostscript + media-libs/libart_lgpl + sys-devel/gettext + ~kde-base/arts-1.2.2 + >=x11-libs/qt-3.2.3" +RDEPEND="${DEPEND} + app-text/sgml-common + cups? ( net-print/cups ) + doc? ( app-doc/doxygen ) + dev-lang/python" + +src_unpack() { + kde_src_unpack +} + +src_compile() { + kde_src_compile myconf + + myconf="$myconf --with-distribution=Gentoo --enable-libfam --enable-dnotify" + myconf="$myconf `use_with alsa` `use_enable cups`" + + use ipv6 || myconf="$myconf --with-ipv6-lookup=no" + 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" + + use x86 && myconf="$myconf --enable-fast-malloc=full" + + kde_src_compile configure make + + use doc && make apidox +} + +src_install() { + kde_src_install + dohtml *.html + + if use doc ; then + einfo "Copying API documentation..." + dodir ${KDEDIR}/share/doc/HTML/en/kdelibs-apidocs + cp -r ${S}/apidocs/* ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs + else + rm -r ${D}/$KDEDIR/share/doc/HTML/en/kdelibs-apidocs + fi + + # needed to fix lib64 issues on amd64, see bug #45669 + use amd64 && ln -s ${KDEDIR}/lib ${D}/${KDEDIR}/lib64 + +} + +pkg_postinst() { + if use doc ; then + rm $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common + ln -sf $KDEDIR/share/doc/HTML/en/common \ + $KDEDIR/share/doc/HTML/en/kdelibs-apidocs/common + fi +} |