Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 411643

Summary: app-arch/cabextract - consistent USE flag naming? - rename USE
Product: Gentoo Linux Reporter: Joe Stroller <stroller>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joe Stroller 2012-04-11 21:13:57 UTC
Hi there,

I don't know if this is something the devs want to consider. Perhaps you'll decide that changing a USE flag to a different name, whilst keeping the same behaviour, will confuse or annoy users.

However, I suggest changing the USE flag of this package from "extra-tools" to just "tools" in order to be more consistent with other packages in the Portage tree.

Description of USE extra-tools in cabextract:

    Install experimental tools: wince_info and wince_rename for examining
    and processing Windows CE installation cabinet header files; cabinfo
    for examining the structure of a cab file.

Description of USE tools in other packages:

    app-text/libwpg:tools - Build miscellaneous tools
    
    dev-libs/boost:tools - Build and install the boost tools (bcp, quickbook,
    inspect, wave)
    
    dev-libs/libcgroup:tools - Install the cgroup rules processing daemon
    and init/config files.
    
    mail-filter/maildrop:tools - Install maildirmake and deliverquota tools
    
    media-libs/chromaprint:tools - Build and install fpcalc and fpcollect
    tools
    
    media-libs/sdl-mixer:playtools - Install playwave and playmus tools
    (useful for testing)

I think this would be more consistent, and it's likely to appeal to users only to set USE=extra or -extra only once in /etc/make.conf


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-11 22:01:14 UTC
But cabextract already installs tools. These are -extra- tools.

Also, a search for "tools" using (app-portage/euses) reveals 36 descriptions, sometimes the same description for the same USE flag, sometimes for another USE flag (like "scripttools" or "plugin-spectools" or "vmware-tools").
Comment 2 Joe Stroller 2012-04-12 01:14:50 UTC
Oh, yikes! I've messed this up!

I intended to suggest renaming to extras.

At present I have USE="extras tools extra-tools" in my /etc/make.conf

extras and tools both each apply to several different packages. 

extra-tools is a USE flag unique to cabextract
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2015-03-29 11:23:14 UTC
+  29 Mar 2015; Ben de Groot <yngwin@gentoo.org> +cabextract-1.6.ebuild,
+  -cabextract-1.3.ebuild, cabextract-1.4.ebuild, metadata.xml:
+  Version bump, which fixes security bugs #538152 and #540626. Bump EAPI. Rename
+  extra-tools useflag to extras (bug #411643). Remove old.