Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gamescope-3.11.51
@ 2023-07-01 16:38 sirkhancision
  2023-07-01 16:42 ` [PR PATCH] [Updated] " sirkhancision
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: sirkhancision @ 2023-07-01 16:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

There is a new pull request by sirkhancision against master on the void-packages repository

https://github.com/sirkhancision/void-packages gamescope
https://github.com/void-linux/void-packages/pull/44767

New package: gamescope-3.11.51
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

Closes #36869


A patch file from https://github.com/void-linux/void-packages/pull/44767.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamescope-44767.patch --]
[-- Type: text/x-diff, Size: 8576 bytes --]

From a1f1710b0581ef356225da4da013bd0aa11a6c9d Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:44 -0300
Subject: [PATCH 1/3] New package: libliftoff-0.4.1

---
 common/shlibs               |  1 +
 srcpkgs/libliftoff-devel    |  1 +
 srcpkgs/libliftoff/template | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/libliftoff-devel
 create mode 100644 srcpkgs/libliftoff/template

diff --git a/common/shlibs b/common/shlibs
index ef71bae3f9a7..b7ac477d6e84 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -109,6 +109,7 @@ libgtk-x11-2.0.so.0 gtk+-2.16.0_1
 libgdk_pixbuf-2.0.so.0 gdk-pixbuf-2.22.0_1
 libgdk_pixbuf_xlib-2.0.so.0 gdk-pixbuf-xlib-2.30.8_1
 libgailutil.so.18 gtk+-2.16.0_1
+libliftoff.so.0 libliftoff-0.3.0_1
 libfreetype.so.6 freetype-2.12.1_1
 libfontconfig.so.1 fontconfig-2.6.0_1
 libX11-xcb.so.1 libX11-1.2_1
diff --git a/srcpkgs/libliftoff-devel b/srcpkgs/libliftoff-devel
new file mode 120000
index 000000000000..977a28aa78d3
--- /dev/null
+++ b/srcpkgs/libliftoff-devel
@@ -0,0 +1 @@
+libliftoff
\ No newline at end of file
diff --git a/srcpkgs/libliftoff/template b/srcpkgs/libliftoff/template
new file mode 100644
index 000000000000..123c84bb38a6
--- /dev/null
+++ b/srcpkgs/libliftoff/template
@@ -0,0 +1,27 @@
+# Template file for 'libliftoff'
+pkgname=libliftoff
+version=0.4.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libdrm-devel"
+short_desc="Lightweight KMS plane library"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.freedesktop.org/emersion/libliftoff"
+distfiles="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v${version}/downloads/libliftoff-${version}.tar.gz"
+checksum=9f16e3168234d63ad636224061bc88b0e5f0e43a5b4edfa24b61bf9d57a3eb3b
+
+pre_build() {
+	vsed -i meson.build -e "/subdir('test')/d"
+}
+
+libliftoff-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From feef81433f469997de2b3cafd25b12dd43e955c0 Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:48 -0300
Subject: [PATCH 2/3] New package: stb-20210910

---
 srcpkgs/stb/files/stb.pc | 10 ++++++++++
 srcpkgs/stb/template     | 21 +++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/stb/files/stb.pc
 create mode 100644 srcpkgs/stb/template

diff --git a/srcpkgs/stb/files/stb.pc b/srcpkgs/stb/files/stb.pc
new file mode 100644
index 000000000000..49e370af0bf2
--- /dev/null
+++ b/srcpkgs/stb/files/stb.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: stb
+Description: Single-file public domain (or MIT licensed) libraries for C/C++
+Requires:
+Version: @VERSION@
+Cflags: -I${includedir}/stb
diff --git a/srcpkgs/stb/template b/srcpkgs/stb/template
new file mode 100644
index 000000000000..95f651ea18dd
--- /dev/null
+++ b/srcpkgs/stb/template
@@ -0,0 +1,21 @@
+# Template file for 'stb'
+pkgname=stb
+version=20210910
+revision=1
+_commit=af1a5bc352164740c1cc1354942b1c6b72eacb8a
+wrksrc=stb-${_commit}
+short_desc="Single-file public domain (or MIT licensed) libraries for C/C++"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="Public Domain"
+homepage="https://github.com/nothings/stb"
+distfiles="https://github.com/nothings/stb/archive/${_commit}.tar.gz"
+checksum=936b4e506b5f55db178207e528ecdf5a411f67431447767d06c9b7061765cd7e
+
+do_install() {
+	vmkdir usr/lib/pkgconfig
+	sed ${FILESDIR}/${pkgname}.pc \
+		-e "s;@VERSION@;${version};" \
+		>${DESTDIR}/usr/lib/pkgconfig/${pkgname}.pc
+	install -Dm 644 *.{c,h} -t "${DESTDIR}"/usr/include/stb/
+	vlicense LICENSE
+}

From fbcc19ae40ced9fc421e438034d664e16725b62d Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:53 -0300
Subject: [PATCH 3/3] New package: gamescope-3.11.51

---
 srcpkgs/gamescope/patches/gcc133.patch        | 40 +++++++++++++++++++
 .../gamescope/patches/libliftoff-0.4.patch    | 11 +++++
 .../patches/system-wlroots-libliftoff.patch   |  9 +++++
 srcpkgs/gamescope/template                    | 29 ++++++++++++++
 4 files changed, 89 insertions(+)
 create mode 100644 srcpkgs/gamescope/patches/gcc133.patch
 create mode 100644 srcpkgs/gamescope/patches/libliftoff-0.4.patch
 create mode 100644 srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
 create mode 100644 srcpkgs/gamescope/template

diff --git a/srcpkgs/gamescope/patches/gcc133.patch b/srcpkgs/gamescope/patches/gcc133.patch
new file mode 100644
index 000000000000..f32e0e1d887a
--- /dev/null
+++ b/srcpkgs/gamescope/patches/gcc133.patch
@@ -0,0 +1,40 @@
+diff --git a/src/drm.hpp b/src/drm.hpp
+index 2f416c4..849ec96 100644
+--- a/gamescope-3.11.51/src/drm.hpp
++++ b/gamescope-3.11.51/src/drm.hpp
+@@ -40,12 +40,13 @@ extern "C" {
+ 
+ #include "rendervulkan.hpp"
+ 
++#include <string>
+ #include <unordered_map>
+ #include <utility>
+ #include <atomic>
+ #include <map>
+ #include <unordered_map>
+ #include <mutex>
+ #include <vector>
+ 
+ struct saved_mode {
+diff --git a/src/main.cpp b/src/main.cpp
+index 99a7a48..4cab9d1 100644
+--- a/gamescope-3.11.51/src/main.cpp
++++ b/gamescope-3.11.51/src/main.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <cstdio>
+ #include <thread>
++#include <string>
+ #include <mutex>
+ #include <vector>
+ #include <cstring>
+diff --git a/src/sdlwindow.cpp b/src/sdlwindow.cpp
+index ecf95ce..d886e15 100644
+--- a/gamescope-3.11.51/src/sdlwindow.cpp
++++ b/gamescope-3.11.51/src/sdlwindow.cpp
+@@ -1,5 +1,6 @@
+ // For the nested case, reads input from the SDL window and send to wayland
+ 
++#include <string>
+ #include <thread>
+ #include <mutex>
diff --git a/srcpkgs/gamescope/patches/libliftoff-0.4.patch b/srcpkgs/gamescope/patches/libliftoff-0.4.patch
new file mode 100644
index 000000000000..fd6879f5f73a
--- /dev/null
+++ b/srcpkgs/gamescope/patches/libliftoff-0.4.patch
@@ -0,0 +1,11 @@
+--- a/gamescope-3.11.51/meson.build
++++ b/gamescope-3.11.51/meson.build
+@@ -109,7 +109,7 @@ spirv_shaders = glsl_generator.process(shader_src)
+ 
+ liftoff_dep = dependency(
+   'libliftoff',
+-  version: ['>= 0.3.0', '< 0.4.0'],
++  version: ['>= 0.3.0', '< 0.5.0'],
+   fallback: ['libliftoff', 'liftoff'],
+   default_options: ['default_library=static'],
+ )
diff --git a/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch b/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
new file mode 100644
index 000000000000..087bf64819a0
--- /dev/null
+++ b/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
@@ -0,0 +1,9 @@
+--- a/gamescope-3.11.51/meson.build
++++ b/gamescope-3.11.51/meson.build
+@@ -6,7 +6,6 @@
+   default_options: [
+     'cpp_std=c++14',
+     'warning_level=2',
+-    'force_fallback_for=wlroots,libliftoff',
+   ],
+ )
diff --git a/srcpkgs/gamescope/template b/srcpkgs/gamescope/template
new file mode 100644
index 000000000000..e46f9ecbfadd
--- /dev/null
+++ b/srcpkgs/gamescope/template
@@ -0,0 +1,29 @@
+# Template file for 'gamescope'
+pkgname=gamescope
+version=3.11.51
+revision=1
+_vkroots=e6b89494142eec0ac6061f82a947d2f1246d3d7a
+create_wrksrc=yes
+build_wrksrc=$pkgname-$version
+build_style=meson
+# configure_args="-Dforce_fallback_for=stb -Dpipewire=enabled"
+hostmakedepends="pkg-config glslang Vulkan-Headers xorg-server-xwayland"
+makedepends="SDL2-devel hwids libX11-devel libXcomposite-devel libXdamage-devel libXext-devel libXfixes-devel libXrender-devel libXres-devel libXtst-devel libXxf86vm-devel libcap-devel libdrm-devel libliftoff-devel libpipewire libseat-devel libxkbcommon-devel stb vulkan-loader wayland-devel wayland-protocols wlroots-devel"
+depends="xorg-server-xwayland"
+short_desc="SteamOS session compositing window manager"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/Plagman/gamescope"
+distfiles="https://github.com/Plagman/gamescope/archive/refs/tags/${version}.tar.gz
+ https://github.com/Joshua-Ashton/vkroots/archive/${_vkroots}.tar.gz>vkroots-${_vkroots}.tar.gz"
+checksum="0ffe1c3e3cdf40e20b45b758f8e4c334c5c0941eb05437e59e9c6aaf8c948a1e
+ 501568cf7f868b1b7fda71030a20ca9cb785025c89f45a156534270c376758ce"
+
+pre_configure() {
+	rmdir subprojects/vkroots
+	cp -r "../vkroots-${_vkroots}" subprojects/vkroots
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Updated] New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
@ 2023-07-01 16:42 ` sirkhancision
  2023-07-01 16:49 ` sirkhancision
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sirkhancision @ 2023-07-01 16:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

There is an updated pull request by sirkhancision against master on the void-packages repository

https://github.com/sirkhancision/void-packages gamescope
https://github.com/void-linux/void-packages/pull/44767

New package: gamescope-3.11.51
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

Closes #36869


A patch file from https://github.com/void-linux/void-packages/pull/44767.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamescope-44767.patch --]
[-- Type: text/x-diff, Size: 8552 bytes --]

From a1f1710b0581ef356225da4da013bd0aa11a6c9d Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:44 -0300
Subject: [PATCH 1/3] New package: libliftoff-0.4.1

---
 common/shlibs               |  1 +
 srcpkgs/libliftoff-devel    |  1 +
 srcpkgs/libliftoff/template | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/libliftoff-devel
 create mode 100644 srcpkgs/libliftoff/template

diff --git a/common/shlibs b/common/shlibs
index ef71bae3f9a7..b7ac477d6e84 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -109,6 +109,7 @@ libgtk-x11-2.0.so.0 gtk+-2.16.0_1
 libgdk_pixbuf-2.0.so.0 gdk-pixbuf-2.22.0_1
 libgdk_pixbuf_xlib-2.0.so.0 gdk-pixbuf-xlib-2.30.8_1
 libgailutil.so.18 gtk+-2.16.0_1
+libliftoff.so.0 libliftoff-0.3.0_1
 libfreetype.so.6 freetype-2.12.1_1
 libfontconfig.so.1 fontconfig-2.6.0_1
 libX11-xcb.so.1 libX11-1.2_1
diff --git a/srcpkgs/libliftoff-devel b/srcpkgs/libliftoff-devel
new file mode 120000
index 000000000000..977a28aa78d3
--- /dev/null
+++ b/srcpkgs/libliftoff-devel
@@ -0,0 +1 @@
+libliftoff
\ No newline at end of file
diff --git a/srcpkgs/libliftoff/template b/srcpkgs/libliftoff/template
new file mode 100644
index 000000000000..123c84bb38a6
--- /dev/null
+++ b/srcpkgs/libliftoff/template
@@ -0,0 +1,27 @@
+# Template file for 'libliftoff'
+pkgname=libliftoff
+version=0.4.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libdrm-devel"
+short_desc="Lightweight KMS plane library"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.freedesktop.org/emersion/libliftoff"
+distfiles="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v${version}/downloads/libliftoff-${version}.tar.gz"
+checksum=9f16e3168234d63ad636224061bc88b0e5f0e43a5b4edfa24b61bf9d57a3eb3b
+
+pre_build() {
+	vsed -i meson.build -e "/subdir('test')/d"
+}
+
+libliftoff-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From ddb3f71f96565c2d04f530b899db184efb143eeb Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:48 -0300
Subject: [PATCH 2/3] New package: stb-20210910

---
 srcpkgs/stb/files/stb.pc | 10 ++++++++++
 srcpkgs/stb/template     | 20 ++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/stb/files/stb.pc
 create mode 100644 srcpkgs/stb/template

diff --git a/srcpkgs/stb/files/stb.pc b/srcpkgs/stb/files/stb.pc
new file mode 100644
index 000000000000..49e370af0bf2
--- /dev/null
+++ b/srcpkgs/stb/files/stb.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: stb
+Description: Single-file public domain (or MIT licensed) libraries for C/C++
+Requires:
+Version: @VERSION@
+Cflags: -I${includedir}/stb
diff --git a/srcpkgs/stb/template b/srcpkgs/stb/template
new file mode 100644
index 000000000000..46d05cdf8e06
--- /dev/null
+++ b/srcpkgs/stb/template
@@ -0,0 +1,20 @@
+# Template file for 'stb'
+pkgname=stb
+version=20210910
+revision=1
+_commit=af1a5bc352164740c1cc1354942b1c6b72eacb8a
+short_desc="Single-file public domain (or MIT licensed) libraries for C/C++"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="Public Domain"
+homepage="https://github.com/nothings/stb"
+distfiles="https://github.com/nothings/stb/archive/${_commit}.tar.gz"
+checksum=936b4e506b5f55db178207e528ecdf5a411f67431447767d06c9b7061765cd7e
+
+do_install() {
+	vmkdir usr/lib/pkgconfig
+	sed ${FILESDIR}/${pkgname}.pc \
+		-e "s;@VERSION@;${version};" \
+		>${DESTDIR}/usr/lib/pkgconfig/${pkgname}.pc
+	install -Dm 644 *.{c,h} -t "${DESTDIR}"/usr/include/stb/
+	vlicense LICENSE
+}

From 1632505c0eb432c73763dc5a87b2252f362490ee Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:53 -0300
Subject: [PATCH 3/3] New package: gamescope-3.11.51

---
 srcpkgs/gamescope/patches/gcc133.patch        | 40 +++++++++++++++++++
 .../gamescope/patches/libliftoff-0.4.patch    | 11 +++++
 .../patches/system-wlroots-libliftoff.patch   |  9 +++++
 srcpkgs/gamescope/template                    | 29 ++++++++++++++
 4 files changed, 89 insertions(+)
 create mode 100644 srcpkgs/gamescope/patches/gcc133.patch
 create mode 100644 srcpkgs/gamescope/patches/libliftoff-0.4.patch
 create mode 100644 srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
 create mode 100644 srcpkgs/gamescope/template

diff --git a/srcpkgs/gamescope/patches/gcc133.patch b/srcpkgs/gamescope/patches/gcc133.patch
new file mode 100644
index 000000000000..f32e0e1d887a
--- /dev/null
+++ b/srcpkgs/gamescope/patches/gcc133.patch
@@ -0,0 +1,40 @@
+diff --git a/src/drm.hpp b/src/drm.hpp
+index 2f416c4..849ec96 100644
+--- a/gamescope-3.11.51/src/drm.hpp
++++ b/gamescope-3.11.51/src/drm.hpp
+@@ -40,12 +40,13 @@ extern "C" {
+ 
+ #include "rendervulkan.hpp"
+ 
++#include <string>
+ #include <unordered_map>
+ #include <utility>
+ #include <atomic>
+ #include <map>
+ #include <unordered_map>
+ #include <mutex>
+ #include <vector>
+ 
+ struct saved_mode {
+diff --git a/src/main.cpp b/src/main.cpp
+index 99a7a48..4cab9d1 100644
+--- a/gamescope-3.11.51/src/main.cpp
++++ b/gamescope-3.11.51/src/main.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <cstdio>
+ #include <thread>
++#include <string>
+ #include <mutex>
+ #include <vector>
+ #include <cstring>
+diff --git a/src/sdlwindow.cpp b/src/sdlwindow.cpp
+index ecf95ce..d886e15 100644
+--- a/gamescope-3.11.51/src/sdlwindow.cpp
++++ b/gamescope-3.11.51/src/sdlwindow.cpp
+@@ -1,5 +1,6 @@
+ // For the nested case, reads input from the SDL window and send to wayland
+ 
++#include <string>
+ #include <thread>
+ #include <mutex>
diff --git a/srcpkgs/gamescope/patches/libliftoff-0.4.patch b/srcpkgs/gamescope/patches/libliftoff-0.4.patch
new file mode 100644
index 000000000000..fd6879f5f73a
--- /dev/null
+++ b/srcpkgs/gamescope/patches/libliftoff-0.4.patch
@@ -0,0 +1,11 @@
+--- a/gamescope-3.11.51/meson.build
++++ b/gamescope-3.11.51/meson.build
+@@ -109,7 +109,7 @@ spirv_shaders = glsl_generator.process(shader_src)
+ 
+ liftoff_dep = dependency(
+   'libliftoff',
+-  version: ['>= 0.3.0', '< 0.4.0'],
++  version: ['>= 0.3.0', '< 0.5.0'],
+   fallback: ['libliftoff', 'liftoff'],
+   default_options: ['default_library=static'],
+ )
diff --git a/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch b/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
new file mode 100644
index 000000000000..087bf64819a0
--- /dev/null
+++ b/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
@@ -0,0 +1,9 @@
+--- a/gamescope-3.11.51/meson.build
++++ b/gamescope-3.11.51/meson.build
+@@ -6,7 +6,6 @@
+   default_options: [
+     'cpp_std=c++14',
+     'warning_level=2',
+-    'force_fallback_for=wlroots,libliftoff',
+   ],
+ )
diff --git a/srcpkgs/gamescope/template b/srcpkgs/gamescope/template
new file mode 100644
index 000000000000..e46f9ecbfadd
--- /dev/null
+++ b/srcpkgs/gamescope/template
@@ -0,0 +1,29 @@
+# Template file for 'gamescope'
+pkgname=gamescope
+version=3.11.51
+revision=1
+_vkroots=e6b89494142eec0ac6061f82a947d2f1246d3d7a
+create_wrksrc=yes
+build_wrksrc=$pkgname-$version
+build_style=meson
+# configure_args="-Dforce_fallback_for=stb -Dpipewire=enabled"
+hostmakedepends="pkg-config glslang Vulkan-Headers xorg-server-xwayland"
+makedepends="SDL2-devel hwids libX11-devel libXcomposite-devel libXdamage-devel libXext-devel libXfixes-devel libXrender-devel libXres-devel libXtst-devel libXxf86vm-devel libcap-devel libdrm-devel libliftoff-devel libpipewire libseat-devel libxkbcommon-devel stb vulkan-loader wayland-devel wayland-protocols wlroots-devel"
+depends="xorg-server-xwayland"
+short_desc="SteamOS session compositing window manager"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/Plagman/gamescope"
+distfiles="https://github.com/Plagman/gamescope/archive/refs/tags/${version}.tar.gz
+ https://github.com/Joshua-Ashton/vkroots/archive/${_vkroots}.tar.gz>vkroots-${_vkroots}.tar.gz"
+checksum="0ffe1c3e3cdf40e20b45b758f8e4c334c5c0941eb05437e59e9c6aaf8c948a1e
+ 501568cf7f868b1b7fda71030a20ca9cb785025c89f45a156534270c376758ce"
+
+pre_configure() {
+	rmdir subprojects/vkroots
+	cp -r "../vkroots-${_vkroots}" subprojects/vkroots
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Updated] New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
  2023-07-01 16:42 ` [PR PATCH] [Updated] " sirkhancision
