Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
re-emerging everything without emerge -e
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MrSandman666
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 96
Location: Hamburg, Germany

PostPosted: Mon Feb 23, 2004 9:48 pm    Post subject: re-emerging everything without emerge -e Reply with quote

Hi everybody.

I would like to re-emerge my whole system however some packages include programs that I never use and therefore I unmerge them every time they've been automaticaly merged. I wonder whether there is a way to re-compile all the software that is actually installed on the system and not all the software that SHOULD be installed. emerge -e downloads and comiles everything in the world file plus dependencies. However, some software, like Gnome, has some dependencies it doesn't need. For example, Gnome comes with the browsers Mozilla and Epiphany. I never use those and therefore kick them off my system as soon as I can. However, whenever I do an emerge -e, they get emerged again. Is there a way to work around this somewhat easily?

Thanks a lot...
_________________
Mr. Sandman bring me a dream...
Back to top
View user's profile Send private message
hopstah
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 234
Location: Michigan

PostPosted: Mon Feb 23, 2004 10:03 pm    Post subject: Reply with quote

well, you can take a look at your /var/cache/edb/world file and see if any of those unwanted packages are listed in that file. if so, comment them out and try emerge -e world again to see if they're still listed there.
_________________
hopstah
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon Feb 23, 2004 11:03 pm    Post subject: Reply with quote

Use gnome-light instead of gnome. gnome-light is a smaller metapackage:
Code:
$ diff -du /usr/portage/gnome-base/gnome/gnome-2.4.2.ebuild /usr/portage/gnome-base/gnome-light/gnome-light-2.4.2.ebuild
--- /usr/portage/gnome-base/gnome/gnome-2.4.2.ebuild    2004-02-10 14:44:44.000000000 +0000
+++ /usr/portage/gnome-base/gnome-light/gnome-light-2.4.2.ebuild        2004-02-05 23:35:05.000000000 +0000
@@ -1,137 +1,70 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-x86/gnome-base/gnome/gnome-2.4.2.ebuild,v 1.8 2004/02/10 14:40:55 gustavoz Exp $
+# $Header: /home/cvsroot/gentoo-x86/gnome-base/gnome-light/gnome-light-2.4.2.ebuild,v 1.1 2004/02/05 23:35:05 spider Exp $
 
 S=${WORKDIR}
-DESCRIPTION="Meta package for the GNOME desktop."
+DESCRIPTION="Meta package for the GNOME desktop, merge this package to install" HOMEPAGE="http://www.gnome.org/"
 LICENSE="as-is"
 SLOT="2.0"
 
-IUSE="cdr dvdr doc accessibility samba"
-
 # when unmasking for an arch
 # double check none of the deps are still masked !
-
-KEYWORDS="x86 ppc ~alpha sparc hppa ~amd64 ~ia64"
+KEYWORDS="~x86 ~ppc ~amd64"
 
 #  Note to developers:
-#  This is a wrapper for the complete Gnome2 desktop,
-#  This means all components that a user expects in Gnome2 are present
-#  please do not reduce this list further unless
-#  dependencies pull in what you remove.
-#  With "emerge gnome" a user expects the full "standard" distribution
-#  of Gnome and should be provided with that, consider only
-#  installing the parts needed for smaller installations.
-
-
-RDEPEND="!gnome-base/gnome-core
+#  This is a wrapper for the 'light' Gnome2 desktop,
+#  This should only consist of the bare minimum of libs/apps needed
+#  It is basicly the gnome-base/gnome without all extra apps
 
-       >=dev-libs/glib-2.2.3
-       >=dev-libs/atk-1.4.1
-       >=x11-libs/pango-1.2.5-r1
-       >=x11-libs/gtk+-2.2.4-r1
+#  This is currently in it's test phase, if you feel like some dep
+#  should be added or removed from this pack file a bug to
+#  gnome@gentoo.org on bugs.gentoo.org
 
-       >=gnome-base/gconf-2.4.0.1
+#      >=media-gfx/eog-2.2.1
 
-       >=dev-libs/libIDL-0.8.2
-       >=gnome-base/ORBit2-2.8.3
+RDEPEND="!gnome-base/gnome-core
+       !gnome-base/gnome
 
-       >=media-libs/audiofile-0.2.5
-       >=media-sound/esound-0.2.32
-       >=gnome-base/gail-1.4.1
+       >=x11-wm/metacity-2.6.3
+       >=gnome-base/gnome-session-2.4.2
+       >=gnome-base/gdm-2.4.1.7
+       >=gnome-base/eel-2.4.2
+       >=gnome-base/nautilus-2.4.2
+       >=x11-terms/gnome-terminal-2.4.2
+       >=gnome-base/control-center-2.4
        >=gnome-base/gnome-mime-data-2.4.1
-       >=gnome-base/gnome-vfs-2.4.2-r1
-       >=media-libs/libart_lgpl-2.3.16
+       >=gnome-extra/yelp-2.4.2
 
+       >=x11-libs/gtk+-2.2.4-r1
+       >=x11-libs/pango-1.2.5-r1
+       >=dev-libs/atk-1.4.1
+       >=dev-libs/glib-2.2.3
+       >=gnome-base/gconf-2.4.0.1
+       >=gnome-base/gnome-panel-2.4.2
+       >=gnome-base/gnome-desktop-2.4.1.1
+       >=gnome-base/gnome-vfs-2.4.2
        >=gnome-base/libbonobo-2.4.3
        >=gnome-base/libbonoboui-2.4.3
