1 |
alexxy 09/10/06 21:00:55 |
2 |
|
3 |
Modified: kdm-4.3.2.ebuild ChangeLog |
4 |
Added: kdm-4.3.1-r2.ebuild |
5 |
Log: |
6 |
[kde-base/kdm] Backport set |
7 |
(Portage version: 2.2_rc44/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 kde-base/kdm/kdm-4.3.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/kdm-4.3.2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/kdm-4.3.2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/kdm-4.3.2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: kdm-4.3.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.3.2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- kdm-4.3.2.ebuild 6 Oct 2009 19:18:39 -0000 1.1 |
23 |
+++ kdm-4.3.2.ebuild 6 Oct 2009 21:00:55 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2009 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.3.2.ebuild,v 1.1 2009/10/06 19:18:39 alexxy Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.3.2.ebuild,v 1.2 2009/10/06 21:00:55 alexxy Exp $ |
29 |
|
30 |
EAPI="2" |
31 |
|
32 |
@@ -41,6 +41,7 @@ |
33 |
PATCHES=( |
34 |
"${FILESDIR}/kdebase-4.0.2-pam-optional.patch" |
35 |
"${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch" |
36 |
+ "${FILESDIR}/${PN}-4.3.1-set-grub-default.patch" |
37 |
) |
38 |
|
39 |
src_configure() { |
40 |
|
41 |
|
42 |
|
43 |
1.178 kde-base/kdm/ChangeLog |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/ChangeLog?rev=1.178&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/ChangeLog?rev=1.178&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/ChangeLog?r1=1.177&r2=1.178 |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v |
52 |
retrieving revision 1.177 |
53 |
retrieving revision 1.178 |
54 |
diff -u -r1.177 -r1.178 |
55 |
--- ChangeLog 6 Oct 2009 19:18:39 -0000 1.177 |
56 |
+++ ChangeLog 6 Oct 2009 21:00:55 -0000 1.178 |
57 |
@@ -1,6 +1,12 @@ |
58 |
# ChangeLog for kde-base/kdm |
59 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.177 2009/10/06 19:18:39 alexxy Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/ChangeLog,v 1.178 2009/10/06 21:00:55 alexxy Exp $ |
62 |
+ |
63 |
+*kdm-4.3.1-r2 (06 Oct 2009) |
64 |
+ |
65 |
+ 06 Oct 2009; Alexey Shvetsov <alexxy@g.o> +kdm-4.3.1-r2.ebuild, |
66 |
+ +files/kdm-4.3.1-set-grub-default.patch, kdm-4.3.2.ebuild: |
67 |
+ Backport set default in grub patch, fixes bug 242736 |
68 |
|
69 |
*kdm-4.3.2 (06 Oct 2009) |
70 |
|
71 |
|
72 |
|
73 |
|
74 |
1.1 kde-base/kdm/kdm-4.3.1-r2.ebuild |
75 |
|
76 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/kdm-4.3.1-r2.ebuild?rev=1.1&view=markup |
77 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdm/kdm-4.3.1-r2.ebuild?rev=1.1&content-type=text/plain |
78 |
|
79 |
Index: kdm-4.3.1-r2.ebuild |
80 |
=================================================================== |
81 |
# Copyright 1999-2009 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdm/kdm-4.3.1-r2.ebuild,v 1.1 2009/10/06 21:00:55 alexxy Exp $ |
84 |
|
85 |
EAPI="2" |
86 |
|
87 |
KMNAME="kdebase-workspace" |
88 |
inherit kde4-meta flag-o-matic |
89 |
|
90 |
DESCRIPTION="KDE login manager, similar to xdm and gdm" |
91 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
92 |
IUSE="consolekit debug +handbook kerberos pam" |
93 |
|
94 |
DEPEND=" |
95 |
x11-libs/libXau |
96 |
x11-libs/libXdmcp |
97 |
x11-libs/libXtst |
98 |
consolekit? ( |
99 |
>=sys-apps/dbus-1.0.2 |
100 |
sys-auth/consolekit |
101 |
) |
102 |
kerberos? ( virtual/krb5 ) |
103 |
pam? ( |
104 |
>=kde-base/kcheckpass-${PV}:${SLOT}[kdeprefix=] |
105 |
virtual/pam |
106 |
) |
107 |
" |
108 |
RDEPEND="${DEPEND} |
109 |
>=kde-base/kdepasswd-${PV}:${SLOT}[kdeprefix=] |
110 |
>=x11-apps/xinit-1.0.5-r2 |
111 |
x11-apps/xmessage |
112 |
" |
113 |
|
114 |
KMEXTRACTONLY=" |
115 |
kcontrol/kdm/ |
116 |
" |
117 |
KMEXTRA=" |
118 |
libs/kdm/ |
119 |
" |
120 |
|
121 |
PATCHES=( |
122 |
"${FILESDIR}/kdebase-4.0.2-pam-optional.patch" |
123 |
"${FILESDIR}/${PN}-4-gentoo-xinitrc.d.patch" |
124 |
"${FILESDIR}/${P}-set-grub-default.patch" |
125 |
) |
126 |
|
127 |
src_configure() { |
128 |
# genkdmconf breaks with -O3 |
129 |
# last checked in 4.2.95 |
130 |
replace-flags -O3 -O2 |
131 |
|
132 |
mycmakeargs="${mycmakeargs} |
133 |
$(cmake-utils_use kerberos KDE4_KRB5AUTH) |
134 |
$(cmake-utils_use_with pam) |
135 |
$(cmake-utils_use_with consolekit CkConnector)" |
136 |
|
137 |
kde4-meta_src_configure |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
export GENKDMCONF_FLAGS="--no-old --no-backup" |
142 |
|
143 |
kde4-meta_src_install |
144 |
|
145 |
# Customize the kdmrc configuration |
146 |
sed -i -e "s:^.*SessionsDirs=.*$:#&\nSessionsDirs=/usr/share/xsessions:" \ |
147 |
"${D}"/${PREFIX}/share/config/kdm/kdmrc \ |
148 |
|| die "Failed to set SessionsDirs correctly." |
149 |
|
150 |
# Don't install empty dir |
151 |
rmdir "${D}${KDEDIR}"/share/config/kdm/sessions |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
kde4-meta_pkg_postinst |
156 |
|
157 |
# Set the default kdm face icon if it's not already set by the system admin |
158 |
# because this is user-overrideable in that way, it's not in src_install |
159 |
if [[ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" ]]; then |
160 |
mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" |
161 |
cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/default1.png" \ |
162 |
"${ROOT}${KDEDIR}/share/apps/kdm/faces/.default.face.icon" |
163 |
fi |
164 |
if [[ ! -e "${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" ]]; then |
165 |
mkdir -p "${ROOT}${KDEDIR}/share/apps/kdm/faces" |
166 |
cp "${ROOT}${KDEDIR}/share/apps/kdm/pics/users/root1.png" \ |
167 |
"${ROOT}${KDEDIR}/share/apps/kdm/faces/root.face.icon" |
168 |
fi |
169 |
|
170 |
if use consolekit; then |
171 |
echo |
172 |
elog "You have compiled 'kdm' with consolekit support. If you want to use kdm," |
173 |
elog "make sure consolekit daemon is running and started at login time" |
174 |
elog |
175 |
elog "rc-update add consolekit default && /etc/init.d/consolekit start" |
176 |
echo |
177 |
fi |
178 |
} |