Closed g0mb4 closed 6 days ago
Name | Link |
---|---|
Latest commit | fc7dead199e9ef519dfb36a480f24b0d8bfb2499 |
Latest deploy log | https://app.netlify.com/sites/conkyweb/deploys/674113562ec2b40008de05eb |
Not all these changes are needed for BSD to build.
I'm assuming you're basing these off of patches in BSD port because they look similar. Those patches do a lot of seemingly unnecessary modifications.
Also, while we're at this, adding an optional BSD workflow would make this more sustainable. I've started with this so I'll add it here if you don't mind. (tried it, very hairy and complicated, would have to run a VM which can take up to 20min to setup, and would have to host VM images somewhere, and actions don't work...)
Referencing #2052 as cause of issues.
I'm just running make
and fixing the warnings/errors :)
I want it to compile first, then fix the issues with the other platforms.
And yes, void f(void)
is done by my autopiloted brain.
Not me telling you to reduce changes and then refactoring the whole file :sweat_smile:
Uhm... got carried away, bsdapm.cc
needed some love.
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:
git
(to clone)cmake
gperf
lua-5.3
imlib2
Optional pkg deps:
cairo
(if BUILD_LUA_CAIRO
, BUILD_LUA_CAIRO_XLIB
)imlib2
(if BUILD_LUA_IMLIB2
)librsvg
(if BUILD_LUA_RSVG
)Wow! Thank you for the help! I'll test is as soon as possible.
It works on my setup.
I think adding more features really should be part of a new PR.
Alright, then it's done.
I didn't test all possible features because built time was atrocious, but I think they're likely to work. Core, X11 stuff and LUA stuff is confirmed to build on different architectures.
Following BUILD_* features might warrant additional attention in separate PRs, but in general they should work if appropriate dependencies are installed: |
BUILD_* |
Works | Port (/dependency) |
---|---|---|---|
AUDACIOUS |
should | audacious |
|
CURL |
should | curl (in default install) |
|
HTTP |
should | libmicrohttpd |
|
ICAL |
should | libical |
|
INTEL_BACKLIGHT |
unknown | /sys/class/backlight/intel_backlight |
|
IRC |
should | libircclient |
|
JOURNAL |
unlikely | systemd |
|
MYSQL |
should | mysql.h provider (mariadb?) |
|
NVIDIA |
nvidia support flaky | NVCtrl header provider |
|
PULSEAUDIO |
should | pulseaudio |
|
RSS |
should | curl (default), libxml-2.13 |
|
WLAN |
not used; always enabled - packagers should enable it by default to avoid breakage | ioctl and native headers | |
XMMS2 |
should | xmms2 |
Adding CI would be nice even if OpenBSD isn't a primary support target because it would improve code quality by failing on non standard language/stdlib use.
Using OpenBSD 7.6.
Try to close #2073, unfortunately #2075 is not enough.