Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
package.features?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Fri Mar 04, 2005 5:10 am    Post subject: package.features? Reply with quote

I decided to start a new thread here since this is off topic. This is from the binutils upgrade thread. The discussion went like so
sarumont wrote:
donjuan wrote:
ShawnWheatley wrote:
- Is there an automated way to create these "crucial" binary packages?
I don't know of one for creating binary packages of curcial system packages only, at least automaticaly. On my computer I have FEATURES="buildpkg" in my make.conf so it makes binary packages of EVERYTHING I emerge. So if I emerge a new package and have a problem with it I can mask the new version the type "emerge -k <package>" and it reverts to the ond one without recompiling. If you want to manually create a binary package you can look into quickpkg, which is part of the gentoolkit. All you have to do is "quickpkg <package>" and it creates a package for you. I think it ends up in you portage package directory.


OT this sounds like a good idea for a /etc/portage/package.features. :wink:


I was just wondering how we are supposed to know that we can use the package.features file. Just through logic of deduction? I guess at this point we can assume that just about any environmental variable that can affect a single package has a package.* file, but a google search of "package.features site:gentoo.org" just turns up /etc/portage/bashrc, which looks like where portage has a function to parse the file and do whatever else. So is there no documentation whatsoever concerning this file? There seem to be a few things like this, like when the CLOCK= option got moved from /etc/rc.conf to /etc/conf.d/clock, I just decided to look through bug reports to find out why my computer wasn't keeping time correctly anymore and found that the option had moved. So basically I'm wondering if there's some sort of documentation I'm completely missing.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Mar 04, 2005 5:54 am    Post subject: Reply with quote

There is no officially endorsed package.features file, in that out of the box portage doesn't even look at it, even if it's there. So you're not supposed to know because it doesn't exist. ;-)
As to the bashrc thing - that's how I've set up a per-package environment system (providing per-package CFLAGS, LDFLAGS, FEATURES, and whatnot).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Fri Mar 04, 2005 7:00 am    Post subject: Reply with quote

That makes more sense now, but it does sound like a good idea for a future version of portage.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
kojiro
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 245
Location: Rochester

PostPosted: Sun Apr 17, 2005 6:18 pm    Post subject: Reply with quote

moocha wrote:
There is no officially endorsed package.features file, in that out of the box portage doesn't even look at it, even if it's there. So you're not supposed to know because it doesn't exist. ;-)
As to the bashrc thing - that's how I've set up a per-package environment system (providing per-package CFLAGS, LDFLAGS, FEATURES, and whatnot).


Any more news on this topic? I didn't want to start a dup, but I've begun to need to do some per-package optimizations, and I'm not sure how to go about it... Any help?
_________________
>>> Also, customizing emacs can be an exercise in black magic.
>> It's not black magic, it's Lisp.
>There is a difference? :P
Yes, black magic doesn't use parentheses.
--Linux Users' Group of Rochester mailing list
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 17, 2005 8:00 pm    Post subject: Reply with quote

I'll post my system as soon as I get back from a weekend trip, don't have the time right now, sorry.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
smoked
n00b
n00b


Joined: 11 Jan 2005
Posts: 38

PostPosted: Sun Apr 17, 2005 11:42 pm    Post subject: Reply with quote

My way of doing it:
https://forums.gentoo.org/viewtopic-p-2319607.html#2319607
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum