Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Torsten Veller <ml-en@...>
Subject: Re: [RFC] Font eclass EAPI update and design
Date: Tue, 2 Feb 2010 11:18:32 +0100
* Tomáš Chvátal <scarabeus@g.o>:
> # @FUNCTION: font_pkg_setup
> # @DESCRIPTION:
> # The font pkg_setup function.
> # Collision portection and Prefix compat for eapi < 3.
> font_pkg_setup() {
> 	# make sure we get no collisions
> 	# setup is not the nicest place, but preinst doesn't cut it
> 	[[ -e "${FONTDIR}/fonts.cache-1" ]] && rm -f "${FONTDIR}/fonts.cache-1"

(E)ROOT is missing.

> 	# Prefix compat
> 	case ${EAPI:-0} in
> 		0|1|2)
> 			if ! use prefix; then
> 				EPREFIX=
> 				ED=${D}
> 				EROOT=${ROOT}
> 				[[ ${EROOT} = */ ]] || EROOT+="/"
> 			fi
> 			;;
> 	esac

Don't we need this for every eclass using EPREFIX, ED and EROOT
independent of EAPI?
Can't we move this to prefix.eclass and inherit it? Or is the EPREFIX
setting in prefix.eclass already enough?


Replies:
Re: Re: [RFC] Font eclass EAPI update and design
-- Fabian Groffen
Re: Re: [RFC] Font eclass EAPI update and design
-- Tomáš Chvátal
References:
[RFC] Font eclass EAPI update and design
-- Tomáš Chvátal
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] Font eclass EAPI update and design
Next by thread:
Re: Re: [RFC] Font eclass EAPI update and design
Previous by date:
Re: GLEP58 - MetaManifest
Next by date:
Re: Re: [RFC] Font eclass EAPI update and design


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.