1 |
ssuominen 10/12/02 17:32:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: slim-1.3.2-r3.ebuild |
5 |
Log: |
6 |
Don't set host to avoid bad interaction with pam_ck_connector.so from sys-auth/consolekit and use "system-local-login" wrt #346037 by Matthias Gehre. |
7 |
|
8 |
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.61 x11-misc/slim/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.61&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.61&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?r1=1.60&r2=1.61 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v |
20 |
retrieving revision 1.60 |
21 |
retrieving revision 1.61 |
22 |
diff -u -r1.60 -r1.61 |
23 |
--- ChangeLog 7 Nov 2010 21:20:27 -0000 1.60 |
24 |
+++ ChangeLog 2 Dec 2010 17:32:48 -0000 1.61 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for x11-misc/slim |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.60 2010/11/07 21:20:27 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.61 2010/12/02 17:32:48 ssuominen Exp $ |
30 |
+ |
31 |
+*slim-1.3.2-r3 (02 Dec 2010) |
32 |
+ |
33 |
+ 02 Dec 2010; Samuli Suominen <ssuominen@g.o> |
34 |
+ +files/346037-stop_setting_host_for_pam_ck_connector_so.patch, |
35 |
+ +slim-1.3.2-r3.ebuild: |
36 |
+ Don't set host to avoid bad interaction with pam_ck_connector.so from |
37 |
+ sys-auth/consolekit and use "system-local-login" wrt #346037 by Matthias |
38 |
+ Gehre. |
39 |
|
40 |
07 Nov 2010; Samuli Suominen <ssuominen@g.o> slim-1.3.2-r1.ebuild, |
41 |
slim-1.3.2-r2.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 x11-misc/slim/slim-1.3.2-r3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/slim-1.3.2-r3.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/slim-1.3.2-r3.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: slim-1.3.2-r3.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/slim-1.3.2-r3.ebuild,v 1.1 2010/12/02 17:32:49 ssuominen Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
|
58 |
inherit toolchain-funcs pam eutils |
59 |
|
60 |
DESCRIPTION="Simple Login Manager" |
61 |
HOMEPAGE="http://slim.berlios.de" |
62 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
67 |
IUSE="branding pam" |
68 |
|
69 |
RDEPEND="x11-libs/libXmu |
70 |
x11-libs/libX11 |
71 |
x11-libs/libXpm |
72 |
x11-libs/libXft |
73 |
>=media-libs/libpng-1.4 |
74 |
virtual/jpeg |
75 |
x11-apps/sessreg |
76 |
pam? ( virtual/pam )" |
77 |
DEPEND="${RDEPEND} |
78 |
dev-util/pkgconfig |
79 |
x11-proto/xproto" |
80 |
PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )" |
81 |
|
82 |
src_prepare() { |
83 |
# respect C[XX]FLAGS, fix crosscompile, |
84 |
# fix linking order for --as-needed" |
85 |
sed -i -e "s:^CXX=.*:CXX=$(tc-getCXX) ${CXXFLAGS}:" \ |
86 |
-e "s:^CC=.*:CC=$(tc-getCC) ${CFLAGS}:" \ |
87 |
-e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \ |
88 |
-e "s:^\t\(.*\)\ \$(LDFLAGS)\ \(.*\):\t\1\ \2\ \$(LDFLAGS):g" \ |
89 |
-e "s:-I/usr/include/libpng12:$(pkg-config --cflags-only-I libpng):" \ |
90 |
-e "s:-lpng12:$(pkg-config --libs-only-l libpng):" \ |
91 |
-r -e "s:^LDFLAGS=(.*):LDFLAGS=\1 ${LDFLAGS}:" \ |
92 |
Makefile || die "sed failed in Makefile" |
93 |
# Our Gentoo-specific config changes |
94 |
epatch "${FILESDIR}/${PN}-1.3.2-r2-config.diff" |
95 |
|
96 |
if use branding; then |
97 |
sed -i -e 's/ default/ slim-gentoo-simple/' slim.conf || die |
98 |
fi |
99 |
|
100 |
# Gentoo bug 297655 |
101 |
epatch "${FILESDIR}/14509-fix-keyboard-in-tty-from-which-${PN}-is-lauched.patch" |
102 |
# Upstream bug #15287 |
103 |
epatch "${FILESDIR}/15287-fix-pam-authentication-with-pam_unix2.patch" |
104 |
# Gentoo Bug 261713 |
105 |
epatch "${FILESDIR}/261713-restart-xserver-if-killed.patch" |
106 |
# Gentoo bug 261359, upstream 15326 |
107 |
epatch "${FILESDIR}/261359-fix-SIGTERM-freeze.patch" |
108 |
# Gentoo bug 346037 |
109 |
epatch "${FILESDIR}/346037-stop_setting_host_for_pam_ck_connector_so.patch" |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
if use pam ; then |
114 |
emake USE_PAM=1 || die "emake failed." |
115 |
else |
116 |
emake || die "emake failed." |
117 |
fi |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
if use pam ; then |
122 |
emake USE_PAM=1 DESTDIR="${D}" install || die "emake install failed." |
123 |
pamd_mimic system-local-login slim auth account session |
124 |
else |
125 |
emake DESTDIR="${D}" install || die "emake install failed." |
126 |
fi |
127 |
|
128 |
insinto /usr/share/slim |
129 |
newins "${FILESDIR}/Xsession" Xsession || die "newins failed" |
130 |
|
131 |
insinto /etc/logrotate.d |
132 |
newins "${FILESDIR}/slim.logrotate" slim || die "newins failed" |
133 |
|
134 |
dodoc xinitrc.sample ChangeLog README TODO THEMES |
135 |
} |
136 |
|
137 |
pkg_postinst() { |
138 |
elog |
139 |
elog "The configuration file is located at /etc/slim.conf." |
140 |
elog |
141 |
elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" " |
142 |
elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"." |
143 |
elog |
144 |
elog "By default, ${PN} now does proper X session selection, including ~/.xsession" |
145 |
elog "support, as well as selection between sessions available in" |
146 |
elog "/etc/X11/Sessions/ at login by pressing [F1]." |
147 |
elog |
148 |
elog "The XSESSION environment variable is still supported as a default" |
149 |
elog "if no session has been specified by the user." |
150 |
elog |
151 |
elog "If you want to use .xinitrc in the user's home directory for session" |
152 |
elog "management instead, see README and xinitrc.sample in" |
153 |
elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf" |
154 |
elog "accordingly." |
155 |
elog |
156 |
if ! use pam; then |
157 |
elog "You have merged ${PN} without USE=pam, this will cause ${PN} to fall back to" |
158 |
elog "the console when restarting your window manager. If this is not" |
159 |
elog "desired, then please remerge ${PN} with USE=pam" |
160 |
fi |
161 |
} |