| 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.74 2006/10/31 16:11:09 allanonjl Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.75 2006/10/31 17:08:44 allanonjl Exp $ |
| 4 | |
4 | |
| 5 | # GNOME 2 ECLASS |
5 | # GNOME 2 ECLASS |
| 6 | inherit libtool gnome.org debug fdo-mime eutils |
6 | inherit libtool gnome.org debug fdo-mime eutils |
| 7 | |
7 | |
| 8 | # Extra configure opts passed to econf |
8 | # Extra configure opts passed to econf |
| … | |
… | |
| 110 | |
110 | |
| 111 | einfo "Installing GNOME 2 GConf schemas" |
111 | einfo "Installing GNOME 2 GConf schemas" |
| 112 | |
112 | |
| 113 | local contents="${ROOT}/var/db/pkg/*/${PN}-${PVR}/CONTENTS" |
113 | local contents="${ROOT}/var/db/pkg/*/${PN}-${PVR}/CONTENTS" |
| 114 | |
114 | |
| 115 | for F in $(grep "^obj /etc/gconf/schemas/.\+\.schemas" ${contents} | gawk '{print $2}' ); do |
115 | for F in $(grep "^obj /etc/gconf/schemas/.\+\.schemas\b" ${contents} | gawk '{print $2}' ); do |
| 116 | if [[ -e "${F}" ]]; then |
116 | if [[ -e "${F}" ]]; then |
| 117 | # echo "DEBUG::gconf install ${F}" |
117 | # echo "DEBUG::gconf install ${F}" |
| 118 | ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null |
118 | ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null |
| 119 | fi |
119 | fi |
| 120 | done |
120 | done |