void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

Package request: gamescope

Open 0-st opened this issue 4 years ago • 9 comments

https://github.com/Plagman/gamescope Replaces steamos-compositor

0-st avatar Apr 26 '22 05:04 0-st

I tried, but I gave up.

diff.txt

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

TeddyDD avatar Jun 28 '22 18:06 TeddyDD

cc1: all warnings being treated as errors

looks like they have -Werror set somewhere in their build scripts

classabbyamp avatar Jul 09 '22 19:07 classabbyamp

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.

birb7 avatar Jul 13 '22 05:07 birb7

I managed to create draft template for gamescope: https://github.com/TeddyDD/void-packages-1/tree/add-gamescope

TeddyDD avatar Nov 02 '22 20:11 TeddyDD

I tried, but I gave up.

diff.txt

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')

KF-Art avatar Mar 10 '23 04:03 KF-Art

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?

HadetTheUndying avatar May 15 '23 02:05 HadetTheUndying

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.

TeddyDD avatar May 15 '23 07:05 TeddyDD

What is the status of this package?

jaminW55 avatar Feb 12 '24 01:02 jaminW55

can we close this issue, since https://github.com/void-linux/void-packages/pull/48354 was merged?

mdkcore0 avatar Feb 27 '24 18:02 mdkcore0