Hello, this is an patch to remove OpenJDK 21 hard dependency as USES Java sets 21. While addressing this, also remove the dependency on LWJGL2 to maintain focus on the latest game versions. Thanks.
Created attachment 268524 [details] 0001-games-prismlauncher-Remove-OpenJDK-21-hard-dependenc.patch
Hi Alexander, Thank you for your submission! Just wondering, would you consider 1) mentioning this change in pkg-message and/or 2) making an OPTION for this? The patch seems OK to me, tested in Poudriere (14.3-RELEASE-p9-amd64, main(5588918657e8)). I need to ask for approval from my mentors first. Thanks.
I think it makes sense to write in the pkg-message that if the user wants to run very old versions of Minecraft, then he needs to manually install LWJG 2.x (games/lwjgl) and an old version of OpenJDK (java/openjdk8).
Created attachment 269413 [details] 0001-games-prismlauncher-Remove-OpenJDK-21-hard-dependenc.patch 1. Sync with main branch's PORTREVISION. 2. Add note about playing old versions of Minecraft to pkg-message.
(In reply to Yusuf Yaman from comment #4) If the maintainer has no objections, you can commit.
(In reply to Yusuf Yaman from comment #4) This ticket has effectively been superseded due to the default Java version being updated once more to 25. That said, I will prepare a new patch incorporating my revised ideas around the weekend.
(In reply to Alexander Vereeken from comment #6) BTW, Minecraft server and client work with OpenJDK 25 fine too.