1 |
hwoarang 15/03/30 18:12:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lightdm-1.14.0.ebuild |
5 |
Removed: lightdm-1.10.4.ebuild lightdm-1.12.2.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.110 x11-misc/lightdm/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.110&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.110&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?r1=1.109&r2=1.110 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v |
21 |
retrieving revision 1.109 |
22 |
retrieving revision 1.110 |
23 |
diff -u -r1.109 -r1.110 |
24 |
--- ChangeLog 17 Mar 2015 20:37:44 -0000 1.109 |
25 |
+++ ChangeLog 30 Mar 2015 18:12:36 -0000 1.110 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for x11-misc/lightdm |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.109 2015/03/17 20:37:44 hwoarang Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.110 2015/03/30 18:12:36 hwoarang Exp $ |
31 |
+ |
32 |
+*lightdm-1.14.0 (30 Mar 2015) |
33 |
+ |
34 |
+ 30 Mar 2015; Markos Chandras <hwoarang@g.o> +lightdm-1.14.0.ebuild, |
35 |
+ -lightdm-1.10.4.ebuild, -lightdm-1.12.2.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
*lightdm-1.12.3 (17 Mar 2015) |
39 |
*lightdm-1.10.5 (17 Mar 2015) |
40 |
|
41 |
|
42 |
|
43 |
1.1 x11-misc/lightdm/lightdm-1.14.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.14.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.14.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: lightdm-1.14.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-1.14.0.ebuild,v 1.1 2015/03/30 18:12:36 hwoarang Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit autotools eutils pam readme.gentoo systemd versionator |
56 |
|
57 |
TRUNK_VERSION="$(get_version_component_range 1-2)" |
58 |
DESCRIPTION="A lightweight display manager" |
59 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM" |
60 |
SRC_URI="http://launchpad.net/${PN}/${TRUNK_VERSION}/${PV}/+download/${P}.tar.xz |
61 |
mirror://gentoo/introspection-20110205.m4.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-3 LGPL-3" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~arm ~ppc ~x86" |
66 |
IUSE="+gtk +introspection kde qt4 +gnome" |
67 |
REQUIRED_USE="|| ( gtk kde )" |
68 |
|
69 |
COMMON_DEPEND=">=dev-libs/glib-2.32.3:2 |
70 |
dev-libs/libxml2 |
71 |
gnome? ( sys-apps/accountsservice ) |
72 |
virtual/pam |
73 |
x11-libs/libX11 |
74 |
>=x11-libs/libxklavier-5 |
75 |
introspection? ( >=dev-libs/gobject-introspection-1 ) |
76 |
qt4? ( |
77 |
dev-qt/qtcore:4 |
78 |
dev-qt/qtdbus:4 |
79 |
dev-qt/qtgui:4 |
80 |
)" |
81 |
RDEPEND="${COMMON_DEPEND} |
82 |
>=sys-auth/pambase-20101024-r2" |
83 |
DEPEND="${COMMON_DEPEND} |
84 |
dev-util/gtk-doc-am |
85 |
dev-util/intltool |
86 |
gnome? ( gnome-base/gnome-common ) |
87 |
sys-devel/gettext |
88 |
virtual/pkgconfig" |
89 |
PDEPEND="gtk? ( x11-misc/lightdm-gtk-greeter ) |
90 |
kde? ( x11-misc/lightdm-kde )" |
91 |
|
92 |
DOCS=( NEWS ) |
93 |
RESTRICT="test" |
94 |
|
95 |
src_prepare() { |
96 |
sed -i -e 's:getgroups:lightdm_&:' tests/src/libsystem.c || die #412369 |
97 |
sed -i -e '/minimum-uid/s:500:1000:' data/users.conf || die |
98 |
|
99 |
einfo "Fixing the session-wrapper variable in lightdm.conf" |
100 |
sed -i -e \ |
101 |
"/session-wrapper/s@^.*@session-wrapper=/etc/${PN}/Xsession@" \ |
102 |
data/lightdm.conf || die "Failed to fix lightdm.conf" |
103 |
|
104 |
epatch_user |
105 |
|
106 |
# Remove bogus Makefile statement. This needs to go upstream |
107 |
sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die |
108 |
if has_version dev-libs/gobject-introspection; then |
109 |
eautoreconf |
110 |
else |
111 |
AT_M4DIR=${WORKDIR} eautoreconf |
112 |
fi |
113 |
} |
114 |
|
115 |
src_configure() { |
116 |
# Set default values if global vars unset |
117 |
local _greeter _session _user |
118 |
_greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter} |
119 |
_session=${LIGHTDM_SESSION:=gnome} |
120 |
_user=${LIGHTDM_USER:=root} |
121 |
# Let user know how lightdm is configured |
122 |
einfo "Gentoo configuration" |
123 |
einfo "Default greeter: ${_greeter}" |
124 |
einfo "Default session: ${_session}" |
125 |
einfo "Greeter user: ${_user}" |
126 |
|
127 |
# also disable tests because libsystem.c does not build. Tests are |
128 |
# restricted so it does not matter anyway. |
129 |
econf \ |
130 |
--localstatedir=/var \ |
131 |
--disable-static \ |
132 |
--disable-tests \ |
133 |
$(use_enable introspection) \ |
134 |
$(use_enable qt4 liblightdm-qt) \ |
135 |
--disable-liblightdm-qt5 \ |
136 |
--with-user-session=${_session} \ |
137 |
--with-greeter-session=${_greeter} \ |
138 |
--with-greeter-user=${_user} \ |
139 |
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
default |
144 |
|
145 |
# Delete apparmor profiles because they only work with Ubuntu's |
146 |
# apparmor package. Bug #494426 |
147 |
if [[ -d ${D}/etc/apparmor.d ]]; then |
148 |
rm -r "${D}/etc/apparmor.d" || die \ |
149 |
"Failed to remove apparmor profiles" |
150 |
fi |
151 |
|
152 |
insinto /etc/${PN} |
153 |
doins data/{${PN},keys}.conf |
154 |
doins "${FILESDIR}"/Xsession |
155 |
fperms +x /etc/${PN}/Xsession |
156 |
# /var/lib/lightdm-data could be useful. Bug #522228 |
157 |
dodir /var/lib/lightdm-data |
158 |
|
159 |
prune_libtool_files --all |
160 |
rm -rf "${ED}"/etc/init |
161 |
|
162 |
# Remove existing pam file. We will build a new one. Bug #524792 |
163 |
rm -rf "${ED}"/etc/pam.d/${PN}{,-greeter} |
164 |
pamd_mimic system-local-login ${PN} auth account password session #372229 |
165 |
pamd_mimic system-local-login ${PN}-greeter auth account password session #372229 |
166 |
dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163 |
167 |
|
168 |
readme.gentoo_create_doc |
169 |
|
170 |
systemd_dounit "${FILESDIR}/${PN}.service" |
171 |
} |