Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/lightdm: lightdm-1.9.5.ebuild ChangeLog lightdm-1.9.3.ebuild
Date: Sat, 07 Dec 2013 09:58:25
Message-Id: 20131207095822.606342004B@flycatcher.gentoo.org
1 hwoarang 13/12/07 09:58:22
2
3 Modified: ChangeLog
4 Added: lightdm-1.9.5.ebuild
5 Removed: lightdm-1.9.3.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
10
11 Revision Changes Path
12 1.76 x11-misc/lightdm/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.76&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?rev=1.76&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/ChangeLog?r1=1.75&r2=1.76
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v
21 retrieving revision 1.75
22 retrieving revision 1.76
23 diff -u -r1.75 -r1.76
24 --- ChangeLog 17 Nov 2013 20:15:15 -0000 1.75
25 +++ ChangeLog 7 Dec 2013 09:58:22 -0000 1.76
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-misc/lightdm
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.75 2013/11/17 20:15:15 hwoarang Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.76 2013/12/07 09:58:22 hwoarang Exp $
31 +
32 +*lightdm-1.9.5 (07 Dec 2013)
33 +
34 + 07 Dec 2013; Markos Chandras <hwoarang@g.o> +lightdm-1.9.5.ebuild,
35 + -lightdm-1.9.3.ebuild:
36 + Version bump
37
38 *lightdm-1.8.5 (17 Nov 2013)
39 *lightdm-1.9.3 (17 Nov 2013)
40
41
42
43 1.1 x11-misc/lightdm/lightdm-1.9.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.9.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/lightdm/lightdm-1.9.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: lightdm-1.9.5.ebuild
49 ===================================================================
50 # Copyright 1999-2013 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.9.5.ebuild,v 1.1 2013/12/07 09:58:22 hwoarang Exp $
53
54 EAPI=5
55 inherit autotools eutils pam readme.gentoo systemd
56
57 TRUNK_VERSION="1.9"
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 razor"
67 REQUIRED_USE="|| ( gtk kde razor )"
68
69 COMMON_DEPEND=">=dev-libs/glib-2.32.3:2
70 dev-libs/libxml2
71 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-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 razor? ( razorqt-base/razorqt-lightdm-greeter )"
92
93 DOCS=( NEWS )
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 epatch "${FILESDIR}"/${PN}-1.7.7-session-wrapper.patch
100 epatch_user
101
102 # Remove bogus Makefile statement. This needs to go upstream
103 sed -i /"@YELP_HELP_RULES@"/d help/Makefile.am || die
104 if has_version dev-libs/gobject-introspection; then
105 eautoreconf
106 else
107 AT_M4DIR=${WORKDIR} eautoreconf
108 fi
109 }
110
111 src_configure() {
112 # Set default values if global vars unset
113 local _greeter _session _user
114 _greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
115 _session=${LIGHTDM_SESSION:=gnome}
116 _user=${LIGHTDM_USER:=root}
117 # Let user know how lightdm is configured
118 einfo "Gentoo configuration"
119 einfo "Default greeter: ${_greeter}"
120 einfo "Default session: ${_session}"
121 einfo "Greeter user: ${_user}"
122
123 econf \
124 --localstatedir=/var \
125 --disable-static \
126 $(use_enable introspection) \
127 $(use_enable qt4 liblightdm-qt) \
128 --with-user-session=${_session} \
129 --with-greeter-session=${_greeter} \
130 --with-greeter-user=${_user} \
131 --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
132 }
133
134 src_install() {
135 default
136
137 insinto /etc/${PN}
138 doins data/{${PN},keys}.conf
139 doins "${FILESDIR}"/Xsession
140 fperms +x /etc/${PN}/Xsession
141
142 prune_libtool_files --all
143 rm -rf "${ED}"/etc/init
144
145 pamd_mimic system-local-login ${PN} auth account session #372229
146 dopamd "${FILESDIR}"/${PN}-autologin #390863, #423163
147
148 readme.gentoo_create_doc
149
150 systemd_dounit "${FILESDIR}/${PN}.service"
151 }