| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
| 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.36 2003/10/26 10:22:51 liquidx Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.37 2003/11/30 22:47:20 plasmaroo Exp $ |
| 4 | # |
4 | # |
| 5 | # Authors: |
5 | # Authors: |
| 6 | # Bruce A. Locke <blocke@shivan.org> |
6 | # Bruce A. Locke <blocke@shivan.org> |
| 7 | # Spidler <spider@gentoo.org> |
7 | # Spidler <spider@gentoo.org> |
| 8 | |
8 | |
| … | |
… | |
| 79 | gnome2_gconf_install() { |
79 | gnome2_gconf_install() { |
| 80 | if [ -x ${ROOT}/usr/bin/gconftool-2 ] |
80 | if [ -x ${ROOT}/usr/bin/gconftool-2 ] |
| 81 | then |
81 | then |
| 82 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
82 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
| 83 | export GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source` |
83 | export GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source` |
| 84 | einfo "installing gnome2 gconf schemas" |
84 | einfo "Installing GNOME 2 GConf Schemas" |
| 85 | cat ${ROOT}/var/db/pkg/*/${PN}-${PVR}/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do |
85 | cat ${ROOT}/var/db/pkg/*/${PN}-${PVR}/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do |
| 86 | echo "DEBUG::gconf install ${F}" |
86 | echo "DEBUG::gconf install ${F}" |
| 87 | ${ROOT}/usr/bin/gconftool-2 --makefile-install-rule ${F} |
87 | ${ROOT}/usr/bin/gconftool-2 --makefile-install-rule ${F} |
| 88 | done |
88 | done |
|
|
89 | echo |
| 89 | fi |
90 | fi |
| 90 | } |
91 | } |
| 91 | |
92 | |
| 92 | gnome2_omf_fix() { |
93 | gnome2_omf_fix() { |
| 93 | # workaround/patch against omf.make or omf-install/Makefile.in |
94 | # workaround/patch against omf.make or omf-install/Makefile.in |