Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] list all available and selected flags using emerge
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
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Wed Sep 25, 2013 2:24 am    Post subject: [solved] list all available and selected flags using emerge Reply with quote

once we use emerge to install a package, for instance:

Code:
  mybox chenming # emerge -a emacs

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild   R    ] app-editors/emacs-24.3-r2

Would you like to merge these packages? [Yes/No]


it doesn't show all of the flags out there for emacs. so to do that, i always need to inquire all the flag situations in case that something is missing:
Code:
mybox chenming # equery uses emacs
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-editors/emacs-24.3-r2:
 U I
 + + X                   : Add support for X11
 - - Xaw3d               : Add support for the 3d athena widget set
 + + alsa                : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - athena              : Enable the MIT Athena widget set (x11-libs/libXaw)
 + + dbus                : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - games               : Support shared score files for games
 + + gconf               : Use gnome-base/gconf to read the system font name
 + + gif                 : Add GIF image support
 - - gnutls              : Add support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support)
 + + gpm                 : Add support for sys-libs/gpm (Console-based mouse driver)
 + + gsettings           : Use gsettings (dev-libs/glib) to read the system font name
 + + gtk                 : Add support for x11-libs/gtk+ (The GIMP Toolkit)
 + + gtk3                : Link against version 3 of the GIMP Toolkit instead of version 2 (x11-libs/gtk+)
 - - gzip-el             : Compress bundled Emacs Lisp source
 - - hesiod              : Enable support for net-dns/hesiod
 - - imagemagick         : Use media-gfx/imagemagick for image processing
 + + jpeg                : Add JPEG image support
 - - kerberos            : Add kerberos support
 - - libxml2             : Use dev-libs/libxml2 to parse XML instead of the internal Lisp implementations
 - - livecd              : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during livecd building
 - - m17n-lib            : Enable m17n-lib support
 - - motif               : Add support for the Motif toolkit
 - - pax_kernel          : Enable building under a PaX enabled kernel (sys-apps/paxctl)
 + + png                 : Add support for libpng (PNG images)
 - - sound               : Enable sound support
 - - source              : Install C source files and make them available for find-function
 + + svg                 : Add support for SVG (Scalable Vector Graphics)
 + + tiff                : Add support for the TIFF image format
 - - toolkit-scroll-bars : Use the selected toolkit's scrollbars in preference to Emacs' own scrollbars
 - - wide-int            : Prefer wide Emacs integers (typically 62-bit). This option has an effect only on architectures
                           where "long" and "long long" types have different size.
 + + xft                 : Build with support for XFT font renderer (x11-libs/libXft)
 + + xpm                 : Add support for XPM graphics format


is there any way that all of the flags (and their use selections) of the installation candidate displayed before installing? for instance, we can use emerge with some parameters to achieve?

My experience indicates the importance to enquire this before installing a package.
http://stackoverflow.com/questions/18970982/how-to-set-font-size-in-emacs-24-installed-in-gentoo

when i install emacs, it doesn't specify any available flags about xft, and I didn't put xft in make.conf either. as a result, the room-in & out function doesn't work. it turns out that xft flag is not enabled on installation by
Code:
emerge -a emacs

but if the flag is somehow displayed during the install, I would definately choose yes.

Thanks!

thanks in advance


Last edited by diablo465 on Wed Sep 25, 2013 4:48 am; edited 1 time in total
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Wed Sep 25, 2013 2:32 am    Post subject: Re: list all available and selected flags when using emerge Reply with quote

man emerge wrote:
--verbose [ y | n ] (-v short option)
Tell emerge to run in verbose mode. Currently this flag causes emerge to print out GNU info errors, if
any, and to show the USE flags that will be used for each package when pretending. The following symbols
are affixed to USE flags in order to indicate their status:


Symbol Location Meaning
──────────────────────────────────────────────────────────────

- prefix not enabled (either disabled or removed)
* suffix transition to or from the enabled state
% suffix newly added or removed
() circumfix forced, masked, or removed
{} circumfix state is bound to FEATURES settings

Does the above clarify the situation? Gentoo has a lot of good documentation; you should read through some of it. :)
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Wed Sep 25, 2013 4:49 am    Post subject: Reply with quote

Thanks that is exactly what I was looking for!
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