-       >=gnome-base/libglade-2.0.1
        >=gnome-base/libgnome-2.4
        >=gnome-base/libgnomecanvas-2.4
        >=gnome-base/libgnomeui-2.4.0.1
-
-       >=dev-libs/libxml2-2.6.4
-       >=dev-libs/libxslt-1.1.2
-
-       >=gnome-extra/acme-2.4.2-r1
-       >=gnome-extra/bug-buddy-2.4.2
-
-       >=gnome-base/control-center-2.4
-
-       >=gnome-base/eel-2.4.2
-       >=gnome-base/nautilus-2.4.2
-       >=gnome-extra/nautilus-media-0.3.3.1
-
-
-       !hppa? ( >=net-www/epiphany-1.0.7 )
-
-       >=media-gfx/eog-2.4.1
-       >=app-arch/file-roller-2.4.4-r2
-       >=gnome-extra/gcalctool-4.3.16
-       >=gnome-extra/gconf-editor-2.4
-       >=gnome-base/gdm-2.4.1.7
-       >=app-editors/gedit-2.4.1
-       >=app-text/ggv-2.4.1
-       >=app-text/gpdf-0.112
-       >=gnome-base/gnome-applets-2.4.2
-       >=gnome-base/gnome-desktop-2.4.1.1
-       >=gnome-extra/gnome-games-2.4.2
-
-       >=x11-themes/gtk-engines-2.2
-       >=x11-themes/gnome-icon-theme-1.0.9
-       >=x11-themes/gnome-themes-2.4.1
-
-       >=gnome-extra/gnome-media-2.4.1.1
-       >=gnome-base/gnome-panel-2.4.2
-       >=gnome-base/gnome-session-2.4.2
-       >=gnome-extra/gnome-system-monitor-2.4
-       >=x11-terms/gnome-terminal-2.4.2
-       >=gnome-extra/gnome2-user-docs-2.4.1
-       >=gnome-extra/gnome-utils-2.4.1
-       >=media-libs/gstreamer-0.6.4
-       >=media-libs/gst-plugins-0.6.4
-       >=x11-libs/gtksourceview-0.7-r1
-       >=gnome-extra/gucharmap-1.2
-       >=gnome-base/libgnomeprint-2.4.2
-       >=gnome-base/libgnomeprintui-2.4.2
-       =gnome-extra/libgtkhtml-2.4*
-       >=gnome-base/libgtop-2.0.8
        >=gnome-base/librsvg-2.4
+       >=gnome-base/libglade-2.0.1
        >=x11-libs/libwnck-2.4.0.1-r1
-       >=x11-wm/metacity-2.6.3
-       >=gnome-extra/zenity-1.8
-
-       >=x11-libs/startup-notification-0.5
-
-       >=gnome-extra/yelp-2.4.2
-       >=x11-libs/vte-0.11.10
-
-       >=app-text/scrollkeeper-0.3.14
-
-       cdr? ( >=gnome-extra/nautilus-cd-burner-0.6.1 )
-       dvdr? ( >=gnome-extra/nautilus-cd-burner-0.6.1 )
-
-       accessibility? ( >=gnome-extra/libgail-gnome-1.0.2
-               >=gnome-extra/at-spi-1.3.9
-               >=gnome-extra/gnome-speech-0.2.8
-               >=gnome-extra/gnome-mag-0.10.4
-               >=gnome-extra/gok-0.9.1
-               >=gnome-extra/gnopernicus-0.7.1 )
-
-       samba? ( >=gnome-extra/gnome-vfs-extras-0.99.11 )"
-
-# move theese to DEPEND and not RDEPEND, this cuts down on GRP sets. :)
-
-DEPEND="${RDEPEND}
-       >=dev-util/pkgconfig-0.15
-       >=dev-util/intltool-0.29
-       doc? ( >=dev-util/gtk-doc-1.1 )"
+       >=gnome-base/ORBit2-2.8.3
+       >=x11-themes/gnome-icon-theme-1.0.9
+       >=x11-themes/gnome-themes-2.4.1"
 
 pkg_postinst () {
 
        einfo "note that to change windowmanager to metacity do: "
        einfo " export WINDOW_MANAGER=\"/usr/bin/metacity\""
        einfo "of course this works for all other window managers as well"
+       einfo ""
+       ewarn "Remember, this meta package is experimental !"
+       einfo ""
+       einfo "Use gnome-base/gnome for the full GNOME Desktop"
+       einfo "as released by the GNOME team."
 
 }
Otherwise, roll your own.
Back to top
View user's profile Send private message
essar
n00b
n00b


Joined: 18 Jan 2004
Posts: 56
Location: Melbourne, Australia

PostPosted: Tue Feb 24, 2004 8:55 am    Post subject: Re: re-emerging everything without emerge -e Reply with quote

MrSandman666 wrote:
Hi everybody.

I would like to re-emerge my whole system however some packages include programs that I never use and therefore I unmerge them every time they've been automaticaly merged. I wonder whether there is a way to re-compile all the software that is actually installed on the system and not all the software that SHOULD be installed. [snip]

Thanks a lot...


Hmmm. How bout trying the following:

qpkg -nc -I | sort | uniq | NOCOLOR=true xargs emerge --oneshot --nodeps 2>&1 >reemerge.log
Back to top
View user's profile Send private message
MrSandman666
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 96
Location: Hamburg, Germany

PostPosted: Sun Mar 28, 2004 3:28 pm    Post subject: Reply with quote

unfortunately this creates the problem that all masked packages will create errors... any way to work around this?
_________________
Mr. Sandman bring me a dream...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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