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

Bug 498056

Summary: dev-util/cmake-2.8.12.x - add bash completion
Product: Gentoo Linux Reporter: Alex Turbov <I.zaufi>
Component: [OLD] DevelopmentAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: alex_y_xu
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add bash-completion USE flag and install modules to the proper location

Description Alex Turbov 2014-01-14 10:46:18 UTC
cmake package actually installs 3 bash completion modules out of the box, but to the wrong location...
here is a patch to add bash-completion as it should be in gentoo.


Reproducible: Always
Comment 1 Alex Turbov 2014-01-14 10:47:05 UTC
Created attachment 367834 [details, diff]
add bash-completion USE flag and install modules to the proper location
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2014-01-24 04:17:40 UTC
Committed as 2.8.12.1-r4 (removed the bash-completion USE flag, Gentoo policy is to install small files like that unconditionally). Thanks for the report!
Comment 3 Alex Turbov 2014-01-25 10:31:23 UTC
(In reply to Chris Reffett from comment #2)
> Committed as 2.8.12.1-r4 (removed the bash-completion USE flag, Gentoo
> policy is to install small files like that unconditionally). 

that decision looks strange to me...
what if I zsh user and do not need that small files at all?
why other packages have this USE? completions is always small file...
---

where I can read that policy?
Comment 4 Michael Palimaka (kensington) gentoo-dev 2014-01-25 14:15:08 UTC
(In reply to Alex Turbov from comment #3)
> that decision looks strange to me...
> what if I zsh user and do not need that small files at all?
> why other packages have this USE? completions is always small file...
> ---
> 
> where I can read that policy?

I don't think this is documented in the devmanual etc. but has been on the mailing list and in use for some time.
The rationale is that it's not really worth it to have a USE flag for controlling small files. If someone did not want them, they could use INSTALL_MASK to stop those from being installed.