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

Diff of /eclass/gnome2.eclass

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

Revision 1.2 Revision 1.3
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.2 2002/06/01 03:09:29 blocke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.3 2002/06/01 03:41:55 blocke Exp $
4 4
5# Authors: 5# Authors:
6# Bruce A. Locke <blocke@shivan.org> 6# Bruce A. Locke <blocke@shivan.org>
7# Spidler <spidler@gentoo.org> 7# Spidler <spidler@gentoo.org>
8 8
21 21
22gnome2_src_compile() { 22gnome2_src_compile() {
23 23
24 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" 24 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
25 25
26 if [ ${LIBTOOL_FIX} -eq 1 ] 26 if [ "${LIBTOOL_FIX}" = "1" ]
27 then 27 then
28 libtoolize --copy --force 28 libtoolize --copy --force
29 fi 29 fi
30 30
31 econf "${1} --enable-debug=yes" || die "./configure failure" 31 econf ${1} --enable-debug=yes || die "./configure failure"
32 emake || die "compile failure" 32 emake || die "compile failure"
33 33
34} 34}
35 35
36gnome2_src_install() { 36gnome2_src_install() {
37 37
38 einstall ${1} 38 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
39
40 einstall " scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ ${1}"
39 41
40 # manual document installation 42 # manual document installation
41 if [ -n "${DOC}" && use doc ] 43 if [ -n "${DOC}" && use doc ]
42 then 44 then
43 dodoc ${DOC} 45 dodoc ${DOC}
44 fi 46 fi
45 47
48 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
49
46} 50}
47 51
48gnome2_pkg_postinst() { 52gnome2_pkg_postinst() {
49 53
50 # manual schema installation 54 # schema installation
51 if [ -n "${SCHEMA}" ] 55 if [ -n "${SCHEMA}" ]
52 then 56 then
57
58 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
59
60 echo ">>> Updating GConf2 Schemas for ${P}"
53 for x in $SCHEMA 61 for x in $SCHEMA
54 do 62 do
55 /usr/bin/gconftool-2 --makefile-install-rule \ 63 /usr/bin/gconftool-2 --makefile-install-rule \
56 /etc/gconf/schemas/${SCHEMA} 64 /etc/gconf/schemas/${SCHEMA}
57 done 65 done
58 fi 66 fi
67
68 if [ -x /usr/bin/scrollkeeper-update ]
69 then
70 echo ">>> Updating Scrollkeeper"
71 scrollkeeper-update -p /var/lib/scrollkeeper
72 fi
59} 73}
60 74
61EXPORT_FUNCTIONS src_compile src_install pkg_postinst 75EXPORT_FUNCTIONS src_compile src_install pkg_postinst
62 76
63 77

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20