New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to build on NetBSD #221
Comments
While I'm not running NetBSD, but I think I might have a solution. I'm not sure if the situation is different for you, but on my system (Fedora) you need different packages compile ncurses programs from the ones you need to run them. For me those packages are |
Do you have |
AFAIK NetBSD does not split packages, i.e. development headers are included in the packages.
|
FYI if anyone is interested, Pin (total champ) has pushed this to pkgsrc-wip where hopefully someone will figure it out. |
@hrkfdn Do you have any suggestions to what might be causing this? I was the one packaging |
Nice work! Hmm, it looks like it's having problems with the special characters (bars, dotted lines, etc.). Are you running this in an UTF-8 capable environment? You could also try the |
Thanks!
Probably not. NetBSD supports too many old archs where enabling it by dafault would not be adviseble. It can be enabled though. @Ramiferous, please try enabling it.
You mean patching |
Yes, you can select the backend in Cargo.toml. These are available: https://github.com/gyscos/Cursive/wiki/Backends |
@Ramiferous please enable unicode and test. If this does not work, I'll patch it. Thx! |
|
Awesome, out of curiosity: how was the issue with the incorrectly displayed characters fixed? |
It hasn't really, I don't have a Spotify account, but I'm convinced its an UTF-8 issue. @Ramiferous also said the software has been working fine for him otherwise. |
As Pin said, I couldn't get UTF-8 supported working on NetBSD yet. Will keep trying and once resolved will report back here. I had a thought though, is it possible to implement an option for no UTF-8 support and to just use normal text symbols in their place? a kind of fallback mode if you will? I don't really need the fancy characters, but I'd like it to look neat at least. |
Update & ust an FYI incase anyone's interested. It appears that is not a problem with NetBSD not supporting UTF-8 but rather an issue with This all began here: |
Upstream bug report: hrkfdn/ncspot#221 Analysis done by rvp @ UnitedBSD https://www.unitedbsd.com/d/233-spotify/54
* Use libc for setlocale() to fix non-ASCII character printing. #221 * move string instantiation outside unsafe block update libc crate while at it Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
* Use libc for setlocale() to fix non-ASCII character printing. hrkfdn#221 * move string instantiation outside unsafe block update libc crate while at it Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
Hopefully someone running
ncspot
on OpenBSD can help me here. I'm really keen to get this working on my NetBSD machine but I get a build error:Poraudio & ncurses are installed
The text was updated successfully, but these errors were encountered: