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

Diff of /eclass/gnome2.eclass

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

Revision 1.48 Revision 1.49
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.48 2005/06/05 16:33:18 foser Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.49 2005/07/01 20:35:31 leonardop 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
25 25
26 # [ -n "${ELTCONF}" ] && elibtoolize ${ELTCONF} 26 # [ -n "${ELTCONF}" ] && elibtoolize ${ELTCONF}
27 elibtoolize ${ELTCONF} 27 elibtoolize ${ELTCONF}
28 28
29 # doc keyword for gtk-doc 29 # doc keyword for gtk-doc
30 use doc \
31 && G2CONF="${G2CONF} --enable-gtk-doc" \ 30 G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
32 || G2CONF="${G2CONF} --disable-gtk-doc"
33 31
34 econf "$@" ${G2CONF} || die "./configure failure" 32 econf "$@" ${G2CONF} || die "./configure failure"
35 33
36} 34}
37 35
85 if [ -x ${ROOT}/usr/bin/gconftool-2 ] 83 if [ -x ${ROOT}/usr/bin/gconftool-2 ]
86 then 84 then
87 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 85 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
88 export GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source` 86 export GCONF_CONFIG_SOURCE=`${ROOT}/usr/bin/gconftool-2 --get-default-source`
89 einfo "Installing GNOME 2 GConf schemas" 87 einfo "Installing GNOME 2 GConf schemas"
90 cat ${ROOT}/var/db/pkg/*/${PN}-${PVR}/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do 88 grep "obj /etc/gconf/schemas" ${ROOT}/var/db/pkg/*/${PF}/CONTENTS | sed 's:obj \([^ ]*\) .*:\1:' | while read F; do
89 if [ -e "${F}" ]; then
91 # echo "DEBUG::gconf install ${F}" 90 # echo "DEBUG::gconf install ${F}"
92 ${ROOT}/usr/bin/gconftool-2 --makefile-install-rule ${F} 1>/dev/null 91 ${ROOT}/usr/bin/gconftool-2 --makefile-install-rule ${F} 1>/dev/null
92 fi
93 done 93 done
94 fi 94 fi
95 95
96} 96}
97 97

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

  ViewVC Help
Powered by ViewVC 1.1.20