@ 2023-07-01 16:49 ` sirkhancision
  2023-07-26 20:00 ` HadetTheUndying
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sirkhancision @ 2023-07-01 16:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

There is an updated pull request by sirkhancision against master on the void-packages repository

https://github.com/sirkhancision/void-packages gamescope
https://github.com/void-linux/void-packages/pull/44767

New package: gamescope-3.11.51
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

Closes #36869


A patch file from https://github.com/void-linux/void-packages/pull/44767.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gamescope-44767.patch --]
[-- Type: text/x-diff, Size: 8574 bytes --]

From a1f1710b0581ef356225da4da013bd0aa11a6c9d Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:44 -0300
Subject: [PATCH 1/3] New package: libliftoff-0.4.1

---
 common/shlibs               |  1 +
 srcpkgs/libliftoff-devel    |  1 +
 srcpkgs/libliftoff/template | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/libliftoff-devel
 create mode 100644 srcpkgs/libliftoff/template

diff --git a/common/shlibs b/common/shlibs
index ef71bae3f9a7..b7ac477d6e84 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -109,6 +109,7 @@ libgtk-x11-2.0.so.0 gtk+-2.16.0_1
 libgdk_pixbuf-2.0.so.0 gdk-pixbuf-2.22.0_1
 libgdk_pixbuf_xlib-2.0.so.0 gdk-pixbuf-xlib-2.30.8_1
 libgailutil.so.18 gtk+-2.16.0_1
