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

Bug 372031

Summary: dev-libs/glib-2.28.* add bash-completion use flag
Product: Gentoo Linux Reporter: Nguyen Thai Ngoc Duy <pclouds>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nguyen Thai Ngoc Duy 2011-06-17 12:06:53 UTC
I don't mind installing just one shell script unconditionally. But I think we should add a use flag to advertise it. I was about to make an ebuild to add bash-completion support for gsettings until I realized the build already installed it.
Comment 1 Pacho Ramos gentoo-dev 2011-06-17 19:05:16 UTC
I am unsure about adding a USE flag for installing a single file (this reminds me the "logrotate" USE flag issue that was finally dropped due this). And adding a use flag to simply advertise it's being installed... looks overkill to me, but maybe any other team member can clarify this situation a bit :-/
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-21 09:35:59 UTC
Afaik, the bash-completion eclass adds the use flag only to make sure the user has bash-completion and eselect packages installed. This is imho overkill and it indeed meets the point that was made on the ml that installing one file that doesn't in itself depends on anything doesn't warrant a USE flag. Maybe the discussion should be brought to dev ML to make the situation clearer for bash-completion too.
Comment 3 Pacho Ramos gentoo-dev 2011-10-16 10:57:19 UTC
The way we are installing bash-completion stuff in 2.30 mimics the new preferred way of handling bash-completion files as used by bash-completion-r1.eclass (that makes bash-completion.eclass deprecated)