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, prefix@g.o
From: Tomáš Chvátal <scarabeus@g.o>
Subject: Re: Re: [RFC] Font eclass EAPI update and design
Date: Tue, 02 Feb 2010 11:30:00 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dne 2.2.2010 11:18, Torsten Veller napsal(a):
> * 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.
Good spot. EFixed :]
> 
>> 	# 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?
> 

Actualy dunno, i did it this way because it is the way how other eclass
were altered in this matter.

Maybe we could add it to base eclass and then via proper inheritance it
might work. Or to prefix eclass which would be inherited elsewhere.

We would have to ask prefix mages, adding them to CC :]

Tomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktn/qgACgkQHB6c3gNBRYfwGwCdGqFw9sMuxbd3QxafWjY4i+me
y/0AoJAoBg11gyZTBxIp9QyqFrK4c9pa
=W3Rf
-----END PGP SIGNATURE-----


References:
[RFC] Font eclass EAPI update and design
-- Tomáš Chvátal
Re: [RFC] Font eclass EAPI update and design
-- Torsten Veller
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: [RFC] Font eclass EAPI update and design
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.