Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910671 - media-sound/lmms-1.2.2-r2 installs .desktop files with MimeType but does not update desktop mimeinfo cache
Summary: media-sound/lmms-1.2.2-r2 installs .desktop files with MimeType but does not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-22 07:24 UTC by Agostino Sarubbo
Modified: 2024-06-25 10:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,92.93 KB, application/x-xz)
2023-07-22 07:24 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-07-22 07:24:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/lmms-1.2.2-r1 installs .desktop files with MimeType but does not update desktop mimeinfo cache.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-22 07:24:13 UTC
Created attachment 865916 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-24 08:38:05 UTC
ci has reproduced this issue with version 1.2.2-r2 - Updating summary.
Comment 3 Ellen Emilia Anna Zscheile 2024-06-25 10:31:21 UTC
It appears that it basically doesn't call any necessary database update functions.

<snip>
 * QA Notice: .desktop files with MimeType= were found installed
 * but desktop mimeinfo cache has not been updated:
 *   /usr/share/applications/lmms.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/scalable/mimetypes/application-x-lmms-project.svg
 *   /usr/share/icons/hicolor/scalable/apps/lmms.svg
 *   /usr/share/icons/hicolor/64x64/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/64x64/apps/lmms.png
 *   /usr/share/icons/hicolor/48x48/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/48x48/apps/lmms.png
 *   /usr/share/icons/hicolor/32x32/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/32x32/apps/lmms.png
 *   /usr/share/icons/hicolor/24x24/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/24x24/apps/lmms.png
 *   /usr/share/icons/hicolor/16x16/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/16x16/apps/lmms.png
 *   /usr/share/icons/hicolor/128x128/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/128x128/apps/lmms.png
 *   /usr/share/icons/hicolor/64x64@2/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/64x64@2/apps/lmms.png
 *   /usr/share/icons/hicolor/48x48@2/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/48x48@2/apps/lmms.png
 *   /usr/share/icons/hicolor/32x32@2/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/32x32@2/apps/lmms.png
 *   /usr/share/icons/hicolor/24x24@2/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/24x24@2/apps/lmms.png
 *   /usr/share/icons/hicolor/16x16@2/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/16x16@2/apps/lmms.png
 *   /usr/share/icons/hicolor/128x128@2/mimetypes/application-x-lmms-project.png
 *   /usr/share/icons/hicolor/128x128@2/apps/lmms.png
 * Please make sure to call xdg_icon_cache_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
 * QA Notice: mime-info files were found installed but mime-info
 * cache has not been updated:
 *   /usr/share/mime/packages/lmms.xml
 * Please make sure to call xdg_mimeinfo_database_update()
 * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
</snip>
Comment 4 Larry the Git Cow gentoo-dev 2024-06-25 10:55:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de71f61aa81a349334c299fc302b869d2e65f17c

commit de71f61aa81a349334c299fc302b869d2e65f17c
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-06-25 10:54:46 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-25 10:54:46 +0000

    media-sound/lmms: fixed desktop database update
    
    Closes: https://bugs.gentoo.org/910671
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/lmms/lmms-1.2.2-r2.ebuild | 2 +-
 media-sound/lmms/lmms-9999.ebuild     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)