Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684834 - app-misc/datovka should update the .desktop files database
Summary: app-misc/datovka should update the .desktop files database
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-04-30 21:21 UTC by c4pp4
Modified: 2019-05-02 12:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.