Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/cdm/
Date: Sun, 04 Oct 2020 14:58:02
Message-Id: 1601823422.3f129436248df4fc168081fbdd1753e8f9c29b81.zlogene@gentoo
1 commit: 3f129436248df4fc168081fbdd1753e8f9c29b81
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 14:57:02 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 14:57:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f129436
7
8 x11-misc/cdm: remove consolekit support
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild | 11 +++--------
14 x11-misc/cdm/cdm-0.7.ebuild | 11 +++--------
15 x11-misc/cdm/metadata.xml | 3 ---
16 3 files changed, 6 insertions(+), 19 deletions(-)
17
18 diff --git a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
19 index 9702b5d25cc..880a059eabf 100644
20 --- a/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
21 +++ b/x11-misc/cdm/cdm-0.6.1_pre20180107.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI="6"
28 @@ -12,24 +12,19 @@ SRC_URI="https://dev.gentoo.org/~gienah/snapshots/${P}.tar.gz"
29 LICENSE="GPL-3"
30 SLOT="0"
31 KEYWORDS="~amd64 ~x86"
32 -IUSE="pam consolekit"
33 -REQUIRED_USE="consolekit? ( pam )"
34 +IUSE="pam"
35
36 DEPEND=""
37 RDEPEND="${DEPEND}
38 dev-util/dialog
39 x11-apps/xdpyinfo
40 x11-apps/xinit
41 - consolekit? ( sys-auth/consolekit
42 - sys-apps/dbus )
43 pam? ( sys-libs/pam )"
44
45 src_prepare() {
46 default
47 - if ! use consolekit; then
48 - sed -e 's@consolekit=yes@consolekit=no@' \
49 + sed -e 's@consolekit=yes@consolekit=no@' \
50 -i "${S}/src/cdmrc" || die "Could not turn off consolekit in cdmrc"
51 - fi
52 }
53
54 src_install() {
55
56 diff --git a/x11-misc/cdm/cdm-0.7.ebuild b/x11-misc/cdm/cdm-0.7.ebuild
57 index ec83965c22f..69859215a89 100644
58 --- a/x11-misc/cdm/cdm-0.7.ebuild
59 +++ b/x11-misc/cdm/cdm-0.7.ebuild
60 @@ -1,4 +1,4 @@
61 -# Copyright 1999-2019 Gentoo Authors
62 +# Copyright 1999-2020 Gentoo Authors
63 # Distributed under the terms of the GNU General Public License v2
64
65 EAPI="7"
66 @@ -12,24 +12,19 @@ SRC_URI="https://github.com/evertiro/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 -IUSE="pam consolekit"
71 -REQUIRED_USE="consolekit? ( pam )"
72 +IUSE="pam"
73
74 DEPEND=""
75 RDEPEND="${DEPEND}
76 dev-util/dialog
77 x11-apps/xdpyinfo
78 x11-apps/xinit
79 - consolekit? ( sys-auth/consolekit
80 - sys-apps/dbus )
81 pam? ( sys-libs/pam )"
82
83 src_prepare() {
84 default
85 - if ! use consolekit; then
86 - sed -e 's@consolekit=yes@consolekit=no@' \
87 + sed -e 's@consolekit=yes@consolekit=no@' \
88 -i "${S}/src/cdmrc" || die "Could not turn off consolekit in cdmrc"
89 - fi
90 }
91
92 src_install() {
93
94 diff --git a/x11-misc/cdm/metadata.xml b/x11-misc/cdm/metadata.xml
95 index 76e6b001343..1f9a6e70a7b 100644
96 --- a/x11-misc/cdm/metadata.xml
97 +++ b/x11-misc/cdm/metadata.xml
98 @@ -13,7 +13,4 @@ or the instability of qingy. Written in pure bash, CDM has no other
99 dependencies, yet supports multiple users/sessions and can start
100 virtually any DE/WM.
101 </longdescription>
102 -<use>
103 - <flag name="consolekit">Enable native consolekit support</flag>
104 -</use>
105 </pkgmetadata>