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 <gentoo-dev+bounces-37965-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MuvRN-0000k9-8C
	for garchives@archives.gentoo.org; Mon, 05 Oct 2009 21:49:57 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8017CE0AE4;
	Mon,  5 Oct 2009 21:49:55 +0000 (UTC)
Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3A2DEE0AE4
	for <gentoo-dev@lists.gentoo.org>; Mon,  5 Oct 2009 21:49:55 +0000 (UTC)
Received: by fxm20 with SMTP id 20so3250171fxm.14
        for <gentoo-dev@lists.gentoo.org>; Mon, 05 Oct 2009 14:49:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=PRMwBc7TPL/KhQ5Uf0zEPmjnuP5JOy3ixu4HOiS6gyA=;
        b=iuhu0aqrMhvDh258krqvs95lxj79dY2awTLpjecprVVVvnPidJRehcHdVdXNqwuJBR
         ZtkYu5hfP+foVEVNLEEBm+j2ikVt2l+zxb1BTZ7zqwn/h8xU4TTWLMca5/FxsNRhWTeA
         B2IaYrdWIBwLPY8XmJOtdLeKefDwkNhCp90qQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        b=rx0/HvJ1mduKvaBYsSeFT2zYaycShEmEF9urtK+D1C95gjTMZdu70hhwtk3NVmBc8m
         bx6sNu90lv6FshfYxBpFS1r1nJEv+OC4J9fbnc9wE9B4KJw3gLYM48Z3Bos9qoyVZfS1
         GUkQjs977c8WRkLKx/JWP7FVDaakrwe9svs1k=
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Sender: jer.gentoo@gmail.com
Received: by 10.204.160.90 with SMTP id m26mr4449970bkx.63.1254779394548; Mon, 
	05 Oct 2009 14:49:54 -0700 (PDT)
In-Reply-To: <200910052337.37590.scarabeus@gentoo.org>
References: <E1Muv0o-0006oZ-Nf@stork.gentoo.org> <4ACA6597.10603@gentoo.org>
	 <200910052337.37590.scarabeus@gentoo.org>
Date: Mon, 5 Oct 2009 16:49:54 -0500
X-Google-Sender-Auth: 9ca18c17cb556c29
Message-ID: <90b936c0910051449l5183f3f6l5c6daa7985cfb848@mail.gmail.com>
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in 
	xfce-base/xfconf: ChangeLog xfconf-4.6.1.ebuild
From: Jeremy Olexa <darkside@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 561165ff-67b6-42e1-8715-5375e2d98bb5
X-Archives-Hash: f7330a6e42b2432fea7c73c631846a9b

2009/10/5 Tom=C3=A1=C5=A1 Chv=C3=A1tal <scarabeus@gentoo.org>:
> Dne pond=C4=9Bl=C3=AD 05 =C5=98=C3=ADjen 2009 23:31:03 Samuli Suominen na=
psal(a):
>> Jeremy Olexa (darkside) wrote:
>> > darkside =C2=A0 =C2=A009/10/05 21:22:30
>> >
>> > =C2=A0 Modified: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ChangeLog x=
fconf-4.6.1.ebuild
>> > =C2=A0 Log:
>> > =C2=A0 Port Gentoo Prefix ebuild to gentoo-x86
>> > =C2=A0 (Portage version: 2.1.6.13/cvs/Linux x86_64)
>> > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Prefix compat. In Gentoo Linux,=
 defaults to ${D}
>> > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [[ -z ${ED} ]] && local ED=3D${D}
>>
>> Shouldn't this be moved into main Portage code instead of duplicating it
>> in ebuilds?

Hi, yes it should. It was brought up during the EAPI=3D3 planning cycle
and presented to the council for inclusion. It wasn't accepted in that
EAPI even though it is only a 3 line portage change (approx). So, it
will be duplicated in ebuilds and eclasses. Now, with this email I
fully expect a reply from /someone/ saying that "the Gentoo Prefix
implementation is just plain wrong" to which, I am going to silently
ignore.
-Jeremy

>>
>> > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 find "${ED}" -type f -name perllo=
cal.pod -delete
>> > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 find "${ED}" -depth -mindepth 1 -=
type d -empty -delete
>>
> I put this stuff to eclass, but probably this SHOULD be handled by portag=
e:
> this is the code i do (partial example :]):
>
> ...
> # Prefix compat:
> : ${EROOT:=3D${ROOT}}
> # Append missing trailing slash character
> [[ ${EROOT} =3D */ ]] || EROOT+=3D"/"

Good idea, and public thanks for supporting Gentoo Prefix, Tom=C3=A1=C5=A1

-Jeremy