Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Jeremy Olexa <darkside@g.o>
Subject: Re: Re: Please review: prefix.eclass
Date: Thu, 2 Apr 2009 09:40:37 -0500
On Wed, Apr 1, 2009 at 4:13 AM, Christian Faulhammer <fauli@g.o> wrote:
> Hi,
>
> Donnie Berkholz <dberkholz@g.o>:
>
>> On 12:59 Fri 27 Mar     , Fabian Groffen wrote:
>> > This eclass facilitates in some of the needs of the Gentoo Prefix
>> > project.  For now it provides the 'eprefixify' function, which is
>> > often used in Gentoo Prefix ebuilds to incorporate the used offset
>> > prefix into files.
>>
>> It's great to see you moving toward folding this back into the main
>> tree! My only comment is that eprefixify could really use a better
>> name because that one sounds really awkward. How about doprefix, or
>> something else?
>
>  To install a prefix file?  Like doman, dobin. :)

Not that I want to start an argument over a function name but it helps
if you understand what eprefixify() does.

eprefixify simply does a 's/@GENTOO_PORTAGE_EPREFIX@/$EPREFIX/' where
EPREFIX is expanded to its abs value. The common use case for
eprefixify is on installed scripts where you should be able to run the
program in a prefix shell or not. (ie. you should be able to run it
without EPREFIX being set in your env - this is true of all prefix
executables)

So, no, we do not exactly feel like a do* name is appropriate because
this function is not installing anything. In a sense, we made
'eprefix' a verb and that really seems to make sense to new devs and
new users.

-Jeremy


References:
Please review: prefix.eclass
-- Fabian Groffen
Re: Please review: prefix.eclass
-- Donnie Berkholz
Re: Please review: prefix.eclass
-- Christian Faulhammer
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Please review: prefix.eclass
Next by thread:
Gentoo as Meta Distribution?
Previous by date:
Re: Monthly Gentoo Council Reminder for April
Next by date:
Re: Monthly Gentoo Council Reminder for April


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.