xdg-utils.eclass

Name

xdg-utils.eclass -- Auxiliary functions commonly used by XDG compliant packages.

Description

This eclass provides a set of auxiliary functions needed by most XDG compliant packages.

It provides XDG stack related functions such as:

  • GTK/Qt5 icon theme cache management

  • XDG .desktop files cache management

  • XDG mime information database management

Supported EAPIs

5 6 7 8

Functions

xdg_environment_reset

Clean up environment for clean builds.

xdg_desktop_database_update

Updates the .desktop files database. Generates a list of mimetypes linked to applications that can handle them

xdg_icon_cache_update

Updates icon theme cache files under /usr/share/icons.

This function should be called from pkg_postinst and pkg_postrm.

xdg_mimeinfo_database_update

Update the mime database. Creates a general list of mime types from several sources

Authors

Original author: Gilles Dartiguelongue <eva@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/