Compare commits

..

4 commits

Author SHA1 Message Date
Hans de Goede
41307f717a xarchon is dead upstream and it was never really fully finished before upstream stopped working on it. On top of this it is using the very obsolete gtk+ toolkit. If, like me, you are an Archon fan I suggest you play the original in a c64 emulator 2021-05-27 19:38:34 +02:00
Fedora Release Engineering
f6a963bf3c - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:47:16 +00:00
Tom Stellard
5c9e608cf2 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 01:07:17 +00:00
Fedora Release Engineering
3e3eed283b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:27:01 +00:00
9 changed files with 1 additions and 290 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
xarchon_0.50-10.1.diff.gz
xarchon-0.50.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
xarchon is dead upstream and it was never really fully finished before upstream stopped working on it. On top of this it is using the very obsolete gtk+ toolkit. If, like me, you are an Archon fan I suggest you play the original in a c64 emulator

View file

@ -1,2 +0,0 @@
c883ed2fffc51545160732d63d70106a xarchon_0.50-10.1.diff.gz
491dea5b4e61ed13cd988d1c184a8ef0 xarchon-0.50.tar.gz

View file

@ -1,19 +0,0 @@
diff -up xarchon-0.50/src/Genetic.hpp~ xarchon-0.50/src/Genetic.hpp
--- xarchon-0.50/src/Genetic.hpp~ 2008-01-11 22:40:09.000000000 +0100
+++ xarchon-0.50/src/Genetic.hpp 2008-01-11 22:40:09.000000000 +0100
@@ -2,6 +2,7 @@
#define GENETIC_HPP
#include <list>
+#include <stdlib.h>
using namespace std;
/* **********************************************
diff -up xarchon-0.50/src/Xarchon_Problem.cpp~ xarchon-0.50/src/Xarchon_Problem.cpp
--- xarchon-0.50/src/Xarchon_Problem.cpp~ 2008-01-11 22:40:27.000000000 +0100
+++ xarchon-0.50/src/Xarchon_Problem.cpp 2008-01-11 22:40:27.000000000 +0100
@@ -1,3 +1,4 @@
+#include <string.h>
#include "Xarchon_Problem.hpp"
#include "Xarchon_Interface.hpp"

View file

@ -1,26 +0,0 @@
--- a/data/Makefile.am~ 1999-10-16 01:33:45.000000000 +0300
+++ b/data/Makefile.am 2003-09-14 14:32:25.000000000 +0300
@@ -7,8 +7,8 @@
echo "--> Installing theme '$$theme'"; \
THEME_DIRS=`find $$theme -type d`; \
for p in $$THEME_DIRS; do \
- echo "mkdir $(pkgdatadir)/$$p"; \
- mkdir $(pkgdatadir)/$$p; \
+ echo "mkdir $(DESTDIR)$(pkgdatadir)/$$p"; \
+ mkdir $(DESTDIR)$(pkgdatadir)/$$p; \
done; \
THEME_FILES=`find $$theme -type f`; \
for p in $$THEME_FILES; do \
--- a/data/Makefile.in~ 1999-12-03 19:12:06.000000000 +0200
+++ b/data/Makefile.in 2003-09-14 14:43:46.000000000 +0300
@@ -210,8 +210,8 @@
echo "--> Installing theme '$$theme'"; \
THEME_DIRS=`find $$theme -type d`; \
for p in $$THEME_DIRS; do \
- echo "mkdir $(pkgdatadir)/$$p"; \
- mkdir $(pkgdatadir)/$$p; \
+ echo "mkdir $(DESTDIR)$(pkgdatadir)/$$p"; \
+ mkdir $(DESTDIR)$(pkgdatadir)/$$p; \
done; \
THEME_FILES=`find $$theme -type f`; \
for p in $$THEME_FILES; do \

View file

@ -1,22 +0,0 @@
--- xarchon-0.50/src/board.c.orig 2002-09-26 08:28:46.000000000 -0400
+++ xarchon-0.50/src/board.c 2002-09-26 08:29:02.000000000 -0400
@@ -27,7 +27,7 @@
#define FLOOR_DARK 0 /* steppings for light and dark */
#define FLOOR_LIGHT 7 /* outside luminance cycle */
-#define FONT_NAME "-misc-fixed-medium-*-normal-*-15-0-*-*-*-*-iso8859-1"
+#define FONT_NAME "-misc-fixed-medium-*-normal-*-*-*-*-*-*-*-iso8859-1"
#define V_CELL_YSIZE 40 /* revive cell height */
--- xarchon-0.50/src/field.c.orig 2002-09-26 08:22:45.000000000 -0400
+++ xarchon-0.50/src/field.c 2002-09-26 08:23:11.000000000 -0400
@@ -20,7 +20,7 @@
/* defines */
/*--------------------------------------------------------------------------*/
-#define FONT_NAME "-misc-fixed-medium-*-normal-*-40-0-*-*-*-*-iso8859-1"
+#define FONT_NAME "-misc-fixed-medium-*-normal-*-*-*-*-*-*-*-iso8859-1"
#define NUM_ROCKS 12
#define ROCK_DELAY 2 /* rocks delay time in frames */

View file

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
<id>xarchon.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-1.0+</project_license>
<name>XArchon</name>
<summary>Chess like board game</summary>
<description>
<p>
In XArchon the Light Side and Dark Side fight over control of a chess-like
board. Each side is composed of 18 fantastic creatures of myth and legend,
which are represented by images (or icons). While not identical, the
opposing sides are balanced in strength.
</p>
<p>
When two creatures end up on the same square, the game goes into field
mode and a battle begins between the two creatures. During this battle
the creatures are controller by the players and it is not necessarily
the creature which entered the square last which wins.
</p>
</description>
<url type="homepage">http://xarchon.seul.org/</url>
<url type="help">http://xarchon.seul.org/rules.html</url>
<screenshots>
<screenshot type="default">http://xarchon.seul.org/img/snap-1.gif</screenshot>
<screenshot>http://xarchon.seul.org/img/snap-2.gif</screenshot>
</screenshots>
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
</component>

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=XArchon
Comment=Chess like board game
Exec=xarchon
Icon=xarchon
Terminal=false
Type=Application
Categories=Game;BoardGame;
Keywords=game;archon;chess;

View file

@ -1,181 +0,0 @@
Name: xarchon
Version: 0.50
Release: 33%{?dist}
Summary: Arcade board game
License: GPL+
URL: http://xarchon.seul.org/
Source0: http://xarchon.seul.org/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.appdata.xml
Patch0: %{name}-fonts.patch
Patch1: %{name}-destdir.patch
Patch2: http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz
Patch3: xarchon-0.50-gcc43.patch
BuildRequires: gcc gcc-c++ gtk+-devel esound-devel libXpm-devel
BuildRequires: desktop-file-utils ImageMagick libappstream-glib
Requires: hicolor-icon-theme
%description
XArchon is a chess with a twist board game.
%prep
%autosetup -p1
%build
%configure
make %{?_smp_mflags}
convert -resize 64x64 data/icon.xpm %{name}.png
%install
%make_install INSTALL="install -p"
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
install -p -m 644 %{name}.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata
appstream-util validate-relax --nonet \
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
%files
%doc AUTHORS ChangeLog README
%license COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_mandir}/man6/%{name}.6.gz
%changelog
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 23 2019 Hans de Goede <hdegoede@redhat.com> - 0.50-31
- Fix FTBFS (rhbz#1676225)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50-27
- Remove obsolete scriptlets
* Sun Jan 14 2018 Hans de Goede <hdegoede@redhat.com> - 0.50-26
- Re-enable esound support, it is the only supported sound output (#1534185)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Feb 23 2016 Hans de Goede <hdegoede@redhat.com> - 0.50-22
- Add appdata
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Jul 12 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.50-20
- drop esound support
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun May 03 2015 Kalev Lember <kalevlember@gmail.com> - 0.50-18
- Rebuilt for GCC 5 C++11 ABI change
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.50-14
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
- Cleanup spec as per recently changed packaging guidelines
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon May 18 2009 Hans de Goede <hdegoede@redhat.com> 0.50-9
- Update description for new trademark guidelines
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.50-7
- Autorebuild for GCC 4.3
* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.50-6
- Fix compilation with gcc 4.3
* Fri Aug 31 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.50-5
- Update Debian patch set to 0.50-10.1
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.50-4
- Rebuild for buildId
- Update license tag for new license tag guidelines compliance
* Tue Aug 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.50-3
- FE6 Rebuild
* Sat May 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.50-2
- consistent use of %%{name} (everywhere).
- Add BR: libXPM-devel
- Drop NEWS from %%doc as it contains no relevant information.
* Thu May 11 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.50-1
- Pick xarchon up from Ville and submit it for Review as Ville doens't
have the time for this.
* Tue Mar 14 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.50-0.2
- Fix build with gcc >= 3.4 (partially from Debian).
- Install icon to %%{_datadir}/icons/hicolor.
* Sat May 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.50-0.1
- Rebuild for FC4.
* Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.50-0.fdr.3
- Install data into %%{_datadir}/games/xarchon.
- Remove #---- section markers.
* Sun Jun 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.50-0.fdr.2
- Spec cleanups.
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.50-0.fdr.1
- Update to current Fedora guidelines.
* Fri Feb 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.50-1.fedora.1
- First Fedora release.