From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NcG1r-0000k4-Cs for garchives@archives.gentoo.org; Tue, 02 Feb 2010 10:30:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12349E0AC9; Tue, 2 Feb 2010 10:30:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8FAA8E0AC6 for ; Tue, 2 Feb 2010 10:30:31 +0000 (UTC) Received: from [192.168.1.4] (smer.tone.cz [89.250.247.23]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 988C067CD8; Tue, 2 Feb 2010 10:30:30 +0000 (UTC) Message-ID: <4B67FEA8.4070508@gentoo.org> Date: Tue, 02 Feb 2010 11:30:00 +0100 From: =?ISO-8859-15?Q?Tom=E1=A8_Chv=E1tal?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100131 Thunderbird/3.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org, prefix@gentoo.org Subject: Re: [gentoo-dev] Re: [RFC] Font eclass EAPI update and design References: <4B66AE86.9090006@gentoo.org> <20100202101832.GA6052@veller.net> In-Reply-To: <20100202101832.GA6052@veller.net> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9019f5c6-5f21-4e0d-a924-51c959277dd2 X-Archives-Hash: aea816e56f04b40caf606c22dbeed71b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 2.2.2010 11:18, Torsten Veller napsal(a): > * Tom=E1=A8 Chv=E1tal : >> # @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" >=20 > (E)ROOT is missing. Good spot. EFixed :] >=20 >> # Prefix compat >> case ${EAPI:-0} in >> 0|1|2) >> if ! use prefix; then >> EPREFIX=3D >> ED=3D${D} >> EROOT=3D${ROOT} >> [[ ${EROOT} =3D */ ]] || EROOT+=3D"/" >> fi >> ;; >> esac >=20 > 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? >=20 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 =3DW3Rf -----END PGP SIGNATURE-----