Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sddm/
Date: Wed, 31 Aug 2016 12:01:20
Message-Id: 1472644862.603af0e29ab95f873a5102a9e8c427acc5e6e0e6.kensington@gentoo
1 commit: 603af0e29ab95f873a5102a9e8c427acc5e6e0e6
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 11:59:38 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 12:01:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603af0e2
7
8 x11-misc/sddm: remove old revisions
9
10 Package-Manager: portage-2.3.0
11
12 x11-misc/sddm/sddm-0.13.0-r4.ebuild | 81 ------------------------------------
13 x11-misc/sddm/sddm-0.14.0.ebuild | 83 -------------------------------------
14 2 files changed, 164 deletions(-)
15
16 diff --git a/x11-misc/sddm/sddm-0.13.0-r4.ebuild b/x11-misc/sddm/sddm-0.13.0-r4.ebuild
17 deleted file mode 100644
18 index b3f70b3..00000000
19 --- a/x11-misc/sddm/sddm-0.13.0-r4.ebuild
20 +++ /dev/null
21 @@ -1,81 +0,0 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=6
27 -inherit cmake-utils user
28 -
29 -DESCRIPTION="Simple Desktop Display Manager"
30 -HOMEPAGE="https://github.com/sddm/sddm"
31 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
32 -KEYWORDS="~amd64 ~arm ~x86"
33 -
34 -LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
35 -SLOT="0"
36 -IUSE="consolekit +pam systemd"
37 -
38 -RDEPEND="dev-qt/qtcore:5
39 - dev-qt/qtdbus:5
40 - dev-qt/qtgui:5
41 - dev-qt/qtdeclarative:5
42 - dev-qt/qtnetwork:5
43 - >=x11-base/xorg-server-1.15.1
44 - x11-libs/libxcb[xkb(-)]
45 - consolekit? ( >=sys-auth/consolekit-0.9.4 )
46 - pam? ( sys-libs/pam )
47 - systemd? ( sys-apps/systemd:= )
48 - !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
49 -
50 -DEPEND="${RDEPEND}
51 - dev-python/docutils
52 - dev-qt/linguist-tools:5
53 - dev-qt/qttest:5
54 - virtual/pkgconfig"
55 -
56 -pkg_pretend() {
57 - if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
58 - if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
59 - die 'The active compiler needs to be gcc 4.7 (or newer)'
60 - fi
61 - fi
62 -}
63 -
64 -src_prepare() {
65 - eapply "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch"
66 - # fix for flags handling and bug 563108
67 - eapply "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch"
68 - eapply "${FILESDIR}/${P}-password-focus.patch"
69 - use consolekit && eapply "${FILESDIR}/${PN}-0.11.0-consolekit.patch"
70 -
71 - cmake-utils_src_prepare
72 -}
73 -
74 -src_configure() {
75 - local mycmakeargs=(
76 - -DENABLE_PAM=$(usex pam)
77 - -DNO_SYSTEMD=$(usex '!systemd')
78 - -DBUILD_MAN_PAGES=ON
79 - -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
80 - )
81 -
82 - cmake-utils_src_configure
83 -}
84 -
85 -pkg_postinst() {
86 - enewgroup ${PN}
87 - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} video
88 -
89 - if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
90 - local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
91 - if [[ -z ${line} ]]; then
92 - ewarn
93 - ewarn "Erroneous /etc/pam.d/system-login settings detected!"
94 - ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
95 - ewarn
96 - ewarn "session optional pam_ck_connector.so nox11"
97 - ewarn
98 - ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
99 - ewarn
100 - fi
101 - fi
102 -}
103
104 diff --git a/x11-misc/sddm/sddm-0.14.0.ebuild b/x11-misc/sddm/sddm-0.14.0.ebuild
105 deleted file mode 100644
106 index 5b70acb..00000000
107 --- a/x11-misc/sddm/sddm-0.14.0.ebuild
108 +++ /dev/null
109 @@ -1,83 +0,0 @@
110 -# Copyright 1999-2016 Gentoo Foundation
111 -# Distributed under the terms of the GNU General Public License v2
112 -# $Id$
113 -
114 -EAPI=6
115 -inherit cmake-utils user
116 -
117 -DESCRIPTION="Simple Desktop Display Manager"
118 -HOMEPAGE="https://github.com/sddm/sddm"
119 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
120 -KEYWORDS="~amd64 ~arm ~x86"
121 -
122 -LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
123 -SLOT="0"
124 -IUSE="consolekit +pam systemd"
125 -
126 -QT_MINIMAL="5.6"
127 -
128 -RDEPEND="dev-qt/qtcore:5
129 - dev-qt/qtdbus:5
130 - dev-qt/qtgui:5
131 - dev-qt/qtdeclarative:5
132 - dev-qt/qtnetwork:5
133 - >=x11-base/xorg-server-1.15.1
134 - x11-libs/libxcb[xkb(-)]
135 - consolekit? ( >=sys-auth/consolekit-0.9.4 )
136 - pam? ( sys-libs/pam )
137 - systemd? ( sys-apps/systemd:= )
138 - !systemd? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
139 -
140 -DEPEND="${RDEPEND}
141 - dev-python/docutils
142 - dev-qt/linguist-tools:5
143 - dev-qt/qttest:5
144 - kde-frameworks/extra-cmake-modules
145 - virtual/pkgconfig"
146 -
147 -pkg_pretend() {
148 - if [[ ${MERGE_TYPE} != binary && $(tc-getCC) == *gcc* ]]; then
149 - if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 ]] ; then
150 - die 'The active compiler needs to be gcc 4.7 (or newer)'
151 - fi
152 - fi
153 -}
154 -
155 -src_prepare() {
156 - eapply "${FILESDIR}/${PN}-0.13.0-pam_kwallet.patch"
157 - # fix for flags handling and bug 563108
158 - eapply "${FILESDIR}/${PN}-0.12.0-respect-user-flags.patch"
159 - use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch"
160 -
161 - cmake-utils_src_prepare
162 -}
163 -
164 -src_configure() {
165 - local mycmakeargs=(
166 - -DENABLE_PAM=$(usex pam)
167 - -DNO_SYSTEMD=$(usex '!systemd')
168 - -DBUILD_MAN_PAGES=ON
169 - -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
170 - )
171 -
172 - cmake-utils_src_configure
173 -}
174 -
175 -pkg_postinst() {
176 - enewgroup ${PN}
177 - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} video
178 -
179 - if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
180 - local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
181 - if [[ -z ${line} ]]; then
182 - ewarn
183 - ewarn "Erroneous /etc/pam.d/system-login settings detected!"
184 - ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
185 - ewarn
186 - ewarn "session optional pam_ck_connector.so nox11"
187 - ewarn
188 - ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
189 - ewarn
190 - fi
191 - fi
192 -}