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

Diff of /eclass/gnome2.eclass

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

Revision 1.99 Revision 1.100
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.99 2011/08/14 03:46:33 nirbheek Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.100 2011/08/24 07:12:35 ford_prefect Exp $
4 4
5# @ECLASS: gnome2.eclass 5# @ECLASS: gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: 8# @BLURB:
83 has ${EAPI:-0} 0 1 && gnome2_src_prepare 83 has ${EAPI:-0} 0 1 && gnome2_src_prepare
84} 84}
85 85
86# @FUNCTION: gnome2_src_prepare 86# @FUNCTION: gnome2_src_prepare
87# @DESCRIPTION: 87# @DESCRIPTION:
88# Fix build of scrollkeeper documentation and run elibtoolize. 88# Prepare environment for build, fix build of scrollkeeper documentation,
89# run elibtoolize.
89gnome2_src_prepare() { 90gnome2_src_prepare() {
91 # GST_REGISTRY is to work around gst utilities trying to read/write /root
92 export GST_REGISTRY="${S}/registry.xml"
93
90 # Prevent scrollkeeper access violations 94 # Prevent scrollkeeper access violations
91 gnome2_omf_fix 95 gnome2_omf_fix
92 96
93 # Run libtoolize 97 # Run libtoolize
94 if has ${EAPI:-0} 0 1 2 3; then 98 if has ${EAPI:-0} 0 1 2 3; then
117 fi 121 fi
118 122
119 # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) 123 # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
120 addwrite "$(unset HOME; echo ~)/.gnome2" 124 addwrite "$(unset HOME; echo ~)/.gnome2"
121 125
122 # GST_REGISTRY is to work around gst-inspect trying to read/write /root 126 econf "$@" ${G2CONF}
123 GST_REGISTRY="${S}/registry.xml" econf "$@" ${G2CONF}
124} 127}
125 128
126# @FUNCTION: gnome2_src_compile 129# @FUNCTION: gnome2_src_compile
127# @DESCRIPTION: 130# @DESCRIPTION:
128# Stub function for old EAPI. 131# Stub function for old EAPI.

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100

  ViewVC Help
Powered by ViewVC 1.1.20