Gentoo Development Guide

GDESKLETS.ECLASS

Section: portage (5)
Updated: Sep 2014
Index Return to Main Contents
 

NAME

gdesklets.eclass - Installation functions for Desklets and Controls supported by gDesklets  

DESCRIPTION

The gdesklets eclass provides a simple way to create ebuilds for globally installing desktop applets ("Desklets") and supporting code ("Controls") used in the gDesklets framework (provided by gnome-extra/gdesklets-core)

This eclass assumes a package following the instructions at http://gdesklets.de/index.php?q=node/2 . Specifically, the package should be a Desklet or Control ONLY (and *not* a Sensor). You technically could have an ebuild that works around this limitation, but no new packages should be added to the tree that do this (mainly for ease of maintenance).  

FUNCTIONS

gdesklets_src_install
Installs a Desklet or Control depending on which is set of CONTROL_NAME or DESKLET_NAME
gdesklets_pkg_postinst
Marks the Control for rebuilding on Python version change and compiles the Python code or display a useful message to the user, depending on which of CONTROL_NAME or DESKLET_NAME is set.
 

ECLASS VARIABLES

DESKLET_NAME
*Optional* The name of the Desklet, if the package is one. The default is to assume a Desklet with the name being ${PN} without the "desklet-" prefix.
CONTROL_NAME
*Optional* The name of the Control, if the package is one.
DOCS
Anything (like a README) that should be dodoc'd.
SLOT
Set only if the package is a Control and it provides a different interface (i.e. expands to a different install directory) than a previous version.
 

AUTHORS

Original author: Joe Sapp <nixphoeni@gentoo.org>
Original author: Mike Gardiner <obz@gentoo.org>
 

MAINTAINERS

gdesklets@gentoo.org
 

REPORTING BUGS

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

FILES

/usr/portage/eclass/gdesklets.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/gdesklets.eclass?view=log


 

Index

NAME
DESCRIPTION
FUNCTIONS
ECLASS VARIABLES
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:07 GMT, September 02, 2014