diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 3a8ad5dcc6bc1cc8277b421b4c2c5715ca5f1388..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# sdl12-compat - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index d349bfba52a05fbf97121141737cae7d24334138..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# sdl12-compat - -#### 介绍 -{**以下是 Gitee 平台说明,您可以替换此简介** -Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/sdl12-compat-1.2.60-Fixed-infinite-loop-in-SDL_FreeYUVOverlay.patch b/sdl12-compat-1.2.60-Fixed-infinite-loop-in-SDL_FreeYUVOverlay.patch deleted file mode 100644 index 164345646c542b37fb87aacc8e0f1fe7a4786185..0000000000000000000000000000000000000000 --- a/sdl12-compat-1.2.60-Fixed-infinite-loop-in-SDL_FreeYUVOverlay.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 683234e8708a081224942181710ca5dd3cee409e Mon Sep 17 00:00:00 2001 -From: Sam Lantinga -Date: Thu, 17 Nov 2022 07:55:07 -0800 -Subject: [PATCH] Fixed infinite loop in SDL_FreeYUVOverlay() -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fixes https://github.com/libsdl-org/sdl12-compat/issues/275 - -Signed-off-by: Petr Písař ---- - src/SDL12_compat.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c -index 6964e2b..fb657a6 100644 ---- a/src/SDL12_compat.c -+++ b/src/SDL12_compat.c -@@ -7535,6 +7535,7 @@ SDL_FreeYUVOverlay(SDL12_Overlay *overlay12) - if (overlay->overlay12 == overlay12) { - overlay->overlay12 = NULL; /* don't try to draw this later. */ - } -+ overlay = overlay->next; - } - - if (renderer) { --- -2.39.2 - diff --git a/sdl12-compat-1.2.60-fix-SDL12COMPAT_MAX_VIDMODE.patch b/sdl12-compat-1.2.60-fix-SDL12COMPAT_MAX_VIDMODE.patch deleted file mode 100644 index 79a5daef1303754c5df36a95af386c39394904b8..0000000000000000000000000000000000000000 --- a/sdl12-compat-1.2.60-fix-SDL12COMPAT_MAX_VIDMODE.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 77892a1ef5260fe78e593c8337dbe98874ff336c Mon Sep 17 00:00:00 2001 -From: Ozkan Sezer -Date: Tue, 25 Oct 2022 15:56:50 +0300 -Subject: [PATCH] fix SDL12COMPAT_MAX_VIDMODE, - -.. was broken by commit 7be4b3c99a436e360a43aefc929087c46cdadee9 ---- - src/SDL12_compat.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c -index 64ba56f90..1123cc91f 100644 ---- a/src/SDL12_compat.c -+++ b/src/SDL12_compat.c -@@ -2119,6 +2119,8 @@ Init12VidModes(void) - SDL_sscanf(maxmodestr, "%ux%u", &w, &h); - if (w > 0xFFFF) w = 0xFFFF; - if (h > 0xFFFF) h = 0xFFFF; -+ maxw = w; -+ maxh = h; - } - - for (i = 0; i < total; ++i) { diff --git a/sdl12-compat-1.2.60.tar.gz b/sdl12-compat-1.2.60.tar.gz deleted file mode 100644 index 836a8d12af68574ef9e34d1cfec1705a9aab127f..0000000000000000000000000000000000000000 Binary files a/sdl12-compat-1.2.60.tar.gz and /dev/null differ diff --git a/sdl12-compat-1.2.68.tar.gz b/sdl12-compat-1.2.68.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..777e59b9be38c584ec1af8b0a74e55ca32d6a420 Binary files /dev/null and b/sdl12-compat-1.2.68.tar.gz differ diff --git a/sdl12-compat.spec b/sdl12-compat.spec index c20904c6111e53c3a559a0da9951a63b0c1ef481..984f299d3b874cc9092d69e6fb8e5009d16a28da 100644 --- a/sdl12-compat.spec +++ b/sdl12-compat.spec @@ -1,7 +1,7 @@ %define anolis_release 1 Name: sdl12-compat -Version: 1.2.60 +Version: 1.2.68 Release: %{anolis_release}%{?dist} Summary: SDL 1.2 runtime compatibility library using SDL 2.0 # mp3 decoder code is MIT-0/PD @@ -10,9 +10,6 @@ License: zlib and (Public Domain or MIT-0) and MIT URL: https://github.com/libsdl-org/sdl12-compat Source0: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz -Patch0001: sdl12-compat-1.2.60-fix-SDL12COMPAT_MAX_VIDMODE.patch -Patch0002: sdl12-compat-1.2.60-Fixed-infinite-loop-in-SDL_FreeYUVOverlay.patch - BuildRequires: cmake BuildRequires: gcc BuildRequires: git-core @@ -110,5 +107,8 @@ rm -rf %{buildroot}%{_libdir}/*.a %doc README.md BUGS.md COMPATIBILITY.md %changelog +* Wed Feb 19 2025 Chang Gao - 1.2.68-1 +- Refer to CentOS Stream sdl12-compat-1.2.68-4 (tdawson@redhat.com) + * Sat Mar 25 2023 Ziyang Zhang - 1.2.60-1 -- Init package from upstream 1.2.60 \ No newline at end of file +- Init package from upstream 1.2.60