+libliftoff.so.0 libliftoff-0.3.0_1
 libfreetype.so.6 freetype-2.12.1_1
 libfontconfig.so.1 fontconfig-2.6.0_1
 libX11-xcb.so.1 libX11-1.2_1
diff --git a/srcpkgs/libliftoff-devel b/srcpkgs/libliftoff-devel
new file mode 120000
index 000000000000..977a28aa78d3
--- /dev/null
+++ b/srcpkgs/libliftoff-devel
@@ -0,0 +1 @@
+libliftoff
\ No newline at end of file
diff --git a/srcpkgs/libliftoff/template b/srcpkgs/libliftoff/template
new file mode 100644
index 000000000000..123c84bb38a6
--- /dev/null
+++ b/srcpkgs/libliftoff/template
@@ -0,0 +1,27 @@
+# Template file for 'libliftoff'
+pkgname=libliftoff
+version=0.4.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libdrm-devel"
+short_desc="Lightweight KMS plane library"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.freedesktop.org/emersion/libliftoff"
+distfiles="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v${version}/downloads/libliftoff-${version}.tar.gz"
+checksum=9f16e3168234d63ad636224061bc88b0e5f0e43a5b4edfa24b61bf9d57a3eb3b
+
+pre_build() {
+	vsed -i meson.build -e "/subdir('test')/d"
+}
+
+libliftoff-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From ddb3f71f96565c2d04f530b899db184efb143eeb Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:48 -0300
Subject: [PATCH 2/3] New package: stb-20210910

