summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-09-17 23:05:49 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-09-17 23:05:49 +0000
commitddf3b6e88944bdcd96171d501a9fa3e51c5ed5a4 (patch)
treeb24eac8bf4a9a000f9c93f94517a7ff552d72db4 /kde-base/kdebase
parentRemove KDE 3.4. (diff)
downloadgentoo-2-ddf3b6e88944bdcd96171d501a9fa3e51c5ed5a4.tar.gz
gentoo-2-ddf3b6e88944bdcd96171d501a9fa3e51c5ed5a4.tar.bz2
gentoo-2-ddf3b6e88944bdcd96171d501a9fa3e51c5ed5a4.zip
Remove KDE 3.4.
(Portage version: 2.1.1) (Unsigned Manifest commit)
Diffstat (limited to 'kde-base/kdebase')
-rw-r--r--kde-base/kdebase/Manifest32
-rw-r--r--kde-base/kdebase/files/digest-kdebase-3.4.3-r16
-rw-r--r--kde-base/kdebase/files/digest-kdebase-3.4.3-r26
-rw-r--r--kde-base/kdebase/kdebase-3.4.3-r1.ebuild151
-rw-r--r--kde-base/kdebase/kdebase-3.4.3-r2.ebuild154
5 files changed, 8 insertions, 341 deletions
diff --git a/kde-base/kdebase/Manifest b/kde-base/kdebase/Manifest
index 96bad9bc0e29..0df3e8527976 100644
--- a/kde-base/kdebase/Manifest
+++ b/kde-base/kdebase/Manifest
@@ -86,22 +86,12 @@ AUX post-3.5.0-kdebase-kdm.diff 508 RMD160 0b223a8e364540d6c9e877e5f560fe855b500
MD5 9daecff07d57dabba35da247e752916a files/post-3.5.0-kdebase-kdm.diff 508
RMD160 0b223a8e364540d6c9e877e5f560fe855b50030f files/post-3.5.0-kdebase-kdm.diff 508
SHA256 95cc8feb448616e63eae37e3093bbdee690d04f8542f7f04aeab7926a6cffcf2 files/post-3.5.0-kdebase-kdm.diff 508
-DIST kdebase-3.4.3-kubuntu-hal.patch.gz 8441 RMD160 9b7fe6198e8d01205ab37f69a72520a233013906 SHA256 9703cf0727fd54a0bf6d404858e44d2d63970ce5a01aa0502e82f3ff842a9dc7
-DIST kdebase-3.4.3.tar.bz2 22425835 RMD160 7af02903b0fc750e7b9778391ef8948b54f69ce7 SHA256 d7802446a046ed647e5d068b7c4a21cfdb9c883b31de65838f106c5b5d4b8b1c
DIST kdebase-3.5-patchset-01.tar.bz2 5552 RMD160 196f2f57924ccab4109061794d09f579917f4ed1 SHA1 6cf289b7d30f2b7899aac092989cccca5992cecf SHA256 10b635594c7936f618abf3a9b41785fb1cb2c2d2a4be5bb889abff518b8e5ee0
DIST kdebase-3.5-patchset-02.tar.bz2 7118 RMD160 ea3c7215e68754e8acac03e9fafea8aa9c6d1202 SHA1 ff7a1d707c894d94d0ca36b352cbdaacd0362a10 SHA256 459e2ce09a7151fd5f52bf77570dccd2447f00a604dab65adf7dfb5da431ac1b
-DIST kdebase-3.5.2-patchset.tar.bz2 5578
+DIST kdebase-3.5.2-patchset.tar.bz2 5578 RMD160 85656629b35a7aff41e96b1ffa464a38a377c281 SHA1 adfaf7e74a88ca041ddf82a3f81028f82155927c SHA256 47db65bda783c05d8ede7ba1d598f0fcf92ab365ae2ba44475352eec5c3ba701
DIST kdebase-3.5.2.tar.bz2 23590820 RMD160 216ff59c49bb4fee2aa3b7d976ec40a8cccff107 SHA1 16cddd8766c3bd8821044fe9cce66f5291c8412b SHA256 21150b7e553e83487e70e70e3d13ce107c6c5d57133b40f413807887a9e431f7
DIST kdebase-3.5.3.tar.bz2 23634194 RMD160 ef55c72b97577dd86e5c64bf589ff9b2d556ec07 SHA1 93f1566343af114b24987ee7b8e0e80877b57f25 SHA256 5a2b9bc5e2682684519dbae89b3bd73fbf5de1f1effd3ca072173a9638dc3ff8
DIST kdebase-3.5.4.tar.bz2 23636847 RMD160 29f763ec9de2cf3437b94567b317642e7df5e295 SHA1 18f2bb3643a40f937bf260d5969d6919aa52abf4 SHA256 71e3b45d91f2237ca5a66858b06e897e1f60e3042d4c54d828ba590daaa5b420
-EBUILD kdebase-3.4.3-r1.ebuild 4746 RMD160 4e6001bf851932a39fbba9fa492156f53f455f0b SHA1 19bcea85a35887a6c6229811a99d4f25a993f615 SHA256 2283044708d08a6831a894d3882ee6db99f252a4c9d84a92332e1f8d04e2eb95
-MD5 0c412eb43d733bf9e0e8fcdde3c7b816 kdebase-3.4.3-r1.ebuild 4746
-RMD160 4e6001bf851932a39fbba9fa492156f53f455f0b kdebase-3.4.3-r1.ebuild 4746
-SHA256 2283044708d08a6831a894d3882ee6db99f252a4c9d84a92332e1f8d04e2eb95 kdebase-3.4.3-r1.ebuild 4746
-EBUILD kdebase-3.4.3-r2.ebuild 4843 RMD160 f15f38e66758aee2ba3eac8e285a1a4b385bc89a SHA1 a25b6417797c429300f1d080434db8f6fe62a278 SHA256 1a2996e1e9297289b841812d1b1877ecef3b8e69abbb836bde7304a2e0d6ea64
-MD5 a5a6089215b8f3178470bb67e12cd226 kdebase-3.4.3-r2.ebuild 4843
-RMD160 f15f38e66758aee2ba3eac8e285a1a4b385bc89a kdebase-3.4.3-r2.ebuild 4843
-SHA256 1a2996e1e9297289b841812d1b1877ecef3b8e69abbb836bde7304a2e0d6ea64 kdebase-3.4.3-r2.ebuild 4843
EBUILD kdebase-3.5.2-r2.ebuild 5623 RMD160 4896ba5ff6588e9a3befc16926cb67207a8e21fd SHA1 2885c858cdae57c46b92056d24d1dbdebb73d51e SHA256 090b85b7473cac588e069f11b00cf657a48636074f25fabbba219697dd54d21c
MD5 f107028aa88b7eae7ce4242730707ea4 kdebase-3.5.2-r2.ebuild 5623
RMD160 4896ba5ff6588e9a3befc16926cb67207a8e21fd kdebase-3.5.2-r2.ebuild 5623
@@ -114,23 +104,17 @@ EBUILD kdebase-3.5.4.ebuild 5736 RMD160 cf58383e8124d912fc4824b4b2e7c993f3aff5f5
MD5 9cff00a4a3511e7967868205651b1914 kdebase-3.5.4.ebuild 5736
RMD160 cf58383e8124d912fc4824b4b2e7c993f3aff5f5 kdebase-3.5.4.ebuild 5736
SHA256 7a69a6e2cecfbf02ce2c01d428e2a91a2b087b22345702495a7f3490ec87c710 kdebase-3.5.4.ebuild 5736
-MISC ChangeLog 53050 RMD160 3fa366f6d164c658966a244335f82dc1bd7db602 SHA1 8cde6c9d7f9e1d96c3d893eade28f6d7ababab96 SHA256 08a019e16e37e9a32efb951dcfcf8f12f2ab29935082dc01ffdfb3a6886a176f
-MD5 301834c7a55c82a066feb103b4f64af6 ChangeLog 53050
-RMD160 3fa366f6d164c658966a244335f82dc1bd7db602 ChangeLog 53050
-SHA256 08a019e16e37e9a32efb951dcfcf8f12f2ab29935082dc01ffdfb3a6886a176f ChangeLog 53050
+MISC ChangeLog 53169 RMD160 def31b48c2ff8984856709090d6e4cc990d61da4 SHA1 4d39ca3d1052b064d8a06c8fc79aee822852b56f SHA256 2d556c95a040e916799021e5d591cd3b72416dbe2c9109d77cc9a0bb91ceb6ee
+MD5 9541b511c322189386d373a228a31feb ChangeLog 53169
+RMD160 def31b48c2ff8984856709090d6e4cc990d61da4 ChangeLog 53169
+SHA256 2d556c95a040e916799021e5d591cd3b72416dbe2c9109d77cc9a0bb91ceb6ee ChangeLog 53169
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156
SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata.xml 156
-MD5 0184373f3e56dc9e5d65ba8365d672f1 files/digest-kdebase-3.4.3-r1 527
-RMD160 669ceee672ec4178631a5005aaba3bef9b49a2e1 files/digest-kdebase-3.4.3-r1 527
-SHA256 bc0f7395f8e3b395abdf83f42fa37ebd33e360fcf0dcc0f9f005c8ff27985ce9 files/digest-kdebase-3.4.3-r1 527
-MD5 0184373f3e56dc9e5d65ba8365d672f1 files/digest-kdebase-3.4.3-r2 527
-RMD160 669ceee672ec4178631a5005aaba3bef9b49a2e1 files/digest-kdebase-3.4.3-r2 527
-SHA256 bc0f7395f8e3b395abdf83f42fa37ebd33e360fcf0dcc0f9f005c8ff27985ce9 files/digest-kdebase-3.4.3-r2 527
-MD5 d4109f0bb3e73fb3beb1f071bf7ed60d files/digest-kdebase-3.5.2-r2 591
-RMD160 f7179d4e148f024da6461e4de59f6ee5edb2ae38 files/digest-kdebase-3.5.2-r2 591
-SHA256 e016bae470ae361f93fdba88dc1f510e1efc217c05cf69f1b6b799db06cdc469 files/digest-kdebase-3.5.2-r2 591
+MD5 9526835ce0df4969357f33b5b41721d0 files/digest-kdebase-3.5.2-r2 783
+RMD160 9b0ae8742c57884753f25b1892622ae8a8c30d73 files/digest-kdebase-3.5.2-r2 783
+SHA256 597ab4944116d710976429afa6318b5eb3243417225fe3db430c63d2568dfcba files/digest-kdebase-3.5.2-r2 783
MD5 e5d422ab46b203324d09b8b8f957fa1b files/digest-kdebase-3.5.3-r3 518
RMD160 b477c2d21c44f0786da3e211bc1f67fc4ea6d3aa files/digest-kdebase-3.5.3-r3 518
SHA256 05b7d585d8258240534ab25ee3b96612ca23965d341d35a8ba852ee755021074 files/digest-kdebase-3.5.3-r3 518
diff --git a/kde-base/kdebase/files/digest-kdebase-3.4.3-r1 b/kde-base/kdebase/files/digest-kdebase-3.4.3-r1
deleted file mode 100644
index 8564f4a82491..000000000000
--- a/kde-base/kdebase/files/digest-kdebase-3.4.3-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 0437cf2231a850d7a1b47d07daca603f kdebase-3.4.3-kubuntu-hal.patch.gz 8441
-RMD160 9b7fe6198e8d01205ab37f69a72520a233013906 kdebase-3.4.3-kubuntu-hal.patch.gz 8441
-SHA256 9703cf0727fd54a0bf6d404858e44d2d63970ce5a01aa0502e82f3ff842a9dc7 kdebase-3.4.3-kubuntu-hal.patch.gz 8441
-MD5 7b25feba2774c077601d472dae5352c8 kdebase-3.4.3.tar.bz2 22425835
-RMD160 7af02903b0fc750e7b9778391ef8948b54f69ce7 kdebase-3.4.3.tar.bz2 22425835
-SHA256 d7802446a046ed647e5d068b7c4a21cfdb9c883b31de65838f106c5b5d4b8b1c kdebase-3.4.3.tar.bz2 22425835
diff --git a/kde-base/kdebase/files/digest-kdebase-3.4.3-r2 b/kde-base/kdebase/files/digest-kdebase-3.4.3-r2
deleted file mode 100644
index 8564f4a82491..000000000000
--- a/kde-base/kdebase/files/digest-kdebase-3.4.3-r2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 0437cf2231a850d7a1b47d07daca603f kdebase-3.4.3-kubuntu-hal.patch.gz 8441
-RMD160 9b7fe6198e8d01205ab37f69a72520a233013906 kdebase-3.4.3-kubuntu-hal.patch.gz 8441
-SHA256 9703cf0727fd54a0bf6d404858e44d2d63970ce5a01aa0502e82f3ff842a9dc7 kdebase-3.4.3-kubuntu-hal.patch.gz 8441
-MD5 7b25feba2774c077601d472dae5352c8 kdebase-3.4.3.tar.bz2 22425835
-RMD160 7af02903b0fc750e7b9778391ef8948b54f69ce7 kdebase-3.4.3.tar.bz2 22425835
-SHA256 d7802446a046ed647e5d068b7c4a21cfdb9c883b31de65838f106c5b5d4b8b1c kdebase-3.4.3.tar.bz2 22425835
diff --git a/kde-base/kdebase/kdebase-3.4.3-r1.ebuild b/kde-base/kdebase/kdebase-3.4.3-r1.ebuild
deleted file mode 100644
index 5732b60b2872..000000000000
--- a/kde-base/kdebase/kdebase-3.4.3-r1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.4.3-r1.ebuild,v 1.15 2006/07/09 06:01:34 flameeyes Exp $
-
-inherit kde-dist eutils
-
-DESCRIPTION="KDE base packages: the desktop, panel, window manager, konqueror..."
-
-SRC_URI="${SRC_URI} mirror://gentoo/kdebase-3.4.3-kubuntu-hal.patch.gz"
-
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="arts cups java ldap ieee1394 hal lm_sensors logitech-mouse openexr opengl pam samba ssl"
-# hal: enables hal backend for 'media:' ioslave
-
-DEPEND="arts? ( ~kde-base/arts-${PV} )
- >=media-libs/freetype-2
- media-libs/fontconfig
- pam? ( kde-base/kdebase-pam )
- >=dev-libs/cyrus-sasl-2
- ldap? ( >=net-nds/openldap-2 )
- cups? ( net-print/cups )
- ssl? ( dev-libs/openssl )
- opengl? ( virtual/opengl )
- openexr? ( >=media-libs/openexr-1.2 )
- samba? ( >=net-fs/samba-3.0.4 )
- lm_sensors? ( sys-apps/lm_sensors )
- logitech-mouse? ( >=dev-libs/libusb-0.1.10a )
- ieee1394? ( sys-libs/libraw1394 )
- hal? ( sys-apps/dbus
- sys-apps/hal )"
-
-RDEPEND="${DEPEND}
- || ( (
- x11-apps/xmessage
- x11-apps/xsetroot
- x11-apps/xset
- x11-apps/xrandr
- x11-apps/mkfontdir
- || ( x11-misc/xkeyboard-config x11-misc/xkbdata )
- x11-apps/setxkbmap
- ) <virtual/x11-7 )
- java? ( >=virtual/jre-1.4 )
- virtual/eject"
-
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- ia64? ( >=sys-kernel/linux-headers-2.6.11-r4 )"
-
-src_unpack() {
- kde_src_unpack
-
- epatch "${FILESDIR}/kdebase-3.4.1-startkde-gentoo.patch"
-
- # Configure patch. Applied for 3.5.
- epatch "${FILESDIR}/kdebase-3.4-configure.patch"
-
- # Support for hal-0.5, backported from 3.5 branch.
- epatch "${WORKDIR}/kdebase-3.4.3-kubuntu-hal.patch"
-
- # Fix XDMCP (kde bug 114385). Applied for 3.4.4.
- epatch "${FILESDIR}/kdebase-3.4.3-xdmcp.patch"
-
- # Avoid using imake (kde bug 114466).
- epatch "${FILESDIR}/kdebase-3.4.3-noimake.patch"
-
- # For the configure and noimake patch.
- make -f admin/Makefile.common || die
-}
-
-src_compile() {
- local myconf="--with-dpms --with-x-binaries-dir=/usr/bin
- $(use_with arts) $(use_with ldap)
- $(use_with cups) $(use_with opengl gl)
- $(use_with ssl) $(use_with samba) $(use_with openexr)
- $(use_with lm_sensors sensors) $(use_with logitech-mouse libusb)
- $(use_with ieee1394 libraw1394) $(use_with hal)"
-
- if use pam; then
- myconf="${myconf} --with-pam=yes"
- else
- myconf="${myconf} --with-pam=no --with-shadow"
- fi
-
- # the java test is problematic (see kde bug 100729) and
- # useless. All that's needed for java applets to work is
- # to have the 'java' executable in PATH.
- myconf="${myconf} --without-java"
-
- kde_src_compile
-}
-
-src_install() {
- kde_src_install
- cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install
-
- # startup and shutdown scripts
- insinto ${KDEDIR}/env
- doins ${FILESDIR}/agent-startup.sh
-
- exeinto ${KDEDIR}/shutdown
- doexe ${FILESDIR}/agent-shutdown.sh
-
- # freedesktop environment variables
- cat <<EOF > ${T}/xdg.sh
-export XDG_DATA_DIRS="${KDEDIR}/share:/usr/share"
-export XDG_CONFIG_DIRS="${KDEDIR}/etc/xdg"
-EOF
- insinto ${KDEDIR}/env
- doins ${T}/xdg.sh
-
- # x11 session script
- cat <<EOF > ${T}/kde-${SLOT}
-#!/bin/sh
-exec ${KDEDIR}/bin/startkde
-EOF
- exeinto /etc/X11/Sessions
- doexe ${T}/kde-${SLOT}
-
- # freedesktop compliant session script
- sed -e "s:@KDE_BINDIR@:${KDEDIR}/bin:g;s:Name=KDE:Name=KDE ${SLOT}:" \
- ${S}/kdm/kfrontend/sessions/kde.desktop.in > ${T}/kde-${SLOT}.desktop
- insinto /usr/share/xsessions
- doins ${T}/kde-${SLOT}.desktop
-
- # Customize the kdmrc configuration
- sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
- -e "s:#GreetFont=:GreetFont=Sans Serif,24,-1,5,50,0,0,0,0,0\n#GreetFont=:" \
- -e "s:#StdFont=:StdFont=Sans Serif,12,-1,5,50,0,0,0,0,0\n#StdFont=:" \
- -e "s:#FailFont=:FailFont=Sans Serif,12,-1,5,75,0,0,0,0,0\n#FailFont=:" \
- -e "s:#AntiAliasing=:AntiAliasing=true\n#AntiAliasing=:" \
- ${D}/${KDEDIR}/share/config/kdm/kdmrc || die
-
- rmdir ${D}/${KDEDIR}/share/templates/.source/emptydir
-}
-
-pkg_postinst() {
- # set the default kdm face icon if it's not already set by the system admin
- if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then
- mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces"
- cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \
- "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon"
- fi
-
- mkdir -p ${ROOT}${KDEDIR}/share/templates/.source/emptydir
-
- echo
- einfo "To enable gpg-agent and/or ssh-agent in KDE sessions,"
- einfo "edit ${KDEDIR}/env/agent-startup.sh and"
- einfo "${KDEDIR}/shutdown/agent-shutdown.sh"
- echo
-}
diff --git a/kde-base/kdebase/kdebase-3.4.3-r2.ebuild b/kde-base/kdebase/kdebase-3.4.3-r2.ebuild
deleted file mode 100644
index f6d0204eb159..000000000000
--- a/kde-base/kdebase/kdebase-3.4.3-r2.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.4.3-r2.ebuild,v 1.6 2006/07/09 06:01:34 flameeyes Exp $
-
-inherit kde-dist eutils
-
-DESCRIPTION="KDE base packages: the desktop, panel, window manager, konqueror..."
-
-SRC_URI="${SRC_URI} mirror://gentoo/kdebase-3.4.3-kubuntu-hal.patch.gz"
-
-KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE="arts cups java ldap ieee1394 hal lm_sensors logitech-mouse openexr opengl pam samba ssl"
-# hal: enables hal backend for 'media:' ioslave
-
-DEPEND="arts? ( ~kde-base/arts-${PV} )
- >=media-libs/freetype-2
- media-libs/fontconfig
- pam? ( kde-base/kdebase-pam )
- >=dev-libs/cyrus-sasl-2
- ldap? ( >=net-nds/openldap-2 )
- cups? ( net-print/cups )
- ssl? ( dev-libs/openssl )
- opengl? ( virtual/opengl )
- openexr? ( >=media-libs/openexr-1.2 )
- samba? ( >=net-fs/samba-3.0.4 )
- lm_sensors? ( sys-apps/lm_sensors )
- logitech-mouse? ( >=dev-libs/libusb-0.1.10a )
- ieee1394? ( sys-libs/libraw1394 )
- hal? ( sys-apps/dbus
- sys-apps/hal )"
-
-RDEPEND="${DEPEND}
- || ( (
- x11-apps/xmessage
- x11-apps/xsetroot
- x11-apps/xset
- x11-apps/xrandr
- x11-apps/mkfontdir
- || ( x11-misc/xkeyboard-config x11-misc/xkbdata )
- x11-apps/setxkbmap
- ) <virtual/x11-7 )
- java? ( >=virtual/jre-1.4 )
- virtual/eject"
-
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- ia64? ( >=sys-kernel/linux-headers-2.6.11-r4 )"
-
-src_unpack() {
- kde_src_unpack
-
- epatch "${FILESDIR}/kdebase-3.4.1-startkde-gentoo.patch"
-
- # Configure patch. Applied for 3.5.
- epatch "${FILESDIR}/kdebase-3.4-configure.patch"
-
- # Support for hal-0.5, backported from 3.5 branch.
- epatch "${WORKDIR}/kdebase-3.4.3-kubuntu-hal.patch"
-
- # Fix XDMCP (kde bug 114385). Applied for 3.4.4.
- epatch "${FILESDIR}/kdebase-3.4.3-xdmcp.patch"
-
- # Avoid using imake (kde bug 114466).
- epatch "${FILESDIR}/kdebase-3.4.3-noimake.patch"
-
- # Fix KDM symlink vulnerability, bug #136201
- epatch "${FILESDIR}/post-3.5.0-kdebase-kdm.diff"
-
- # For the configure and noimake patch.
- make -f admin/Makefile.common || die
-}
-
-src_compile() {
- local myconf="--with-dpms --with-x-binaries-dir=/usr/bin
- $(use_with arts) $(use_with ldap)
- $(use_with cups) $(use_with opengl gl)
- $(use_with ssl) $(use_with samba) $(use_with openexr)
- $(use_with lm_sensors sensors) $(use_with logitech-mouse libusb)
- $(use_with ieee1394 libraw1394) $(use_with hal)"
-
- if use pam; then
- myconf="${myconf} --with-pam=yes"
- else
- myconf="${myconf} --with-pam=no --with-shadow"
- fi
-
- # the java test is problematic (see kde bug 100729) and
- # useless. All that's needed for java applets to work is
- # to have the 'java' executable in PATH.
- myconf="${myconf} --without-java"
-
- kde_src_compile
-}
-
-src_install() {
- kde_src_install
- cd ${S}/kdm && make DESTDIR=${D} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install
-
- # startup and shutdown scripts
- insinto ${KDEDIR}/env
- doins ${FILESDIR}/agent-startup.sh
-
- exeinto ${KDEDIR}/shutdown
- doexe ${FILESDIR}/agent-shutdown.sh
-
- # freedesktop environment variables
- cat <<EOF > ${T}/xdg.sh
-export XDG_DATA_DIRS="${KDEDIR}/share:/usr/share"
-export XDG_CONFIG_DIRS="${KDEDIR}/etc/xdg"
-EOF
- insinto ${KDEDIR}/env
- doins ${T}/xdg.sh
-
- # x11 session script
- cat <<EOF > ${T}/kde-${SLOT}
-#!/bin/sh
-exec ${KDEDIR}/bin/startkde
-EOF
- exeinto /etc/X11/Sessions
- doexe ${T}/kde-${SLOT}
-
- # freedesktop compliant session script
- sed -e "s:@KDE_BINDIR@:${KDEDIR}/bin:g;s:Name=KDE:Name=KDE ${SLOT}:" \
- ${S}/kdm/kfrontend/sessions/kde.desktop.in > ${T}/kde-${SLOT}.desktop
- insinto /usr/share/xsessions
- doins ${T}/kde-${SLOT}.desktop
-
- # Customize the kdmrc configuration
- sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions\n#SessionsDirs=:" \
- -e "s:#GreetFont=:GreetFont=Sans Serif,24,-1,5,50,0,0,0,0,0\n#GreetFont=:" \
- -e "s:#StdFont=:StdFont=Sans Serif,12,-1,5,50,0,0,0,0,0\n#StdFont=:" \
- -e "s:#FailFont=:FailFont=Sans Serif,12,-1,5,75,0,0,0,0,0\n#FailFont=:" \
- -e "s:#AntiAliasing=:AntiAliasing=true\n#AntiAliasing=:" \
- ${D}/${KDEDIR}/share/config/kdm/kdmrc || die
-
- rmdir ${D}/${KDEDIR}/share/templates/.source/emptydir
-}
-
-pkg_postinst() {
- # set the default kdm face icon if it's not already set by the system admin
- if [ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]; then
- mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces"
- cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \
- "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon"
- fi
-
- mkdir -p ${ROOT}${KDEDIR}/share/templates/.source/emptydir
-
- echo
- einfo "To enable gpg-agent and/or ssh-agent in KDE sessions,"
- einfo "edit ${KDEDIR}/env/agent-startup.sh and"
- einfo "${KDEDIR}/shutdown/agent-shutdown.sh"
- echo
-}