Gentoo Archives: gentoo-commits

From: "Pavel Kazakov (nullishzero)" <nullishzero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in lxde-base/lxdm: lxdm-0.4.1-r9.ebuild ChangeLog
Date: Mon, 23 Dec 2013 07:44:03
Message-Id: 20131223074358.F27A62004E@flycatcher.gentoo.org
1 nullishzero 13/12/23 07:43:58
2
3 Modified: ChangeLog
4 Added: lxdm-0.4.1-r9.ebuild
5 Log:
6 Make pam a conditional subdirectory; bug #469512
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x39E7AB2E)
9
10 Revision Changes Path
11 1.32 lxde-base/lxdm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/lxde-base/lxdm/ChangeLog?rev=1.32&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/lxde-base/lxdm/ChangeLog?rev=1.32&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/lxde-base/lxdm/ChangeLog?r1=1.31&r2=1.32
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/lxde-base/lxdm/ChangeLog,v
20 retrieving revision 1.31
21 retrieving revision 1.32
22 diff -u -r1.31 -r1.32
23 --- ChangeLog 22 Dec 2013 13:03:07 -0000 1.31
24 +++ ChangeLog 23 Dec 2013 07:43:58 -0000 1.32
25 @@ -1,6 +1,12 @@
26 # ChangeLog for lxde-base/lxdm
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/ChangeLog,v 1.31 2013/12/22 13:03:07 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/ChangeLog,v 1.32 2013/12/23 07:43:58 nullishzero Exp $
30 +
31 +*lxdm-0.4.1-r9 (23 Dec 2013)
32 +
33 + 23 Dec 2013; Pavel Kazakov <nullishzero@g.o>
34 + +files/lxdm-0.4.1-fix-optional-pam.patch, +lxdm-0.4.1-r9.ebuild:
35 + Make pam a conditional subdirectory; bug #469512
36
37 22 Dec 2013; Markos Chandras <hwoarang@g.o>
38 files/lxdm-0.4.1-optional-consolekit.patch:
39
40
41
42 1.1 lxde-base/lxdm/lxdm-0.4.1-r9.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/lxde-base/lxdm/lxdm-0.4.1-r9.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/lxde-base/lxdm/lxdm-0.4.1-r9.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lxdm-0.4.1-r9.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/lxde-base/lxdm/lxdm-0.4.1-r9.ebuild,v 1.1 2013/12/23 07:43:58 nullishzero Exp $
52
53 EAPI="2"
54
55 WANT_AUTOMAKE="1.12" #493996
56 inherit eutils autotools systemd
57
58 DESCRIPTION="LXDE Display Manager"
59 HOMEPAGE="http://lxde.org"
60 SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~ppc ~x86"
65
66 IUSE="consolekit debug gtk3 nls pam"
67
68 RDEPEND="consolekit? ( sys-auth/consolekit )
69 x11-libs/libxcb
70 gtk3? ( x11-libs/gtk+:3 )
71 !gtk3? ( x11-libs/gtk+:2 )
72 nls? ( sys-devel/gettext )
73 pam? ( virtual/pam )"
74 DEPEND="${RDEPEND}
75 >=dev-util/intltool-0.40
76 virtual/pkgconfig"
77
78 src_prepare() {
79 # Upstream bug, tarball contains pre-made lxdm.conf
80 rm "${S}"/data/lxdm.conf || die
81
82 # There is consolekit
83 epatch "${FILESDIR}/${P}-pam_console-disable.patch"
84 # Fix null pointer dereference, backported from git
85 epatch "${FILESDIR}/${P}-git-fix-null-pointer-deref.patch"
86
87 epatch "${FILESDIR}"/${P}-configure-add-pam.patch
88
89 # 403999
90 epatch "${FILESDIR}"/${P}-missing-pam-defines.patch
91
92 # 412025
93 epatch "${FILESDIR}"/${P}-event-check.patch
94
95 # 393329 Selinux support
96 epatch "${FILESDIR}"/${P}-selinux-support.patch
97
98 # See https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/922363
99 epatch "${FILESDIR}/${P}-fix-pam-100-cpu.patch"
100
101 # Optional Consolekit support. bug #443666
102 epatch "${FILESDIR}"/${P}-optional-consolekit.patch
103
104 # 469512
105 epatch "${FILESDIR}"/${P}-fix-optional-pam.patch
106
107 # this replaces the bootstrap/autogen script in most packages
108 eautoreconf
109
110 # process LINGUAS
111 if use nls; then
112 einfo "Running intltoolize ..."
113 intltoolize --force --copy --automake || die
114 strip-linguas -i "${S}/po" || die
115 fi
116 }
117 src_configure() {
118 econf --enable-password \
119 --with-x \
120 --with-xconn=xcb \
121 $(use_enable consolekit) \
122 $(use_enable gtk3) \
123 $(use_enable nls) \
124 $(use_enable debug) \
125 $(use_with pam)
126 }
127
128 src_install() {
129 emake DESTDIR="${D}" install || die
130 dodoc AUTHORS README TODO || die
131 systemd_dounit "${FILESDIR}"/${PN}.service
132 }
133
134 pkg_postinst() {
135 echo
136 elog "Take into consideration that LXDM is in the early stages of development!"
137 echo
138 }