Compare commits

...
Sign in to create a new pull request.

88 commits

Author SHA1 Message Date
Fedora Release Engineering
4b66145d8d Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:31:15 +00:00
Dominik 'Rathann' Mierzejewski
4fdb5f53e6 update to 3.6.2.16
- drop obsolete patch
2026-01-14 17:42:46 +01:00
Dominik 'Rathann' Mierzejewski
7d7129e51b update to 3.6.2.15 (resolves rhbz#2416531)
- drop serial ctest call work-around, fixed upstream
  (https://github.com/adventuregamestudio/ags/pull/2910)
2025-11-26 09:48:08 +01:00
Benjamin A. Beasley
2885cf2d5e Build tests as C++17; required for gtest 1.17 2025-11-03 09:36:10 +00:00
Dominik 'Rathann' Mierzejewski
7f97be54da worked around upstream testsuite failures
Some tests fail randomly when run in parallel, so run them sequentially
for now.

Upstream report: https://github.com/adventuregamestudio/ags/issues/2906
2025-10-29 20:14:03 +01:00
Dominik 'Rathann' Mierzejewski
cc49afcb48 update to 3.6.2.14 (resolves rhbz#2405254) 2025-10-27 22:06:12 +01:00
Dominik 'Rathann' Mierzejewski
55cc485e3a use upstream patch 2025-10-09 13:20:52 +02:00
Dominik 'Rathann' Mierzejewski
2a38a58271 make the system GTest support conditional 2025-10-09 13:11:00 +02:00
Dominik 'Rathann' Mierzejewski
fb80656b28 build tools and run tests 2025-10-08 16:13:02 +02:00
Dominik 'Rathann' Mierzejewski
20a7545e1a update to 3.6.2.13 (resolves rhbz#2393079) 2025-09-04 23:22:15 +02:00
Dominik 'Rathann' Mierzejewski
d5687daa6e fix chronological changelog order 2025-09-04 21:37:04 +02:00
Benjamin A. Beasley
826d70c223 Rebuilt for tinyxml2 11.0.0 2025-08-23 06:55:51 -04:00
Dominik 'Rathann' Mierzejewski
4a3393a565 follow upstream convention in option naming
- drop custom miniz detection and require a fixed build instead
2025-08-03 01:02:07 +02:00
Fedora Release Engineering
65adaf4d90 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:49:56 +00:00
Dominik Mierzejewski
96469d59e5 update to 3.6.2.12 (resolves rhbz#2382051)
- switch back to bundled freetype per upstream recommendation
2025-07-19 14:09:52 +02:00
Dominik 'Rathann' Mierzejewski
b1adcd1d9a update to 3.6.2.11 2025-07-07 00:20:13 +02:00
Dominik 'Rathann' Mierzejewski
24dbd2205c update to 3.6.2.9
- regenerate glad sources
2025-05-09 23:52:03 +02:00
Dominik 'Rathann' Mierzejewski
3697095c1a aastr license is LicenseRef-Fedora-UltraPermissive
See https://gitlab.com/fedora/legal/fedora-license-data/-/issues/631
2025-02-28 10:48:48 +01:00
Dominik Mierzejewski
852fd598b6 update to 3.6.2.7
- switch build system to cmake
- unbundle miniz
- update SPDX expression in License: field after review
2025-02-27 23:58:52 +01:00
Dominik Mierzejewski
6ab2bbc13f update to 3.6.1.31
- fix build with C23 (resolves rhbz#2336273)
2025-02-27 13:28:51 +01:00
Fedora Release Engineering
77f36919cf Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:43:33 +00:00
Dominik Mierzejewski
7330e6fb86 update to 3.6.1.30
- drop obsolete patch
2024-11-30 13:51:33 +01:00
Dominik 'Rathann' Mierzejewski
a15a63a6b3 rebuild for tinyxml2 2024-11-11 23:45:31 +00:00
Miroslav Suchý
f6d0dfbf20 Migrate to SPDX license
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4

Note that this is an SPDX identifier, but it still needs to be migrated to the proper identifiers in the fedora-license-data set.

If there will be no comments in two weeks, I will merge this.
2024-09-06 14:52:57 +00:00
Fedora Release Engineering
a0b767e000 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:43:38 +00:00
Software Management Team
549a428dba Eliminate use of obsolete %patchN syntax (#2283636) 2024-05-30 12:46:46 +02:00
Fedora Release Engineering
8a26023500 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-29 10:45:41 +00:00
Fedora Release Engineering
226a7ab6d7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 22:47:19 +00:00
Dominik 'Rathann' Mierzejewski
54599fe33c fix build with GCC14 2024-01-19 18:57:54 +01:00
Dominik 'Rathann' Mierzejewski
8f5cdf0f4b Merge branch 'f39' into rawhide 2024-01-19 18:10:30 +01:00
Dominik 'Rathann' Mierzejewski
6fdcd73191 Merge branch 'f38' into f39 2024-01-19 18:02:01 +01:00
Dominik 'Rathann' Mierzejewski
3a9f754632 update to 3.6.0.56 2024-01-19 18:01:54 +01:00
Fedora Release Engineering
a22dc32eef Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 12:25:25 +00:00
Dominik Mierzejewski
364f0e9f44 Merge branch 'f38' into f39 2023-09-01 11:08:01 +02:00
Dominik Mierzejewski
7085e9a4b4 Merge branch 'f37' into f38 2023-09-01 11:07:14 +02:00
Dominik Mierzejewski
1b395a5189 update to 3.6.0.51
switch to wildcards in .gitignore
2023-09-01 11:07:09 +02:00
Fedora Release Engineering
f5eb154184 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:01:11 +00:00
Dominik Mierzejewski
4a512337b8 Merge branch 'f37' into f38 2023-05-15 01:21:18 +02:00
Dominik Mierzejewski
2569dbd4bb update to 3.6.0.48 (#2192719) 2023-05-15 01:21:04 +02:00
Dominik 'Rathann' Mierzejewski
64eb231410 Merge branch 'f37' into f38 2023-04-05 10:11:12 +02:00
Dominik 'Rathann' Mierzejewski
bfec7a65bd Merge branch 'f36' into f37 2023-04-05 10:11:06 +02:00
Dominik Mierzejewski
f818049e7e update to 3.6.0.47 stable release (#2183747) 2023-04-05 10:09:47 +02:00
Dominik Mierzejewski
1af2e38e0c Merge branch 'f37' into f38 2023-03-27 23:11:47 +02:00
Dominik Mierzejewski
a8a67fbeb8 Merge branch 'f36' into f37 2023-03-27 23:11:01 +02:00
Dominik Mierzejewski
39b2cd8c33 update to 3.6.0.46 (#2179689) 2023-03-27 23:10:47 +02:00
Dominik Mierzejewski
59c5e6fd0b Merge branch 'f37' into f38 2023-03-08 23:25:31 +01:00
Dominik Mierzejewski
9c1cee9872 Merge branch 'f36' into f37 2023-03-08 23:25:02 +01:00
Dominik Mierzejewski
b61b4431e9 update to 3.6.0.44 (#2172608) 2023-03-08 23:24:53 +01:00
Dominik Mierzejewski
4da51962de drop forgotten %%patch call 2023-02-06 16:14:04 +01:00
Dominik Mierzejewski
0a2d942e38 drop obsolete patch 2023-02-06 16:13:03 +01:00
Dominik Mierzejewski
5e97625bbf Merge branch 'f37' into rawhide 2023-02-06 15:16:46 +01:00
Dominik Mierzejewski
e426a2534a Merge branch 'f36' into f37 2023-02-06 15:16:13 +01:00
Dominik Mierzejewski
a9791fddf3 update to 3.6.0.42 (#2167149) 2023-02-06 15:16:05 +01:00
Dominik Mierzejewski
d094894a4e fix build with GCC 13 2023-01-26 11:27:58 +01:00
Dominik Mierzejewski
93cf522c90 Merge branch 'f37' into rawhide 2023-01-25 00:00:12 +01:00
Dominik Mierzejewski
2f9cabf31a Merge branch 'f36' into f37 2023-01-24 23:36:08 +01:00
Dominik Mierzejewski
8091eb4cda update to 3.6.0.41 (#2161376) 2023-01-24 23:35:59 +01:00
Fedora Release Engineering
5bb4597ba0 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:30:02 +00:00
Dominik 'Rathann' Mierzejewski
a02da449d2 Merge branch 'f37' into rawhide 2023-01-08 23:56:17 +01:00
Dominik 'Rathann' Mierzejewski
8d03676098 Merge branch 'f36' into f37 2023-01-08 23:54:39 +01:00
Dominik 'Rathann' Mierzejewski
b9a691f578 update to 3.6.0.40 (#2158889) 2023-01-08 23:53:56 +01:00
Dominik 'Rathann' Mierzejewski
1daf6c166e Merge branch 'f37' into rawhide 2023-01-03 12:59:20 +01:00
Dominik 'Rathann' Mierzejewski
7b83d905af Merge branch 'f36' into f37 2023-01-03 12:58:32 +01:00
Dominik 'Rathann' Mierzejewski
992c8afb9d update to 3.6.0.39 (#2156072) 2023-01-03 12:57:41 +01:00
Dominik 'Rathann' Mierzejewski
2e2a72e57b Merge branch 'f37' into rawhide 2022-12-07 10:54:27 +01:00
Dominik 'Rathann' Mierzejewski
64cb411789 Merge branch 'f36' into f37 2022-12-07 10:54:13 +01:00
Dominik 'Rathann' Mierzejewski
3727314008 update to 3.6.0.38 (#2143092) 2022-12-06 22:50:51 +01:00
Dominik Mierzejewski
6c89518849 Merge branch 'f37' into rawhide 2022-10-10 17:52:32 +02:00
Dominik Mierzejewski
51258528fa Merge branch 'f36' into f37 2022-10-10 17:52:25 +02:00
Dominik Mierzejewski
c23122a8e1 update to 3.6.0.36 (#2108390) 2022-10-10 17:52:18 +02:00
Dominik Mierzejewski
8ce5f171e5 Merge branch 'f37' into rawhide 2022-10-09 01:00:05 +02:00
Dominik Mierzejewski
4c4080fcf9 Merge branch 'f36' into f37 2022-10-09 00:58:52 +02:00
Dominik Mierzejewski
db443e70ed update to 3.6.0.35 (#2108390) 2022-10-09 00:58:40 +02:00
Rich Mattes
ed0e1f12be Rebuild for tinyxml2-9.0.0 2022-09-25 14:56:13 -04:00
Dominik Mierzejewski
a7776cee8e Merge branch 'f36' into f37 2022-08-15 15:25:44 +02:00
Dominik Mierzejewski
4518a3fdb1 update to 3.6.0.33 (#2108390) 2022-08-15 15:24:53 +02:00
Fedora Release Engineering
0d0390d49a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:32:38 +00:00
Dominik Mierzejewski
bc3646b3a0 update to 3.6.0.30 (#2105677) 2022-07-19 01:22:18 +02:00
Dominik 'Rathann' Mierzejewski
97b091cd92 update to 3.6.0.29 (#2100149) 2022-07-05 15:30:04 +02:00
Dominik 'Rathann' Mierzejewski
58a63939a7 update to 3.6.0.27 (#2091478) 2022-06-08 11:09:50 +02:00
Dominik 'Rathann' Mierzejewski
3b8bfa8ac6 update to 3.6.0.25
unbundle khrplatform.h header
unbundle glm, ogg, theora, tinyxml2 and vorbis
use openal-soft instead of bundled mojoAL
2022-05-23 00:56:28 +02:00
Fedora Release Engineering
0874e3f4ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:01:31 +00:00
Fedora Release Engineering
9949928158 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:21:14 +00:00
Fedora Release Engineering
5c20bf8474 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:25:53 +00:00
Dominik 'Rathann' Mierzejewski
3598db4634 Merge branch 'f33' into f34 2021-05-13 13:11:12 +02:00
Dominik 'Rathann' Mierzejewski
fa5c1906e1 Merge branch 'f33' into f34 2021-04-08 12:04:44 +02:00
Fedora Release Engineering
73c1cf238b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-25 23:53:46 +00:00
Tom Stellard
2dd8a2775c Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-16 22:17:37 +00:00
9 changed files with 304 additions and 128 deletions

5
.gitignore vendored
View file

@ -1,5 +1,2 @@
/ags-v.3.4.4.1.tar.xz
/ags-v.3.4.4.2.tar.gz
/ags-v.3.5.0.25.tar.gz
/ags-v.3.5.0.31.tar.gz
/ags-v.3.5.0.32.tar.gz
/ags-v*.tar.gz

View file

@ -0,0 +1,36 @@
diff -up ags-3.6.2.13/Common/CMakeLists.txt.cxx17 ags-3.6.2.13/Common/CMakeLists.txt
--- ags-3.6.2.13/Common/CMakeLists.txt.cxx17 2025-09-04 10:13:12.000000000 +0200
+++ ags-3.6.2.13/Common/CMakeLists.txt 2025-09-05 00:52:47.300264039 +0200
@@ -241,7 +241,7 @@ if(AGS_TESTS)
test/version_test.cpp
)
set_target_properties(common_test PROPERTIES
- CXX_STANDARD 11
+ CXX_STANDARD 17
CXX_EXTENSIONS NO
C_STANDARD 11
C_EXTENSIONS NO
diff -up ags-3.6.2.13/Compiler/CMakeLists.txt.cxx17 ags-3.6.2.13/Compiler/CMakeLists.txt
--- ags-3.6.2.13/Compiler/CMakeLists.txt.cxx17 2025-09-04 10:13:12.000000000 +0200
+++ ags-3.6.2.13/Compiler/CMakeLists.txt 2025-09-05 00:54:51.632435890 +0200
@@ -92,7 +92,7 @@ if(AGS_TESTS)
test/cc_test_helper.h
)
set_target_properties(compiler_test PROPERTIES
- CXX_STANDARD 11
+ CXX_STANDARD 17
CXX_EXTENSIONS NO
C_STANDARD 11
C_EXTENSIONS NO
diff -up ags-3.6.2.13/Engine/CMakeLists.txt.cxx17 ags-3.6.2.13/Engine/CMakeLists.txt
--- ags-3.6.2.13/Engine/CMakeLists.txt.cxx17 2025-09-04 10:13:12.000000000 +0200
+++ ags-3.6.2.13/Engine/CMakeLists.txt 2025-09-05 00:55:12.224488252 +0200
@@ -649,7 +649,7 @@ if(AGS_TESTS)
test/systemimports_test.cpp
)
set_target_properties(engine_test PROPERTIES
- CXX_STANDARD 11
+ CXX_STANDARD 17
CXX_EXTENSIONS NO
C_STANDARD 11
C_EXTENSIONS NO

View file

@ -1,12 +0,0 @@
diff -up ags-v.3.5.0.25/Engine/Makefile-defs.linux.dynamic ags-v.3.5.0.25/Engine/Makefile-defs.linux
--- ags-v.3.5.0.25/Engine/Makefile-defs.linux.dynamic 2020-07-12 02:18:03.000000000 +0200
+++ ags-v.3.5.0.25/Engine/Makefile-defs.linux 2020-08-04 14:55:33.555623254 +0200
@@ -37,7 +36,7 @@ LIBS += -ldl -lpthread -lc -lm -lstdc++
ifneq ($(USE_BUILT_IN_LIBSRC), 1)
ALDUMB :=
-LIBS += -Wl,--push-state,-Bstatic -laldmb -ldumb -Wl,--pop-state
+LIBS += -laldmb -ldumb
endif
ifeq ($(ALLEGRO_MAGIC_DRV), 1)

View file

@ -1,47 +0,0 @@
diff -up ags-v.3.5.0.25/Common/font/ttffontrenderer.cpp.alfont ags-v.3.5.0.25/Common/font/ttffontrenderer.cpp
--- ags-v.3.5.0.25/Common/font/ttffontrenderer.cpp.alfont 2020-08-03 01:12:57.187878580 +0200
+++ ags-v.3.5.0.25/Common/font/ttffontrenderer.cpp 2020-08-03 01:14:56.908761650 +0200
@@ -15,7 +15,7 @@
#include <alfont.h>
#include "core/platform.h"
-#define AGS_OUTLINE_FONT_FIX (!AGS_PLATFORM_OS_WINDOWS)
+#define AGS_OUTLINE_FONT_FIX 0
#include "core/assetmanager.h"
#include "font/ttffontrenderer.h"
diff -up ags-v.3.5.0.25/Engine/Makefile.alfont ags-v.3.5.0.25/Engine/Makefile
--- ags-v.3.5.0.25/Engine/Makefile.alfont 2020-08-03 01:12:57.187878580 +0200
+++ ags-v.3.5.0.25/Engine/Makefile 2020-08-03 01:15:39.585076430 +0200
@@ -23,7 +23,7 @@ OBJS := $(OBJS:.mm=.o)
OBJS := $(OBJS:.cpp=.o)
OBJS := $(OBJS:.c=.o)
-OBJS_COMMON := $(COMMON) $(ALFONT) $(FREETYPE)
+OBJS_COMMON := $(COMMON) $(FREETYPE)
OBJS_COMMON := $(OBJS_COMMON:.mm=.o)
OBJS_COMMON := $(OBJS_COMMON:.cpp=.o)
OBJS_COMMON := $(OBJS_COMMON:.c=.o)
diff -up ags-v.3.5.0.25/Engine/Makefile-defs.linux.alfont ags-v.3.5.0.25/Engine/Makefile-defs.linux
--- ags-v.3.5.0.25/Engine/Makefile-defs.linux.alfont 2020-08-03 01:12:57.187878580 +0200
+++ ags-v.3.5.0.25/Engine/Makefile-defs.linux 2020-08-03 01:16:28.688438622 +0200
@@ -22,6 +22,7 @@ CXXFLAGS := -std=c++11 -Werror=delete-no
LIBS := -Wl,-Bdynamic
LIBS += $(FT_LDFLAGS)
LIBS += $(shell pkg-config --libs allegro)
+LIBS += -lalfont
LIBS += $(shell pkg-config --libs x11)
LIBS += $(shell pkg-config --libs ogg)
LIBS += $(shell pkg-config --libs theora)
diff -up ags-v.3.5.0.25/Engine/Makefile-objs.alfont ags-v.3.5.0.25/Engine/Makefile-objs
--- ags-v.3.5.0.25/Engine/Makefile-objs.alfont 2020-08-03 01:12:57.188878587 +0200
+++ ags-v.3.5.0.25/Engine/Makefile-objs 2020-08-03 01:16:57.547651489 +0200
@@ -59,8 +59,6 @@ PLUGINS = ../Plugins/AGSflashlight/agsfl
HQ2X3X = libsrc/hq2x/hq2x3x.cpp
-ALFONT = ../Common/libsrc/alfont-2.0.9/alfont.c
-
ALMP3 = libsrc/almp3/almp3.c libsrc/almp3-2.0.5/decoder/common.c libsrc/almp3-2.0.5/decoder/dct64_i386.c libsrc/almp3-2.0.5/decoder/decode_i386.c libsrc/almp3-2.0.5/decoder/interface.c libsrc/almp3-2.0.5/decoder/layer2.c libsrc/almp3-2.0.5/decoder/layer3.c libsrc/almp3-2.0.5/decoder/tabinit.c
ALOGG = libsrc/alogg/alogg.c

View file

@ -1,10 +0,0 @@
diff -up ags-v.3.5.0.25/Engine/Makefile-defs.linux.allegro ags-v.3.5.0.25/Engine/Makefile-defs.linux
--- ags-v.3.5.0.25/Engine/Makefile-defs.linux.allegro 2020-08-04 15:03:05.867050838 +0200
+++ ags-v.3.5.0.25/Engine/Makefile-defs.linux 2020-08-04 15:03:23.797187166 +0200
@@ -1,5 +1,5 @@
USE_BUILT_IN_LIBSRC = 0
-USE_MIDI_PATCH = 1
+USE_MIDI_PATCH = 0
include Makefile-defs.freetype

View file

@ -1,12 +0,0 @@
diff -up ags-v.3.5.0.25/Engine/Makefile-defs.linux.noft ags-v.3.5.0.25/Engine/Makefile-defs.linux
--- ags-v.3.5.0.25/Engine/Makefile-defs.linux.noft 2020-08-04 12:56:31.959203289 +0200
+++ ags-v.3.5.0.25/Engine/Makefile-defs.linux 2020-08-04 14:48:46.375548126 +0200
@@ -1,8 +1,6 @@
USE_BUILT_IN_LIBSRC = 0
USE_MIDI_PATCH = 0
-include Makefile-defs.freetype
-
INCDIR = ../Engine ../Common ../Common/libinclude ../Common/libsrc/alfont-2.0.9 ../Plugins ../Engine/libsrc/glad/include
LIBDIR =

View file

@ -0,0 +1,11 @@
diff -up ags-3.6.2.13/CMake/FindLocalOpenAL.cmake.orig ags-3.6.2.13/CMake/FindLocalOpenAL.cmake
--- ags-3.6.2.13/CMake/FindLocalOpenAL.cmake.orig 2025-09-04 10:13:12.000000000 +0200
+++ ags-3.6.2.13/CMake/FindLocalOpenAL.cmake 2025-10-09 13:07:24.743943475 +0200
@@ -1,6 +1,6 @@
# Grab system openAL or use embedded mojoAL
-if(WIN32 OR LINUX OR MACOS OR FREEBSD)
+if(WIN32 OR MACOS OR FREEBSD)
set(AGS_USE_MOJO_AL TRUE)
endif()

297
ags.spec
View file

@ -1,45 +1,61 @@
%global fver v.%{version}
%bcond_without openal
%global fver v%{version}
# avoid building bundled libraries as shared
%undefine _cmake_shared_libs
Name: ags
Summary: Engine for creating and running videogames of adventure (quest) genre
Version: 3.5.0.32
Version: 3.6.2.16
URL: http://www.adventuregamestudio.co.uk/site/ags/
Release: 1%{?dist}
Release: 2%{?dist}
Source0: https://github.com/adventuregamestudio/ags/archive/%{fver}/ags-%{fver}.tar.gz
# unbundle alfont
Patch0: %{name}-use-system-alfont.patch
# unbundle allegro
Patch1: %{name}-use-system-allegro.patch
# unbundle freetype
Patch2: %{name}-use-system-freetype.patch
# use dynamic linking for dumb
Patch4: %{name}-dynamic-dumb.patch
License: Artistic 2.0 and BSD and Giftware and LGPLv2+ and Public Domain and zlib
BuildRequires: alfont-devel
BuildRequires: allegro-devel
BuildRequires: dumb-devel
BuildRequires: freetype-devel
Patch0: ags-use-system-libraries.patch
Patch1: ags-build-tests-with-cxx17.patch
# Most code is under Artistic-2.0, except:
# Common/libsrc/aastr-0.1.1: LicenseRef-Fedora-UltraPermissive
# Common/libsrc/alfont-2.0.9: FTL
# Engine/libsrc/apeg-1.2.1: MPEG-SSG
# Engine/libsrc/glad: Apache-2.0 AND MIT-Khronos-old
# Engine/libsrc/libcda-0.5: Zlib
# Plugins/agsblend/agsblend: MIT
# Plugins/agspalrender/agspalrender/raycast.{cpp,h}: BSD-2-Clause
# Plugins/AGSSpriteFont: CC0-1.0
# libsrc/allegro: Giftware
License: Artistic-2.0 AND LicenseRef-Fedora-UltraPermissive AND FTL AND MPEG-SSG AND Apache-2.0 AND MIT-Khronos-old AND Zlib AND MIT AND BSD-2-Clause AND CC0-1.0 AND Giftware
# incorrect rendering with new FT: https://github.com/adventuregamestudio/ags/issues/1528
Provides: bundled(freetype) = 2.1.3
%if %{with openal}
BuildRequires: openal-soft-devel
%else
# https://github.com/icculus/mojoAL (zlib)
Provides: bundled(mojoal)
%endif
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: glad
BuildRequires: glm-devel
BuildRequires: gtest-devel
# for KHR/khrplatform.h
BuildRequires: libglvnd-devel
BuildRequires: libogg-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
BuildRequires: libXext-devel
BuildRequires: libXxf86vm-devel
BuildRequires: make
BuildRequires: cmake(miniz)
BuildRequires: SDL2-devel
BuildRequires: SDL2_sound-devel
BuildRequires: tinyxml2-devel
# https://web.archive.org/web/20050323070052/http://www.inp.nsk.su/~bukinm/dusty/aastr/ (Giftware)
# dead upstream, might be possible to use aastr2:
# https://www.allegro.cc/resource/Libraries/Graphics/AASTR2
Provides: bundled(aastr) = 0.1.1
# https://web.archive.org/web/20060518092445/http://nekros.freeshell.org/delirium/alogg.html (BSD)
# dead upstream, internals are used, not trivial to unbundle
Provides: bundled(AllegroOGG) = 1.0.3
# https://web.archive.org/web/20050305175733/http://nekros.freeshell.org/delirium/almp3.php (LGPLv2+)
# dead upstream, bundles parts of old mpg123, not trivial to separate
Provides: bundled(almp3) = 2.0.5
# bundled alfont is patched
Provides: bundled(alfont) = 2.0.9
# bundled allegro is stripped and patched
Provides: bundled(allegro) = 4.4.3
# http://kcat.strangesoft.net/apeg.html (Public Domain)
Provides: bundled(apeg) = 1.2.1
# https://web.archive.org/web/20090403045142/http://www.hiend3d.com/hq2x.html (LGPLv2+)
# dead upstream
Provides: bundled(hq2x3x)
# https://web.archive.org/web/20040104090747/http://www.alphalink.com.au/~tjaden/libcda/index.html (zlib)
# dead upstream
Provides: bundled(libcda) = 0.5
@ -52,47 +68,241 @@ limited, support for other genres as well.
Originally created by Chris Jones back in 1999, AGS was opensourced in 2011 and
since continued to be developed by contributors.
%package tools
Summary: Tools for Adventure Game Studio engine game development
Requires: %{name}%{_isa} = %{version}-%{release}
%description tools
This package contains the AGS engine game development tools.
%prep
%setup -q -n %{name}-%{?commit:%{commit}}%{!?commit:%{fver}}
%patch0 -p1 -b .alfont
%patch1 -p1 -b .allegro
%patch2 -p1 -b .noft
%patch4 -p1 -b .dynamic
%setup -q
%patch 0 -p1 -b .orig
%patch 1 -p1 -b .cxx17
# delete unused bundled stuff
pushd Common/libinclude
rm -r internal
rm -r ogg
rm -r theora
rm -r vorbis
rm aldumb.h
rm dumb.h
popd
pushd Common/libsrc
rm -r alfont-2.0.9
rm -r freetype-2.1.3
rmdir googletest
popd
pushd Engine/libsrc
rm -r allegro-4.2.2-agspatch
rm -r dumb-0.9.2
rm -r glad{,-gles2}/{src,include}
glad --reproducible --out-path=glad --profile="compatibility" --api="gl=2.1" --generator="c" --spec="gl" --extensions="GL_EXT_framebuffer_object"
glad --reproducible --out-path=glad-gles2 --profile="core" --api="gles2=2.0" --generator="c" --spec="gl" --extensions=""
rm -r ogg
rm -r theora
rm -r vorbis
popd
pushd libsrc
rm -r glm
rm -r miniz
%if %{with openal}
rm -r mojoAL
%endif
rm -r tinyxml2
popd
iconv -o Changes.txt.utf-8 -f iso8859-1 -t utf-8 Changes.txt && \
touch -r Changes.txt Changes.txt.utf-8 && \
mv Changes.txt.utf-8 Changes.txt
%build
%set_build_flags
%make_build -C Engine
%cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DAGS_BUILD_TOOLS=TRUE \
-DAGS_TESTS=TRUE \
-DAGS_USE_LOCAL_SDL2=TRUE \
-DAGS_USE_LOCAL_SDL2_SOUND=TRUE \
-DAGS_USE_LOCAL_OGG=TRUE \
-DAGS_USE_LOCAL_VORBIS=TRUE \
-DAGS_USE_LOCAL_THEORA=TRUE \
-DAGS_USE_LOCAL_GLM=TRUE \
-DAGS_USE_LOCAL_TINYXML2=TRUE \
-DAGS_USE_LOCAL_MINIZ=TRUE \
-DAGS_USE_LOCAL_GTEST=TRUE \
%cmake_build
%install
make V=1 -C Engine PREFIX=%{buildroot}%{_prefix} install
%cmake_install
%check
%ctest
%files
%license License.txt
%doc Changes.txt Copyright.txt OPTIONS.md README.md
%{_bindir}/ags
%files tools
%{_bindir}/agscc
%{_bindir}/agf2dlgasc
%{_bindir}/agfexport
%{_bindir}/agspak
%{_bindir}/agsunpak
%{_bindir}/crm2ash
%{_bindir}/crmpak
%{_bindir}/trac
%{_bindir}/ags
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jan 14 2026 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.16-1
- update to 3.6.2.16
- drop obsolete patch
* Wed Nov 26 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.15-1
- update to 3.6.2.15 (resolves rhbz#2416531)
- drop serial ctest call work-around, fixed upstream
(https://github.com/adventuregamestudio/ags/pull/2910)
* Mon Nov 03 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 3.6.2.14-2
- Build tests as C++17; required for gtest 1.17
* Mon Oct 27 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.14-1
- update to 3.6.2.14 (resolves rhbz#2405254)
* Fri Sep 05 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.13-2
- build tools and run tests
* Thu Sep 04 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.13-1
- update to 3.6.2.13 (resolves rhbz#2393079)
* Sat Aug 23 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 3.6.2.12-4
- Rebuilt for tinyxml2 11.0.0
* Sun Aug 03 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.12-3
- follow upstream convention in option naming
- drop custom miniz detection and require a fixed build instead
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jul 19 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.12-1
- update to 3.6.2.12
- switch back to bundled freetype per upstream recommendation
* Sun Jul 06 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.11-1
- update to 3.6.2.11
* Fri May 09 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.9-1
- update to 3.6.2.9
- regenerate glad sources
* Fri Feb 28 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.2.7-1
- update to 3.6.2.7
- switch build system to cmake
- unbundle miniz
- update SPDX expression in License: field after review
* Thu Feb 27 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.1.31-1
- update to 3.6.1.31
- fix build with C23 (resolves rhbz#2336273)
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Nov 30 2024 Dominik Mierzejewski <dominik@greysector.net> - 3.6.1.30-1
- update to 3.6.1.30
- drop obsolete patch
* Mon Nov 11 2024 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.56-5
- rebuild for tinyxml2
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.56-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.56-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.56-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.56-1
- update to 3.6.0.56
- fix build with GCC14
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.51-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Sep 01 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.51-1
- update to 3.6.0.51
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.48-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun May 14 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.48-1
- update to 3.6.0.48 (#2192719)
* Tue Apr 04 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.47-1
- update to 3.6.0.47 stable release (#2183747)
* Mon Mar 27 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.46-1
- update to 3.6.0.46 (#2179689)
* Wed Mar 08 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.44-1
- update to 3.6.0.44 (#2172608)
* Mon Feb 06 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.42-1
- update to 3.6.0.42 (#2167149)
- drop obsolete patch
* Tue Jan 24 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.41-1
- update to 3.6.0.41 (#2161376)
- fix build with GCC 13
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.40-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 08 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.40-1
- update to 3.6.0.40 (#2158889)
* Tue Jan 03 2023 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.39-1
- update to 3.6.0.39 (#2156072)
* Tue Dec 06 2022 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.38-1
- update to 3.6.0.38 (#2143092)
* Mon Oct 10 2022 Dominik Mierzejewski <dominik@greysector.net> - 3.6.0.36-1
- update to 3.6.0.36 (#2108390)
* Thu Oct 06 2022 Dominik Mierzejewski <rpm@greysector.net> - 3.6.0.35-1
- update to 3.6.0.35 (#2108390)
* Sun Sep 25 2022 Rich Mattes <richmattes@gmail.com> - 3.6.0.33-2
- Rebuild for tinyxml2-9.0.0
* Sun Aug 14 2022 Dominik Mierzejewski <rpm@greysector.net> - 3.6.0.33-1
- update to 3.6.0.33 (#2108390)
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 18 2022 Dominik Mierzejewski <rpm@greysector.net> - 3.6.0.30-1
- update to 3.6.0.30 (#2105677)
* Tue Jul 05 2022 Dominik Mierzejewski <rpm@greysector.net> - 3.6.0.29-1
- update to 3.6.0.29 (#2100149)
* Wed Jun 08 2022 Dominik Mierzejewski <rpm@greysector.net> - 3.6.0.27-1
- update to 3.6.0.27 (#2091478)
* Thu May 12 2022 Dominik Mierzejewski <rpm@greysector.net> - 3.6.0.25-1
- update to 3.6.0.25
- unbundle khrplatform.h header
- unbundle glm, ogg, theora, tinyxml2 and vorbis
- use openal-soft instead of bundled mojoAL
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0.32-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0.32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 13 2021 Dominik Mierzejewski <rpm@greysector.net> - 3.5.0.32-1
- update to 3.5.0.32
@ -100,6 +310,9 @@ make V=1 -C Engine PREFIX=%{buildroot}%{_prefix} install
- update to 3.5.0.31
- drop obsolete patches
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Aug 03 2020 Dominik Mierzejewski <rpm@greysector.net> - 3.5.0.25-1
- update to 3.5.0.25 (#1862828)
- fix compilation with GCC10 (missing cstdio includes)

View file

@ -1 +1 @@
SHA512 (ags-v.3.5.0.32.tar.gz) = 8e71dac9ec93e4901fe270dbd887635668bba8a2740275c7b4195ac962e2b8c4c10138661f31bccb6d4aa0a512bc2d2fb1bcfc5aca0f4522fda683c7f7fe7a8e
SHA512 (ags-v3.6.2.16.tar.gz) = 4b3261284454fc4e770f684eb6ece5199bc9d8a731d433b96f1134ade8907d60f0658f481f5ed229346a6dfeac61622ce5d62adfc163489f1cbf335b7c088936