| 1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2002 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.13 2002/06/12 02:40:00 spider Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.14 2002/06/15 00:31:53 spider Exp $ |
| 4 | |
4 | |
| 5 | inherit libtool |
5 | inherit libtool |
| 6 | inherit debug |
6 | inherit debug |
| 7 | # Authors: |
7 | # Authors: |
| 8 | # Bruce A. Locke <blocke@shivan.org> |
8 | # Bruce A. Locke <blocke@shivan.org> |
| … | |
… | |
| 49 | [ -d ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1" |
49 | [ -d ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1" |
| 50 | } |
50 | } |
| 51 | |
51 | |
| 52 | gnome2_pkg_postinst() { |
52 | gnome2_pkg_postinst() { |
| 53 | # No more SCHEMAS variable :) |
53 | # No more SCHEMAS variable :) |
|
|
54 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
| 54 | export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` |
55 | export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` |
| 55 | |
56 | einfo "installing gnome2 gconf schemas" |
| 56 | cat ${WORKDIR}/../build-info/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do |
57 | cat ${WORKDIR}/../build-info/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do |
|
|
58 | echo "DEBUG::gconf install ${F}" |
| 57 | /usr/bin/gconftool-2 --makefile-install-rule ${F} |
59 | /usr/bin/gconftool-2 --makefile-install-rule ${F} |
| 58 | done |
60 | done |
| 59 | |
61 | |
| 60 | # schema installation |
62 | # schema installation |
| 61 | |
63 | |