This shows you the differences between two versions of the page.
|
gentoo:portage [2009-12-14 18:09] blinkeye |
gentoo:portage [2010-07-12 13:23] (current) blinkeye |
||
|---|---|---|---|
| Line 10: | Line 10: | ||
| [[http://www.gentoo-wiki.info/HOWTO_Light_Gentoo_Installation|HOWTO_Light_Gentoo_Installation]] | [[http://www.gentoo-wiki.info/HOWTO_Light_Gentoo_Installation|HOWTO_Light_Gentoo_Installation]] | ||
| + | |||
| + | == Portage-2.2 patch == | ||
| + | |||
| + | <code bash> | ||
| + | mkdir /usr/local/portage/sys-apps/portage | ||
| + | cp /usr/portage/sys-apps/portage/portage-2.2_rc67.ebuild /usr/local/portage/sys-apps/portage/portage-2.2_rc67.ebuild | ||
| + | </code> | ||
| + | |||
| + | Add | ||
| + | |||
| + | <code> | ||
| + | epatch "${FILESDIR}/${PN}-preserve-libs.patch" | ||
| + | </code> | ||
| + | |||
| + | to the ebuild (after epatch "${WORKDIR}/${PN}-${PATCHVER}.patch" in src_prepare) | ||
| + | |||
| + | === files/preserve-libs.patch === | ||
| + | |||
| + | <code bash> | ||
| + | --- /usr/lib64/portage/pym/_emerge/main.py.orig 2010-05-14 07:39:25.000000000 +0200 | ||
| + | +++ /usr/lib64/portage/pym/_emerge/main.py 2010-05-14 08:31:04.000000000 +0200 | ||
| + | @@ -70,6 +70,7 @@ | ||
| + | "--quiet", | ||
| + | "--quiet-build", | ||
| + | "--quiet-unmerge-warn", | ||
| + | +"--quiet-preserve-libs", | ||
| + | "--resume", | ||
| + | "--searchdesc", | ||
| + | "--skipfirst", | ||
| + | @@ -218,7 +219,7 @@ | ||
| + | vardbapi.plib_registry.pruneNonExisting() | ||
| + | |||
| + | if vardbapi.plib_registry.hasEntries(): | ||
| + | - if "--quiet" in myopts: | ||
| + | + if "--quiet" or "--quiet-preserve-libs" in myopts: | ||
| + | print() | ||
| + | print(colorize("WARN", "!!!") + " existing preserved libs found") | ||
| + | return | ||
| + | </code> | ||
| + | |||
| + | <code bash> | ||
| + | ebuild portage-2.2_rc67.ebuild digest | ||
| + | </code> | ||
| == q | == q | ||
| Line 88: | Line 131: | ||
| sys-devel/gcc-4.3.2-r3 | sys-devel/gcc-4.3.2-r3 | ||
| sys-devel/gcc-config-1.4.1 | sys-devel/gcc-config-1.4.1 | ||
| + | </code> | ||
| + | |||
| + | == Update | ||
| + | |||
| + | <code bash> | ||
| + | for i in $(eix -u -c --only-names); do list="$list $i"; done | ||
| + | </code> | ||
| + | |||
| + | <code bash> | ||
| + | list="app-emulation/emul-linux-x86-sdl dev-libs/shared-desktop-ontologies kde-base/kcheckpass kde-base/kdm kde-base/keditbookmarks kde-base/kinfocenter kde-base/klipper kde-base/kmenuedit kde-base/konqueror kde-base/kscreensaver kde-base/ksystraycmd kde-base/kwrite kde-base/kwrited kde-base/nsplugins kde-base/powerdevil kde-base/svgpart media-libs/gst-plugins-good media-libs/mutagen media-plugins/gst-plugins-esd media-plugins/gst-plugins-flac media-plugins/gst-plugins-ogg media-plugins/gst-plugins-resindvd media-plugins/gst-plugins-vorbis media-plugins/gst-plugins-x media-plugins/gst-plugins-xvideo media-sound/amarok-utils net-analyzer/wireshark net-wireless/bluez" | ||
| + | |||
| + | emerge $list -pv | ||
| </code> | </code> | ||
| Line 96: | Line 151: | ||
| </code> | </code> | ||
| + | <code bash> | ||
| + | unset list | ||
| + | for i in $(eix -I --only-names x11-libs/libX); do list="$list $i"; done | ||
| + | for i in $(eix -I --only-names x11-proto/); do list="$list $i"; done | ||
| + | emerge -C $list | ||
| + | </code> | ||