* [gentoo-dev] hardcoded PATHS in .ebuild
@ 2001-09-24 6:21 Martin Schlemmer
2001-09-24 6:27 ` Mikael Hallendal
0 siblings, 1 reply; 5+ messages in thread
From: Martin Schlemmer @ 2001-09-24 6:21 UTC (permalink / raw
To: Gentoo-Dev
Hi
In hacking a few .ebuild, i noticed that most .ebuilds have paths to
where Gnome, Mozilla, etc is hardcoded ?!?
Now I know that it is not everyday that they change, but since the base
location for many packages will be changed now, cant it be done
correctly this time ? In other words rather use defined variables that
should be defined when the base package is installed (like KDEDIR,
MOZILLA_FIVE_HOME, etc) since the base package should already have been
merged when you get to subpackages ....
Some suggestions/reasons would be appreciated.
greetings
MS
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] hardcoded PATHS in .ebuild
2001-09-24 6:21 [gentoo-dev] hardcoded PATHS in .ebuild Martin Schlemmer
@ 2001-09-24 6:27 ` Mikael Hallendal
2001-09-24 7:01 ` Martin Schlemmer
0 siblings, 1 reply; 5+ messages in thread
From: Mikael Hallendal @ 2001-09-24 6:27 UTC (permalink / raw
To: gentoo-dev
mån 2001-09-24 klockan 14.20 skrev Martin Schlemmer:
> Hi
>
> In hacking a few .ebuild, i noticed that most .ebuilds have paths to
> where Gnome, Mozilla, etc is hardcoded ?!?
>
> Now I know that it is not everyday that they change, but since the base
> location for many packages will be changed now, cant it be done
> correctly this time ? In other words rather use defined variables that
> should be defined when the base package is installed (like KDEDIR,
> MOZILLA_FIVE_HOME, etc) since the base package should already have been
> merged when you get to subpackages ....
Hi!
I've brought up this issue before. The main reason for this is to be
able to say, I want all GNOME-stuff in /usr/local/gnome instead of
/opt/gnome (for example).
However if we decide to move everything to /usr this won't be an issue
anymore.
BTW. Testing your Mozilla ebuild right now.
Regards,
Mikael
> Some suggestions/reasons would be appreciated.
>
> greetings
> MS
>
>
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
--
Mikael Hallendal micke@codefactory.se
CodeFactory AB http://www.codefactory.se/
Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] hardcoded PATHS in .ebuild
2001-09-24 6:27 ` Mikael Hallendal
@ 2001-09-24 7:01 ` Martin Schlemmer
2001-09-24 7:09 ` Martin Schlemmer
0 siblings, 1 reply; 5+ messages in thread
From: Martin Schlemmer @ 2001-09-24 7:01 UTC (permalink / raw
To: gentoo-dev
On Mon, 2001-09-24 at 14:25, Mikael Hallendal wrote:
> Hi!
>
> I've brought up this issue before. The main reason for this is to be
> able to say, I want all GNOME-stuff in /usr/local/gnome instead of
> /opt/gnome (for example).
>
> However if we decide to move everything to /usr this won't be an issue
> anymore.
>
I know about that issue .. not entirely what i meant. Rather, if a app
need to use the base dir for gnome, /opt/gnome as of current, why
hardcode it into the ebuild as /opt/gnome, but not use $GNOME_PATH
instead? If gnome need to be relocated in future, it will be much
easier ....
Greetings,
MS
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] hardcoded PATHS in .ebuild
2001-09-24 7:01 ` Martin Schlemmer
@ 2001-09-24 7:09 ` Martin Schlemmer
2001-09-24 7:16 ` Mikael Hallendal
0 siblings, 1 reply; 5+ messages in thread
From: Martin Schlemmer @ 2001-09-24 7:09 UTC (permalink / raw
To: gentoo-dev
On Mon, 2001-09-24 at 14:58, Martin Schlemmer wrote:
> On Mon, 2001-09-24 at 14:25, Mikael Hallendal wrote:
> > Hi!
> >
> > I've brought up this issue before. The main reason for this is to be
> > able to say, I want all GNOME-stuff in /usr/local/gnome instead of
> > /opt/gnome (for example).
> >
> > However if we decide to move everything to /usr this won't be an issue
> > anymore.
> >
>
> I know about that issue .. not entirely what i meant. Rather, if a app
> need to use the base dir for gnome, /opt/gnome as of current, why
> hardcode it into the ebuild as /opt/gnome, but not use $GNOME_PATH
> instead? If gnome need to be relocated in future, it will be much
> easier ....
>
So maybe i should read better the first time ... but I still think it is
a better practice now that all have to be changed anyhow ...
Greetings,
MS
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] hardcoded PATHS in .ebuild
2001-09-24 7:09 ` Martin Schlemmer
@ 2001-09-24 7:16 ` Mikael Hallendal
0 siblings, 0 replies; 5+ messages in thread
From: Mikael Hallendal @ 2001-09-24 7:16 UTC (permalink / raw
To: gentoo-dev
m_ 2001-09-24 klockan 15.07 skrev Martin Schlemmer:
> On Mon, 2001-09-24 at 14:58, Martin Schlemmer wrote:
> > On Mon, 2001-09-24 at 14:25, Mikael Hallendal wrote:
> > > Hi!
> > >
> > > I've brought up this issue before. The main reason for this is to be
> > > able to say, I want all GNOME-stuff in /usr/local/gnome instead of
> > > /opt/gnome (for example).
> > >
> > > However if we decide to move everything to /usr this won't be an issue
> > > anymore.
> > >
> >
> > I know about that issue .. not entirely what i meant. Rather, if a app
> > need to use the base dir for gnome, /opt/gnome as of current, why
> > hardcode it into the ebuild as /opt/gnome, but not use $GNOME_PATH
> > instead? If gnome need to be relocated in future, it will be much
> > easier ....
> >
>
> So maybe i should read better the first time ... but I still think it is
> a better practice now that all have to be changed anyhow ...
I agree with you. However I don't think that it will be needed because
you don't have to give GNOME_PATH when everything is located in /usr.
I'm waiting for the document about this rellocation to /usr to be
finished before starting to move stuff.
Regards,
Mikael Hallendal
--
Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-09-24 13:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-24 6:21 [gentoo-dev] hardcoded PATHS in .ebuild Martin Schlemmer
2001-09-24 6:27 ` Mikael Hallendal
2001-09-24 7:01 ` Martin Schlemmer
2001-09-24 7:09 ` Martin Schlemmer
2001-09-24 7:16 ` Mikael Hallendal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox