Closed hartwork closed 5 months ago
Didn't know you could do a Musl build without a dedicated VM or container. This is cool!
@edgar-bonet it saves us rolling Alpine and Docker and also downloading a full toolchain from https://musl.cc/#binaries . I ran into it only yesterday, glad you like the idea too. On a side note, Alpine may not even have helped to see the error in practice, because Alpine's ttyplot 1.6.1 packaging does not apply any patches to ttyplot, so some other part of Alpine makes this work apparently (not sure which)…
One question bout the change to ttyplot.c: is
_XOPEN_SOURCE
needed here for the Musl build, even thoughM_PI
is not used? Maybe it's required by ncurses? If it's not required, I would rather leave that file alone.
I'm with you there, I would not have touched the file unless needed. With the patch in ttyplot.c
reverted, we would get this compile error that I'll also inline here so that we'll have a copy when that run log is long gone:
The addition is only in the #else
part of Apple because otherwise it broke compilation on macOS.
What do you think?
@edgar-bonet cool!
LGTM, please let me know if you want me to merge it
LGTM, please let me know if you want me to merge it
I did two tiny fixes more now — bumping the date to today and fixing spelling "Musl" to lowercase "musl" in two places, see https://github.com/tenox7/ttyplot/compare/7bd8271130fbd40f1955e1a9b2925dbf1406386b..f187abf3001853c5739cc3c8278dca998856fe4d — then merged just now. If you could do the Git tag and release for 1.6.2 that would rock. Thanks!
If you could do the Git tag and release for 1.6.2 that would rock. Thanks!
@tenox7 please do not forget the 1.6.2 Git tag at least so that I can fix https://bugs.gentoo.org/922285 without need to copy patches downstream. Thank you!
If you could do the Git tag and release for 1.6.2 that would rock. Thanks!
@tenox7 please do not forget the 1.6.2 Git tag at least so that I can fix https://bugs.gentoo.org/922285 without need to copy patches downstream. Thank you!
@tenox7 please please :pray:
Sincerest apologies for the delay. Tag 1.6.2 is pushed.
For the release could you post high level change log between 1.6 and 1.6.2? Just major stuff. Thanks.
Sincerest apologies for the delay. Tag 1.6.2 is pushed.
@tenox7 thanks, bumped in Gentoo — https://github.com/gentoo/gentoo/commit/b21ac1359805a6bbc1302d3a1d05aa782b985277 .
@q66 if you wanted to package ttyplot for Chimera, 1.6.2 now has all the musl fixes you would need. Just an idea.
For the release could you post high level change log between 1.6 and 1.6.2? Just major stuff. Thanks.
Arguably that would only be:
-O1
crash (#157)I'm not a big fan of grouping multiple releases into a common "1.6" roof. Why blur clear lines, what's in this reduced transparency for our users?
For all pull requests per milestone if curious:
Fixes #164