-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Create conf-*
packages for OpenGL related system libraries
#25506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice! 😃
A small plea:
I recently got tired of conf-* packages failing for me on Mint (an Ubuntu derivative distro) and hence started trawling the 240-something conf-* packages to fix them. I'm only at no.145 or so though 😅
Can I convince you to add os-family="ubuntu"
cases and conditions, that just mirror the "debian"
ones? 🙏
I just checked: freeglut3-dev, mesa-common-dev, and libglu1-mesa-dev are all available (originating from Ubuntu 🤷)
Thanks to @jmid for the suggestions!
Sure! To be honest I sort of expected Ubuntu and Mint to be It's all a bit confusing wrt families. Is CentOS/Rocky/Alma the RHEL family? Is Fedora part of it? Is Oraclelinux part of it? I wish there was an overview of what is what. |
I've added exceptions for distributions that don't have This seems to have worked on Debian and Ubuntu but somehow |
A quick skim at the conf-packages I recently fiddled with (and that actually make an attempt at oracle support), reveals that the following all use
(just my 0.05$, not accounting for inflation) |
Again thanks to @jmid for help with the investigation!
Turns out there is a wiki page with documentation on the values: https://github.com/ocaml/opam-repository/wiki/Depexts-os-distribution---os-family-values |
Thanks! |
Given the depexts for OpenGL can be kinda hairy with complicated dependency names, this PR attempts to move the dependencies of
lablgl
into its ownconf-*
packages (and updates raylib to use them where there is agreement).The libraries in question: