View previous topic :: View next topic |
Author |
Message |
iliah n00b
Joined: 01 Aug 2004 Posts: 42 Location: Russia Moscow
|
Posted: Thu Apr 13, 2006 11:25 am Post subject: how to rebuild meta-packages |
|
|
I guess it's quite simple question for you
how to rebuild already installed meta-packages (eg. modular xorg-x11 or kde-meta) |
|
Back to top |
|
|
Zarhan l33t
Joined: 27 Feb 2004 Posts: 996
|
Posted: Thu Apr 13, 2006 11:41 am Post subject: |
|
|
Not easily - as proper package 'sets' are not yet integrated in portage (See GLEP 21. The meta packages are just an intermediate solution). Emerging with the -e options is probably the closest you can get, altough that rebuilds a lot of other stuff as well. |
|
Back to top |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Thu Apr 13, 2006 11:52 am Post subject: |
|
|
if you only wanted to update, you could use the -auNDv set of options. this will rebuild all the packages where use-flags were changed or where there are new versions and it will do a "deep" dependency-scan. _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
nealbirch n00b
Joined: 18 Jan 2003 Posts: 25
|
Posted: Wed May 10, 2006 2:54 am Post subject: how to do a rebuild |
|
|
If you wanted to do just the x11 packages in the rebuilding of xorg-x11 you could do the following:
# for i in `emerge -pe xorg-x11 | grep x11 | cut -d " " -f 8` ; do emerge =$i ; done
for other metapackages you may have to play with it a bit. I think this would miss some of the fonts, for instance, but you could compare the list against what got rebuilt. |
|
Back to top |
|
|
dmartinsca Guru
Joined: 09 Dec 2005 Posts: 303 Location: Ontario, Canada
|
Posted: Wed May 10, 2006 4:01 am Post subject: |
|
|
ecatmur's dep script looks like it can handle this pretty well. (Great script, i keep finding new uses for it all the time! Cheers Ed!)
You can get a copy of it from here, although i can't access the site right now.
Refering to the man page for dep, the -l switch lists dependancies of a package and the -1 switch produces output suitable for emerge --oneshot. For example: dep -l1 xfce4 produces the following output.
Code: | dmartins@unstable ~ $ dep -l1 xfce4
=xfce-base/libxfce4mcs-4.2.3
=xfce-base/libxfce4util-4.2.3.2
=xfce-base/libxfcegui4-4.2.3
=xfce-base/xfce-mcs-manager-4.2.3
=xfce-base/xfce-mcs-plugins-4.2.3
=xfce-base/xfce-utils-4.2.3
=xfce-base/xfce4-panel-4.2.3
=xfce-base/xfce4-session-4.2.3
=xfce-base/xfdesktop-4.2.3
=xfce-base/xffm-4.2.3
=xfce-base/xfprint-4.2.3
=xfce-base/xfwm4-4.2.3.2
=xfce-extra/xfcalendar-4.2.3
=xfce-extra/xfce4-appfinder-4.2.3
=xfce-extra/xfce4-icon-theme-4.2.3
=xfce-extra/xfce4-iconbox-4.2.3
=xfce-extra/xfce4-mixer-4.2.3
=xfce-extra/xfce4-systray-4.2.3
=xfce-extra/xfce4-toys-4.2.3
=xfce-extra/xfce4-trigger-launcher-4.2.3
=xfce-extra/xfwm4-themes-4.2.3 |
You can make emerge use this list of packages with a simple bit of bash magic: emerge -p $(dep -l1 xfce4) Some of the packages below are listed as new because i never actually emerged the xfce4 meta-package. I just tested this with gnome as well and it seems to work perfectly.
Code: | dmartins@unstable ~ $ emerge -p $(dep -l1 xfce4)
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] xfce-base/libxfce4mcs-4.2.3
[ebuild R ] xfce-base/libxfce4util-4.2.3.2
[ebuild R ] xfce-base/libxfcegui4-4.2.3
[ebuild R ] xfce-base/xfce-mcs-manager-4.2.3
[ebuild R ] xfce-base/xfce-mcs-plugins-4.2.3
[ebuild R ] xfce-base/xfce-utils-4.2.3
[ebuild R ] xfce-base/xfce4-panel-4.2.3
[ebuild R ] xfce-base/xfce4-session-4.2.3
[ebuild R ] xfce-base/xfdesktop-4.2.3
[ebuild N ] xfce-base/xffm-4.2.3 USE="samba -debug"
[ebuild N ] app-text/psutils-1.17
[ebuild N ] dev-util/gperf-3.0.1
[ebuild N ] app-text/a2ps-4.13c-r4 USE="nls -cjk -tetex -vanilla"
[ebuild N ] xfce-base/xfprint-4.2.3 USE="-debug"
[ebuild R ] xfce-base/xfwm4-4.2.3.2
[ebuild N ] xfce-extra/xfcalendar-4.2.3 USE="-debug"
[ebuild N ] xfce-extra/xfce4-appfinder-4.2.3 USE="-debug"
[ebuild R ] xfce-extra/xfce4-icon-theme-4.2.3
[ebuild R ] xfce-extra/xfce4-iconbox-4.2.3
[ebuild R ] xfce-extra/xfce4-mixer-4.2.3
[ebuild R ] xfce-extra/xfce4-systray-4.2.3
[ebuild N ] xfce-extra/xfce4-toys-4.2.3 USE="-debug"
[ebuild N ] xfce-extra/xfce4-trigger-launcher-4.2.3 USE="-debug"
[ebuild R ] xfce-extra/xfwm4-themes-4.2.3 |
|
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Wed May 10, 2006 6:00 am Post subject: |
|
|
I have ecatmurs udept script from 3 days ago mirrored here:
http://dev.gentoo.org/~curtis119/udept.tar.gz
untar it into /usr/local/portage/app-portage/
then "emerge udept". _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
|