-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
[WIP] Fix OpenBSD build. #2080
base: main
Are you sure you want to change the base?
[WIP] Fix OpenBSD build. #2080
Conversation
✅ Deploy Preview for conkyweb canceled.
|
Work in progress.
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Referencing #2052 as cause of issues. |
I'm just running I want it to compile first, then fix the issues with the other platforms. |
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
And yes, |
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
13e3858
to
150c5dd
Compare
- Fix `~` substitution. - Add more tests for to_real_path. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
3915c89
to
a64f0af
Compare
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
f1aad1b
to
2255929
Compare
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
2255929
to
b8c7012
Compare
This reverts commit b8c7012. None of the workers work "out of the box". Better to put this into a separate PR to avoid blocking the more important one.
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
fefa25a
to
7fc6c69
Compare
Not me telling you to reduce changes and then refactoring the whole file 😅 Uhm... got carried away, |
Cleanup bsdapm.cc Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
They need to be removed because it's a leak not to do so even if they're not used. OpenBSD doesn't guard their creation. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
effae71
to
cb2e359
Compare
243d3c1
to
b80dbe0
Compare
OpenBSD ld doesn't include /usr/local/lib for some reason, so using find_library is the suggested way of dealing with this. Given that MacOS already has this explicitly written out, I'm simplifying it to FindIntl which should work as expected universally. This should fix the ld issue for *BSD targets. See: conan-io/conan#11688 Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
b80dbe0
to
f009e8e
Compare
f009e8e
to
8fcf993
Compare
8fcf993
to
e7cabdb
Compare
Also simplified HAVE_SOUNDCARD_H handling because it was unnecessarily complicated, and added an option to disable mixer support completely because why not. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
8b795e0
to
905aa15
Compare
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Per documentation: <XXX>_LIBRARIES - only the libraries (without the '-l') <XXX>_LINK_LIBRARIES - the libraries and their absolute paths Using _LIBRARIES assumes that appropriate default -L arguments will be provided by the environment/system. CMake discourages directly adding paths with -L or link_directiories because it polutes the environment and can cause issues. So the only way to ensure correct build on some platforms is to use absolute paths provided by _LINK_LIBRARIES. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
a0a17fb
to
96e84fa
Compare
It's default so it only causes compile warnings Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
I believe that pretty much covers my intent behind #2075. I'm building this from a minimal VM environment and would appreciate if you could test it @g0mb4. Feel free to implement any of the added stubs before requesting review. For future reference (CI?), package names: Minimal package dependencies:
Optional pkg deps:
|
Wow! Thank you for the help! I'll test is as soon as possible. |
A cross-platform solution is already implemented in brndnmtthws#2080. This PR will be rebased *after* the OpenBSD fix was merged.
_LINK_LIBRARIES is used so there will be no more -lX11 args. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Work in progress.
Using OpenBSD 7.6.
Try to close #2073, unfortunately #2075 is not enough.