]> git.pld-linux.org Git - packages/SDL2.git/commitdiff
up to 2.0.18 auto/th/SDL2-2.0.18-1
authorJan Palus <atler@pld-linux.org>
Wed, 1 Dec 2021 21:17:00 +0000 (22:17 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 1 Dec 2021 21:17:00 +0000 (22:17 +0100)
SDL2.spec
wayland-sizeless-config.patch [deleted file]

index 01ca363c629ae0b3fb19910ba4db2838cb07b627..de3437c703552e9e907f61acda73c0b8d6d9f2e8 100644 (file)
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -60,14 +60,13 @@ Summary:    SDL (Simple DirectMedia Layer) - Game/Multimedia Library
 Summary(pl.UTF-8):     SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimediów
 Summary(zh_CN.UTF-8):  SDL (Simple DirectMedia Layer) Generic APIs - 游戏/多媒体库
 Name:          SDL2
-Version:       2.0.16
-Release:       2
+Version:       2.0.18
+Release:       1
 License:       Zlib (BSD-like)
 Group:         Libraries
 Source0:       http://www.libsdl.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: 98b8a1535a757ea1d03ae44e2fb20247
+# Source0-md5: c1dd33299db5b7091f37d989c68d5212
 Patch0:                %{name}-config.patch
-Patch1:                wayland-sizeless-config.patch
 URL:           http://www.libsdl.org/
 %{?with_kms:BuildRequires:     Mesa-libgbm-devel >= 11.1.0}
 %{?with_directfb:BuildRequires:        DirectFB-devel >= 1.0.0}
@@ -110,7 +109,7 @@ BuildRequires:      xorg-lib-libXrandr-devel
 BuildRequires: xorg-lib-libXrender-devel
 BuildRequires: xorg-lib-libXxf86vm-devel
 %if %{with wayland}
-BuildRequires: xorg-lib-libxkbcommon-devel
+BuildRequires: xorg-lib-libxkbcommon-devel >= 0.5.0
 %endif
 BuildRequires: xorg-proto-xextproto-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -215,7 +214,6 @@ SDL - przykładowe programy.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/wayland-sizeless-config.patch b/wayland-sizeless-config.patch
deleted file mode 100644 (file)
index 75cc97b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 63285c2562ba05e5bd113e7aaa003d1eeeec52d9 Mon Sep 17 00:00:00 2001
-From: Ethan Lee <flibitijibibo@gmail.com>
-Date: Wed, 11 Aug 2021 09:59:43 -0400
-Subject: [PATCH] wayland: Ignore stateless/sizeless configs when starting in
- fullscreen mode
-
----
- src/video/wayland/SDL_waylandwindow.c | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
-index 025dd30eeb..451d33b767 100644
---- a/src/video/wayland/SDL_waylandwindow.c
-+++ b/src/video/wayland/SDL_waylandwindow.c
-@@ -219,9 +219,15 @@ handle_configure_xdg_toplevel(void *data,
-             /* Foolishly do what the compositor says here. If it's wrong, don't
-              * blame us, we were explicitly instructed to do this.
-+             *
-+             * UPDATE: Nope, we can't actually do that, the compositor may give
-+             * us a completely stateless, sizeless configure, with which we have
-+             * to enforce our own state anyway.
-              */
--            window->w = width;
--            window->h = height;
-+            if (width != 0 && height != 0) {
-+                window->w = width;
-+                window->h = height;
-+            }
-             /* This part is good though. */
-             if (window->flags & SDL_WINDOW_ALLOW_HIGHDPI) {
This page took 0.453872 seconds and 4 git commands to generate.