---
 srcpkgs/stb/files/stb.pc | 10 ++++++++++
 srcpkgs/stb/template     | 20 ++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/stb/files/stb.pc
 create mode 100644 srcpkgs/stb/template

diff --git a/srcpkgs/stb/files/stb.pc b/srcpkgs/stb/files/stb.pc
new file mode 100644
index 000000000000..49e370af0bf2
--- /dev/null
+++ b/srcpkgs/stb/files/stb.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: stb
+Description: Single-file public domain (or MIT licensed) libraries for C/C++
+Requires:
+Version: @VERSION@
+Cflags: -I${includedir}/stb
diff --git a/srcpkgs/stb/template b/srcpkgs/stb/template
new file mode 100644
index 000000000000..46d05cdf8e06
--- /dev/null
+++ b/srcpkgs/stb/template
@@ -0,0 +1,20 @@
+# Template file for 'stb'
+pkgname=stb
+version=20210910
+revision=1
+_commit=af1a5bc352164740c1cc1354942b1c6b72eacb8a
+short_desc="Single-file public domain (or MIT licensed) libraries for C/C++"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="Public Domain"
+homepage="https://github.com/nothings/stb"
+distfiles="https://github.com/nothings/stb/archive/${_commit}.tar.gz"
+checksum=936b4e506b5f55db178207e528ecdf5a411f67431447767d06c9b7061765cd7e
+
+do_install() {
+	vmkdir usr/lib/pkgconfig
+	sed ${FILESDIR}/${pkgname}.pc \
+		-e "s;@VERSION@;${version};" \
+		>${DESTDIR}/usr/lib/pkgconfig/${pkgname}.pc
+	install -Dm 644 *.{c,h} -t "${DESTDIR}"/usr/include/stb/
+	vlicense LICENSE
+}

From a8fe1faa425d1b120b78ddb9983f5cbcad79032d Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Sat, 1 Jul 2023 04:26:53 -0300
Subject: [PATCH 3/3] New package: gamescope-3.11.51

---
 srcpkgs/gamescope/patches/gcc133.patch        | 40 +++++++++++++++++++
 .../gamescope/patches/libliftoff-0.4.patch    | 11 +++++
 .../patches/system-wlroots-libliftoff.patch   |  9 +++++
 srcpkgs/gamescope/template                    | 30 ++++++++++++++
 4 files changed, 90 insertions(+)
 create mode 100644 srcpkgs/gamescope/patches/gcc133.patch
 create mode 100644 srcpkgs/gamescope/patches/libliftoff-0.4.patch
 create mode 100644 srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
 create mode 100644 srcpkgs/gamescope/template

diff --git a/srcpkgs/gamescope/patches/gcc133.patch b/srcpkgs/gamescope/patches/gcc133.patch
new file mode 100644
index 000000000000..f32e0e1d887a
--- /dev/null
+++ b/srcpkgs/gamescope/patches/gcc133.patch
@@ -0,0 +1,40 @@
+diff --git a/src/drm.hpp b/src/drm.hpp
+index 2f416c4..849ec96 100644
+--- a/gamescope-3.11.51/src/drm.hpp
++++ b/gamescope-3.11.51/src/drm.hpp
+@@ -40,12 +40,13 @@ extern "C" {
+ 
+ #include "rendervulkan.hpp"
+ 
++#include <string>
+ #include <unordered_map>
+ #include <utility>
+ #include <atomic>
+ #include <map>
+ #include <unordered_map>
+ #include <mutex>
+ #include <vector>
+ 
+ struct saved_mode {
+diff --git a/src/main.cpp b/src/main.cpp
+index 99a7a48..4cab9d1 100644
+--- a/gamescope-3.11.51/src/main.cpp
++++ b/gamescope-3.11.51/src/main.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <cstdio>
+ #include <thread>
++#include <string>
+ #include <mutex>
+ #include <vector>
+ #include <cstring>
+diff --git a/src/sdlwindow.cpp b/src/sdlwindow.cpp
+index ecf95ce..d886e15 100644
+--- a/gamescope-3.11.51/src/sdlwindow.cpp
++++ b/gamescope-3.11.51/src/sdlwindow.cpp
+@@ -1,5 +1,6 @@
+ // For the nested case, reads input from the SDL window and send to wayland
+ 
++#include <string>
+ #include <thread>
+ #include <mutex>
diff --git a/srcpkgs/gamescope/patches/libliftoff-0.4.patch b/srcpkgs/gamescope/patches/libliftoff-0.4.patch
new file mode 100644
index 000000000000..fd6879f5f73a
--- /dev/null
+++ b/srcpkgs/gamescope/patches/libliftoff-0.4.patch
@@ -0,0 +1,11 @@
+--- a/gamescope-3.11.51/meson.build
++++ b/gamescope-3.11.51/meson.build
+@@ -109,7 +109,7 @@ spirv_shaders = glsl_generator.process(shader_src)
+ 
+ liftoff_dep = dependency(
+   'libliftoff',
+-  version: ['>= 0.3.0', '< 0.4.0'],
++  version: ['>= 0.3.0', '< 0.5.0'],
+   fallback: ['libliftoff', 'liftoff'],
+   default_options: ['default_library=static'],
+ )
diff --git a/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch b/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
new file mode 100644
index 000000000000..087bf64819a0
--- /dev/null
+++ b/srcpkgs/gamescope/patches/system-wlroots-libliftoff.patch
@@ -0,0 +1,9 @@
+--- a/gamescope-3.11.51/meson.build
++++ b/gamescope-3.11.51/meson.build
+@@ -6,7 +6,6 @@
+   default_options: [
+     'cpp_std=c++14',
+     'warning_level=2',
+-    'force_fallback_for=wlroots,libliftoff',
+   ],
+ )
diff --git a/srcpkgs/gamescope/template b/srcpkgs/gamescope/template
new file mode 100644
index 000000000000..0866c28bb7d0
--- /dev/null
+++ b/srcpkgs/gamescope/template
@@ -0,0 +1,30 @@
+# Template file for 'gamescope'
+pkgname=gamescope
+version=3.11.51
+revision=1
+_vkroots=e6b89494142eec0ac6061f82a947d2f1246d3d7a
+archs="x86_64* i686"
+create_wrksrc=yes
+build_wrksrc=$pkgname-$version
+build_style=meson
+# configure_args="-Dforce_fallback_for=stb -Dpipewire=enabled"
+hostmakedepends="pkg-config glslang Vulkan-Headers xorg-server-xwayland"
+makedepends="SDL2-devel hwids libX11-devel libXcomposite-devel libXdamage-devel libXext-devel libXfixes-devel libXrender-devel libXres-devel libXtst-devel libXxf86vm-devel libcap-devel libdrm-devel libliftoff-devel libpipewire libseat-devel libxkbcommon-devel stb vulkan-loader wayland-devel wayland-protocols wlroots-devel"
+depends="xorg-server-xwayland"
+short_desc="SteamOS session compositing window manager"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/Plagman/gamescope"
+distfiles="https://github.com/Plagman/gamescope/archive/refs/tags/${version}.tar.gz
+ https://github.com/Joshua-Ashton/vkroots/archive/${_vkroots}.tar.gz>vkroots-${_vkroots}.tar.gz"
+checksum="0ffe1c3e3cdf40e20b45b758f8e4c334c5c0941eb05437e59e9c6aaf8c948a1e
+ 501568cf7f868b1b7fda71030a20ca9cb785025c89f45a156534270c376758ce"
+
+pre_configure() {
+	rmdir subprojects/vkroots
+	cp -r "../vkroots-${_vkroots}" subprojects/vkroots
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
  2023-07-01 16:42 ` [PR PATCH] [Updated] " sirkhancision
  2023-07-01 16:49 ` sirkhancision
@ 2023-07-26 20:00 ` HadetTheUndying
  2023-07-27  0:10 ` HadetTheUndying
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: HadetTheUndying @ 2023-07-26 20:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1652414499

Comment:
I've been testing this since yesterday and comparing it to how it works on my Steam Deck and everything seems good. It also fixes some issues for me in Gnome Wayland with some games not performing well.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (2 preceding siblings ...)
  2023-07-26 20:00 ` HadetTheUndying
@ 2023-07-27  0:10 ` HadetTheUndying
  2023-07-27  1:32 ` sirkhancision
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: HadetTheUndying @ 2023-07-27  0:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1652414499

Comment:
I've been testing this since yesterday and comparing it to how it works on my Steam Deck and everything seems good. It also fixes some issues for me in Gnome Wayland with some games not performing well.

That being said gamescope 3.12.0 is out now.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (3 preceding siblings ...)
  2023-07-27  0:10 ` HadetTheUndying
@ 2023-07-27  1:32 ` sirkhancision
  2023-07-27  1:50 ` sirkhancision
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sirkhancision @ 2023-07-27  1:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

New comment by sirkhancision on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1652783718

Comment:
> I've been testing this since yesterday and comparing it to how it works on my Steam Deck and everything seems good. It also fixes some issues for me in Gnome Wayland with some games not performing well.
> 
> That being said gamescope 3.12.0 is out now.

I have created a [branch with gamescope 3.12.0](https://github.com/sirkhancision/void-packages/tree/gamescope-3.12.0), but I'm having problem running it (it builds and installs correctly, it feels like either a gamescope bug or a bug related to my machine), so if you could test it, I'd appreciate it :)

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (4 preceding siblings ...)
  2023-07-27  1:32 ` sirkhancision
@ 2023-07-27  1:50 ` sirkhancision
  2023-07-27  2:21 ` sirkhancision
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sirkhancision @ 2023-07-27  1:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

New comment by sirkhancision on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1652783718

Comment:
> I've been testing this since yesterday and comparing it to how it works on my Steam Deck and everything seems good. It also fixes some issues for me in Gnome Wayland with some games not performing well.
> 
> That being said gamescope 3.12.0 is out now.

I have created a [branch with gamescope 3.12.0](https://github.com/sirkhancision/void-packages/tree/gamescope-3.12.0), but I'm having problem running it (it builds and installs correctly, it feels like either a gamescope bug or a bug related to my machine), so if you could test it, I'd appreciate it :)

EDIT: hold on there's a problem with the branch, lemme resolve it first

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (5 preceding siblings ...)
  2023-07-27  1:50 ` sirkhancision
@ 2023-07-27  2:21 ` sirkhancision
  2023-08-01 20:51 ` Natthias
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sirkhancision @ 2023-07-27  2:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

New comment by sirkhancision on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1652783718

Comment:
> I've been testing this since yesterday and comparing it to how it works on my Steam Deck and everything seems good. It also fixes some issues for me in Gnome Wayland with some games not performing well.
> 
> That being said gamescope 3.12.0 is out now.

I have created a [branch with gamescope 3.12.0](https://github.com/sirkhancision/void-packages/tree/gamescope-3.12.0), but I'm having problem running it (it builds and installs correctly, it feels like either a gamescope bug or a bug related to my machine), so if you could test it, I'd appreciate it :)

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (6 preceding siblings ...)
  2023-07-27  2:21 ` sirkhancision
@ 2023-08-01 20:51 ` Natthias
  2023-08-01 20:54 ` HadetTheUndying
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Natthias @ 2023-08-01 20:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

New comment by Natthias on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1661075126

Comment:
I have a build of gamescope 3.12.0 in my [personal packages repo](https://github.com/Natthias/abyssal-packages), which also builds correctly, yet doesn't function properly.

It seems likely that the issue is this. Is this the same error message on your end?
`wlserver: [xwayland/server.c:270] Xwayland startup failed, not setting up xwm`

As an aside, you probably shouldn't package stb in this PR, as upstream doesn't provide releases. I think including it in the template for gamescope is the correct way to proceed

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (7 preceding siblings ...)
  2023-08-01 20:51 ` Natthias
@ 2023-08-01 20:54 ` HadetTheUndying
  2023-08-02  2:27 ` HadetTheUndying
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: HadetTheUndying @ 2023-08-01 20:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1661078643

Comment:
I have the same issue with 3.12 . I'll work on investigating over the weekend if no one else figures it out

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (8 preceding siblings ...)
  2023-08-01 20:54 ` HadetTheUndying
@ 2023-08-02  2:27 ` HadetTheUndying
  2023-08-02  2:47 ` HadetTheUndying
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: HadetTheUndying @ 2023-08-02  2:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2205 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1661393620

Comment:
Just an update. I'm not gonna be able to do a lot of work on this I'll be away most of the weekend and start a new job on Monday but it might be helpful

```gdb
(gdb) run
Starting program: /usr/bin/gamescope 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:68] Creating headless backend
[New Thread 0x7fd85748e6c0 (LWP 4720)]
[New Thread 0x7fd856b4c6c0 (LWP 4722)]
vulkan: selecting physical device 'AMD Radeon RX Vega (RADV VEGA10)': queue family 1
vulkan: physical device supports DRM format modifiers
[New Thread 0x7fd85634b6c0 (LWP 4723)]
[New Thread 0x7fd855b4a6c0 (LWP 4724)]
[New Thread 0x7fd8553496c0 (LWP 4725)]
[New Thread 0x7fd854a486c0 (LWP 4726)]
vulkan: supported DRM formats for sampling usage:
vulkan:   AR24 (0x34325241)
vulkan:   XR24 (0x34325258)
vulkan:   AB24 (0x34324241)
vulkan:   XB24 (0x34324258)
vulkan:   NV12 (0x3231564E)
vulkan:   AB4H (0x48344241)
vulkan:   XB4H (0x48344258)
vulkan:   AB48 (0x38344241)
vulkan:   XB48 (0x38344258)
vulkan:   AB30 (0x30334241)
vulkan:   XB30 (0x30334258)
vulkan:   AR30 (0x30335241)
vulkan:   XR30 (0x30335258)
[New Thread 0x7fd83ffff6c0 (LWP 4727)]
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:16] Starting headless backend
[Detaching after fork from child process 4729]
wlserver: [xwayland/server.c:108] Starting Xwayland on :2
wlserver: wl_event_loop_dispatch failed

Failed to initialize wlserver
[Thread 0x7fd856b4c6c0 (LWP 4722) exited]
[Thread 0x7fd855b4a6c0 (LWP 4724) exited]
[Thread 0x7fd8553496c0 (LWP 4725) exited]
[Thread 0x7fd85634b6c0 (LWP 4723) exited]
(EE) could not connect to wayland server
[Thread 0x7fd83ffff6c0 (LWP 4727) exited]
[Thread 0x7fd854a486c0 (LWP 4726) exited]
[Thread 0x7fd85748e6c0 (LWP 4720) exited]
[Inferior 1 (process 4714) exited with code 01]
```

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (9 preceding siblings ...)
  2023-08-02  2:27 ` HadetTheUndying
@ 2023-08-02  2:47 ` HadetTheUndying
  2023-09-20 12:24 ` Natthias
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: HadetTheUndying @ 2023-08-02  2:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2301 bytes --]

New comment by HadetTheUndying on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1661393620

Comment:
Just an update. I'm not gonna be able to do a lot of work on this I'll be away most of the weekend and start a new job on Monday but it might be helpful

```gdb
(gdb) run
Starting program: /usr/bin/gamescope 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:68] Creating headless backend
[New Thread 0x7fd85748e6c0 (LWP 4720)]
[New Thread 0x7fd856b4c6c0 (LWP 4722)]
vulkan: selecting physical device 'AMD Radeon RX Vega (RADV VEGA10)': queue family 1
vulkan: physical device supports DRM format modifiers
[New Thread 0x7fd85634b6c0 (LWP 4723)]
[New Thread 0x7fd855b4a6c0 (LWP 4724)]
[New Thread 0x7fd8553496c0 (LWP 4725)]
[New Thread 0x7fd854a486c0 (LWP 4726)]
vulkan: supported DRM formats for sampling usage:
vulkan:   AR24 (0x34325241)
vulkan:   XR24 (0x34325258)
vulkan:   AB24 (0x34324241)
vulkan:   XB24 (0x34324258)
vulkan:   NV12 (0x3231564E)
vulkan:   AB4H (0x48344241)
vulkan:   XB4H (0x48344258)
vulkan:   AB48 (0x38344241)
vulkan:   XB48 (0x38344258)
vulkan:   AB30 (0x30334241)
vulkan:   XB30 (0x30334258)
vulkan:   AR30 (0x30335241)
vulkan:   XR30 (0x30335258)
[New Thread 0x7fd83ffff6c0 (LWP 4727)]
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:16] Starting headless backend
[Detaching after fork from child process 4729]
wlserver: [xwayland/server.c:108] Starting Xwayland on :2
wlserver: wl_event_loop_dispatch failed

Failed to initialize wlserver
[Thread 0x7fd856b4c6c0 (LWP 4722) exited]
[Thread 0x7fd855b4a6c0 (LWP 4724) exited]
[Thread 0x7fd8553496c0 (LWP 4725) exited]
[Thread 0x7fd85634b6c0 (LWP 4723) exited]
(EE) could not connect to wayland server
[Thread 0x7fd83ffff6c0 (LWP 4727) exited]
[Thread 0x7fd854a486c0 (LWP 4726) exited]
[Thread 0x7fd85748e6c0 (LWP 4720) exited]
[Inferior 1 (process 4714) exited with code 01]
```
EDIT: Don't bother running gamescope with `gdb` apparently it doesn't work in a lot of setups.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (10 preceding siblings ...)
  2023-08-02  2:47 ` HadetTheUndying
@ 2023-09-20 12:24 ` Natthias
  2023-09-20 12:27 ` Natthias
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Natthias @ 2023-09-20 12:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

New comment by Natthias on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1661075126

Comment:
I have a build of gamescope 3.12.0, which also builds correctly, yet doesn't function properly.

It seems likely that the issue is this. Is this the same error message on your end?
`wlserver: [xwayland/server.c:270] Xwayland startup failed, not setting up xwm`

As an aside, you probably shouldn't package stb in this PR, as upstream doesn't provide releases. I think including it in the template for gamescope is the correct way to proceed

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (11 preceding siblings ...)
  2023-09-20 12:24 ` Natthias
@ 2023-09-20 12:27 ` Natthias
  2023-10-29 19:23 ` SpidFightFR
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: Natthias @ 2023-09-20 12:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]

New comment by Natthias on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1661075126

Comment:
I have a build of gamescope 3.12.0 in my [packages repo](https://github.com/Natthias/abyssal-packages), which also builds correctly, yet doesn't function properly.

It seems likely that the issue is this. Is this the same error message on your end?
`wlserver: [xwayland/server.c:270] Xwayland startup failed, not setting up xwm`

As an aside, you probably shouldn't package stb in this PR, as upstream doesn't provide releases. I think including it in the template for gamescope is the correct way to proceed

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (12 preceding siblings ...)
  2023-09-20 12:27 ` Natthias
@ 2023-10-29 19:23 ` SpidFightFR
  2023-11-13 18:03 ` dexgs
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: SpidFightFR @ 2023-10-29 19:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1784202857

Comment:
Do we have any news on this PR ?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (13 preceding siblings ...)
  2023-10-29 19:23 ` SpidFightFR
@ 2023-11-13 18:03 ` dexgs
  2023-11-13 19:13 ` SpidFightFR
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dexgs @ 2023-11-13 18:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

New comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1808722961

Comment:
I've managed to package gamescope 3.13 such that it works (https://github.com/dexgs/void-packages/commit/7f2d5a92c683c2a12635d277ee93d6dbfb4301da), but it needs a more recent Vulkan-Headers than is currently packaged, so I've opened a PR for that first (#47186)

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (14 preceding siblings ...)
  2023-11-13 18:03 ` dexgs
@ 2023-11-13 19:13 ` SpidFightFR
  2024-01-24  9:02 ` nonchip
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: SpidFightFR @ 2023-11-13 19:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1808852336

Comment:
> I've managed to package gamescope 3.13 such that it works ([dexgs@7f2d5a9](https://github.com/dexgs/void-packages/commit/7f2d5a92c683c2a12635d277ee93d6dbfb4301da)), but it needs a more recent Vulkan-Headers than is currently packaged, so I've opened a PR for that first (#47186)

neat! i certainly hope gamescope will make it to void repos !

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (15 preceding siblings ...)
  2023-11-13 19:13 ` SpidFightFR
@ 2024-01-24  9:02 ` nonchip
  2024-01-24 16:46 ` dexgs
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: nonchip @ 2024-01-24  9:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

New comment by nonchip on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1907681550

Comment:
since the vulkan dependency has been merged already, is there anything still blocking this?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (16 preceding siblings ...)
  2024-01-24  9:02 ` nonchip
@ 2024-01-24 16:46 ` dexgs
  2024-01-24 19:33 ` SpidFightFR
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dexgs @ 2024-01-24 16:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

New comment by dexgs on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1908519398

Comment:
No, I've opened #48354. Hopefully it is ready to merge.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (17 preceding siblings ...)
  2024-01-24 16:46 ` dexgs
@ 2024-01-24 19:33 ` SpidFightFR
  2024-01-24 19:33 ` SpidFightFR
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: SpidFightFR @ 2024-01-24 19:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1908789033

Comment:
This PR should be closed, then ?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (18 preceding siblings ...)
  2024-01-24 19:33 ` SpidFightFR
@ 2024-01-24 19:33 ` SpidFightFR
  2024-02-27 18:34 ` mdkcore0
  2024-02-27 18:38 ` [PR PATCH] [Closed]: " classabbyamp
  21 siblings, 0 replies; 23+ messages in thread
From: SpidFightFR @ 2024-01-24 19:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1908789033

Comment:
This PR should be closed, then ?

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (19 preceding siblings ...)
  2024-01-24 19:33 ` SpidFightFR
@ 2024-02-27 18:34 ` mdkcore0
  2024-02-27 18:38 ` [PR PATCH] [Closed]: " classabbyamp
  21 siblings, 0 replies; 23+ messages in thread
From: mdkcore0 @ 2024-02-27 18:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by mdkcore0 on void-packages repository

https://github.com/void-linux/void-packages/pull/44767#issuecomment-1967362299

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [PR PATCH] [Closed]: New package: gamescope-3.11.51
  2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
                   ` (20 preceding siblings ...)
  2024-02-27 18:34 ` mdkcore0
@ 2024-02-27 18:38 ` classabbyamp
  21 siblings, 0 replies; 23+ messages in thread
From: classabbyamp @ 2024-02-27 18:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

There's a closed pull request on the void-packages repository

New package: gamescope-3.11.51
https://github.com/void-linux/void-packages/pull/44767

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

Closes #36869


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-02-27 18:38 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 16:38 [PR PATCH] New package: gamescope-3.11.51 sirkhancision
2023-07-01 16:42 ` [PR PATCH] [Updated] " sirkhancision
2023-07-01 16:49 ` sirkhancision
2023-07-26 20:00 ` HadetTheUndying
2023-07-27  0:10 ` HadetTheUndying
2023-07-27  1:32 ` sirkhancision
2023-07-27  1:50 ` sirkhancision
2023-07-27  2:21 ` sirkhancision
2023-08-01 20:51 ` Natthias
2023-08-01 20:54 ` HadetTheUndying
2023-08-02  2:27 ` HadetTheUndying
2023-08-02  2:47 ` HadetTheUndying
2023-09-20 12:24 ` Natthias
2023-09-20 12:27 ` Natthias
2023-10-29 19:23 ` SpidFightFR
2023-11-13 18:03 ` dexgs
2023-11-13 19:13 ` SpidFightFR
2024-01-24  9:02 ` nonchip
2024-01-24 16:46 ` dexgs
2024-01-24 19:33 ` SpidFightFR
2024-01-24 19:33 ` SpidFightFR
2024-02-27 18:34 ` mdkcore0
2024-02-27 18:38 ` [PR PATCH] [Closed]: " classabbyamp

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