Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/
Date: Wed, 07 Sep 2022 09:08:15
Message-Id: 1662541681.96a3e1d6f578b6e505ae664d28499caecf1cc6fc.marecki@gentoo
1 commit: 96a3e1d6f578b6e505ae664d28499caecf1cc6fc
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 7 08:51:25 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 7 09:08:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a3e1d6
7
8 sys-apps/fwupd: explicitly call xdg_pkg_post{inst,rm}
9
10 fwupd installs icons so we need to update the icon cache. This used to
11 be done implicitly via inherit xdg, however when floppym added custom
12 implementations of pkg_post{inst,rm} in commit
13 c36a53996de7797e831150967c66536fdbea67d1 to handle udev rules
14 xdg.eclass defaults stopped being called.
15
16 Closes: https://bugs.gentoo.org/869032
17 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
18
19 sys-apps/fwupd/fwupd-1.8.3.ebuild | 2 ++
20 sys-apps/fwupd/fwupd-1.8.4.ebuild | 2 ++
21 2 files changed, 4 insertions(+)
22
23 diff --git a/sys-apps/fwupd/fwupd-1.8.3.ebuild b/sys-apps/fwupd/fwupd-1.8.3.ebuild
24 index 6dd2394f80cf..27984e59c834 100644
25 --- a/sys-apps/fwupd/fwupd-1.8.3.ebuild
26 +++ b/sys-apps/fwupd/fwupd-1.8.3.ebuild
27 @@ -198,9 +198,11 @@ src_install() {
28 }
29
30 pkg_postinst() {
31 + xdg_pkg_postinst
32 use minimal || udev_reload
33 }
34
35 pkg_postrm() {
36 + xdg_pkg_postrm
37 use minimal || udev_reload
38 }
39
40 diff --git a/sys-apps/fwupd/fwupd-1.8.4.ebuild b/sys-apps/fwupd/fwupd-1.8.4.ebuild
41 index 4d97b8c02eb5..df9202e9d65c 100644
42 --- a/sys-apps/fwupd/fwupd-1.8.4.ebuild
43 +++ b/sys-apps/fwupd/fwupd-1.8.4.ebuild
44 @@ -195,9 +195,11 @@ src_install() {
45 }
46
47 pkg_postinst() {
48 + xdg_pkg_postinst
49 use minimal || udev_reload
50 }
51
52 pkg_postrm() {
53 + xdg_pkg_postrm
54 use minimal || udev_reload
55 }