forked from pool/commandergenius
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
4f22d846b2 | ||
|
0e9e99e9ef | ||
|
32f0a7c75e | ||
|
fc033dff9d | ||
|
c8a52f13de | ||
|
27ba1f80b5 | ||
|
beb693fc7c |
@ -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
BIN
Commander-Genius-v3.5.2.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1737915423
|
||||||
|
commit: e58c2d189f7ab16c6bcb24a8e28b4b42fd90f30c59c1d82971b3995c031667b9
|
||||||
|
url: https://src.opensuse.org/jengelh/commandergenius
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c37674e3b1ac337d444e0e6aa465f44352bf6acfff27c649677f512c0502d889
|
||||||
|
size 256
|
@ -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>
|
Sat Nov 18 19:02:46 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package commandergenius
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: commandergenius
|
Name: commandergenius
|
||||||
Version: 3.5.0
|
Version: 3.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A clone of the Commander Keen engines
|
Summary: A clone of the Commander Keen engines
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -26,6 +26,7 @@ URL: http://clonekeenplus.sf.net/
|
|||||||
#Git-Clone: https://gitlab.com/Dringgstein/Commander-Genius
|
#Git-Clone: https://gitlab.com/Dringgstein/Commander-Genius
|
||||||
Source: https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v%version/Commander-Genius-v%version.tar.bz2
|
Source: https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v%version/Commander-Genius-v%version.tar.bz2
|
||||||
Patch1: fix-icons.patch
|
Patch1: fix-icons.patch
|
||||||
|
Patch2: gs.patch
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake >= 2.8
|
BuildRequires: cmake >= 2.8
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -47,6 +48,9 @@ It has 4-player cooperative mode and six difficulty modes.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n Commander-Genius-v%version
|
%autosetup -p1 -n Commander-Genius-v%version
|
||||||
|
if pkg-config 'SDL2_ttf < 2.24'; then
|
||||||
|
%patch -P 2 -R -p1
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
|
26
gs.patch
Normal file
26
gs.patch
Normal 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
|
||||||
|
{
|
Loading…
x
Reference in New Issue
Block a user