Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Portage 2.1 Features

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
69 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
XenoTerraCide
Veteran
Veteran
User avatar
Posts: 1418
Joined: Sun Jan 18, 2004 1:22 pm
Location: MI, USA
Contact:
Contact XenoTerraCide
Website

Portage 2.1 Features

  • Quote

Post by XenoTerraCide » Wed Jun 14, 2006 1:59 pm

Where can i find detailed information on all the new features of portage. I've been using it for a while but it seems the info still hasn't made it into the man pages.

I want to know which /etc/portage/package.* files I can turn into directories and how that feature can be used. More detailed information on how to use and how elog works. information on how to use confcache. I'm sure there were other things mentioned in the new letter. and most importantly WHY isn't this In the MAN pages?

2006-06-17 sticky --Earthwings
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

how do I use the new portage features?

  • Quote

Post by <3 » Wed Jun 14, 2006 9:28 pm

I keep reading about the new features in portage 2.1 but no where do I see how to use these new features. I even tried reading the man page but I didn't see any documentation on the syntax for the colour remapping file (/etc/portage/color.map) or how to use the new elog function in portage. Also what is confcache and do I need it?
Top
AaronPPC
Guru
Guru
Posts: 522
Joined: Sun May 29, 2005 8:22 am
Location: Tucson, AZ

  • Quote

Post by AaronPPC » Wed Jun 14, 2006 9:35 pm

Take a look at /etc/make.conf.example. There is a lot of information on the new features.
--Aaron
Top
LinuxBlues
l33t
l33t
User avatar
Posts: 892
Joined: Sat Mar 26, 2005 10:53 am

  • Quote

Post by LinuxBlues » Thu Jun 15, 2006 1:16 pm

/etc/make.conf.example
Todo punto de vista es un ápice de una pirámide invertida cuya base es indeterminable. (Pessoa)
Top
synss
Apprentice
Apprentice
User avatar
Posts: 282
Joined: Wed Mar 08, 2006 5:42 pm
Location: Dijon > Berlin > Tokyo > Nürnberg > München

  • Quote

Post by synss » Thu Jun 15, 2006 1:41 pm

For what I know,
  • elogs are documented in /etc/make.conf.example as said,
  • confcache: installing a program is mostly running ./configure and ./make install; the make call can be cached by ccache, and now the configure call can be cached by confcache. You do not need it more than you need ccache, however it should speed up reinstalls. I hope I am not dead wrong here.
  • /etc/portage/color.map forum
  • :?: and I would also like to know more about:
    GWN 2006-06-12 wrote:Configuration improvements: Certain config files can now be made into directories, for easier management (for example, /etc/portage/package.unmask/kde, /etc/portage/package.unmask/xorg will be combined to make the old /etc/portage/package.unmask). /etc/portageitself can also be loaded from different locations, making certain tasks much simpler.
Last edited by synss on Thu Jun 15, 2006 3:31 pm, edited 1 time in total.
Compress portage tree
Elog viewer
Autodetect swap
Top
bladus
Apprentice
Apprentice
User avatar
Posts: 233
Joined: Wed Jul 27, 2005 9:06 pm

  • Quote

Post by bladus » Thu Jun 15, 2006 1:49 pm

dont forget parallel-fetch
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Thu Jun 15, 2006 1:52 pm

See also [gwn]20060612[/gwn].

For confcache just emerge confcache and add "confcache" to FEATURES (make.conf).
Top
XenoTerraCide
Veteran
Veteran
User avatar
Posts: 1418
Joined: Sun Jan 18, 2004 1:22 pm
Location: MI, USA
Contact:
Contact XenoTerraCide
Website

  • Quote

Post by XenoTerraCide » Thu Jun 15, 2006 2:45 pm

ok... how particularly do I use
Configuration improvements: Certain config files can now be made into directories, for easier management (for example, /etc/portage/package.unmask/kde, /etc/portage/package.unmask/xorg will be combined to make the old /etc/portage/package.unmask). /etc/portageitself can also be loaded from different locations, making certain tasks much simpler.
does it work with package.keywords? as well. would it make my life easier to unmask all of say... X11R7? there's no documentation. and the elog docs in make.conf.example are ok... but somewhat poor... they need to be more detailed.
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Thu Jun 15, 2006 3:10 pm

XenoTerraCide wrote:ok... how particularly do I use
Configuration improvements: Certain config files can now be made into directories, for easier management (for example, /etc/portage/package.unmask/kde, /etc/portage/package.unmask/xorg will be combined to make the old /etc/portage/package.unmask). /etc/portageitself can also be loaded from different locations, making certain tasks much simpler.
does it work with package.keywords? as well. would it make my life easier to unmask all of say... X11R7? there's no documentation. and the elog docs in make.conf.example are ok... but somewhat poor... they need to be more detailed.
From what I can see you just create a directory as /etc/portage/package.unmask/ and then put a file in that directory called 'xorg', and in that file list the packages you want to unmask. obviously the file doesn't *have* to be called xorg, you could call it anything and they all should get referenced 8)
Top
LXj
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 107
Joined: Sat Dec 03, 2005 8:45 pm

  • Quote

Post by LXj » Thu Jun 15, 2006 3:26 pm

_ph wrote:See also [gwn]20060612[/gwn].
GWN is just an overview and it even don't mention all the interesting features

