View previous topic :: View next topic |
Author |
Message |
lk42pro Tux's lil' helper
Joined: 21 Apr 2002 Posts: 114 Location: New Jersey, USA
|
Posted: Tue Apr 23, 2002 5:03 am Post subject: do i get this right? |
|
|
so if i just want nodependencies at all i use emerge --nodeps, if i don't want a group of dependencies like gnome i use export USE ="-gnome"..do i have this right? |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Tue Apr 23, 2002 5:30 am Post subject: |
|
|
Almost.
USE="-gnome" will avoid getting gnome as a dependency for those packages which have optional support for gnome (e.g. vim). It will not help if the package actually requires gnome.
(And now let's get back to topic... ) _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
lk42pro Tux's lil' helper
Joined: 21 Apr 2002 Posts: 114 Location: New Jersey, USA
|
Posted: Tue Apr 23, 2002 5:44 am Post subject: |
|
|
fghellar wrote: | Almost.
USE="-gnome" will avoid getting gnome as a dependency for those packages which have optional support for gnome (e.g. vim). It will not help if the package actually requires gnome.
(And now let's get back to topic... ) |
how do i tell if a dependency is optional or required? |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Tue Apr 23, 2002 6:15 am Post subject: |
|
|
I'm not sure if there is an easy way, but the hard way is to look in the ebuild file. E.g., for vim:
Code: | # grep -A 15 DEPEND=\" /usr/portage/app-editors/vim/vim-6.1-r4.ebuild
DEPEND="virtual/glibc
>=sys-libs/ncurses-5.2-r2
dev-util/cscope
>=sys-apps/portage-1.8.18
gpm? ( >=sys-libs/gpm-1.19.3 )
gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )
gtk? ( >=x11-libs/gtk+-1.2.10-r4 )
X? ( x11-base/xfree )
perl? ( sys-devel/perl )
python? ( dev-lang/python )
ruby? ( >=dev-lang/ruby-1.6.4 )"
# tcltk? ( dev-lang/tcl )"
# It appears that the tclinterp stuff in Vim is broken right now (at
# least on Linux... it works on BSD). When you --enable-tclinterp
# flag, then the following command never returns:
# |
Those with question marks ("gpm?", "gnome?", etc.) are optional. _________________ | www.gentoo.org | www.tldp.org | www.google.com | |
|
Back to top |
|
|
|