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

Diff of /eclass/gnome2.eclass

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

Revision 1.47 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.47 2005/05/27 23:25:32 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
53 51
54 if [ -z "${USE_DESTDIR}" -o "${USE_DESTDIR}" = "0" ]; then 52 if [ -z "${USE_DESTDIR}" -o "${USE_DESTDIR}" = "0" ]; then
55 einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/" "$@" 53 einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/" "$@"
56 else 54 else
57 make DESTDIR=${D} \ 55 make DESTDIR=${D} \
58 scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper \
59 "$@" install 56 "$@" install
60 fi 57 fi
61 58
62 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 59 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
63 60
86 if [ -x ${ROOT}/usr/bin/gconftool-2 ] 83 if [ -x ${ROOT}/usr/bin/gconftool-2 ]
87 then 84 then
88 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 85 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
89 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`
90 einfo "Installing GNOME 2 GConf schemas" 87 einfo "Installing GNOME 2 GConf schemas"
91 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
92 # echo "DEBUG::gconf install ${F}" 90 # echo "DEBUG::gconf install ${F}"
93 ${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
94 done 93 done
95 fi 94 fi
96 95
97} 96}
98 97

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

  ViewVC Help
Powered by ViewVC 1.1.20