gnome2.eclass
Description
Exports portage base functions used by ebuilds written for packages using the
GNOME framework. For additional functions, see gnome2-utils.eclass.
Exported Phases
- 
            
pkg_postrm - 
            
pkg_preinst - 
            
pkg_postinst - 
            
src_unpack - 
            
src_compile - 
            
src_install - 
            
src_prepare - 
            
src_configure 
Functions
- gnome2_src_unpack
 - 
            
Stub function for old EAPI.
 - gnome2_src_prepare
 - 
            
Prepare environment for build, fix build of
scrollkeeperdocumentation, runelibtoolize. - gnome2_src_configure
 - 
            
Gnome specific configure handling
 - gnome2_src_compile
 - 
            
Only default
src_compilefor now - gnome2_src_install
 - 
            
Gnome specific install. Handles typical GConf and scrollkeeper setup in packages and removal of
.lafiles if requested - gnome2_pkg_preinst
 - 
            
Finds Icons, GConf and GSettings schemas for later handling in
pkg_postinst - gnome2_pkg_postinst
 - 
            
Handle scrollkeeper, GConf, GSettings, Icons, desktop and mime database updates.
 - gnome2_pkg_postrm
 - 
            
Handle scrollkeeper, GSettings, Icons, desktop and mime database updates.
 
Variables
- GNOME2_EAUTORECONF = ${GNOME2_EAUTORECONF:-""}
 - 
            
Run
eautoreconfinstead of onlyelibtoolize - ELTCONF = ${ELTCONF:-""}
 - 
            
Extra options passed to
elibtoolize - G2CONF
 - 
            
Extra configure opts passed to
econf. Deprecated, pass extra arguments tognome2_src_configure. Banned in eapi6 and newer. - GCONF_DEBUG
 - 
            
Whether to handle debug or not. Some gnome applications support various levels of debugging (yes, no, minimum, etc), but using
--disable-debugalso removesg_assertwhich makes debugging harder. This variable should be set to yes for such packages for the eclass to handle it properly. It will enable minimal debug withUSE=-debug. Note that this is most commonly found inconfigure.acasGNOME_DEBUG_CHECK.Banned since eapi6 as upstream is moving away from this obsolete macro in favor of
autoconf-archivemacros, that do not expose this issue (bug #270919) - GNOME2_LA_PUNT = ${GNOME2_LA_PUNT:-""}
 - 
            
In EAPIs 5 and 6, it relies on
prune_libtool_files(fromltprune.eclass) for this. Later EAPIs usefind ... -delete.Available values for
GNOME2_LA_PUNT:- 
                
no: will not clean any.lafiles - 
                
yes: will runprune_libtool_files --modules - 
                
If it is not set, it will run
prune_libtool_files 
 - 
                
 
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/