Skip to content
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

Package request: gamescope #36869

Closed
0-st opened this issue Apr 26, 2022 · 9 comments
Closed

Package request: gamescope #36869

0-st opened this issue Apr 26, 2022 · 9 comments
Labels
request Package request

Comments

@0-st
Copy link
Contributor

0-st commented Apr 26, 2022

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

@paper42 paper42 added the request Package request label Apr 26, 2022
@TeddyDD
Copy link
Contributor

TeddyDD commented Jun 28, 2022

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

@classabbyamp
Copy link
Member

classabbyamp commented Jul 9, 2022

cc1: all warnings being treated as errors

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

@birb7
Copy link

birb7 commented Jul 13, 2022

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.

@TeddyDD
Copy link
Contributor

TeddyDD commented Nov 2, 2022

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

@KF-Art
Copy link

KF-Art commented Mar 10, 2023

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

@HadetTheUndying
Copy link
Contributor

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?

@TeddyDD
Copy link
Contributor

TeddyDD commented May 15, 2023

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.

@jaminW55
Copy link

What is the status of this package?

@mdkcore0
Copy link
Contributor

can we close this issue, since #48354 was merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants