FS#62983 - [powerline] powerline.zsh is missing unde /usr/share/powerline/bindings/zsh

Attached to Project: Community Packages
Opened by Oskar Roesler (bionade24) - Sunday, 23 June 2019, 11:27 GMT
Last edited by Toolybird (Toolybird) - Thursday, 27 April 2023, 22:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
powerline.zsh is missing unde /usr/share/powerline/bindings/zsh

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
Missing file:

https://github.com/powerline/powerline/blob/6257332372bf9f64d928b6a3b53d2842d9c7e01f/powerline/bindings/zsh/powerline.zsh

Steps to reproduce:
./usr/share/powerline/bindings/zsh/powerline.zsh
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 27 April 2023, 22:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by Jiachen Yang (farseerfc) - Sunday, 01 September 2019, 10:39 GMT
Strange that powerline.zsh is provided by python-powerline:
/usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh is owned by python-powerline 2.7-3
And python-powerline is a dependency of powerline.

By the way the normal zsh do not have the "." (dot) command, instead it provides "source" command which is the same as dot command for bash. You can "alias .=source" in your .zshrc to use "." as source.
Can you please check whether you have python-powerline installed and whether
source /usr/share/powerline/bindings/zsh/powerline.zsh
works for you?
Comment by Toolybird (Toolybird) - Thursday, 27 April 2023, 05:33 GMT
So what's the status here? It looks a bit old and stale. The bindings are today still buried away in the python-powerline pkg...which seems a bit weird? Although, there is a symlink pointing back into the python dir which means `/usr/share/powerline/bindings/zsh/powerline.zsh' will resolve correctly. Therefore this looks fixed. I propose closure soon unless there is a reason to keep this open?
Comment by Oskar Roesler (bionade24) - Thursday, 27 April 2023, 19:09 GMT
There is no reason to keep it open from my side, I don't use powerline anymore. I still find the way its packaged weird, but maybe there's a reason.
Only thing I'd still consider if it makes sense to have a pkg splitted into wrappers+configs & core logic. python-powerline is only needed by powerline, so why not one powerline package for everything? That would imho more align with the way Arch packages software.
Comment by Toolybird (Toolybird) - Thursday, 27 April 2023, 22:07 GMT
Thanks for reporting back. The original bug is fixed...and I agree there is always room for improvement in packaging :)

Loading...