From 6fb7937495aa8533d609933445095f72784adc09 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:08:51 +0000 Subject: [PATCH 01/14] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 7ff51c4..aef72f0 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 36%{?dist} +Release: 37%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL+ URL: http://sourceforge.net/projects/xgalaga/ @@ -96,6 +96,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 2.0.34-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 2.0.34-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 34131895f781faf522bcf9b82ce88dcd4944b80e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:10:42 +0000 Subject: [PATCH 02/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index aef72f0..f6212e4 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 37%{?dist} +Release: 38%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL+ URL: http://sourceforge.net/projects/xgalaga/ @@ -96,6 +96,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 2.0.34-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 2.0.34-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 8b1234d0c767a3dfa533faf7a7af237c4b8ec222 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 17 Jan 2023 14:28:48 +0100 Subject: [PATCH 03/14] Port configure script to C99 Related to: --- xgalaxy-configure-c99.patch | 36 ++++++++++++++++++++++++++++++++++++ xgalaxy.spec | 7 ++++++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 xgalaxy-configure-c99.patch diff --git a/xgalaxy-configure-c99.patch b/xgalaxy-configure-c99.patch new file mode 100644 index 0000000..c1a0ab0 --- /dev/null +++ b/xgalaxy-configure-c99.patch @@ -0,0 +1,36 @@ +Fix implicit int and implicit function declarations in the configure +script. These fixes are generic; autoconf no longer generates this +code. So there is no need to upstream this. + +diff -ur xgalaga-2.0.34.orig/configure xgalaga-2.0.34/configure +--- xgalaga-2.0.34.orig/configure 2023-01-17 14:22:59.367854998 +0100 ++++ xgalaga-2.0.34/configure 2023-01-17 14:26:14.040800919 +0100 +@@ -711,7 +711,7 @@ + #line 712 "configure" + #include "confdefs.h" + +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes +@@ -1183,6 +1183,8 @@ + #line 1184 "configure" + #include "confdefs.h" + ++char ${x_direct_test_function}(void); ++ + int main() { + ${x_direct_test_function}() + ; return 0; } +@@ -2286,8 +2288,8 @@ + #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) + int main () { int i; for (i = 0; i < 256; i++) +-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); +-exit (0); } ++if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; ++return 0; } + + EOF + if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null diff --git a/xgalaxy.spec b/xgalaxy.spec index f6212e4..0af820c 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 38%{?dist} +Release: 39%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL+ URL: http://sourceforge.net/projects/xgalaga/ @@ -14,6 +14,7 @@ Patch3: %{name}-2.0.34-joy.patch Patch4: %{name}-2.0.34-fullscreen-viewport.patch Patch5: %{name}-2.0.34-alsa.patch Patch6: %{name}-2.0.34-dga-compile-fix.patch +Patch7: xgalaxy-configure-c99.patch BuildRequires: make BuildRequires: libXt-devel libXpm-devel libXmu-devel libXxf86vm-devel BuildRequires: alsa-lib-devel desktop-file-utils ImageMagick gcc @@ -36,6 +37,7 @@ ships attacking the planet. %patch4 -p1 -z .viewport %patch5 -p1 -z .alsa %patch6 -p1 -z .no-dga +%patch7 -p1 -z .c99 sed -e 's/Debian/Fedora/g' debian/README.Debian > README.fedora cat >> README.fedora << EOF @@ -96,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Tue Jan 17 2023 Florian Weimer - 2.0.34-39 +- Port configure script to C99 + * Sat Jul 23 2022 Fedora Release Engineering - 2.0.34-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 977533b7da878af318989b410f9a7b036eb74e5c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 07:30:52 +0000 Subject: [PATCH 04/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 0af820c..2a5845c 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 39%{?dist} +Release: 40%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL+ URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 2.0.34-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 17 2023 Florian Weimer - 2.0.34-39 - Port configure script to C99 From b65bf42e53f7e2c5e089f073eefdd6f7abbed984 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 2 Mar 2023 15:33:42 -0600 Subject: [PATCH 05/14] migrated to SPDX license --- xgalaxy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 2a5845c..9d29842 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,8 +1,8 @@ Name: xgalaxy Version: 2.0.34 -Release: 40%{?dist} +Release: 41%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet -License: GPL+ +License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ Source0: http://downloads.sourceforge.net/xgalaga/xgalaga_%{version}.orig.tar.gz Source1: %{name}.desktop @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Thu Mar 02 2023 Gwyn Ciesla - 2.0.34-41 +- migrated to SPDX license + * Sat Jan 21 2023 Fedora Release Engineering - 2.0.34-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 5e07522d231ffe52a33fd9e39bfb50af6a73c33c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 18:53:57 +0000 Subject: [PATCH 06/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 9d29842..b80dbf4 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 41%{?dist} +Release: 42%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 2.0.34-42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Mar 02 2023 Gwyn Ciesla - 2.0.34-41 - migrated to SPDX license From 93aa09be4bc37299d90a2ac9d11b457e8f882fa9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 09:45:00 +0000 Subject: [PATCH 07/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index b80dbf4..ece297e 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 42%{?dist} +Release: 43%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 2.0.34-43 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 2.0.34-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 465c10f286bf18a88dd8efebab964ef0a79072a3 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:50 +0200 Subject: [PATCH 08/14] Eliminate use of obsolete %patchN syntax (#2283636) --- xgalaxy.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index ece297e..bb10fcc 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -30,14 +30,14 @@ ships attacking the planet. %prep %setup -q -n xgalaga-%{version} # many thanks to Debian for all their excellent work on xgalala -%patch0 -p1 -z .deb -%patch1 -p1 -z .fs -%patch2 -p1 -z .%{name} -%patch3 -p1 -z .joy -%patch4 -p1 -z .viewport -%patch5 -p1 -z .alsa -%patch6 -p1 -z .no-dga -%patch7 -p1 -z .c99 +%patch -P0 -p1 -z .deb +%patch -P1 -p1 -z .fs +%patch -P2 -p1 -z .%{name} +%patch -P3 -p1 -z .joy +%patch -P4 -p1 -z .viewport +%patch -P5 -p1 -z .alsa +%patch -P6 -p1 -z .no-dga +%patch -P7 -p1 -z .c99 sed -e 's/Debian/Fedora/g' debian/README.Debian > README.fedora cat >> README.fedora << EOF From c6d8da14ac1ebfa8ef27e7ca47d8dcadc31ad0b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:06:26 +0000 Subject: [PATCH 09/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index bb10fcc..b239a80 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 43%{?dist} +Release: 44%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 2.0.34-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 2.0.34-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 51dbbe8ac69b5b96677d0e7ca5fdc1dd4d2d51a4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 15:52:40 +0000 Subject: [PATCH 10/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index b239a80..cea3435 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 44%{?dist} +Release: 45%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 2.0.34-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 2.0.34-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From e3e38e27675e84c18ad1ac292c9e4dd40af54f56 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 31 Jan 2025 13:21:27 -0600 Subject: [PATCH 11/14] Fix FTBFS --- xgalaxy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index cea3435..869116f 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -53,7 +53,7 @@ sed -i 's/XGalaga/XGalaxy/g' `grep -rls XGalaga .` %build -export CFLAGS="$RPM_OPT_FLAGS -fsigned-char -DXF86VIDMODE" +export CFLAGS="$RPM_OPT_FLAGS -fsigned-char -DXF86VIDMODE -std=gnu17" export LDFLAGS=-lXxf86vm ./configure --libdir=%{_libdir} --exec-prefix=%{_bindir} \ --prefix=%{_datadir}/%{name} From e5241ec54e6c7f392446a0a6a0772a710b95fd96 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:51:43 +0000 Subject: [PATCH 12/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 869116f..6fd1ff3 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 45%{?dist} +Release: 46%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2.0.34-46 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 2.0.34-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From dbfda26abd135bdcf0b6356a0faf275b7f1684cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:41:40 +0000 Subject: [PATCH 13/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 6fd1ff3..85d272f 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 46%{?dist} +Release: 47%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 2.0.34-47 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 2.0.34-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 979b2706d7cbf00b3509813e07cfeaaec479ecac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:14:41 +0000 Subject: [PATCH 14/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- xgalaxy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xgalaxy.spec b/xgalaxy.spec index 85d272f..b9f4c65 100644 --- a/xgalaxy.spec +++ b/xgalaxy.spec @@ -1,6 +1,6 @@ Name: xgalaxy Version: 2.0.34 -Release: 47%{?dist} +Release: 48%{?dist} Summary: Arcade game: shoot down the space ships attacking the planet License: GPL-1.0-or-later URL: http://sourceforge.net/projects/xgalaga/ @@ -98,6 +98,9 @@ install -p -m 644 %{name}.png \ %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 2.0.34-48 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 2.0.34-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild