Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482696 - app-vim/airline-0.4 doesn't install the powerline symbols
Summary: app-vim/airline-0.4 doesn't install the powerline symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL: https://powerline.readthedocs.org/en/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 17:02 UTC by Elias Probst
Modified: 2015-02-24 16:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2013-08-27 17:02:06 UTC
The current app-vim/airline-0.4.ebuild doesn't install the powerline symbols as described here:
https://powerline.readthedocs.org/en/latest/installation/linux.html#fontconfig
and here:
https://github.com/bling/vim-airline/#integrating-with-powerline-fonts

What the ebuild should do:
- download PowerlineSymbols.otf and 10-powerline-symbols.conf
- use the 'font' eclass to install the OTF and fontconfig file

I don't know whether it makes sense/is possible using font.eclass to enable 10-powerline-symbols.conf by default.

See also:
https://wiki.gentoo.org/wiki/Fontconfig
Comment 1 Tim Harder gentoo-dev 2013-08-27 19:05:46 UTC
A patch would help speed this up since I didn't feel like doing it in the initial release. Both methods (otf and patched fonts) would have to be used in order to support most terminals.

Also, this should probably be done in a separate pkg since I'll probably add powerline to the tree at some point.
Comment 2 Elias Probst 2013-08-28 14:52:57 UTC
You're right. An extra ebuild providing the powerline symbols might make more sense in this case, as it can be shared between powerline and airline. Unfortunately, I don't have time right now to take care of this.

WRT adding a powerline ebuild: I thought powerline is more or less dead? Is there an actively maintained fork around I haven't seen yet?
Comment 3 Tim Harder gentoo-dev 2013-08-29 17:28:35 UTC
(In reply to Elias Probst from comment #2)
> WRT adding a powerline ebuild: I thought powerline is more or less dead? Is
> there an actively maintained fork around I haven't seen yet?

The maintainer restarted the project using a more generic framework written in python [1].

[1]: https://github.com/Lokaltog/powerline
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2015-02-24 16:41:27 UTC
Now in the tree as media-fonts/powerline-symbols. We may add the patched fonts at a later point.