After installing gpicview I got this: * QA Notice: .desktop files with MimeType= were found installed * but desktop mimeinfo cache has not been updated: * /usr/share/applications/gpicview.desktop * Please make sure to call xdg_desktop_database_update() * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs. * QA Notice: new icons were found installed but icon cache * has not been updated: * /usr/share/icons/hicolor/48x48/apps/gpicview.png * Please make sure to call xdg_icon_cache_update() * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs. Reproducible: Always Steps to Reproduce: 1. emerge gpicview::gentoo
Created attachment 691467 [details] ebuild with necessary functions calls.
(In reply to Dmitry Suloev from comment #1) > ebuild with necessary functions calls. Seems the idea was to migrate to xdg.eclass (which handles this itself, allowing to drop pkg_post*) but omitted to change the inherit from xdg-utils.
On a side-note, FEATURES=parallel-install inhibit this QA warning, and so likely didn't see it.
The implementation details for the qa check make the results unreliable for parallel-install, which is no fault of parallel-install.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b92c8f9b9488e706b482935ee9f8e7fe4c103dab commit b92c8f9b9488e706b482935ee9f8e7fe4c103dab Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2021-03-16 22:21:57 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2021-03-16 22:23:00 +0000 media-gfx/gpicview: Fix QA warnings about .desktop files. Went unotticed due to FEATURES=parallel-install. Closes:https://bugs.gentoo.org/776286 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> media-gfx/gpicview/gpicview-0.2.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)