Summary: | app-shells/gentoo-bashcomp: bash-completion files are not (fully) compatible with autoloading | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 521146 | ||
Attachments: | Batch of patches to fix the issues |
Description
Michał Górny
2014-08-26 18:33:54 UTC
*** Bug 483126 has been marked as a duplicate of this bug. *** Created attachment 384458 [details]
Batch of patches to fix the issues
I've already sent those patches to the maintainer by mail but since I didn't get any reply, I'm re-attaching them here.
The patches:
1. move out the common code into $helpersdir/gentoo-common.sh, so that
it can be sourced from multiple completion files,
2. split completions into separate $completionsdir/$command files,
3. add a new 'install' target to the Makefile that defaults to getting
directories from pkg-config, allows override via make arguments
and does substitutions of paths.
Please let me know if they're ok to commit. If I don't get any reply this week, I'm going to assume nobody cares about gentoo-bashcomp anymore, commit the patches and do a new release with them.
*** Bug 521160 has been marked as a duplicate of this bug. *** *** Bug 521156 has been marked as a duplicate of this bug. *** Since Ryan is on indefinite devaway, I've pushed the changes into 'bashcomp2' branch and did a new release. However, the ebuild will be masked along with new bash-completion since it doesn't really benefit old bash-completion users, and it would require them to re-enable the completions. |