* [gentoo-dev] /etc/use.d/
@ 2002-05-21 18:09 Per Wigren
2002-05-21 23:32 ` Wout Mertens
0 siblings, 1 reply; 3+ messages in thread
From: Per Wigren @ 2002-05-21 18:09 UTC (permalink / raw
To: gentoo-dev
I have a suggestion on how the USE variable should work (IMHO of course)..
We could place all defaults in /etc/use.d/default.
If an application is installed with USE-variables that differ from default,
for example if installing with:
# USE="-gtk sdl" emerge theapp
it would create the file /etc/use.d/theapp ( ${PN} ), which would contain:
-gtk
sdl
When doing "emerge -u world" later and theapp is about to be updated, it will
be compiled with USE="-gtk sdl" like before...
Does this sound like a good idea?
// Wigren
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] /etc/use.d/
2002-05-21 18:09 [gentoo-dev] /etc/use.d/ Per Wigren
@ 2002-05-21 23:32 ` Wout Mertens
2002-05-21 23:35 ` Bruce A. Locke
0 siblings, 1 reply; 3+ messages in thread
From: Wout Mertens @ 2002-05-21 23:32 UTC (permalink / raw
To: gentoo-dev
Check out /var/db/pkg/<group>/<pkg>/USE :)
All portage needs to do is reuse it. I don't know if that is the case...
Wout.
On Tue, 21 May 2002, Per Wigren wrote:
> I have a suggestion on how the USE variable should work (IMHO of course)..
>
> We could place all defaults in /etc/use.d/default.
>
> If an application is installed with USE-variables that differ from default,
> for example if installing with:
> # USE="-gtk sdl" emerge theapp
> it would create the file /etc/use.d/theapp ( ${PN} ), which would contain:
> -gtk
> sdl
>
> When doing "emerge -u world" later and theapp is about to be updated, it will
> be compiled with USE="-gtk sdl" like before...
>
> Does this sound like a good idea?
>
> // Wigren
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] /etc/use.d/
2002-05-21 23:32 ` Wout Mertens
@ 2002-05-21 23:35 ` Bruce A. Locke
0 siblings, 0 replies; 3+ messages in thread
From: Bruce A. Locke @ 2002-05-21 23:35 UTC (permalink / raw
To: gentoo-dev
Yes, just use the USE file stored with the package information and add a
--ignore-stored-use command line flag or something... Just needs for
someone to add it to portage. Much easier and much more logical. :)
On Tue, 2002-05-21 at 19:32, Wout Mertens wrote:
> Check out /var/db/pkg/<group>/<pkg>/USE :)
>
> All portage needs to do is reuse it. I don't know if that is the case...
>
> Wout.
>
> On Tue, 21 May 2002, Per Wigren wrote:
>
> > I have a suggestion on how the USE variable should work (IMHO of course)..
> >
> > We could place all defaults in /etc/use.d/default.
> >
> > If an application is installed with USE-variables that differ from default,
> > for example if installing with:
> > # USE="-gtk sdl" emerge theapp
> > it would create the file /etc/use.d/theapp ( ${PN} ), which would contain:
> > -gtk
> > sdl
> >
> > When doing "emerge -u world" later and theapp is about to be updated, it will
> > be compiled with USE="-gtk sdl" like before...
> >
> > Does this sound like a good idea?
> >
> > // Wigren
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> >
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
--
Bruce A. Locke
blocke@shivan.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-21 23:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21 18:09 [gentoo-dev] /etc/use.d/ Per Wigren
2002-05-21 23:32 ` Wout Mertens
2002-05-21 23:35 ` Bruce A. Locke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox