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

Diff of /eclass/gnome2.eclass

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

Revision 1.13 Revision 1.19
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.19 2002/07/18 13:08:37 spider Exp $
4 4
5inherit libtool 5inherit libtool
6
7if [ -n "$DEBUG" ]
8then
6inherit debug 9inherit debug
10fi
11
7# Authors: 12# Authors:
8# Bruce A. Locke <blocke@shivan.org> 13# Bruce A. Locke <blocke@shivan.org>
9# Spidler <spidler@gentoo.org> 14# Spidler <spidler@gentoo.org>
10 15
11# Gnome 2 ECLASS 16# Gnome 2 ECLASS
12ECLASS="gnome2" 17ECLASS="gnome2"
18INHERITED="$INHERITED $ECLASS"
19G2CONF=""
13 20
21if [ -n "$DEBUG" ]; then
14G2CONF="--enable-debug=yes" 22 G2CONF="${G2CONF} --enable-debug=yes"
23fi
24
25ELTCONF=""
15SCROLLKEEPER_UPDATE="0" 26SCROLLKEEPER_UPDATE="0"
16 27
17gnome2_src_configure() { 28gnome2_src_configure() {
18 elibtoolize 29 elibtoolize ${ELTCONF}
19 # doc keyword for gtk-doc 30 # doc keyword for gtk-doc
20 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" 31 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
21 32
22 econf ${1} ${G2CONF} || die "./configure failure" 33 econf ${1} ${G2CONF} || die "./configure failure"
23 34
49 [ -d ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1" 60 [ -d ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1"
50} 61}
51 62
52gnome2_pkg_postinst() { 63gnome2_pkg_postinst() {
53 # No more SCHEMAS variable :) 64 # No more SCHEMAS variable :)
65 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
54 export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` 66 export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
55 67 einfo "installing gnome2 gconf schemas"
56 cat ${WORKDIR}/../build-info/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do 68 cat ${WORKDIR}/../build-info/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do
69 echo "DEBUG::gconf install ${F}"
57 /usr/bin/gconftool-2 --makefile-install-rule ${F} 70 /usr/bin/gconftool-2 --makefile-install-rule ${F}
58 done 71 done
59 72
60 # schema installation 73 # schema installation
61 74

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20