Package request: gamescope
https://github.com/Plagman/gamescope Replaces steamos-compositor
I tried, but I gave up.
Fails on this error ¯\_(ツ)_/¯
../subprojects/libliftoff/test/libdrm_mock.c:117:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
117 | int ret;
| ^~~
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
looks like they have -Werror set somewhere in their build scripts
lol, i might just be one of the first to get it to work on void. i just needed to addend "-devel" to a lot of the meson build dependencies ("libseat-devel", "libXdamage-devel", etc.) worked flawlessly and still figuring out tweaks for the best balance between upscaling.
I managed to create draft template for gamescope: https://github.com/TeddyDD/void-packages-1/tree/add-gamescope
I tried, but I gave up.
Fails on this error ¯_(ツ)_/¯
../subprojects/libliftoff/test/libdrm_mock.c:117:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable] 117 | int ret; | ^~~ cc1: all warnings being treated as errors
Using -Wno-unused-but-set-variable to libliftoff meson.build seems to correct it. I made a patch for that.
diff -ruN a/meson.build b/meson.build
--- a/meson.build 2023-03-05 12:36:15.000000000 -0600
+++ b/meson.build 2023-03-09 21:04:10.598647298 -0600
@@ -23,6 +23,7 @@
'-Wno-missing-braces',
'-Wno-unused-parameter',
+ '-Wno-unused-but-set-variable',
]), language: 'c')
liftoff_inc = include_directories('include')
I managed to create draft template for gamescope: https://github.com/TeddyDD/void-packages-1/tree/add-gamescope
Sorry to necro this issue but did you decide this wasn't worth maintaining? I noticed you never opened a PR, I'm wondering if there's any issues you ran into before i give it a go?
Sorry to necro this issue but did you decide this wasn't worth maintaining?
I don't feel competent enough in c/cpp to patch gamescope in case it needs patching. The template is up for grabs if anyone wants it, of course. I probably should have made it more clear.
What is the status of this package?
can we close this issue, since https://github.com/void-linux/void-packages/pull/48354 was merged?