(I actually accidentually heard about parallel fetch I think)
Top
XenoTerraCide
Veteran
Veteran
User avatar
Posts: 1418
Joined: Sun Jan 18, 2004 1:22 pm
Location: MI, USA
Contact:
Contact XenoTerraCide
Website

  • Quote

Post by XenoTerraCide » Thu Jun 15, 2006 4:30 pm

that's why I want to know where I can find out about them... has nobody documented any of this?
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Fri Jun 16, 2006 1:14 am

Code: Select all

man emerge
man portage
man make.conf
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Fri Jun 16, 2006 8:26 am

Code:
man emerge
man portage
man make.conf
Yeah, that's nice and all, but there's a small problem: they don't actually help that much. Not one mentions a thing
about the /etc/portage directory features, and though confcache is in the manpage for make.conf, it's not that informative. The portage manpage is the closest you'll get with respect to /etc/portage/, and it only discusses the package.* stuff in terms of single files.
Thomas S. Howard
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Fri Jun 16, 2006 9:49 am

As time goes on, we seem to be getting wind of more and more changes in Portage. Which is great.....we need to change and make things better. However, what would be nice is to be told about them in advance. I think considering that this is a major part of Gentoo that this release has been handled very poorly indeed. 8O

It would have been nice to have had a "watch out for these changes" in an earlier newsletter or something, rather than a "Portage 2.1 Released" announcement! :roll:
Top
Paapaa
l33t
l33t
User avatar
Posts: 955
Joined: Sun Aug 14, 2005 8:45 am
Location: Finland

  • Quote

Post by Paapaa » Fri Jun 16, 2006 10:18 am

richard.scott wrote:It would have been nice to have had a "watch out for these changes" in an earlier newsletter or something, rather than a "Portage 2.1 Released" announcement! :roll:
We had at least this pre-warning:

http://www.gentoo.org/news/en/gwn/20060 ... letter.xml
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Fri Jun 16, 2006 10:26 am

Thanks Paapaa I'd not seen that one :oops:

Infact that's my exact point.......it would have been nice to be told again about the things to watch out for and not just assume that everyone has read all the GWN's
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Fri Jun 16, 2006 10:46 am

What we need is that the Portage Features chapter in the Gentoo Handbook should be up-to-date and greatly enhanced with a good explanation of all the featues and how to use them.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Fri Jun 16, 2006 11:22 am

ok, for those of you who want to restore the old 'autouse' feature, you can add the following to your /etc/make.conf

Code: Select all

USE_ORDER="env:pkg:auto:conf:defaults"
This worked for me :)
Top
XenoTerraCide
Veteran
Veteran
User avatar
Posts: 1418
Joined: Sun Jan 18, 2004 1:22 pm
Location: MI, USA
Contact:
Contact XenoTerraCide
Website

  • Quote

Post by XenoTerraCide » Fri Jun 16, 2006 12:38 pm

I've actually been using 2.1 since pre-rc1 and I didn't know about some of these features. I filed a bug for an elog man page. this shouldn't have gotten released without proper documentation in man pages. the handbooks could be done later. but man pages should be available on system at time of release.
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Top
Jakub
Guru
Guru
User avatar
Posts: 377
Joined: Sat Oct 04, 2003 1:09 pm
Location: Warsaw, Poland

  • Quote

Post by Jakub » Fri Jun 16, 2006 8:05 pm

A nice feature is the parallel fetch - packages are downloaded while compiling:

Code: Select all

FEATURES="parallel-fetch"
Top
dmartinsca
Guru
Guru
Posts: 303
Joined: Fri Dec 09, 2005 2:01 pm
Location: Ontario, Canada

  • Quote

Post by dmartinsca » Fri Jun 16, 2006 8:37 pm

/usr/share/doc/portage-<version>/NEWS.gz lists some new features and major bug fixes.
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Sat Jun 17, 2006 12:17 am

Here's a couple interesting undocumented features:

1. Put "candy" in FEATURES in /etc/make.conf and instead of the normal spinner, you see various quotes, one letter at a time as the cursor scans back and forth

2. emerge moo -- just try it
Thomas S. Howard
Top
AllenJB
Veteran
Veteran
User avatar
Posts: 1285
Joined: Fri Sep 02, 2005 10:47 am
Contact:
Contact AllenJB
Website

  • Quote

Post by AllenJB » Sat Jun 17, 2006 7:40 am

It would be nice if some of Gentoo's projects like portage had their own web pages with feature lists and documentation all in one place.
Top
Earthwings
Bodhisattva
Bodhisattva
User avatar
Posts: 7753
Joined: Mon Apr 14, 2003 8:13 pm
Location: Germany

  • Quote

Post by Earthwings » Sat Jun 17, 2006 9:28 pm

Merged another thread from P&P starting at [post]3382147[/post] to this one, cheers synss.
KDE
Top
XenoTerraCide
Veteran
Veteran
User avatar
Posts: 1418
Joined: Sun Jan 18, 2004 1:22 pm
Location: MI, USA
Contact:
Contact XenoTerraCide
Website

  • Quote

Post by XenoTerraCide » Sat Jun 17, 2006 9:54 pm

well since this is sticky maybe we should try to get some things straight? hey maybe the dev's can help out? or the mods?
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Top
Post Reply

69 posts
  • 1
  • 2
  • 3
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic