1 |
eva 09/10/29 22:01:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gdm-2.28.1-r1.ebuild |
5 |
Log: |
6 |
New version for GNOME 2.28. |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.306 gnome-base/gdm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gdm/ChangeLog?rev=1.306&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gdm/ChangeLog?rev=1.306&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gdm/ChangeLog?r1=1.305&r2=1.306 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v |
19 |
retrieving revision 1.305 |
20 |
retrieving revision 1.306 |
21 |
diff -u -r1.305 -r1.306 |
22 |
--- ChangeLog 24 Oct 2009 16:42:45 -0000 1.305 |
23 |
+++ ChangeLog 29 Oct 2009 22:01:08 -0000 1.306 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for gnome-base/gdm |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.305 2009/10/24 16:42:45 nixnut Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/ChangeLog,v 1.306 2009/10/29 22:01:08 eva Exp $ |
29 |
+ |
30 |
+*gdm-2.28.1-r1 (29 Oct 2009) |
31 |
+ |
32 |
+ 29 Oct 2009; Gilles Dartiguelongue <eva@g.o> +gdm-2.28.1-r1.ebuild: |
33 |
+ New version for GNOME 2.28. |
34 |
|
35 |
24 Oct 2009; nixnut <nixnut@g.o> gdm-2.20.10-r2.ebuild: |
36 |
ppc stable #281427 |
37 |
|
38 |
|
39 |
|
40 |
1.1 gnome-base/gdm/gdm-2.28.1-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gdm/gdm-2.28.1-r1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gdm/gdm-2.28.1-r1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: gdm-2.28.1-r1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-2.28.1-r1.ebuild,v 1.1 2009/10/29 22:01:08 eva Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit eutils pam gnome2 autotools |
54 |
|
55 |
DESCRIPTION="GNOME Display Manager" |
56 |
HOMEPAGE="http://www.gnome.org/projects/gdm/" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~x86" |
61 |
|
62 |
IUSE_LIBC="elibc_glibc" |
63 |
IUSE="accessibility +consolekit debug ipv6 gnome-keyring selinux tcpd test xinerama +xklavier $IUSE_LIBC" |
64 |
|
65 |
# Name of the tarball with gentoo specific files |
66 |
GDM_EXTRA="${PN}-2.20.9-gentoo-files-r1" |
67 |
|
68 |
SRC_URI="${SRC_URI} |
69 |
mirror://gentoo/${PN}-2.26-gentoo-patches.tar.bz2 |
70 |
mirror://gentoo/${GDM_EXTRA}.tar.bz2" |
71 |
|
72 |
# FIXME: gdm has a strange behaviour on reboot (from runlevel), especially when xdm tries to stop it (its blocks). |
73 |
RDEPEND=">=sys-apps/devicekit-power-008 |
74 |
>=dev-libs/dbus-glib-0.74 |
75 |
>=dev-libs/glib-2.15.4 |
76 |
>=x11-libs/gtk+-2.10.0 |
77 |
>=x11-libs/pango-1.3 |
78 |
>=media-libs/libcanberra-0.4[gtk] |
79 |
>=gnome-base/libglade-2 |
80 |
>=gnome-base/gconf-2.6.1 |
81 |
>=gnome-base/gnome-panel-2 |
82 |
xklavier? ( >=x11-libs/libxklavier-4 ) |
83 |
x11-libs/libXft |
84 |
app-text/iso-codes |
85 |
|
86 |
x11-libs/libXi |
87 |
x11-libs/libXau |
88 |
x11-libs/libX11 |
89 |
x11-libs/libXext |
90 |
x11-apps/sessreg |
91 |
x11-libs/libXdmcp |
92 |
virtual/pam |
93 |
consolekit? ( |
94 |
sys-auth/consolekit |
95 |
>=sys-apps/hal-0.5.12_rc1-r1[consolekit] ) |
96 |
|
97 |
accessibility? ( x11-libs/libXevie ) |
98 |
gnome-keyring? ( >=gnome-base/gnome-keyring-2.22[pam] ) |
99 |
selinux? ( sys-libs/libselinux ) |
100 |
tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) |
101 |
xinerama? ( x11-libs/libXinerama ) |
102 |
|
103 |
!gnome-extra/fast-user-switch-applet" |
104 |
DEPEND="${RDEPEND} |
105 |
test? ( >=dev-libs/check-0.9.4 ) |
106 |
xinerama? ( x11-proto/xineramaproto ) |
107 |
sys-devel/gettext |
108 |
x11-proto/inputproto |
109 |
>=dev-util/intltool-0.40 |
110 |
>=dev-util/pkgconfig-0.19 |
111 |
>=app-text/scrollkeeper-0.1.4 |
112 |
>=app-text/gnome-doc-utils-0.3.2" |
113 |
PDEPEND=">=sys-auth/pambase-20090430[consolekit=,gnome-keyring=]" |
114 |
|
115 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
116 |
|
117 |
pkg_setup() { |
118 |
# PAM is the only auth scheme supported |
119 |
# even though configure lists shadow and crypt |
120 |
# they don't have any corresponding code |
121 |
G2CONF="${G2CONF} |
122 |
--disable-schemas-install |
123 |
--localstatedir=/var |
124 |
--with-xdmcp=yes |
125 |
--enable-authentication-scheme=pam |
126 |
--with-pam-prefix=/etc |
127 |
SOUND_PROGRAM=/usr/bin/gdmplay |
128 |
$(use_with accessibility xevie) |
129 |
$(use_enable debug) |
130 |
$(use_enable ipv6) |
131 |
$(use_enable xklavier libxklavier) |
132 |
$(use_with consolekit console-kit) |
133 |
$(use_with selinux) |
134 |
$(use_with tcpd tcp-wrappers) |
135 |
$(use_with xinerama)" |
136 |
|
137 |
enewgroup gdm |
138 |
enewuser gdm -1 -1 /var/lib/gdm gdm |
139 |
} |
140 |
|
141 |
src_prepare() { |
142 |
gnome2_src_prepare |
143 |
|
144 |
# remove unneeded linker directive for selinux (#41022) |
145 |
epatch "${WORKDIR}/${PN}-2.26.1-selinux-remove-attr.patch" |
146 |
|
147 |
# Make it daemonize so that the boot process can continue (#236701) |
148 |
epatch "${WORKDIR}/${PN}-2.26.1-fix-daemonize-regression.patch" |
149 |
|
150 |
# Fix VT grab problem causing GDM to grab VT2 instead of 7 (#261339) |
151 |
epatch "${WORKDIR}/${PN}-2.26.1-broken-VT-detection.patch" |
152 |
|
153 |
# Make custom session work, bug #. |
154 |
epatch "${WORKDIR}/${PN}-2.26.1-custom-session.patch" |
155 |
|
156 |
# ssh-agent handling must be done at xinitrc.d |
157 |
epatch "${WORKDIR}/${PN}-2.26.1-xinitrc-ssh-agent.patch" |
158 |
|
159 |
# Fix libxklavier automagic support |
160 |
epatch "${WORKDIR}/${PN}-2.26.1-automagic-libxklavier-support.patch" |
161 |
|
162 |
intltoolize --force --copy --automake || die "intltoolize failed" |
163 |
eautoreconf |
164 |
} |
165 |
|
166 |
src_install() { |
167 |
gnome2_src_install |
168 |
|
169 |
local gentoodir="${WORKDIR}/${GDM_EXTRA}" |
170 |
|
171 |
# gdm-binary should be gdm to work with our init (#5598) |
172 |
rm -f "${D}/usr/sbin/gdm" |
173 |
dosym /usr/sbin/gdm-binary /usr/sbin/gdm |
174 |
|
175 |
# our x11's scripts point to /usr/bin/gdm |
176 |
dosym /usr/sbin/gdm-binary /usr/bin/gdm |
177 |
|
178 |
# log, etc. |
179 |
keepdir /var/log/gdm |
180 |
keepdir /var/gdm |
181 |
|
182 |
fowners root:gdm /var/gdm |
183 |
fperms 1770 /var/gdm |
184 |
|
185 |
# add a custom xsession .desktop by default (#44537) |
186 |
exeinto /etc/X11/dm/Sessions |
187 |
doexe "${gentoodir}/custom.desktop" || die "doexe 1 failed" |
188 |
|
189 |
# add xinitrc.d scripts |
190 |
exeinto /etc/X11/xinit/xinitrc.d |
191 |
doexe "${FILESDIR}/49-keychain" || die "doexe 2 failed" |
192 |
doexe "${FILESDIR}/50-ssh-agent" || die "doexe 3 failed" |
193 |
|
194 |
# install XDG_DATA_DIRS gdm changes |
195 |
echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm |
196 |
doenvd 99xdg-gdm || die "doenvd failed" |
197 |
|
198 |
# add a custom sound playing script (#248253) |
199 |
dobin "${gentoodir}/gdmplay" |
200 |
|
201 |
# avoid file collision, bug #213118 |
202 |
rm -f "${D}/usr/share/xsessions/gnome.desktop" |
203 |
|
204 |
# We replace the pam stuff by our own |
205 |
rm -rf "${D}/etc/pam.d" |
206 |
|
207 |
use gnome-keyring && sed -i "s:#Keyring=::g" "${gentoodir}"/pam.d/* |
208 |
|
209 |
dopamd "${gentoodir}"/pam.d/* |
210 |
dopamsecurity console.apps "${gentoodir}/security/console.apps/gdmsetup" |
211 |
} |
212 |
|
213 |
pkg_postinst() { |
214 |
gnome2_pkg_postinst |
215 |
|
216 |
ewarn |
217 |
ewarn "This is an EXPERIMENTAL release, please bear with its bugs and" |
218 |
ewarn "visit us on #gentoo-desktop if you have problems." |
219 |
ewarn |
220 |
|
221 |
elog "To make GDM start at boot, edit /etc/conf.d/xdm" |
222 |
elog "and then execute 'rc-update add xdm default'." |
223 |
elog "If you already have GDM running, you will need to restart it." |
224 |
|
225 |
if use gnome-keyring; then |
226 |
elog "For autologin to unlock your keyring, you need to set an empty" |
227 |
elog "password on your keyring. Use app-crypt/seahorse for that." |
228 |
fi |
229 |
|
230 |
if [ -f "/etc/X11/gdm/gdm.conf" ]; then |
231 |
elog "You had /etc/X11/gdm/gdm.conf which is the old configuration" |
232 |
elog "file. It has been moved to /etc/X11/gdm/gdm-pre-gnome-2.16" |
233 |
mv /etc/X11/gdm/gdm.conf /etc/X11/gdm/gdm-pre-gnome-2.16 |
234 |
fi |
235 |
} |
236 |
|
237 |
pkg_postrm() { |
238 |
gnome2_pkg_postrm |
239 |
|
240 |
if [[ "$(rc-config list default | grep xdm)" != "" ]] ; then |
241 |
elog "To remove GDM from startup please execute" |
242 |
elog "'rc-update del xdm default'" |
243 |
fi |
244 |
} |