The Autopackage API

KDE

Functions for installing KDE-specific files.

Functions in this category

Name Parameters
getKdePrefix
installKDEMime <FILENAMES>
installKdeMimeApp <FILENAMES>

Details

getKdePrefix
Syntax: getKdePrefix
Outputs: A directory name, or nothing when KDE 2 or 3 are not found.
Returns: 0 when found, 1 when not found.
Since: 1.0
Deprecated: N/A

Get the PREFIX where KDE 2 or 3 are installed to.


installKDEMime
Syntax: installKDEMime <FILENAMES>
FILENAMES: The .desktop files to install.
Returns: 0 on success, 1 on error.
Since: 1.2
Deprecated: N/A

Install KDE MIME entries (.desktop).

You probably don't need to use this function in your specfiles. installMime() automatically calls it for you to install the KDE MIME entries that were generated from the FreeDesktop.org XML MIME file.


installKdeMimeApp
Syntax: installKdeMimeApp <FILENAMES>
FILENAMES: The .desktop files to install.
Since: 1.0
Deprecated: 1.2