lwjgl3-port icon indicating copy to clipboard operation
lwjgl3-port copied to clipboard

FreeBSD port

Open cypher386 opened this issue 4 years ago • 4 comments

Is there a compelling this hasn't been made into a proper FreeBSD port. The existing minecraft.1.13-client port is broken and pulls code from some random server. I'm willing to build and submit a proper port, if there aren't compelling reasons not to.

cypher386 avatar Oct 10 '20 20:10 cypher386

I think the main issue is that newer minecrafts need lwjgl version 3, FreeBSD's lwjgl port is very old and I dont think its easy to upgrade

patrickSpaceSurfer avatar Oct 10 '20 20:10 patrickSpaceSurfer

But this repo uses LWJGL 3, so can't this be included in the FreeBSD ports system, or whatever changes this repo contains, be merged back into the official LWJGL 3 repos.

I've just installed a new system with FreeBSD 12.2 and again going through the compile and debug process to get MC 1.14+ working - still no luck, but I had it working on my old system, so I know it is possible.

graemeg avatar Dec 21 '20 12:12 graemeg

Try the fork at: https://github.com/patrickSpaceSurfer/lwjgl3-port

Note that the changes cannot be merged back or put into the ports system because they only change LWJGL 3 to make minecraft work, LWJGL 3 itself doesn't work.

patrickSpaceSurfer avatar Dec 21 '20 16:12 patrickSpaceSurfer

Thanks, I'll give it a try.

In the mean time, I've also cloned the official LWJGL 3 repo and started making changes to get it to compile under FreeBSD 12.2 without the ant -Dos.name=Linux -Dplatform=linux trick. My thinking was, seeing as it can compile and work with some trickery, then the Linux and FreeBSD versions should be pretty close together. Also, seeing that LWJGL 2.x worked with FreeBSD, much of what we need, should be there already. I don't know the LWJGL code, but got quite a few or the ant [xyz] build steps to work. I'm busy debugging the ant compile-native step now, but not being very familiar with GCC or the C Language, it's slightly painful searching for the meaning of the compiler error messages. :-) But I'll eventually make available what I have done in the hopes somebody in the LWJGL community can help get the final steps in place.

graemeg avatar Dec 23 '20 16:12 graemeg