Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 684834

Summary: app-misc/datovka should update the .desktop files database
Product: Gentoo Linux Reporter: c4pp4 <c4pp4>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED INVALID    
Severity: normal CC: mgorny
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description c4pp4 2019-04-30 21:21:47 UTC
Hi, maybe it's better to use 'xdg.eclass' instead of 'xdg-utils.eclass' to update not only icon theme cache files but also the .desktop files database.

--- a	2019-04-30 15:39:37.000000000 +0200
+++ b	2019-04-30 22:51:58.990954000 +0200
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit qmake-utils xdg-utils
+inherit qmake-utils xdg
 
 DESCRIPTION="GUI to access the Czech data box e-government system"
 HOMEPAGE="https://www.datovka.cz/"
@@ -45,11 +45,3 @@
 	emake install INSTALL_ROOT="${D}"
 	einstalldocs
 }
-
-pkg_postinst() {
-	xdg_icon_cache_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-05-01 17:09:33 UTC
I don't see any MIME types in the desktop file.  Why would you need to update the db?
Comment 2 c4pp4 2019-05-02 07:47:28 UTC
Hi, you are right. I don't know what I was thinking about, sorry it's a blunder.