1 |
hwoarang 12/03/30 20:32:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lightdm-1.0.10.ebuild |
5 |
Log: |
6 |
Version bump. Bug #410227 |
7 |
|
8 |
(Portage version: 2.2.0_alpha94/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.34 x11-misc/lightdm/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.34&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.34&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?r1=1.33&r2=1.34 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v |
20 |
retrieving revision 1.33 |
21 |
retrieving revision 1.34 |
22 |
diff -u -r1.33 -r1.34 |
23 |
--- ChangeLog 28 Mar 2012 22:57:27 -0000 1.33 |
24 |
+++ ChangeLog 30 Mar 2012 20:32:25 -0000 1.34 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for x11-misc/lightdm |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.33 2012/03/28 22:57:27 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.34 2012/03/30 20:32:25 hwoarang Exp $ |
30 |
+ |
31 |
+*lightdm-1.0.10 (30 Mar 2012) |
32 |
+ |
33 |
+ 30 Mar 2012; Markos Chandras <hwoarang@g.o> +lightdm-1.0.10.ebuild: |
34 |
+ Version bump. Bug #410227 |
35 |
|
36 |
28 Mar 2012; Diego E. Pettenò <flameeyes@g.o> lightdm-1.1.9.ebuild: |
37 |
QA: add missing dependency over gtk-doc-am. |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-misc/lightdm/lightdm-1.0.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.0.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.0.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lightdm-1.0.10.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.0.10.ebuild,v 1.1 2012/03/30 20:32:25 hwoarang Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
inherit autotools eutils pam virtualx |
54 |
|
55 |
DESCRIPTION="A lightweight display manager" |
56 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" |
57 |
SRC_URI="http://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz |
58 |
mirror://gentoo/introspection-20110205.m4.tar.bz2 |
59 |
gtk? ( http://dev.gentoo.org/~hwoarang/distfiles/${PN}-gentoo-patch.tar.gz )" |
60 |
|
61 |
LICENSE="GPL-3 LGPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="branding +gtk +introspection qt4" |
65 |
|
66 |
RDEPEND="dev-libs/glib:2 |
67 |
virtual/pam |
68 |
x11-libs/libxklavier |
69 |
x11-libs/libX11 |
70 |
dev-libs/libxml2 |
71 |
gtk? ( x11-libs/gtk+:3 |
72 |
x11-themes/gnome-themes-standard |
73 |
x11-themes/gnome-icon-theme ) |
74 |
introspection? ( dev-libs/gobject-introspection ) |
75 |
qt4? ( x11-libs/qt-core:4 |
76 |
x11-libs/qt-dbus:4 ) |
77 |
sys-apps/accountsservice" |
78 |
DEPEND="${RDEPEND} |
79 |
dev-lang/vala:0.12 |
80 |
dev-util/intltool |
81 |
dev-util/pkgconfig |
82 |
gnome-base/gnome-common |
83 |
sys-devel/gettext" |
84 |
|
85 |
REQUIRED_USE="branding? ( gtk ) || ( gtk qt4 )" |
86 |
DOCS=( NEWS ) |
87 |
|
88 |
RESTRICT="test" |
89 |
|
90 |
src_prepare() { |
91 |
sed -i -e "/minimum-uid/s:500:1000:" data/users.conf || die |
92 |
sed -i -e "s:gtk+-3.0:gtk+-2.0:" configure.ac || die |
93 |
epatch "${FILESDIR}"/session-wrapper-${PN}.patch |
94 |
|
95 |
if has_version dev-libs/gobject-introspection; then |
96 |
eautoreconf |
97 |
else |
98 |
AT_M4DIR=${WORKDIR} eautoreconf |
99 |
fi |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
# Maybe in the future, we can support some automatic session and user |
104 |
# recognition. Until then, use default values |
105 |
local default=gnome greeter= user=root |
106 |
|
107 |
# gtk has higher priority because Qt4 interface sucks :) |
108 |
use qt4 && greeter=lightdm-qt-greeter |
109 |
use gtk && greeter=lightdm-gtk-greeter |
110 |
|
111 |
# Let user know how lightdm is configured |
112 |
einfo "Gentoo configuration" |
113 |
einfo "Default greeter: ${greeter}" |
114 |
einfo "Default session: ${default}" |
115 |
einfo "Greeter user: ${user}" |
116 |
|
117 |
# do the actual configuration |
118 |
econf --localstatedir=/var \ |
119 |
--disable-static \ |
120 |
$(use_enable introspection) \ |
121 |
$(use_enable qt4 liblightdm-qt) \ |
122 |
$(use_enable qt4 qt-greeter) \ |
123 |
$(use_enable gtk gtk-greeter) \ |
124 |
$(use_enable gtk liblightdm-gobject) \ |
125 |
--with-user-session=${default} \ |
126 |
--with-greeter-session=${greeter} \ |
127 |
--with-greeter-user=${user} \ |
128 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html |
129 |
} |
130 |
|
131 |
# Tests restricted until I find a way to fix them |
132 |
#src_test() { |
133 |
# unset DBUS_SESSION_BUS_ADDRESS LIGHTDM_TEST_STATUS_SOCKET |
134 |
# Xemake check |
135 |
#} |
136 |
|
137 |
src_install() { |
138 |
default |
139 |
|
140 |
# Install missing files |
141 |
insinto /etc/${PN}/ |
142 |
doins "${S}"/data/{users,keys}.conf |
143 |
doins "${FILESDIR}"/Xsession |
144 |
fperms +x /etc/${PN}/Xsession |
145 |
# remove .la files |
146 |
find "${ED}" -name "*.la" -exec rm -rf {} + |
147 |
rm -Rf "${ED}"/etc/init || die |
148 |
|
149 |
if use gtk; then |
150 |
insinto /etc/${PN}/ |
151 |
doins "${WORKDIR}"/${PN}-gtk-greeter.conf |
152 |
if use branding; then |
153 |
insinto /usr/share/${PN}/backgrounds/ |
154 |
doins "${WORKDIR}"/gentoo1024x768.png |
155 |
sed -i -e "/background/s:=.*:=/usr/share/${PN}/backgrounds/gentoo1024x768.png:" \ |
156 |
"${D}"/etc/${PN}/${PN}-gtk-greeter.conf || die |
157 |
fi |
158 |
fi |
159 |
|
160 |
dopamd "${FILESDIR}"/${PN} |
161 |
dopamd "${FILESDIR}"/${PN}-autologin |
162 |
} |
163 |
|
164 |
pkg_postinst() { |
165 |
elog |
166 |
elog "Even though the default /etc/${PN}/${PN}.conf will work for" |
167 |
elog "most users, make sure you configure it to suit your needs" |
168 |
elog "before using ${PN} for the first time." |
169 |
elog "You can test the configuration file using the following" |
170 |
elog "command: ${PN} --test-mode -c /etc/${PN}/${PN}.conf. This" |
171 |
elog "requires xorg-server to be built with the 'kdrive' useflag." |
172 |
elog |
173 |
} |