From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/
Date: Tue, 11 Jul 2023 14:20:26 +0000 (UTC) [thread overview]
Message-ID: <1689085222.038f20225932587696589da093bc57443d4fcbd5.marecki@gentoo> (raw)
commit: 038f20225932587696589da093bc57443d4fcbd5
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 11 14:19:45 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jul 11 14:20:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038f2022
sys-apps/fwupd: add 1.9.3
Closes: https://bugs.gentoo.org/908659
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sys-apps/fwupd/Manifest | 1 +
sys-apps/fwupd/fwupd-1.9.3.ebuild | 194 ++++++++++++++++++++++++++++++++++++++
2 files changed, 195 insertions(+)
diff --git a/sys-apps/fwupd/Manifest b/sys-apps/fwupd/Manifest
index 81688807c9e6..aa98aab1eed7 100644
--- a/sys-apps/fwupd/Manifest
+++ b/sys-apps/fwupd/Manifest
@@ -1,2 +1,3 @@
DIST fwupd-1.8.15.tar.xz 3734344 BLAKE2B 1b098b98b7700e4a9322c53d1c52408e581d124822d1cc7f4a9d25cf3a9169f3596c559f7b9997930e43a9da983fb0c232674726520c9565c250e6db3e4bc0fa SHA512 c7ad249118d84dab903644975761030bcc16d65d9cd4f8d4a58399f79b30a4889cc62d502d28037d61738da7287998328e6042d29c21c5113c29bfc1ba4c0b75
DIST fwupd-1.8.16.tar.xz 3735128 BLAKE2B ae72b850f859e5c7cadbe78b86c2d9d0fc7b27f2de5838ab5c1ab7d7adf41d14ab5bfcb7db72795ca90b7626cf19212f3bb61e15e7ecdbd00a9a454aa80523f8 SHA512 25dd773ca703ab6ad11eb042948bb719c2f3974a2e89ac8f9ae524384bce2c8a3d41e5754a5e0ab5595c14720737d53921dbf2859dd33519dcc480d227aac6c6
+DIST fwupd-1.9.3.tar.xz 3807376 BLAKE2B 2652bc0bb56419bf443476081eb4af2900f24dbf489970bed058f91958902c0fdc301ac163ddc106250a85f3de8fc2a4ca9518d5498efb3793ffbc6ba85fc0cb SHA512 53a3c7e0cebbc8726f07590b26a9d0a4443ff9b048304ed1bff403de532d64eec83b19e51907d39449d9afa78c1f78a139808cdc6249b7e76a1e3a179692acb0
diff --git a/sys-apps/fwupd/fwupd-1.9.3.ebuild b/sys-apps/fwupd/fwupd-1.9.3.ebuild
new file mode 100644
index 000000000000..67c8caa00f48
--- /dev/null
+++ b/sys-apps/fwupd/fwupd-1.9.3.ebuild
@@ -0,0 +1,194 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit meson python-single-r1 vala udev xdg
+
+DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable"
+HOMEPAGE="https://fwupd.org"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="amt +archive bash-completion bluetooth cbor dell elogind fastboot flashrom gnutls gtk-doc +gusb introspection logitech lzma minimal modemmanager nvme policykit spi +sqlite synaptics systemd test tpm uefi"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ^^ ( elogind minimal systemd )
+ dell? ( uefi )
+ fastboot? ( gusb )
+ logitech? ( gusb )
+ minimal? ( !introspection )
+ modemmanager? ( gusb )
+ spi? ( lzma )
+ synaptics? ( gnutls )
+ test? ( archive gusb )
+ uefi? ( gnutls )
+"
+RESTRICT="!test? ( test )"
+
+BDEPEND="$(vala_depend)
+ >=dev-util/meson-0.60.0
+ virtual/pkgconfig
+ gtk-doc? (
+ $(python_gen_cond_dep '
+ >=dev-python/markdown-3.2[${PYTHON_USEDEP}]
+ ')
+ >=dev-util/gi-docgen-2021.1
+ )
+ bash-completion? ( >=app-shells/bash-completion-2.0 )
+ introspection? ( dev-libs/gobject-introspection )
+ test? (
+ dev-util/umockdev
+ net-libs/gnutls[tools]
+ )
+"
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=app-arch/gcab-1.0
+ app-arch/xz-utils
+ >=dev-libs/glib-2.68:2
+ >=dev-libs/json-glib-1.6.0
+ >=dev-libs/libgudev-232:=
+ >=dev-libs/libjcat-0.1.4[gpg,pkcs7]
+ >=dev-libs/libxmlb-0.3.6:=[introspection?]
+ $(python_gen_cond_dep '
+ dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+ ')
+ >=net-misc/curl-7.62.0
+ archive? ( app-arch/libarchive:= )
+ cbor? ( >=dev-libs/libcbor-0.7.0:= )
+ dell? (
+ >=app-crypt/tpm2-tss-2.0
+ >=sys-libs/libsmbios-2.4.0
+ )
+ elogind? ( >=sys-auth/elogind-211 )
+ flashrom? ( >=sys-apps/flashrom-1.2-r3 )
+ gnutls? ( >=net-libs/gnutls-3.6.0 )
+ gusb? ( >=dev-libs/libgusb-0.3.8[introspection?] )
+ logitech? ( dev-libs/protobuf-c:= )
+ lzma? ( app-arch/xz-utils )
+ modemmanager? ( net-misc/modemmanager[mbim,qmi] )
+ policykit? ( >=sys-auth/polkit-0.114 )
+ sqlite? ( dev-db/sqlite )
+ systemd? ( >=sys-apps/systemd-211 )
+ tpm? ( app-crypt/tpm2-tss:= )
+ uefi? (
+ sys-apps/fwupd-efi
+ sys-boot/efibootmgr
+ sys-fs/udisks
+ sys-libs/efivar
+ )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ sys-apps/dbus
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-libs/pango[introspection]
+"
+
+src_prepare() {
+ default
+
+ vala_setup
+
+ # c.f. https://github.com/fwupd/fwupd/issues/1414
+ sed -e "/test('thunderbolt-self-test', e, env: test_env, timeout : 120)/d" \
+ -i plugins/thunderbolt/meson.build || die
+
+ sed -e "/install_dir.*'doc'/s/doc/gtk-doc/" \
+ -i docs/meson.build || die
+
+ python_fix_shebang "${S}"/contrib/*.py
+}
+
+src_configure() {
+ local plugins=(
+ -Dplugin_gpio="enabled"
+ $(meson_feature amt plugin_intel_me)
+ $(meson_feature dell plugin_dell)
+ $(meson_feature fastboot plugin_fastboot)
+ $(meson_feature flashrom plugin_flashrom)
+ $(meson_feature gusb plugin_uf2)
+ $(meson_feature logitech plugin_logitech_bulkcontroller)
+ $(meson_feature modemmanager plugin_modem_manager)
+ $(meson_feature nvme plugin_nvme)
+ $(meson_use spi plugin_intel_spi)
+ $(meson_feature synaptics plugin_synaptics_mst)
+ $(meson_feature synaptics plugin_synaptics_rmi)
+ $(meson_feature tpm plugin_tpm)
+ $(meson_feature uefi plugin_uefi_capsule)
+ $(meson_use uefi plugin_uefi_capsule_splash)
+ $(meson_feature uefi plugin_uefi_pk)
+ )
+ if use ppc64 || use riscv ; then
+ plugins+=( -Dplugin_msr="disabled" )
+ fi
+
+ local emesonargs=(
+ --localstatedir "${EPREFIX}"/var
+ -Dbuild="$(usex minimal standalone all)"
+ -Dconsolekit="disabled"
+ -Dcurl="enabled"
+ -Defi_binary="false"
+ -Dman="true"
+ -Dsupported_build="enabled"
+ -Dudevdir="${EPREFIX}$(get_udevdir)"
+ $(meson_feature archive libarchive)
+ $(meson_use bash-completion bash_completion)
+ $(meson_feature bluetooth bluez)
+ $(meson_feature cbor)
+ $(meson_feature elogind)
+ $(meson_feature gnutls)
+ $(meson_feature gtk-doc docs)
+ $(meson_feature gusb)
+ $(meson_feature lzma)
+ $(meson_feature introspection)
+ $(meson_feature policykit polkit)
+ $(meson_feature sqlite)
+ $(meson_feature systemd)
+ $(meson_use test tests)
+
+ ${plugins[@]}
+ )
+ use uefi && emesonargs+=( -Defi_os_dir="gentoo" )
+ export CACHE_DIRECTORY="${T}"
+ meson_src_configure
+}
+
+src_test() {
+ LC_ALL="C" meson_src_test
+}
+
+src_install() {
+ meson_src_install
+
+ if ! use minimal ; then
+ newinitd "${FILESDIR}"/${PN}-r2 ${PN}
+ fi
+
+ if use test; then
+ # Preventing tests from being installed in the first place is a moving target,
+ # just axe them all afterwards.
+ rm -rf "${ED}"/etc/fwupd/remotes.d/fwupd-tests.conf \
+ "${ED}"/usr/libexec/installed-tests \
+ "${ED}"/usr/share/fwupd/device-tests \
+ "${ED}"/usr/share/fwupd/host-emulate.d/thinkpad-p1-iommu.json.gz \
+ "${ED}"/usr/share/installed-tests \
+ || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ use minimal || udev_reload
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ use minimal || udev_reload
+}
next reply other threads:[~2023-07-11 14:20 UTC|newest]
Thread overview: 257+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 14:20 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 16:08 [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/ Sam James
2024-11-10 16:03 Sam James
2024-11-10 16:03 Sam James
2024-10-24 17:58 Sam James
2024-10-24 17:42 Sam James
2024-10-24 17:42 Sam James
2024-10-04 17:37 Andreas Sturmlechner
2024-09-25 12:40 Joonas Niilola
2024-09-23 9:42 Arthur Zamarin
2024-09-23 0:56 Sam James
2024-09-19 1:26 Sam James
2024-09-19 1:26 Sam James
2024-08-22 1:26 Eli Schwartz
2024-07-24 5:03 Viorel Munteanu
2024-07-24 5:03 Viorel Munteanu
2024-07-22 15:50 Sam James
2024-07-22 15:50 Sam James
2024-07-22 15:50 Sam James
2024-06-01 0:17 Marek Szuba
2024-04-30 1:28 Marek Szuba
2024-04-24 17:28 Arthur Zamarin
2024-04-24 14:30 Sam James
2024-04-24 14:23 Sam James
2024-04-24 13:42 Marek Szuba
2024-04-24 13:13 Marek Szuba
2024-04-07 20:15 Marek Szuba
2024-02-29 16:50 Marek Szuba
2024-02-28 21:46 Marek Szuba
2024-01-04 10:02 Sam James
2023-12-27 15:29 Marek Szuba
2023-12-26 21:26 Sam James
2023-12-13 22:49 Marek Szuba
2023-12-05 15:24 Marek Szuba
2023-09-07 9:27 Marek Szuba
2023-08-22 11:16 Sam James
2023-08-22 11:16 Sam James
2023-08-21 22:03 Marek Szuba
2023-08-09 18:14 Piotr Karbowski
2023-07-11 14:20 Marek Szuba
2023-07-11 8:43 Jakov Smolić
2023-07-07 22:04 Sam James
2023-06-13 21:46 Marek Szuba
2023-05-21 9:09 Jakov Smolić
2023-05-20 6:30 Arthur Zamarin
2023-03-31 17:19 Marek Szuba
2023-03-30 9:47 Marek Szuba
2023-02-20 20:10 Arthur Zamarin
2023-02-20 20:10 Arthur Zamarin
2023-01-09 3:35 Georgy Yakovlev
2022-12-17 19:31 Arthur Zamarin
2022-12-17 19:31 Arthur Zamarin
2022-12-13 11:29 Marek Szuba
2022-12-13 9:40 Marek Szuba
2022-11-12 0:56 Marek Szuba
2022-11-10 0:42 Marek Szuba
2022-11-06 8:10 Agostino Sarubbo
2022-11-06 8:05 Agostino Sarubbo
2022-09-27 12:22 Marek Szuba
2022-09-07 9:08 Marek Szuba
2022-09-07 9:08 Marek Szuba
2022-09-06 19:13 Sam James
2022-08-30 8:06 Marek Szuba
2022-08-28 7:41 WANG Xuerui
2022-08-27 8:40 Agostino Sarubbo
2022-08-27 8:27 Agostino Sarubbo
2022-07-28 13:03 Marek Szuba
2022-07-27 17:28 Andreas Sturmlechner
2022-07-03 18:42 Piotr Karbowski
2022-06-29 7:44 Marek Szuba
2022-06-13 19:43 Mike Gilbert
2022-05-27 13:41 Lars Wendler
2022-05-27 13:33 Jakov Smolić
2022-05-27 13:33 Jakov Smolić
2022-05-02 1:52 Sam James
2022-05-02 1:52 Sam James
2022-04-29 14:33 Lars Wendler
2022-04-29 14:33 Lars Wendler
2022-04-23 21:34 Sam James
2022-04-11 19:23 Lars Wendler
2022-04-11 15:50 Lars Wendler
2022-04-11 15:50 Lars Wendler
2022-02-28 10:08 Jakov Smolić
2022-02-28 10:08 Jakov Smolić
2022-02-28 9:46 Lars Wendler
2022-02-08 7:57 Lars Wendler
2022-02-08 7:57 Lars Wendler
2022-01-13 14:07 Lars Wendler
2022-01-13 14:07 Lars Wendler
2022-01-10 14:58 Lars Wendler
2022-01-10 14:13 Lars Wendler
2021-12-27 14:13 Agostino Sarubbo
2021-12-27 9:52 Jakov Smolić
2021-12-06 15:28 Thomas Deutschmann
2021-12-02 15:51 Thomas Deutschmann
2021-11-12 18:59 Mike Gilbert
2021-11-03 1:45 Thomas Deutschmann
2021-10-29 17:34 Thomas Deutschmann
2021-09-30 13:25 Thomas Deutschmann
2021-09-30 13:25 Thomas Deutschmann
2021-09-29 16:55 Thomas Deutschmann
2021-09-01 9:24 Yixun Lan
2021-08-20 9:25 Yixun Lan
2021-08-13 7:53 Lars Wendler
2021-08-13 7:53 Lars Wendler
2021-07-17 18:18 David Seifert
2021-06-15 23:04 Thomas Deutschmann
2021-06-15 23:04 Thomas Deutschmann
2021-06-14 23:43 Thomas Deutschmann
2021-05-23 22:21 Lars Wendler
2021-05-20 11:18 Lars Wendler
2021-05-20 9:36 Lars Wendler
2021-05-20 9:10 Lars Wendler
2021-05-17 13:45 Agostino Sarubbo
2021-05-17 9:00 Agostino Sarubbo
2021-04-24 12:57 Lars Wendler
2021-04-13 21:53 Lars Wendler
2021-04-12 17:33 Sam James
2021-04-12 17:33 Sam James
2021-04-12 16:41 Lars Wendler
2021-04-12 16:41 Lars Wendler
2021-03-30 7:05 Lars Wendler
2021-03-25 8:30 Lars Wendler
2021-02-23 15:43 Lars Wendler
2021-02-16 19:56 Lars Wendler
2021-02-16 16:22 Lars Wendler
2021-01-20 8:26 Lars Wendler
2021-01-19 22:51 Piotr Karbowski
2021-01-11 10:59 Lars Wendler
2021-01-11 10:59 Lars Wendler
2020-12-17 19:45 Lars Wendler
2020-12-17 19:45 Lars Wendler
2020-12-14 0:46 Sam James
2020-12-08 14:12 Lars Wendler
2020-12-08 14:12 Lars Wendler
2020-12-02 16:54 Rick Farina
2020-11-24 12:57 Agostino Sarubbo
2020-11-24 12:54 Agostino Sarubbo
2020-11-23 22:01 Lars Wendler
2020-11-11 20:48 Georgy Yakovlev
2020-11-08 17:46 Lars Wendler
2020-11-06 1:41 Georgy Yakovlev
2020-11-03 16:26 Lars Wendler
2020-11-03 9:54 Lars Wendler
2020-11-03 9:54 Lars Wendler
2020-10-06 19:10 Mikle Kolyada
2020-09-07 21:40 Lars Wendler
2020-09-07 21:40 Lars Wendler
2020-08-19 8:49 Lars Wendler
2020-08-19 8:49 Lars Wendler
2020-08-19 8:49 Lars Wendler
2020-07-18 0:01 Sam James
2020-07-02 6:46 Lars Wendler
2020-06-29 14:48 Lars Wendler
2020-06-29 14:10 Lars Wendler
2020-06-25 7:00 Agostino Sarubbo
2020-06-20 13:48 Thomas Deutschmann
2020-06-18 16:35 Lars Wendler
2020-06-15 11:38 Lars Wendler
2020-05-18 18:59 Lars Wendler
2020-04-27 15:24 Lars Wendler
2020-04-27 11:57 Lars Wendler
2020-03-07 15:51 Lars Wendler
2020-03-06 12:36 Lars Wendler
2020-02-09 16:42 Michał Górny
2020-02-07 18:41 Pacho Ramos
2020-02-03 21:13 Lars Wendler
2020-02-03 21:13 Lars Wendler
2020-01-01 14:33 Lars Wendler
2020-01-01 14:33 Lars Wendler
2019-12-13 0:07 Thomas Deutschmann
2019-12-03 12:14 Agostino Sarubbo
2019-12-03 12:06 Lars Wendler
2019-12-03 9:23 Lars Wendler
2019-12-01 19:50 Lars Wendler
2019-11-23 16:22 Lars Wendler
2019-11-23 16:22 Lars Wendler
2019-11-05 13:59 Tony Vroon
2019-11-05 10:14 Lars Wendler
2019-11-03 17:03 Lars Wendler
2019-11-02 20:09 Lars Wendler
2019-11-02 10:17 Lars Wendler
2019-11-02 10:17 Lars Wendler
2019-10-16 13:09 Lars Wendler
2019-10-16 13:09 Lars Wendler
2019-10-16 13:09 Lars Wendler
2019-10-16 13:09 Lars Wendler
2019-10-16 13:09 Lars Wendler
2019-10-16 13:09 Lars Wendler
2019-07-16 8:09 Lars Wendler
2019-05-20 7:19 Lars Wendler
2019-05-20 7:17 Lars Wendler
2019-05-18 18:07 Mikle Kolyada
2019-05-16 23:56 Thomas Deutschmann
2019-04-23 12:05 Lars Wendler
2019-04-23 12:05 Lars Wendler
2019-04-21 11:31 Andreas Sturmlechner
2019-04-15 12:18 Lars Wendler
2019-03-28 11:50 Lars Wendler
2019-02-28 14:32 Mikle Kolyada
2019-02-25 20:50 Lars Wendler
2019-02-25 12:01 Andreas Sturmlechner
2019-02-14 1:30 Lars Wendler
2019-02-01 16:38 Lars Wendler
2019-02-01 16:38 Lars Wendler
2019-01-14 16:10 Lars Wendler
2019-01-08 7:45 Lars Wendler
2019-01-08 7:45 Lars Wendler
2019-01-02 13:20 Lars Wendler
2019-01-02 9:51 Lars Wendler
2019-01-02 9:30 Lars Wendler
2019-01-02 9:30 Lars Wendler
2018-11-28 9:35 Lars Wendler
2018-11-28 9:35 Lars Wendler
2018-11-09 16:21 Lars Wendler
2018-11-09 12:26 Lars Wendler
2018-11-09 12:26 Lars Wendler
2018-10-15 10:28 Lars Wendler
2018-10-15 10:28 Lars Wendler
2018-09-24 14:55 Lars Wendler
2018-09-13 13:47 Lars Wendler
2018-09-12 16:09 Lars Wendler
2018-09-12 16:09 Lars Wendler
2018-09-10 15:57 Robin H. Johnson
2018-08-14 13:03 Lars Wendler
2018-07-18 12:09 Lars Wendler
2018-07-13 13:31 Manuel Rüger
2018-07-12 15:01 Lars Wendler
2018-07-12 15:01 Lars Wendler
2018-07-10 12:14 Manuel Rüger
2018-06-29 15:39 Lars Wendler
2018-06-29 15:39 Lars Wendler
2018-04-03 14:10 Lars Wendler
2018-04-03 14:10 Lars Wendler
2018-02-15 13:26 Lars Wendler
2018-02-15 13:26 Lars Wendler
2018-01-29 10:22 Lars Wendler
2018-01-29 10:22 Lars Wendler
2018-01-11 13:55 Lars Wendler
2018-01-11 13:55 Lars Wendler
2017-12-03 13:55 Lars Wendler
2017-12-03 13:55 Lars Wendler
2017-11-21 14:15 Manuel Rüger
2017-10-11 12:44 Lars Wendler
2017-10-10 15:00 Manuel Rüger
2017-08-30 11:38 Lars Wendler
2017-08-07 7:01 Lars Wendler
2017-08-07 7:01 Lars Wendler
2017-08-07 7:01 Lars Wendler
2017-08-07 6:55 Lars Wendler
2017-07-10 13:45 Lars Wendler
2017-07-10 13:45 Lars Wendler
2017-07-10 13:28 Lars Wendler
2017-07-05 6:29 Lars Wendler
2017-06-18 23:16 Lars Wendler
2017-06-18 23:16 Lars Wendler
2017-05-24 12:58 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1689085222.038f20225932587696589da093bc57443d4fcbd5.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox