Gentoo Development Guide

GNOME2.ECLASS

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

NAME

gnome2.eclass - Provides phases for Gnome/Gtk+ based packages.  

DESCRIPTION

Exports portage base functions used by ebuilds written for packages using the GNOME framework. For additional functions, see gnome2-utils.eclass.  

FUNCTIONS

gnome2_src_unpack
Stub function for old EAPI.
gnome2_src_prepare
Prepare environment for build, fix build of scrollkeeper documentation, run elibtoolize.
gnome2_src_configure
Gnome specific configure handling
gnome2_src_compile
Stub function for old EAPI.
gnome2_src_install
Gnome specific install. Handles typical GConf and scrollkeeper setup in packages and removal of .la files 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.
 

ECLASS VARIABLES

G2CONF = ${G2CONF:-""}
Extra configure opts passed to econf
GNOME2_LA_PUNT
Should we delete ALL the .la files? NOT to be used without due consideration.
ELTCONF = ${ELTCONF:-""}
Extra options passed to elibtoolize
USE_EINSTALL = ${USE_EINSTALL:-""}
Should we use EINSTALL instead of DESTDIR. DEPRECATED
DOCS
String containing documents passed to dodoc command.
GCONF_DEBUG
Whether to handle debug or not. Some gnome applications support various levels of debugging (yes, no, minimum, etc), but using --disable-debug also removes g_assert which 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 with USE=-debug. Note that this is most commonly found in configure.ac as GNOME_DEBUG_CHECK.
 

MAINTAINERS

gnome@gentoo.org
 

REPORTING BUGS

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

FILES

/usr/portage/eclass/gnome2.eclass  

SEE ALSO

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


 

Index

NAME
DESCRIPTION
FUNCTIONS
ECLASS VARIABLES
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

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