Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/
Date: Fri, 06 Mar 2020 12:36:26
Message-Id: 1583498174.f44d05b7a912b6289009c66604defde234b84079.polynomial-c@gentoo
1 commit: f44d05b7a912b6289009c66604defde234b84079
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 6 12:31:30 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 6 12:36:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44d05b7
7
8 sys-apps/fwupd: Removed old
9
10 Package-Manager: Portage-2.3.92, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/fwupd/Manifest | 2 -
14 sys-apps/fwupd/fwupd-1.3.6.ebuild | 163 --------------------------------------
15 sys-apps/fwupd/fwupd-1.3.7.ebuild | 163 --------------------------------------
16 3 files changed, 328 deletions(-)
17
18 diff --git a/sys-apps/fwupd/Manifest b/sys-apps/fwupd/Manifest
19 index df0d2dcc6dc..e5a784b78a0 100644
20 --- a/sys-apps/fwupd/Manifest
21 +++ b/sys-apps/fwupd/Manifest
22 @@ -1,5 +1,3 @@
23 DIST fwupd-1.2.11.tar.gz 1945646 BLAKE2B 4eb6d5008d0e515880147a94b2632ed70b5f7ab1891775ac121347653c06bf4403ab7f4a1fe160000a6195d360fe06d64c8971dd53c1538aeac40d155f59979a SHA512 a8d6a76ac59937547c6866d414e95a67779574901b0a15ecfde763f49b434b284be2ade1194179225785006e5f93836667469d08f32d4c87fc85927aa0bfe9de
24 -DIST fwupd-1.3.6.tar.gz 2207849 BLAKE2B 465055d90576d4c0a7812f2554d2bc3298a12030816a2469ce653d28f9ea81e363c401355191d41b200975a615cfc64b954e0cced6b6f6bbfbbf26f63163a25e SHA512 20a5f346563b1cb8296f31ea448f336d8b54df2e5296524e2fa040a31001838b0de4a88f0d4aad9f5eeaeb4acc46919c0effb254ce681556db00cec5a4a1bc78
25 -DIST fwupd-1.3.7.tar.gz 2223704 BLAKE2B e86603542dc76ec355912fae86721b8e60cea8bef34224cf5f157d3a91058deafc2804761ece472f0264ef42d7fa2b77d935a1638c9db3a6c0722c0659ce6a59 SHA512 6734533193be40051a565609905097c76d9f53c53075e37f560408be698774be0867383877b2acbcd2e5a92c817afdd30532f3d94465b27311b31c825a38481e
26 DIST fwupd-1.3.8.tar.gz 2246170 BLAKE2B b55df322c64947bcccc7bf05daaec2c5b2f646a4e53d757482dcd4d33e94d725315e6456bf69d5dbca3ef870437e1cc2a861537fc7af9b059497f119f08477de SHA512 0f0aa380adc5e167e49db4261b50bee9c905786afcd44b5fe221f42a77306219d40888989e0b16448535eaf077baed12de56b6cca42f91fca09c4a8384f243e4
27 DIST fwupd-1.3.9.tar.gz 2254260 BLAKE2B ead64be3eca00fd2d045fb6c5ccd42d8913fa056736e6ae039feef70b6edababe50fb0552db39bf057750d3f0d2224b18b7ecf5a5a408a1f1ac3023d89687f68 SHA512 b81ef1f683082e4c49ab8acd8848118fed1383d4e3e73967daaa68927e553a5bc4973004d3dd26b268b901c5deb1f9238a98537d24cfd957162f508c9622e1e4
28
29 diff --git a/sys-apps/fwupd/fwupd-1.3.6.ebuild b/sys-apps/fwupd/fwupd-1.3.6.ebuild
30 deleted file mode 100644
31 index a9c5006ef34..00000000000
32 --- a/sys-apps/fwupd/fwupd-1.3.6.ebuild
33 +++ /dev/null
34 @@ -1,163 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{6,7,8} )
41 -
42 -inherit linux-info meson python-single-r1 vala xdg toolchain-funcs
43 -
44 -DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable"
45 -HOMEPAGE="https://fwupd.org"
46 -SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="LGPL-2.1+"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~arm ~x86"
51 -IUSE="agent amt consolekit dell gtk-doc elogind minimal +gpg introspection +man nvme pkcs7 redfish synaptics systemd test thunderbolt tpm uefi"
52 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
53 - ^^ ( consolekit elogind minimal systemd )
54 - dell? ( uefi )
55 - minimal? ( !introspection )
56 -"
57 -RESTRICT="!test? ( test )"
58 -
59 -BDEPEND="$(vala_depend)
60 - virtual/pkgconfig
61 - gtk-doc? ( dev-util/gtk-doc )
62 - introspection? ( dev-libs/gobject-introspection )
63 - man? (
64 - app-text/docbook-sgml-utils
65 - sys-apps/help2man
66 - )
67 - test? (
68 - thunderbolt? ( dev-util/umockdev )
69 - net-libs/gnutls[tools]
70 - )
71 -"
72 -DEPEND="${PYTHON_DEPS}
73 - >=app-arch/gcab-1.0
74 - app-arch/libarchive:=
75 - dev-db/sqlite
76 - >=dev-libs/glib-2.45.8:2
77 - dev-libs/json-glib
78 - dev-libs/libgpg-error
79 - dev-libs/libgudev:=
80 - >=dev-libs/libgusb-0.2.9[introspection?]
81 - >=dev-libs/libxmlb-0.1.13
82 - $(python_gen_cond_dep '
83 - dev-python/pillow[${PYTHON_MULTI_USEDEP}]
84 - dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
85 - dev-python/pygobject:3[cairo,${PYTHON_MULTI_USEDEP}]
86 - ')
87 - >=net-libs/libsoup-2.51.92:2.4[introspection?]
88 - virtual/libelf:0=
89 - virtual/udev
90 - consolekit? ( >=sys-auth/consolekit-1.0.0 )
91 - dell? (
92 - sys-libs/efivar
93 - >=sys-libs/libsmbios-2.4.0
94 - )
95 - elogind? ( sys-auth/elogind )
96 - gpg? (
97 - app-crypt/gpgme
98 - dev-libs/libgpg-error
99 - )
100 - !minimal? (
101 - >=sys-auth/polkit-0.103
102 - )
103 - nvme? ( sys-libs/efivar )
104 - pkcs7? ( >=net-libs/gnutls-3.4.4.1:= )
105 - redfish? ( sys-libs/efivar )
106 - systemd? ( >=sys-apps/systemd-211 )
107 - thunderbolt? (
108 - sys-apps/thunderbolt-software-user-space
109 - )
110 - tpm? ( app-crypt/tpm2-tss )
111 - uefi? (
112 - app-crypt/tpm2-tss
113 - media-libs/fontconfig
114 - media-libs/freetype
115 - sys-boot/gnu-efi
116 - sys-boot/efibootmgr
117 - >=sys-libs/efivar-33
118 - x11-libs/cairo
119 - )
120 -"
121 -RDEPEND="
122 - ${DEPEND}
123 - sys-apps/dbus
124 -"
125 -
126 -pkg_setup() {
127 - tc-ld-disable-gold # bug https://github.com/fwupd/fwupd/issues/1530
128 -
129 - python-single-r1_pkg_setup
130 - if use nvme; then
131 - kernel_is -ge 4 4 || die "NVMe support requires kernel >= 4.4"
132 - fi
133 -}
134 -
135 -src_prepare() {
136 - default
137 - # c.f. https://github.com/fwupd/fwupd/issues/1414
138 - sed -e "/test('thunderbolt-self-test', e, env: test_env, timeout : 120)/d" \
139 - -i plugins/thunderbolt/meson.build || die
140 - vala_src_prepare
141 -}
142 -
143 -src_configure() {
144 - local emesonargs=(
145 - --localstatedir "${EPREFIX}"/var
146 - -Dbuild="$(usex minimal standalone all)"
147 - $(meson_use agent)
148 - $(meson_use amt plugin_amt)
149 - $(meson_use consolekit)
150 - $(meson_use dell plugin_dell)
151 - $(meson_use elogind)
152 - $(meson_use gpg)
153 - $(meson_use gtk-doc gtkdoc)
154 - $(meson_use man)
155 - $(meson_use nvme plugin_nvme)
156 - $(meson_use pkcs7)
157 - $(meson_use redfish plugin_redfish)
158 - $(meson_use synaptics plugin_synaptics)
159 - $(meson_use systemd)
160 - $(meson_use test tests)
161 - $(meson_use thunderbolt plugin_thunderbolt)
162 - $(meson_use tpm plugin_tpm)
163 - $(meson_use uefi plugin_uefi)
164 - # Requires libflashrom which our sys-apps/flashrom
165 - # package does not provide
166 - -Dplugin_flashrom="false"
167 - # Dependencies are not available (yet?)
168 - -Dplugin_modem_manager="false"
169 - )
170 - export CACHE_DIRECTORY="${T}"
171 - meson_src_configure
172 -}
173 -
174 -src_install() {
175 - meson_src_install
176 -
177 - if ! use minimal ; then
178 - sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \
179 - "${FILESDIR}"/${PN}-r1 \
180 - > "${T}"/${PN} || die
181 - doinitd "${T}"/${PN}
182 -
183 - if ! use systemd ; then
184 - # Don't timeout when fwupd is running (#673140)
185 - sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \
186 - -i "${ED}"/etc/${PN}/daemon.conf || die
187 - fi
188 - fi
189 -}
190 -
191 -pkg_postinst() {
192 - xdg_pkg_postinst
193 - elog "In case you are using openrc as init system"
194 - elog "and you're upgrading from <fwupd-1.1.0, you"
195 - elog "need to start the fwupd daemon via the openrc"
196 - elog "init script that comes with this package."
197 -}
198
199 diff --git a/sys-apps/fwupd/fwupd-1.3.7.ebuild b/sys-apps/fwupd/fwupd-1.3.7.ebuild
200 deleted file mode 100644
201 index becbfc3095f..00000000000
202 --- a/sys-apps/fwupd/fwupd-1.3.7.ebuild
203 +++ /dev/null
204 @@ -1,163 +0,0 @@
205 -# Copyright 1999-2020 Gentoo Authors
206 -# Distributed under the terms of the GNU General Public License v2
207 -
208 -EAPI=7
209 -
210 -PYTHON_COMPAT=( python3_{6,7,8} )
211 -
212 -inherit linux-info meson python-single-r1 vala xdg toolchain-funcs
213 -
214 -DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable"
215 -HOMEPAGE="https://fwupd.org"
216 -SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
217 -
218 -LICENSE="LGPL-2.1+"
219 -SLOT="0"
220 -KEYWORDS="~amd64 ~arm ~x86"
221 -IUSE="agent amt consolekit dell gtk-doc elogind minimal +gpg introspection +man nvme pkcs7 redfish synaptics systemd test thunderbolt tpm uefi"
222 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
223 - ^^ ( consolekit elogind minimal systemd )
224 - dell? ( uefi )
225 - minimal? ( !introspection )
226 -"
227 -RESTRICT="!test? ( test )"
228 -
229 -BDEPEND="$(vala_depend)
230 - virtual/pkgconfig
231 - gtk-doc? ( dev-util/gtk-doc )
232 - introspection? ( dev-libs/gobject-introspection )
233 - man? (
234 - app-text/docbook-sgml-utils
235 - sys-apps/help2man
236 - )
237 - test? (
238 - thunderbolt? ( dev-util/umockdev )
239 - net-libs/gnutls[tools]
240 - )
241 -"
242 -DEPEND="${PYTHON_DEPS}
243 - >=app-arch/gcab-1.0
244 - app-arch/libarchive:=
245 - dev-db/sqlite
246 - >=dev-libs/glib-2.45.8:2
247 - dev-libs/json-glib
248 - dev-libs/libgpg-error
249 - dev-libs/libgudev:=
250 - >=dev-libs/libgusb-0.2.9[introspection?]
251 - >=dev-libs/libxmlb-0.1.13
252 - $(python_gen_cond_dep '
253 - dev-python/pillow[${PYTHON_MULTI_USEDEP}]
254 - dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
255 - dev-python/pygobject:3[cairo,${PYTHON_MULTI_USEDEP}]
256 - ')
257 - >=net-libs/libsoup-2.51.92:2.4[introspection?]
258 - virtual/libelf:0=
259 - virtual/udev
260 - consolekit? ( >=sys-auth/consolekit-1.0.0 )
261 - dell? (
262 - sys-libs/efivar
263 - >=sys-libs/libsmbios-2.4.0
264 - )
265 - elogind? ( sys-auth/elogind )
266 - gpg? (
267 - app-crypt/gpgme
268 - dev-libs/libgpg-error
269 - )
270 - !minimal? (
271 - >=sys-auth/polkit-0.103
272 - )
273 - nvme? ( sys-libs/efivar )
274 - pkcs7? ( >=net-libs/gnutls-3.4.4.1:= )
275 - redfish? ( sys-libs/efivar )
276 - systemd? ( >=sys-apps/systemd-211 )
277 - thunderbolt? (
278 - sys-apps/thunderbolt-software-user-space
279 - )
280 - tpm? ( app-crypt/tpm2-tss )
281 - uefi? (
282 - app-crypt/tpm2-tss
283 - media-libs/fontconfig
284 - media-libs/freetype
285 - sys-boot/gnu-efi
286 - sys-boot/efibootmgr
287 - >=sys-libs/efivar-33
288 - x11-libs/cairo
289 - )
290 -"
291 -# Block sci-chemistry/chemical-mime-data for bug #701900
292 -RDEPEND="
293 - !<sci-chemistry/chemical-mime-data-0.1.94-r4
294 - ${DEPEND}
295 - sys-apps/dbus
296 -"
297 -
298 -pkg_setup() {
299 - python-single-r1_pkg_setup
300 - if use nvme; then
301 - kernel_is -ge 4 4 || die "NVMe support requires kernel >= 4.4"
302 - fi
303 -}
304 -
305 -src_prepare() {
306 - default
307 - # c.f. https://github.com/fwupd/fwupd/issues/1414
308 - sed -e "/test('thunderbolt-self-test', e, env: test_env, timeout : 120)/d" \
309 - -i plugins/thunderbolt/meson.build || die
310 - vala_src_prepare
311 -}
312 -
313 -src_configure() {
314 - local emesonargs=(
315 - --localstatedir "${EPREFIX}"/var
316 - -Dbuild="$(usex minimal standalone all)"
317 - $(meson_use agent)
318 - $(meson_use amt plugin_amt)
319 - $(meson_use consolekit)
320 - $(meson_use dell plugin_dell)
321 - $(meson_use elogind)
322 - $(meson_use gpg)
323 - $(meson_use gtk-doc gtkdoc)
324 - $(meson_use man)
325 - $(meson_use nvme plugin_nvme)
326 - $(meson_use pkcs7)
327 - $(meson_use redfish plugin_redfish)
328 - $(meson_use synaptics plugin_synaptics)
329 - $(meson_use systemd)
330 - $(meson_use test tests)
331 - $(meson_use thunderbolt plugin_thunderbolt)
332 - $(meson_use tpm plugin_tpm)
333 - $(meson_use uefi plugin_uefi)
334 - # Requires libflashrom which our sys-apps/flashrom
335 - # package does not provide
336 - -Dplugin_flashrom="false"
337 - # Dependencies are not available (yet?)
338 - -Dplugin_modem_manager="false"
339 - )
340 - export CACHE_DIRECTORY="${T}"
341 - meson_src_configure
342 -}
343 -
344 -src_install() {
345 - meson_src_install
346 -
347 - if ! use minimal ; then
348 - sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \
349 - "${FILESDIR}"/${PN}-r1 \
350 - > "${T}"/${PN} || die
351 - doinitd "${T}"/${PN}
352 -
353 - if ! use systemd ; then
354 - # Don't timeout when fwupd is running (#673140)
355 - sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \
356 - -i "${ED}"/etc/${PN}/daemon.conf || die
357 - fi
358 - fi
359 -}
360 -
361 -pkg_postinst() {
362 - xdg_pkg_postinst
363 - elog "In case you are using openrc as init system"
364 - elog "and you're upgrading from <fwupd-1.1.0, you"
365 - elog "need to start the fwupd daemon via the openrc"
366 - elog "init script that comes with this package."
367 -}