* [PR PATCH] updated libdecor and gamescope
@ 2024-07-19 15:14 CaitCatDev
2024-07-19 15:27 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 CaitCatDev
` (5 more replies)
0 siblings, 6 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 15:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2150 bytes --]
There is a new pull request by CaitCatDev against master on the void-packages repository
https://github.com/CaitCatDev/void-packages master
https://github.com/void-linux/void-packages/pull/51338
updated libdecor and gamescope
## Update Gamescope and libdecor
I've updated gamescope and libdecor(as new gamescope needs it). This is because I was having issues with the version packaged with Void being the camera in games spinning uncontrollably.
Notes about this update in this time Gamescope has moved to using tagged versions of wlroots and libliftoff so for that purpose I've changed the gamescope build template to pull in the commits that gamescope is looking for and updated the dependencies of gamescope(removed wlroots and libliftoff as they are now built in) and added things such as libinput which used to be pulled in by wlroots.
The disabling "Werror" on libliftoff and wlroots was needed as both of them make use of code that can produce warnings based on compiler version. and the version of GCC shipped in void triggers those warnings. However these warnings are due to unused variables and not anything that is likely to cause major issue.
Please let me know if these would be accepted as is or if you would require me to make any adjustments.
### Summary of changes
libdecor 0.1.1 -> 0.2.2
gamescope 3.14.2 -> 3.14.23
#### Testing the changes
- I tested the changes in this PR: Briefly(Would love to get more people to test on more games)
I attempted to get 3.14.24 to work however was experiencing crashing issues to do with the pointer leaving the gamescope window/surface. So feel back to 3.14.23 (I've tested on the games I have access to Warcraft 3, WoW, Command and Conquer 95-Tib sun)
I've also tested some SDL2 and steam games as I am aware that steam and SDL2 both also pull in libdecor and they also seemed to work fine.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I've not tested on any other arch's as I do not have access to hardware.
Thanks
- Cat
A patch file from https://github.com/void-linux/void-packages/pull/51338.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-51338.patch --]
[-- Type: text/x-diff, Size: 5464 bytes --]
From 6e92eb524ef1700fa2c0c8df0a0e6787a8cc29fa Mon Sep 17 00:00:00 2001
From: caitcat <caitcatdev@protonmail.com>
Date: Fri, 19 Jul 2024 16:12:40 +0100
Subject: [PATCH] updated libdecor and gamescope
---
srcpkgs/gamescope/template | 35 ++++++++++++++++++++++++-----------
srcpkgs/libdecor/template | 8 ++++----
2 files changed, 28 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/gamescope/template b/srcpkgs/gamescope/template
index b73b2847ecd822..5282ed61bf98cb 100644
--- a/srcpkgs/gamescope/template
+++ b/srcpkgs/gamescope/template
@@ -1,19 +1,21 @@
# Template file for 'gamescope'
pkgname=gamescope
-version=3.14.2
+version=3.14.23
revision=1
_stb_hash=5736b15f7ea0ffb08dd38af21067c314d6a3aae9
-_vkroots_hash=d5ef31abc7cb5c69aee4bcb67b10dd543c1ff7ac
+_vkroots_hash=5106d8a0df95de66cc58dc1ea37e69c99afc9540
_reshade_hash=9fdbea6892f9959fdc18095d035976c574b268b7
+_libliftoff_hash=8b08dc1c14fd019cc90ddabe34ad16596b0691f4
+_wlroots_hash=a5c9826e6d7d8b504b07d1c02425e6f62b020791
build_style=meson
-configure_args="-Denable_openvr_support=false --force-fallback-for="
+configure_args="-Denable_openvr_support=false"
hostmakedepends="glslang pkg-config wayland-devel"
makedepends="pipewire-devel SPIRV-Headers libX11-devel
libXdamage-devel libXcomposite-devel libXrender-devel libXxf86vm-devel
libXtst-devel libXres-devel libdrm-devel vulkan-loader-devel wayland-protocols
- libxkbcommon-devel libcap-devel SDL2-devel hwids wlroots0.17-devel
- libliftoff-devel glm libXmu-devel libdisplay-info-devel benchmark-devel
- libavif-devel"
+ libxkbcommon-devel libcap-devel SDL2-devel hwids glm libXmu-devel
+ libdisplay-info-devel benchmark-devel libavif-devel xorg-server-xwayland
+ libei-devel pixman-devel libseat-devel libinput-devel xcb-util-wm-devel"
depends="xorg-server-xwayland"
short_desc="SteamOS session compositing window manager"
maintainer="Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>"
@@ -22,25 +24,36 @@ homepage="https://github.com/ValveSoftware/gamescope"
distfiles="https://github.com/ValveSoftware/gamescope/archive/refs/tags/${version}.tar.gz
https://github.com/nothings/stb/archive/${_stb_hash}.tar.gz
https://github.com/Joshua-Ashton/vkroots/archive/${_vkroots_hash}.tar.gz
- https://github.com/Joshua-Ashton/reshade/archive/${_reshade_hash}.tar.gz"
-checksum="91ed63557d3601723f1b1d554ea65a3850656a78bb7e32610330035160704836
+ https://github.com/Joshua-Ashton/reshade/archive/${_reshade_hash}.tar.gz
+ https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/${_libliftoff_hash}/libliftoff-${_libliftoff_hash}.tar.gz
+ https://gitlab.freedesktop.org/emersion/wlroots/-/archive/${_wlroots_hash}/wlroots-${_wlroots_hash}.tar.gz"
+checksum="d384641fdea5941f5e91658f8dfb54e1913232300efde66764199549f6fa3af2
d00921d49b06af62aa6bfb97c1b136bec661dd11dd4eecbcb0da1f6da7cedb4c
- b4eca5edca75355ea1443ad96fd59b0a407f6a2ce17ef5a8f9849c05fc10155f
- 165726ad21fbfc221c0363e40b597834068a416a11a1204ae2ac6d13ec161035"
+ 37b77586e91f7ebee70380dcddd73bf01ae4acef1053e6be41d0485ede022422
+ 165726ad21fbfc221c0363e40b597834068a416a11a1204ae2ac6d13ec161035
+ 8de28aee6f90f47b7fc7037dcd2360166197c0b5d2033f3afdbd34f2ea1bf216
+ f3f91b679114e565d94e87cd0c4c61444e48d7ef8a77cd101ef3081fd87f4726"
skip_extraction="${_stb_hash}.tar.gz
${_vkroots_hash}.tar.gz
- ${_reshade_hash}.tar.gz"
+ ${_reshade_hash}.tar.gz
+ libliftoff-${_libliftoff_hash}.tar.gz
+ wlroots-${_wlroots_hash}.tar.gz"
post_extract() {
vsrcextract -C subprojects/stb "${_stb_hash}.tar.gz"
cp subprojects/packagefiles/stb/meson.build subprojects/stb
vsrcextract -C subprojects/vkroots "${_vkroots_hash}.tar.gz"
+ vsrcextract -C subprojects/libliftoff "libliftoff-${_libliftoff_hash}.tar.gz"
+ vsrcextract -C subprojects/wlroots "wlroots-${_wlroots_hash}.tar.gz"
vsrcextract -C src/reshade "${_reshade_hash}.tar.gz"
}
post_patch() {
# Use system SPIRV headers rather than gamescope's vendored headers
vsed -i src/meson.build -e "s|../thirdparty/SPIRV-Headers/include/spirv/unified1|${XBPS_CROSS_BASE}/usr/include/spirv/unified1|"
+ # Disable werror in libliftoff due to their test files having numerous warnings mistakes.
+ vsed -i subprojects/libliftoff/meson.build -e "s|'werror=true'|'werror=false'|"
+ vsed -i subprojects/wlroots/meson.build -e "s|'werror=true'|'werror=false'|"
}
post_install() {
diff --git a/srcpkgs/libdecor/template b/srcpkgs/libdecor/template
index 63e3ab266312f2..01625d47f96dda 100644
--- a/srcpkgs/libdecor/template
+++ b/srcpkgs/libdecor/template
@@ -1,18 +1,18 @@
# Template file for 'libdecor'
pkgname=libdecor
-version=0.1.1
+version=0.2.2
revision=1
build_style=meson
configure_args="-Ddemo=false $(vopt_feature dbus dbus)"
hostmakedepends="pkg-config wayland-devel"
makedepends="wayland-devel wayland-protocols pango-devel
- $(vopt_if dbus dbus-devel)"
+ $(vopt_if dbus dbus-devel) gtk+3-devel"
short_desc="Client-side decorations library for Wayland client"
maintainer="Arda Demir <ddmirarda@gmail.com>"
license="MIT"
homepage="https://gitlab.gnome.org/jadahl/libdecor"
-distfiles="https://gitlab.gnome.org/jadahl/libdecor/-/archive/${version}/libdecor-${version}.tar.gz"
-checksum=82adece5baeb6194292b0d1a91b4b3d10da41115f352a5e6c5844b20b88a0512
+distfiles="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${version}/libdecor-${version}.tar.gz"
+checksum=40a1d8be07d8b1f66e8fb98a1f4a84549ca6bf992407198a5055952be80a8525
build_options="dbus"
build_options_default="dbus"
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
@ 2024-07-19 15:27 ` CaitCatDev
2024-07-19 16:10 ` abenson
` (4 subsequent siblings)
5 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 15:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51338#issuecomment-2239461969
Comment:
@dexgs Hi just @ you as you show up on as having worked on gamescope for void.
and @classabbyamp as you show up as having worked on libdecor for void.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
2024-07-19 15:27 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 CaitCatDev
@ 2024-07-19 16:10 ` abenson
2024-07-19 16:40 ` [PR PATCH] [Closed]: " CaitCatDev
` (3 subsequent siblings)
5 siblings, 0 replies; 18+ messages in thread
From: abenson @ 2024-07-19 16:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/51338#issuecomment-2239528300
Comment:
Please follow the [guidelines](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes) for commit messages.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Closed]: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
2024-07-19 15:27 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 CaitCatDev
2024-07-19 16:10 ` abenson
@ 2024-07-19 16:40 ` CaitCatDev
2024-07-19 16:54 ` CaitCatDev
` (2 subsequent siblings)
5 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 16:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2144 bytes --]
There's a closed pull request on the void-packages repository
Update libdecor to 0.2.2 and gamescope to 3.14.23
https://github.com/void-linux/void-packages/pull/51338
Description:
## Update Gamescope and libdecor
I've updated gamescope and libdecor(as new gamescope needs it). This is because I was having issues with the version packaged with Void being the camera in games spinning uncontrollably.
Notes about this update in this time Gamescope has moved to using tagged versions of wlroots and libliftoff so for that purpose I've changed the gamescope build template to pull in the commits that gamescope is looking for and updated the dependencies of gamescope(removed wlroots and libliftoff as they are now built in) and added things such as libinput which used to be pulled in by wlroots.
The disabling "Werror" on libliftoff and wlroots was needed as both of them make use of code that can produce warnings based on compiler version. and the version of GCC shipped in void triggers those warnings. However these warnings are due to unused variables and not anything that is likely to cause major issue.
Please let me know if these would be accepted as is or if you would require me to make any adjustments.
### Summary of changes
libdecor 0.1.1 -> 0.2.2
gamescope 3.14.2 -> 3.14.23
#### Testing the changes
- I tested the changes in this PR: Briefly(Would love to get more people to test on more games)
I attempted to get 3.14.24 to work however was experiencing crashing issues to do with the pointer leaving the gamescope window/surface. So feel back to 3.14.23 (I've tested on the games I have access to Warcraft 3, WoW, Command and Conquer 95-Tib sun)
I've also tested some SDL2 and steam games as I am aware that steam and SDL2 both also pull in libdecor and they also seemed to work fine.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I've not tested on any other arch's as I do not have access to hardware.
ps. this is my first time packaging anything please let me know if I've made a mistake or misunderstood the system :3
Thanks
- Cat
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
` (2 preceding siblings ...)
2024-07-19 16:40 ` [PR PATCH] [Closed]: " CaitCatDev
@ 2024-07-19 16:54 ` CaitCatDev
2024-07-19 16:57 ` CaitCatDev
2024-07-19 17:52 ` dexgs
5 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 16:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51338#issuecomment-2239636006
Comment:
Apologies it seems githubs docs on updating a commit message close the request. I'll continue this in a new request.
> Please follow the [guidelines](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes) for commit messages.
Hi sorry seems githubs docs on updating a commit message leads to the request being forced closed. But I have updated the commit messages to better reflect what has been updated and based them on what's in the CONTRIBUTING.MD file
New request here:
https://github.com/void-linux/void-packages/pull/51339
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
` (3 preceding siblings ...)
2024-07-19 16:54 ` CaitCatDev
@ 2024-07-19 16:57 ` CaitCatDev
2024-07-19 17:52 ` dexgs
5 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 16:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51338#issuecomment-2239636006
Comment:
> Please follow the [guidelines](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#committing-your-changes) for commit messages.
Hi sorry seems githubs docs on updating a commit message leads to the request being forced closed. But I have updated the commit messages to better reflect what has been updated and based them on what's in the CONTRIBUTING.MD file
New request here:
https://github.com/void-linux/void-packages/pull/51339
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
` (4 preceding siblings ...)
2024-07-19 16:57 ` CaitCatDev
@ 2024-07-19 17:52 ` dexgs
5 siblings, 0 replies; 18+ messages in thread
From: dexgs @ 2024-07-19 17:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/51338#issuecomment-2239792844
Comment:
I didn't package the latest gamescope for a while because gamescope started depending on wlroots 0.18 which didn't have a stable release at the time. Now that it does (and it's packaged in void) It might be possible to get the package working without having to pull in specific revisions of libliftoff and gamescope.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (9 preceding siblings ...)
2024-07-19 18:27 ` dexgs
@ 2024-07-19 18:28 ` CaitCatDev
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 18:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 349 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239874310
Comment:
> Yes, a PR for just bumping libdecor's version will go through much faster.
Thank you I'll close this one then and I'll put in a new branch now that I've learned to do than thanks @abenson and @dexgs.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (8 preceding siblings ...)
2024-07-19 18:24 ` CaitCatDev
@ 2024-07-19 18:27 ` dexgs
2024-07-19 18:28 ` CaitCatDev
10 siblings, 0 replies; 18+ messages in thread
From: dexgs @ 2024-07-19 18:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239872437
Comment:
Yes, a PR for just bumping libdecor's version will go through much faster.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (7 preceding siblings ...)
2024-07-19 18:14 ` dexgs
@ 2024-07-19 18:24 ` CaitCatDev
2024-07-19 18:27 ` dexgs
2024-07-19 18:28 ` CaitCatDev
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 18:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239866402
Comment:
> First, I'm only just looking into this so I could be totally wrong.
>
> However, after going over the commits you mention, it looks like timeline.h was renamed to drm_syncobj.h: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/include/wlr/render/drm_syncobj.h
>
> So it could be possible to patch gamescope to refer to the new name rather than pull in an unstable build of gamescope.
Yea it should be possible. I'll leave you to look into that as you are the package maintainer and are likely more familiar with applying patches through `./xbps_src` and I could see about getting just the changes to `libdecor` merged for now as those would be needed for gamescope's wayland backend?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (6 preceding siblings ...)
2024-07-19 18:03 ` CaitCatDev
@ 2024-07-19 18:14 ` dexgs
2024-07-19 18:24 ` CaitCatDev
` (2 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: dexgs @ 2024-07-19 18:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239847634
Comment:
First, I'm only just looking into this so I could be totally wrong.
However, after going over the commits you mention, it looks like timeline.h was renamed to drm_syncobj.h:
https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/include/wlr/render/drm_syncobj.h
So it could be possible to patch gamescope to refer to the new name rather than pull in an unstable build of gamescope.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (5 preceding siblings ...)
2024-07-19 18:02 ` CaitCatDev
@ 2024-07-19 18:03 ` CaitCatDev
2024-07-19 18:14 ` dexgs
` (3 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 18:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239816571
Comment:
> Moving my comment from the old PR:
>
> I didn't package the latest gamescope for a while because gamescope started depending on wlroots 0.18 which didn't have a stable release at the time. Now that it does (and it's packaged in void) It might be possible to get the package working without having to pull in specific revisions of libliftoff and gamescope.
@dexgs Hi I thought this to but unfortunately gamescope would at very least require patching to work with `wlroots 0.18` release tag as it relies of commit a5c9826 which has features that are not in the current `0.18` release tag due to WLR being an unstable API. Hence why gamescope vendors wlroots to certain commits. Specifically the `<wlr/render/timeline.h>` file is missing along with some of the functions gamescope requires from there
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (4 preceding siblings ...)
2024-07-19 18:01 ` CaitCatDev
@ 2024-07-19 18:02 ` CaitCatDev
2024-07-19 18:03 ` CaitCatDev
` (4 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 18:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239816571
Comment:
> Moving my comment from the old PR:
>
> I didn't package the latest gamescope for a while because gamescope started depending on wlroots 0.18 which didn't have a stable release at the time. Now that it does (and it's packaged in void) It might be possible to get the package working without having to pull in specific revisions of libliftoff and gamescope.
@dexgs Hi I thought this to but unfortunately gamescope would at very least require patching to work with `wlroots 0.18` release tag as it relies of commit a5c9826 which has features that are not in the current `0.18` release tag due to WLR being unstable. Hence why gamescope vendors wlroots to certain commits.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (3 preceding siblings ...)
2024-07-19 17:53 ` dexgs
@ 2024-07-19 18:01 ` CaitCatDev
2024-07-19 18:02 ` CaitCatDev
` (5 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 18:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239816571
Comment:
> Moving my comment from the old PR:
>
> I didn't package the latest gamescope for a while because gamescope started depending on wlroots 0.18 which didn't have a stable release at the time. Now that it does (and it's packaged in void) It might be possible to get the package working without having to pull in specific revisions of libliftoff and gamescope.
@dexgs Hi I thought this to but unfortunately gamescope would at very least require patching to work with `wlroots 0.18` release tag as it relies of commit a5c9826 which has features that are not in the current `0.18` release tag due to WLR being unstable.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
` (2 preceding siblings ...)
2024-07-19 17:17 ` CaitCatDev
@ 2024-07-19 17:53 ` dexgs
2024-07-19 18:01 ` CaitCatDev
` (6 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: dexgs @ 2024-07-19 17:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
New comment by dexgs on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239796648
Comment:
Moving my comment from the old PR:
I didn't package the latest gamescope for a while because gamescope started depending on wlroots 0.18 which didn't have a stable release at the time. Now that it does (and it's packaged in void) It might be possible to get the package working without having to pull in specific revisions of libliftoff and gamescope.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
2024-07-19 17:02 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 abenson
2024-07-19 17:11 ` CaitCatDev
@ 2024-07-19 17:17 ` CaitCatDev
2024-07-19 17:53 ` dexgs
` (7 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 17:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239702184
Comment:
1) So gamescope needs libdecor for the wayland backend I may have forgotten to add it into the depends as I assumed it was already in there (as the reason it crashed was due out of date libdecor. But I can add that in.
2) As for the libliftoff and wlroots gamescope vendors them at certain commits due to them being unstable APIs. And although gamescope is built with `wlroots0.18` it's a different commit version than the `wlroots0.18` provided in the repository currently (which is missing a header file gamescope is using. So it is also possible for gamescope to use system packages but we would need a system package versioned at the exact commit gamescope uses or a compatible commit.
3) I don't use git a lot I'm not to sure if I can move the request to a new branch without closing and reopening the pull request but I will remember that for the future. (if you know a way to do that'll also be appreciated or if you just want me to open it in a new branch).
@abenson
> 1. You mentioned that `gamescope` requires `libdecor`, but I don't see it mentioned in any of the `*depends` variables for `gamescope`.
>
> 2. We have concerns about the vendoring of `libliftoff` and `wlroots`. Why can't they use the system versions of those packages?
>
> 3. It is recommended to create a different branch (other than `master`) for your changes and then PR that. Doing so will help you not run into issues like the previous PR attempt.
I'll wait to hear back about you concerns regarding the vendoring wlroots and libliftoff as I understand it isn't ideal.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
2024-07-19 17:02 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 abenson
@ 2024-07-19 17:11 ` CaitCatDev
2024-07-19 17:17 ` CaitCatDev
` (8 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: CaitCatDev @ 2024-07-19 17:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
New comment by CaitCatDev on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239702184
Comment:
1) So gamescope needs libdecor for the wayland backend I may have forgotten to add it into the depends as I assumed it was already in there (as the reason it crashed was due out of date libdecor. But I can add that in.
2) As for the libliftoff and wlroots gamescope vendors them at certain commits due to them being unstable APIs. And although gamescope is built with `wlroots0.18` it's a different commit version than the `wlroots0.18` provided in the repository currently (which is missing a header file gamescope is using. So it is also possible for gamescope to use system packages but we would need a system package versioned at the exact commit gamescope uses or a compatible commit.
3) I don't use git a lot I'm not to sure if I can move the request to a new branch without closing and reopening the pull request but I will remember that for the future. (if you know a way to do that'll also be appreciated or if you just want me to open it in a new branch).
@abenson
> 1. You mentioned that `gamescope` requires `libdecor`, but I don't see it mentioned in any of the `*depends` variables for `gamescope`.
>
> 2. We have concerns about the vendoring of `libliftoff` and `wlroots`. Why can't they use the system versions of those packages?
>
> 3. It is recommended to create a different branch (other than `master`) for your changes and then PR that. Doing so will help you not run into issues like the previous PR attempt.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update libdecor to 0.2.2 and gamescope to 3.14.23
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
@ 2024-07-19 17:02 ` abenson
2024-07-19 17:11 ` CaitCatDev
` (9 subsequent siblings)
10 siblings, 0 replies; 18+ messages in thread
From: abenson @ 2024-07-19 17:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/51339#issuecomment-2239683879
Comment:
1. You mentioned that `gamescope` requires `libdecor`, but I don't see it mentioned in any of the `*depends` variables for `gamescope`.
2. We have concerns about the vendoring of `libliftoff` and `wlroots`. Why can't they use the system versions of those packages?
3. It is recommended to create a different branch (other than `master`) for your changes and then PR that. Doing so will help you not run into issues like the previous PR attempt.
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-07-19 18:28 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-19 15:14 [PR PATCH] updated libdecor and gamescope CaitCatDev
2024-07-19 15:27 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 CaitCatDev
2024-07-19 16:10 ` abenson
2024-07-19 16:40 ` [PR PATCH] [Closed]: " CaitCatDev
2024-07-19 16:54 ` CaitCatDev
2024-07-19 16:57 ` CaitCatDev
2024-07-19 17:52 ` dexgs
2024-07-19 16:53 [PR PATCH] Update Gamescope and libdecor CaitCatDev
2024-07-19 17:02 ` Update libdecor to 0.2.2 and gamescope to 3.14.23 abenson
2024-07-19 17:11 ` CaitCatDev
2024-07-19 17:17 ` CaitCatDev
2024-07-19 17:53 ` dexgs
2024-07-19 18:01 ` CaitCatDev
2024-07-19 18:02 ` CaitCatDev
2024-07-19 18:03 ` CaitCatDev
2024-07-19 18:14 ` dexgs
2024-07-19 18:24 ` CaitCatDev
2024-07-19 18:27 ` dexgs
2024-07-19 18:28 ` CaitCatDev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).