Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498056 - dev-util/cmake-2.8.12.x - add bash completion
Summary: dev-util/cmake-2.8.12.x - add bash completion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-01-14 10:46 UTC by Alex Turbov
Modified: 2014-01-25 14:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add bash-completion USE flag and install modules to the proper location (cmake-2.8.12.1-add-bash-completion.patch,1.12 KB, patch)
2014-01-14 10:47 UTC, Alex Turbov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.