Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kdebase-startkde: ChangeLog kdebase-startkde-4.0.3.ebuild
Date: Thu, 03 Apr 2008 20:55:26
Message-Id: E1JhWSx-0003So-7s@stork.gentoo.org
1 philantrop 08/04/03 20:55:23
2
3 Modified: ChangeLog
4 Added: kdebase-startkde-4.0.3.ebuild
5 Log:
6 Version bump to KDE 4.0.3. This is still not intended for mainstream so DO NOT KEYWORD IT without talking to the KDE herd first.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.115 kde-base/kdebase-startkde/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/ChangeLog?rev=1.115&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/ChangeLog?rev=1.115&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/ChangeLog?r1=1.114&r2=1.115
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v
19 retrieving revision 1.114
20 retrieving revision 1.115
21 diff -u -r1.114 -r1.115
22 --- ChangeLog 20 Mar 2008 16:42:36 -0000 1.114
23 +++ ChangeLog 3 Apr 2008 20:55:22 -0000 1.115
24 @@ -1,6 +1,13 @@
25 # ChangeLog for kde-base/kdebase-startkde
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v 1.114 2008/03/20 16:42:36 ingmar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/ChangeLog,v 1.115 2008/04/03 20:55:22 philantrop Exp $
29 +
30 +*kdebase-startkde-4.0.3 (03 Apr 2008)
31 +
32 + 03 Apr 2008; Wulf C. Krueger <philantrop@g.o>
33 + +kdebase-startkde-4.0.3.ebuild:
34 + Version bump to KDE 4.0.3. This is still not intended for mainstream so DO
35 + NOT KEYWORD IT without talking to the KDE herd first.
36
37 20 Mar 2008; Ingmar Vanhassel <ingmar@g.o>
38 -kdebase-startkde-4.0.1.ebuild:
39
40
41
42 1.1 kde-base/kdebase-startkde/kdebase-startkde-4.0.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/kdebase-startkde-4.0.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/kdebase-startkde-4.0.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kdebase-startkde-4.0.3.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/kdebase-startkde-4.0.3.ebuild,v 1.1 2008/04/03 20:55:22 philantrop Exp $
52
53 EAPI="1"
54
55 KMNAME=kdebase-workspace
56 KMNOMODULE=true
57 inherit multilib kde4-meta
58
59 DESCRIPTION="Startkde script, which starts a complete KDE session, and associated scripts"
60 KEYWORDS="~amd64 ~x86"
61 IUSE=""
62
63 DEPEND=""
64 # The KDE apps called from the startkde script.
65 # These provide the most minimal KDE desktop.
66 RDEPEND="${DEPEND}
67 >=kde-base/kcminit-${PV}:${SLOT}
68 >=kde-base/kdebase-data-${PV}:${SLOT}
69 >=kde-base/kdebase-kioslaves-${PV}:${SLOT}
70 >=kde-base/kde-wallpapers-${PV}:${SLOT}
71 >=kde-base/knotify-${PV}:${SLOT}
72 >=kde-base/kreadconfig-${PV}:${SLOT}
73 >=kde-base/krunner-${PV}:${SLOT}
74 >=kde-base/ksmserver-${PV}:${SLOT}
75 >=kde-base/ksplash-${PV}:${SLOT}
76 >=kde-base/kstartupconfig-${PV}:${SLOT}
77 >=kde-base/kstyles-${PV}:${SLOT}
78 >=kde-base/kwin-${PV}:${SLOT}
79 >=kde-base/plasma-${PV}:${SLOT}
80 >=kde-base/systemsettings-${PV}:${SLOT}
81 x11-apps/xmessage
82 x11-apps/xsetroot
83 x11-apps/xset
84 x11-apps/xrandr
85 x11-apps/mkfontdir
86 x11-apps/xprop"
87
88 KMEXTRACTONLY="startkde.cmake
89 ConfigureChecks.cmake
90 kdm/"
91 KMCOMPILEONLY="kdm/kfrontend/sessions/"
92
93 PATCHES="${FILESDIR}/gentoo-startkde.patch"
94
95 src_compile() {
96 # Patch the startkde script to setup the environment for KDE 4.0
97 # Add our KDEDIR
98 sed -e "s#@REPLACE_PREFIX@#${PREFIX}#" \
99 -i "${S}/startkde.cmake" || die "Sed for PREFIX failed."
100
101 # List all the multilib libdirs
102 local _libdir _libdirs
103 for _libdir in $(get_all_libdirs); do
104 _libdirs="${_libdirs}:${PREFIX}/${_libdir}"
105 done
106 _libdirs=${_libdirs#:}
107
108 # Complete LDPATH
109 sed -e "s#@REPLACE_LIBS@#${_libdirs}#" \
110 -i "${S}/startkde.cmake" || die "Sed for LDPATH failed."
111
112 kde4-meta_src_compile
113 }
114
115 src_install() {
116 kde4-meta_src_install
117
118 # startup and shutdown scripts
119 insinto "${KDEDIR}/env"
120 doins "${FILESDIR}/agent-startup.sh"
121
122 exeinto "${KDEDIR}/shutdown"
123 doexe "${FILESDIR}/agent-shutdown.sh"
124
125 # freedesktop environment variables
126 cat <<-EOF > "${T}/xdg.sh"
127 export XDG_DATA_DIRS="${KDEDIR}/share:/usr/share"
128 export XDG_CONFIG_DIRS="${KDEDIR}/etc/xdg"
129 EOF
130 insinto "${KDEDIR}/env"
131 doins "${T}/xdg.sh"
132
133 # x11 session script
134 cat <<-EOF > "${T}/${SLOT}"
135 #!/bin/sh
136 exec ${KDEDIR}/bin/startkde
137 EOF
138 exeinto /etc/X11/Sessions
139 doexe "${T}/${SLOT}"
140
141 # freedesktop compliant session script
142 sed -e "s:\${KDE4_BIN_INSTALL_DIR}:${KDEDIR}/bin:g;s:Name=KDE:Name=${SLOT}:" \
143 "${S}/kdm/kfrontend/sessions/kde.desktop.cmake" > "${T}/${SLOT}.desktop"
144 insinto /usr/share/xsessions
145 doins "${T}/${SLOT}.desktop"
146 }
147
148 pkg_postinst () {
149 kde4-meta_pkg_postinst
150
151 echo
152 elog "To enable gpg-agent and/or ssh-agent in KDE sessions,"
153 elog "edit ${KDEDIR}/env/agent-startup.sh and"
154 elog "${KDEDIR}/shutdown/agent-shutdown.sh"
155 echo
156 }
157
158
159
160 --
161 gentoo-commits@l.g.o mailing list