Skip to content
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

Make a FreeBSD Port #575

Closed
dankamongmen opened this issue May 7, 2020 · 9 comments
Closed

Make a FreeBSD Port #575

dankamongmen opened this issue May 7, 2020 · 9 comments
Assignees
Labels
freebsd the freest of bsds, but not very dragonFLY packaging schlepping up distro packages
Milestone

Comments

@dankamongmen
Copy link
Owner

If we're going to make FreeBSD a first-class Notcurses platform, we ought at least be in the Ports Collection. I've got a preliminary BSD Makefile in doc/FreeBSD-Makefile, but it probably needs a bit of work before submission, and Notcurses as a whole definitely needs work (on FreeBSD) before submission.

Perhaps we can lasso @yurivict into helping us get the Port upstream, once it meets our quality expectations. I don't see this happening in the 1.4.0 timeframe, but who knows.

@dankamongmen dankamongmen added packaging schlepping up distro packages freebsd the freest of bsds, but not very dragonFLY labels May 7, 2020
@dankamongmen dankamongmen self-assigned this May 7, 2020
@yurivict
Copy link

yurivict commented May 7, 2020

I tried to create a FreeBSD port, but there are a few bugs to fix.

@dankamongmen
Copy link
Owner Author

dankamongmen commented May 9, 2020

I fixed the compiler problem #573. I fixed up the eventfd issue, replacing it with a pipe2() (#578). Remaining issues seem to be #574 (clone3 for ncsubproc) and #581 (doctest).

One thing we'll need deal with is getting CMake to look at /usr/local so it can find e.g. graphics/qr-code-generator.

@dankamongmen
Copy link
Owner Author

#574 is knocked out. Still need #577, but I think we'll be compiling on FreeBSD by morning.

@dankamongmen
Copy link
Owner Author

#577 is done. We now build on FreeBSD 12, with no warnings :D.

@yurivict
Copy link

yurivict commented May 9, 2020

The port is added: https://www.freshports.org/devel/notcurses/

Thank you for making it compatible with FreeBSD.

@dankamongmen dankamongmen added this to the 1.5.0 milestone May 11, 2020
@dankamongmen
Copy link
Owner Author

oh awesome dude, thanks!!!! now, how do i go about pushing new versions when i have them? will that be taken of automatically by freebsd? if not, i'm happy to learn the process and manage it as part of my release cycle. we can carry on the conversation here, or you can mail me at nickblack@linux.com.

@dankamongmen
Copy link
Owner Author

ahhh, i see it already has 1.4.1 from this morning, nice! was that automatic, or did it require your assistance?

@dankamongmen
Copy link
Owner Author

BTW, I think you probably want py-cffi as a build dep.

I'd love to become a co-maintainer and start my journey back along the FreeBSD Path, if you're interested in bringing me on.

@yurivict
Copy link

Nick, I've replied to you via e-mail.

Yuri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freebsd the freest of bsds, but not very dragonFLY packaging schlepping up distro packages
Projects
None yet
Development

No branches or pull requests

2 participants