public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue (eva)" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: gnome2-utils.eclass
Date: Tue,  7 Dec 2010 06:21:59 +0000 (UTC)	[thread overview]
Message-ID: <20101207062159.CEC6E20054@flycatcher.gentoo.org> (raw)

eva         10/12/07 06:21:59

  Modified:             gnome2-utils.eclass
  Log:
  replace usage of type -P by variables

Revision  Changes    Path
1.15                 eclass/gnome2-utils.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome2-utils.eclass?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome2-utils.eclass?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnome2-utils.eclass?r1=1.14&r2=1.15

Index: gnome2-utils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- gnome2-utils.eclass	7 Dec 2010 06:18:55 -0000	1.14
+++ gnome2-utils.eclass	7 Dec 2010 06:21:59 -0000	1.15
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.14 2010/12/07 06:18:55 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.15 2010/12/07 06:21:59 eva Exp $
 
 #
 # gnome2-utils.eclass
@@ -22,6 +22,12 @@
 # Path to scrollkeeper-update
 : ${SCROLLKEEPER_UPDATE_BIN:="${ROOT}usr/bin/scrollkeeper-update"}
 
+# Path to gtk-update-icon-cache
+: ${GTK_UPDATE_ICON_CACHE:="/usr/bin/gtk-update-icon-cache"}
+
+# Path to glib-compile-schemas
+: ${GLIB_COMPILE_SCHEMAS:="/usr/bin/glib-compile-schemas"}
+
 
 
 DEPEND=">=sys-apps/sed-4"
@@ -123,7 +129,7 @@
 # Updates Gtk+ icon cache files under /usr/share/icons if the current ebuild
 # have installed anything under that location.
 gnome2_icon_cache_update() {
-	local updater="$(type -p gtk-update-icon-cache 2> /dev/null)"
+	local updater="${ROOT}${GTK_UPDATE_ICON_CACHE}"
 
 	if [[ ! -x "${updater}" ]] ; then
 		debug-print "${updater} is not executable"
@@ -229,7 +235,7 @@
 }
 
 gnome2_schemas_update() {
-	local updater="$(type -P glib-compile-schemas 2>/dev/null)"
+	local updater="${ROOT}${GLIB_COMPILE_SCHEMAS}"
 
 	if [[ ! -x ${updater} ]]; then
 		debug-print "${updater} is not executable"






             reply	other threads:[~2010-12-07  6:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07  6:21 Gilles Dartiguelongue (eva) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-03 18:12 [gentoo-commits] gentoo-x86 commit in eclass: gnome2-utils.eclass Gilles Dartiguelongue (eva)
2011-01-31 17:03 Gilles Dartiguelongue (eva)
2011-01-20 23:50 Jonathan Callen (abcd)
2011-01-20 23:49 Jonathan Callen (abcd)
2010-12-07  6:26 Gilles Dartiguelongue (eva)
2010-12-07  6:25 Gilles Dartiguelongue (eva)
2010-12-07  6:23 Gilles Dartiguelongue (eva)
2008-10-22 21:04 Gilles Dartiguelongue (eva)
2008-10-19 10:35 Gilles Dartiguelongue (eva)
2008-09-27  9:16 Mart Raudsepp (leio)
2008-03-22 17:30 Remi Cardona (remi)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101207062159.CEC6E20054@flycatcher.gentoo.org \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox