From 9934c1c313301f555b37c6999226194ebcb373fa640b8356d5c6d42e74f529f4 Mon Sep 17 00:00:00 2001 From: Antonio Teixeira Date: Thu, 6 Jun 2024 20:42:57 +0000 Subject: [PATCH] Accepting request 1178801 from home:dstoecker:branches:games:tools - Update to version 3.14.18: * wayland_backend: Fix fractional scale bug * wayland_backend: Fix cursor position with display scaling * main: hide disabled backends from user * Fix `sdl2_backend=disabled` * layer: Attempt at fixing CI * steamcompmgr: Handle FIFO stuff for Wayland windows * layer: Get working with native Wayland applications * steamcompmgr: Hook up more common stuff to XDG code * all: Refactor IBackendFb to be owned by CVulkanTexture * steamcompmgr: Don't re-enable applyOutputColorMgmt when dumping screen buffer for screenshots - Drop libliftoff-fix-gcc14-calloc-transposed-args.patch OBS-URL: https://build.opensuse.org/request/show/1178801 OBS-URL: https://build.opensuse.org/package/show/games:tools/gamescope?expand=0&rev=27 --- gamescope-3.14.13.tar.xz | 3 -- gamescope-3.14.18.tar.xz | 3 ++ gamescope.changes | 16 ++++++++ gamescope.spec | 5 +-- ...off-fix-gcc14-calloc-transposed-args.patch | 37 ------------------- 5 files changed, 21 insertions(+), 43 deletions(-) delete mode 100644 gamescope-3.14.13.tar.xz create mode 100644 gamescope-3.14.18.tar.xz delete mode 100644 libliftoff-fix-gcc14-calloc-transposed-args.patch diff --git a/gamescope-3.14.13.tar.xz b/gamescope-3.14.13.tar.xz deleted file mode 100644 index f46e734..0000000 --- a/gamescope-3.14.13.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3346ce23560891192bd25a3c77f7c8d722a9d7c0f719fe17ccd895ff1359ac69 -size 102554340 diff --git a/gamescope-3.14.18.tar.xz b/gamescope-3.14.18.tar.xz new file mode 100644 index 0000000..9b6733b --- /dev/null +++ b/gamescope-3.14.18.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3bd41a39cb2a6dd67a87d7a6c99a649f32186823c8453cbc052d592cb3b777e +size 102577308 diff --git a/gamescope.changes b/gamescope.changes index 4859426..6250800 100644 --- a/gamescope.changes +++ b/gamescope.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jun 05 18:57:26 UTC 2024 - opensuse@dstoecker.de + +- Update to version 3.14.18: + * wayland_backend: Fix fractional scale bug + * wayland_backend: Fix cursor position with display scaling + * main: hide disabled backends from user + * Fix `sdl2_backend=disabled` + * layer: Attempt at fixing CI + * steamcompmgr: Handle FIFO stuff for Wayland windows + * layer: Get working with native Wayland applications + * steamcompmgr: Hook up more common stuff to XDG code + * all: Refactor IBackendFb to be owned by CVulkanTexture + * steamcompmgr: Don't re-enable applyOutputColorMgmt when dumping screen buffer for screenshots +- Drop libliftoff-fix-gcc14-calloc-transposed-args.patch + ------------------------------------------------------------------- Wed May 08 13:35:00 UTC 2024 - antonio.teixeira@suse.com diff --git a/gamescope.spec b/gamescope.spec index de6dd60..9e058f8 100644 --- a/gamescope.spec +++ b/gamescope.spec @@ -18,15 +18,13 @@ %bcond_without intree_libs Name: gamescope -Version: 3.14.13 +Version: 3.14.18 Release: 0 Summary: Micro-compositor optimized for running video games on Wayland License: BSD-2-Clause Group: Amusements/Games/Other URL: https://github.com/Plagman/gamescope Source: %{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM libliftoff-fix-gcc14-calloc-transposed-args.patch -- Fixes libliftoff build with gcc14 -Patch1: libliftoff-fix-gcc14-calloc-transposed-args.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glslang-devel @@ -128,6 +126,7 @@ sed -i "s|#include |#include |g" src/InputEmulatio %license LICENSE %doc README.md %{_bindir}/%{name} +%{_bindir}/%{name}stream %{_libdir}/libVkLayer_FROG_gamescope_wsi_%{_arch}.so %dir %{_datadir}/vulkan/implicit_layer.d/ %{_datadir}/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.%{_arch}.json diff --git a/libliftoff-fix-gcc14-calloc-transposed-args.patch b/libliftoff-fix-gcc14-calloc-transposed-args.patch deleted file mode 100644 index cf81c1d..0000000 --- a/libliftoff-fix-gcc14-calloc-transposed-args.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 29a06add8ef184f85e37ff8abdc34fbaa2f4ee1e Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Thu, 21 Dec 2023 20:15:29 +0000 -Subject: [PATCH] layer.c: fix build against upcoming `gcc-14` - (`-Werror=calloc-transposed-args`) - -`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It -detected minor infelicity in `calloc()` API usage in `libliftoff`: - - ../layer.c: In function 'liftoff_layer_create': - ../layer.c:20:48: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in t - ument [-Werror=calloc-transposed-args] - 20 | layer->candidate_planes = calloc(sizeof(layer->candidate_planes[0]), - | ^ - ../layer.c:20:48: note: earlier argument should specify number of elements, later size of each element ---- - layer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/subprojects/libliftoff/layer.c b/subprojects/libliftoff/layer.c -index 73a8186..6510ea7 100644 ---- a/subprojects/libliftoff/layer.c -+++ b/subprojects/libliftoff/layer.c -@@ -17,8 +17,8 @@ liftoff_layer_create(struct liftoff_output *output) - return NULL; - } - layer->output = output; -- layer->candidate_planes = calloc(sizeof(layer->candidate_planes[0]), -- output->device->planes_cap); -+ layer->candidate_planes = calloc(output->device->planes_cap, -+ sizeof(layer->candidate_planes[0])); - if (layer->candidate_planes == NULL) { - liftoff_log_errno(LIFTOFF_ERROR, "calloc"); - free(layer); --- -GitLab -