/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.72 Revision 1.73
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.72 2006/06/12 14:40:49 allanonjl Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.73 2006/08/03 17:04:47 foser Exp $
4 4
5# GNOME 2 ECLASS 5# GNOME 2 ECLASS
6inherit libtool gnome.org debug fdo-mime eutils 6inherit libtool gnome.org debug fdo-mime eutils
7 7
8# Extra configure opts passed to econf 8# Extra configure opts passed to econf
100 rm -fr "${D}/usr/share/applications/mimeinfo.cache" 100 rm -fr "${D}/usr/share/applications/mimeinfo.cache"
101} 101}
102 102
103 103
104gnome2_gconf_install() { 104gnome2_gconf_install() {
105
105 if [[ -x ${GCONFTOOL_BIN} ]]; then 106 if [[ -x ${GCONFTOOL_BIN} ]]; then
106 # We are ready to install the GCONF Scheme now 107 # We are ready to install the GCONF Scheme now
107 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 108 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
108 export GCONF_CONFIG_SOURCE=$(${GCONFTOOL_BIN} --get-default-source) 109 export GCONF_CONFIG_SOURCE=$(${GCONFTOOL_BIN} --get-default-source)
109 110
115 if [[ -e "${F}" ]]; then 116 if [[ -e "${F}" ]]; then
116 # echo "DEBUG::gconf install ${F}" 117 # echo "DEBUG::gconf install ${F}"
117 ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null 118 ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null
118 fi 119 fi
119 done 120 done
121
122 # have gconf reload the new schemas
123 ebegin "Reloading GConf schemas"
124 killall -HUP gconfd-2
125 eend $?
120 fi 126 fi
127
121} 128}
122 129
123gnome2_gconf_uninstall() { 130gnome2_gconf_uninstall() {
124 if [[ -x ${GCONFTOOL_BIN} ]]; then 131 if [[ -x ${GCONFTOOL_BIN} ]]; then
125 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 132 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

  ViewVC Help
Powered by ViewVC 1.1.20