Gentoo Development Guide

GNOME2-UTILS.ECLASS

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

NAME

gnome2-utils.eclass - Auxiliary functions commonly used by Gnome packages.  

DESCRIPTION

This eclass provides a set of auxiliary functions needed by most Gnome packages. It may be used by non-Gnome packages as needed for handling various Gnome stack related functions such as:
 * Gtk+ icon cache management
 * GSettings schemas management
 * GConf schemas management
 * scrollkeeper (old Gnome help system) management  

FUNCTIONS

gnome2_environment_reset
Reset various variables inherited from root's evironment to a reasonable default for ebuilds to help avoid access violations and test failures.
gnome2_gconf_savelist
Find the GConf schemas that are about to be installed and save their location in the GNOME2_ECLASS_SCHEMAS environment variable. This function should be called from pkg_preinst.
gnome2_gconf_install
Applies any schema files installed by the current ebuild to Gconf's database using gconftool-2. This function should be called from pkg_postinst.
gnome2_gconf_uninstall
Removes schema files previously installed by the current ebuild from Gconf's database.
gnome2_icon_savelist
Find the icons that are about to be installed and save their location in the GNOME2_ECLASS_ICONS environment variable. This function should be called from pkg_preinst.
gnome2_icon_cache_update
Updates Gtk+ icon cache files under /usr/share/icons if the current ebuild have installed anything under that location. This function should be called from pkg_postinst and pkg_postrm.
gnome2_omf_fix
Workaround applied to Makefile rules in order to remove redundant calls to scrollkeeper-update and sandbox violations. This function should be called from src_prepare.
gnome2_scrollkeeper_savelist
Find the scrolls that are about to be installed and save their location in the GNOME2_ECLASS_SCROLLS environment variable. This function should be called from pkg_preinst.
gnome2_scrollkeeper_update
Updates the global scrollkeeper database. This function should be called from pkg_postinst and pkg_postrm.
gnome2_schemas_savelist
Find if there is any GSettings schema to install and save the list in GNOME2_ECLASS_GLIB_SCHEMAS variable. This function should be called from pkg_preinst.
gnome2_schemas_update gnome2_schemas_update
Updates GSettings schemas if GNOME2_ECLASS_GLIB_SCHEMAS has some. This function should be called from pkg_postinst and pkg_postrm.
gnome2_gdk_pixbuf_savelist
Find if there is any gdk-pixbuf loader to install and save the list in GNOME2_ECLASS_GDK_PIXBUF_LOADERS variable. This function should be called from pkg_preinst.
gnome2_gdk_pixbuf_update gnome2_gdk_pixbuf_update
Updates gdk-pixbuf loader cache if GNOME2_ECLASS_GDK_PIXBUF_LOADERS has some. This function should be called from pkg_postinst and pkg_postrm.
gnome2_query_immodules_gtk2 gnome2_query_immodules_gtk2
Updates gtk2 immodules/gdk-pixbuf loaders listing.
gnome2_query_immodules_gtk3 gnome2_query_immodules_gtk3
Updates gtk3 immodules/gdk-pixbuf loaders listing.
gnome2_disable_deprecation_warning
Disable deprecation warnings commonly found in glib based packages. Should be called from src_prepare.
 

MAINTAINERS

gnome@gentoo.org
 

REPORTING BUGS

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

FILES

/usr/portage/eclass/gnome2-utils.eclass  

SEE ALSO

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


 

Index

NAME
DESCRIPTION
FUNCTIONS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:05 GMT, April 24, 2014