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

Diff of /eclass/gnome2.eclass

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

Revision 1.120 Revision 1.121
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.120 2013/01/16 23:01:02 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.121 2013/05/23 19:31:12 vapier 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: Provides phases for Gnome/Gtk+ based packages. 8# @BLURB: Provides phases for Gnome/Gtk+ based packages.
120 # relink URLs in documentation to already installed documentation. 120 # relink URLs in documentation to already installed documentation.
121 # This decision also greatly helps with constantly broken doc generation. 121 # This decision also greatly helps with constantly broken doc generation.
122 # Remember to drop 'doc' USE flag from your package if it was only used to 122 # Remember to drop 'doc' USE flag from your package if it was only used to
123 # rebuild docs. 123 # rebuild docs.
124 # Preserve old behavior for older EAPI. 124 # Preserve old behavior for older EAPI.
125 if grep -q "enable-gtk-doc" ${ECONF_SOURCE:-.}/configure ; then 125 if grep -q "enable-gtk-doc" "${ECONF_SOURCE:-.}"/configure ; then
126 if has ${EAPI:-0} 0 1 2 3 4 && in_iuse doc ; then 126 if has ${EAPI:-0} 0 1 2 3 4 && in_iuse doc ; then
127 G2CONF="$(use_enable doc gtk-doc) ${G2CONF}" 127 G2CONF="$(use_enable doc gtk-doc) ${G2CONF}"
128 else 128 else
129 G2CONF="--disable-gtk-doc ${G2CONF}" 129 G2CONF="--disable-gtk-doc ${G2CONF}"
130 fi 130 fi
131 fi 131 fi
132 132
133 # Pass --disable-maintainer-mode when needed 133 # Pass --disable-maintainer-mode when needed
134 if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" \ 134 if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" \
135 ${ECONF_SOURCE:-.}/configure.*; then 135 "${ECONF_SOURCE:-.}"/configure.*; then
136 G2CONF="--disable-maintainer-mode ${G2CONF}" 136 G2CONF="--disable-maintainer-mode ${G2CONF}"
137 fi 137 fi
138 138
139 # Pass --disable-scrollkeeper when possible 139 # Pass --disable-scrollkeeper when possible
140 if grep -q "disable-scrollkeeper" ${ECONF_SOURCE:-.}/configure; then 140 if grep -q "disable-scrollkeeper" "${ECONF_SOURCE:-.}"/configure; then
141 G2CONF="--disable-scrollkeeper ${G2CONF}" 141 G2CONF="--disable-scrollkeeper ${G2CONF}"
142 fi 142 fi
143 143
144 # Pass --disable-silent-rules when possible (not needed for eapi5), bug #429308 144 # Pass --disable-silent-rules when possible (not needed for eapi5), bug #429308
145 if has ${EAPI:-0} 0 1 2 3 4; then 145 if has ${EAPI:-0} 0 1 2 3 4; then
146 if grep -q "disable-silent-rules" ${ECONF_SOURCE:-.}/configure; then 146 if grep -q "disable-silent-rules" "${ECONF_SOURCE:-.}"/configure; then
147 G2CONF="--disable-silent-rules ${G2CONF}" 147 G2CONF="--disable-silent-rules ${G2CONF}"
148 fi 148 fi
149 fi 149 fi
150 150
151 # Pass --disable-schemas-install when possible 151 # Pass --disable-schemas-install when possible
152 if grep -q "disable-schemas-install" ${ECONF_SOURCE:-.}/configure; then 152 if grep -q "disable-schemas-install" "${ECONF_SOURCE:-.}"/configure; then
153 G2CONF="--disable-schemas-install ${G2CONF}" 153 G2CONF="--disable-schemas-install ${G2CONF}"
154 fi 154 fi
155 155
156 # Pass --disable-schemas-compile when possible 156 # Pass --disable-schemas-compile when possible
157 if grep -q "disable-schemas-compile" ${ECONF_SOURCE:-.}/configure; then 157 if grep -q "disable-schemas-compile" "${ECONF_SOURCE:-.}"/configure; then
158 G2CONF="--disable-schemas-compile ${G2CONF}" 158 G2CONF="--disable-schemas-compile ${G2CONF}"
159 fi 159 fi
160 160
161 # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) 161 # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
162 addwrite "$(unset HOME; echo ~)/.gnome2" 162 addwrite "$(unset HOME; echo ~)/.gnome2"

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.121

  ViewVC Help
Powered by ViewVC 1.1.20