1
0

Compare commits

..

7 Commits

Author SHA256 Message Date
Ana Guerrero
4f22d846b2 Accepting request 1240387 from games
- Update to release 3.5.2

OBS-URL: https://build.opensuse.org/request/show/1240387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/commandergenius?expand=0&rev=38
2025-01-27 19:54:40 +00:00
OBS User unknown
0e9e99e9ef [info=e58c2d189f7ab16c6bcb24a8e28b4b42fd90f30c59c1d82971b3995c031667b9]
OBS-URL: https://build.opensuse.org/package/show/games/commandergenius?expand=0&rev=79
2025-01-26 18:30:22 +00:00
Dominique Leuenberger
32f0a7c75e Accepting request 1238690 from games
- Add gs.patch to fix FTBFS

OBS-URL: https://build.opensuse.org/request/show/1238690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/commandergenius?expand=0&rev=37
2025-01-19 20:49:01 +00:00
OBS User unknown
fc033dff9d [info=2f1363908b3a59709918cf242b9387361597ab601ce06def27d4704a5923119c]
OBS-URL: https://build.opensuse.org/package/show/games/commandergenius?expand=0&rev=78
2025-01-18 13:19:59 +00:00
Dominique Leuenberger
c8a52f13de Accepting request 1220177 from games
- Update to release 3.5.1

OBS-URL: https://build.opensuse.org/request/show/1220177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/commandergenius?expand=0&rev=36
2024-11-02 15:12:16 +00:00
OBS User unknown
27ba1f80b5 [info=c8103e76d0d3e200f21b75ee6788a0d33b98546b6dbc352cbd720c4381395d87]
OBS-URL: https://build.opensuse.org/package/show/games/commandergenius?expand=0&rev=77
2024-07-10 09:54:43 +00:00
OBS User unknown
beb693fc7c [info=99767a72affed3ffefc6387c078f01465cb04dfab6eb73098c8aa55d7a16da4c]
OBS-URL: https://build.opensuse.org/package/show/games/commandergenius?expand=0&rev=76
2024-07-10 09:17:03 +00:00
7 changed files with 59 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41d23db44f26992d2e56d67947fa871ef67c848438c8607507451102860f5bd2
size 55508890

BIN
Commander-Genius-v3.5.2.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1737915423
commit: e58c2d189f7ab16c6bcb24a8e28b4b42fd90f30c59c1d82971b3995c031667b9
url: https://src.opensuse.org/jengelh/commandergenius
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c37674e3b1ac337d444e0e6aa465f44352bf6acfff27c649677f512c0502d889
size 256

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sun Jan 26 18:06:55 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.5.2
* No changelog was provided
-------------------------------------------------------------------
Fri Jan 17 23:55:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add gs.patch to fix FTBFS
-------------------------------------------------------------------
Wed Jul 10 09:25:39 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.5.1
* No changelog was provided
-------------------------------------------------------------------
Sat Nov 18 19:02:46 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package commandergenius
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: commandergenius
Version: 3.5.0
Version: 3.5.2
Release: 0
Summary: A clone of the Commander Keen engines
License: GPL-2.0-only
@ -26,6 +26,7 @@ URL: http://clonekeenplus.sf.net/
#Git-Clone: https://gitlab.com/Dringgstein/Commander-Genius
Source: https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v%version/Commander-Genius-v%version.tar.bz2
Patch1: fix-icons.patch
Patch2: gs.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 2.8
BuildRequires: fdupes
@ -47,6 +48,9 @@ It has 4-player cooperative mode and six difficulty modes.
%prep
%autosetup -p1 -n Commander-Genius-v%version
if pkg-config 'SDL2_ttf < 2.24'; then
%patch -P 2 -R -p1
fi
%build
%cmake \

26
gs.patch Normal file
View File

@ -0,0 +1,26 @@
From: Jan Engelhardt <ej@inai.de>
Date: 2025-01-18 00:55:51.888346224 +0100
GS took a shortcut to not include SDL2_ttf headers
and now GS broke due to SDL2_ttf commit:
commit 22347419ee08e49d77411c680f15e314ef870ab7
Renamed "struct _TTF_Font" to "struct TTF_Font"
Fixes https://github.com/libsdl-org/SDL_ttf/issues/372
---
GsKit/graphics/GsTrueTypeFont.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: Commander-Genius-v3.5.1/GsKit/graphics/GsTrueTypeFont.h
===================================================================
--- Commander-Genius-v3.5.1.orig/GsKit/graphics/GsTrueTypeFont.h
+++ Commander-Genius-v3.5.1/GsKit/graphics/GsTrueTypeFont.h
@@ -6,7 +6,7 @@
#include <base/interface/Color.h>
#include <graphics/GsSurface.h>
-typedef struct _TTF_Font TTF_Font;
+typedef struct TTF_Font TTF_Font;
class GsTrueTypeFont
{