Re: [gentoo-user] tunning use flag

2006-04-13 Thread Pawel K
 That will show you
 what use flags
 are available for a package, and if you see gtk or
 qt, you can
 investigate further what you lose by disabling them.

How can I find out what I loose by disabling specific
flag ?
equery uses pks
shows general info only.

I looked into:
fluxbox-0.9.14-r1.ebuild

and I found:
src_compile() {
econf \
...
$(use_enable kde) \
...

and that's all about e.g. kde flag.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tunning use flag

2006-04-13 Thread Neil Bothwick
On Thu, 13 Apr 2006 07:44:23 -0700 (PDT), Pawel K wrote:

 How can I find out what I loose by disabling specific
 flag ?
 equery uses pks
 shows general info only.

USE=-flag emerge -pvuDN world


-- 
Neil Bothwick

Gotta run, cat's caught in the printer...


signature.asc
Description: PGP signature


Re: [gentoo-user] tunning use flag

2006-04-13 Thread Richard Fish
On 4/13/06, Pawel K [EMAIL PROTECTED] wrote:
 How can I find out what I loose by disabling specific
 flag ?
 equery uses pks
 shows general info only.

If you are exceptionally lucky, grep -e ^kde  -e :kde
/usr/portage/profiles/use.*desc will tell you what it does, or you
can determine this from the ebuild comments or script.

If you are very lucky, a google search with the appropriate terms will
tell you.  You need to know that econf ... $(use_enable kde)
translates to ./configure ... --enable-kde.  So a google for
fluxbox configure --enable-kde might help.

If you are a little lucky, there will be a README or INSTALL file in
the source tarball that will explain exactly what the configure
options do.

If you have any luck at all, you can interrupt the compile process, cd
to the package build directory in /var/tmp/portage, and run
./configure --help to get documentation about what the option does.

But in the normal case, you have to read the source to really
understand what impact a use flag has.  Or experiment with it on and
off.

Cheers,
-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] tunning use flag

2006-04-12 Thread Pawel K
Hello

I'm not sure whether I understand the USE flag
properly.

I'm using fluxbox as X window manager. I'm not using
kde and gnome and I'm not interested in those
packages.

Can I remove support for them in my /etc/make.conf by
specifying:
USE=-kde -gnome -qt -gtk -gtk+

Will ethereal work after that changes. It listens to
gtk flag. Will it be compiled with gtk support ins
spite of my -gtk specification.

Thank You for help

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tunning use flag

2006-04-12 Thread Gogiel
Pawel K wrote:
 Hello
 
 I'm not sure whether I understand the USE flag
 properly.
 
 I'm using fluxbox as X window manager. I'm not using
 kde and gnome and I'm not interested in those
 packages.
 
 Can I remove support for them in my /etc/make.conf by
 specifying:
 USE=-kde -gnome -qt -gtk -gtk+
 
 Will ethereal work after that changes. It listens to
 gtk flag. Will it be compiled with gtk support ins
 spite of my -gtk specification.
 
 Thank You for help
 
After that you will be able to use only tethereal.
If you want to use gtk ethereal
# echo net-analyzer/ethereal gtk  /etc/portage/package.use

-- 
Jabber: [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tunning use flag

2006-04-12 Thread Richard Fish
On 4/12/06, Pawel K [EMAIL PROTECTED] wrote:
 Hello

 I'm not sure whether I understand the USE flag
 properly.

 I'm using fluxbox as X window manager. I'm not using
 kde and gnome and I'm not interested in those
 packages.

USE flags turn on optional support (and dependancies) in packages.  So
for those packages with optional kde or gnome support, disabling those
use flags will build the packages without that support.

But they do not effect packages with fixed dependancies.  For example,
kdevelop requires kdelibs, so if you merge kdevelop, you will end up
with kdelibs installed as well, regardless of the kde use flag
setting.

For the qt and gtk flags, the general effect is that you do not get
any optional GUI interfaces for the packages.  As has been pointed
out, merging ethereal without gtk gives you only tethereal. 
Similarly, merging mplayer without gtk support gives you only mplayer,
not gmplayer.  Xine gives you only xine, not gxine.  And so on.

If you really don't want those other interfaces, then disable the
flags.  You can always enable them again for a specific package with
/etc/portage/package.use.

Also you might want to get in the habit of running emerge with the
--pretend and --verbose options.  That will show you what use flags
are available for a package, and if you see gtk or qt, you can
investigate further what you lose by disabling them.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tunning use flag

2006-04-12 Thread Joshua Schmidlkofer
gtk != gnome.  Gnome uses GTK, but so does XFCE, Gimp, Ethereal, etc. 
So, you may not want -gtk and -gtk+ in your main packages.  That said
Gogiel is absolutley correct.

js


On 4/12/06, Gogiel [EMAIL PROTECTED] wrote:
 Pawel K wrote:
  Hello
 
  I'm not sure whether I understand the USE flag
  properly.
 
  I'm using fluxbox as X window manager. I'm not using
  kde and gnome and I'm not interested in those
  packages.
 
  Can I remove support for them in my /etc/make.conf by
  specifying:
  USE=-kde -gnome -qt -gtk -gtk+
 
  Will ethereal work after that changes. It listens to
  gtk flag. Will it be compiled with gtk support ins
  spite of my -gtk specification.
 
  Thank You for help
 
 After that you will be able to use only tethereal.
 If you want to use gtk ethereal
 # echo net-analyzer/ethereal gtk  /etc/portage/package.use

 --
 Jabber: [EMAIL PROTECTED]
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list