Bug 293576 - games/prismlauncher: Remove OpenJDK 21 hard dependency as USES Java sets 21
Summary: games/prismlauncher: Remove OpenJDK 21 hard dependency as USES Java sets 21
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yusuf Yaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-04 10:38 UTC by Alexander Vereeken
Modified: 2026-04-08 15:51 UTC (History)
3 users (show)

See Also:
vvd: maintainer-feedback+


Attachments
0001-games-prismlauncher-Remove-OpenJDK-21-hard-dependenc.patch (1.26 KB, patch)
2026-03-04 10:39 UTC, Alexander Vereeken
Alexander88207: maintainer-approval+
Details | Diff
0001-games-prismlauncher-Remove-OpenJDK-21-hard-dependenc.patch (1.92 KB, patch)
2026-04-06 14:18 UTC, Yusuf Yaman
nxjoseph: maintainer-approval? (Alexander88207)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken freebsd_triage 2026-03-04 10:38:30 UTC
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.
Comment 1 Alexander Vereeken freebsd_triage 2026-03-04 10:39:46 UTC
Created attachment 268524 [details]
0001-games-prismlauncher-Remove-OpenJDK-21-hard-dependenc.patch
Comment 2 Yusuf Yaman freebsd_committer freebsd_triage 2026-03-24 21:50:14 UTC
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.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-03-25 01:43:44 UTC
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).
Comment 4 Yusuf Yaman freebsd_committer freebsd_triage 2026-04-06 14:18:44 UTC
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.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-04-07 21:09:44 UTC
(In reply to Yusuf Yaman from comment #4)
If the maintainer has no objections, you can commit.
Comment 6 Alexander Vereeken freebsd_triage 2026-04-08 15:33:45 UTC
(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.
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2026-04-08 15:51:14 UTC
(In reply to Alexander Vereeken from comment #6)
BTW, Minecraft server and client work with OpenJDK 25 fine too.