rpms/boswars/devel boswars-2.4.1-gcc43.patch, NONE, 1.1 boswars.desktop, 1.2, 1.3 boswars.spec, 1.2, 1.3 boswars-wrapper.sh, 1.1, NONE

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Sat Jan 12 12:52:46 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/boswars/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18195

Modified Files:
	boswars.desktop boswars.spec 
Added Files:
	boswars-2.4.1-gcc43.patch 
Removed Files:
	boswars-wrapper.sh 
Log Message:
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 2.4.1-4
- Fix compilation with gcc 4.3
- Drop workaround for intel graphics crash, this is "fixed" in SDL now


boswars-2.4.1-gcc43.patch:

--- NEW FILE boswars-2.4.1-gcc43.patch ---
diff -up boswars-2.4.1-src/engine/stratagus/stratagus.cpp~ boswars-2.4.1-src/engine/stratagus/stratagus.cpp
--- boswars-2.4.1-src/engine/stratagus/stratagus.cpp~	2008-01-12 13:45:20.000000000 +0100
+++ boswars-2.4.1-src/engine/stratagus/stratagus.cpp	2008-01-12 13:45:20.000000000 +0100
@@ -161,6 +161,7 @@
 #include <time.h>
 #include <ctype.h>
 #include <sstream>
+#include <algorithm>
 
 #ifndef _MSC_VER
 #include <unistd.h>


Index: boswars.desktop
===================================================================
RCS file: /cvs/extras/rpms/boswars/devel/boswars.desktop,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- boswars.desktop	30 Oct 2007 14:17:16 -0000	1.2
+++ boswars.desktop	12 Jan 2008 12:52:13 -0000	1.3
@@ -1,9 +1,8 @@
 [Desktop Entry]
-Encoding=UTF-8
 Name=Bos Wars
 Comment=Bos Wars is a futuristic real-time strategy game
-Exec=boswars-wrapper -d /usr/share/boswars
-Icon=boswars.png
+Exec=boswars -d /usr/share/boswars
+Icon=boswars
 Terminal=false
 StartupNotify=false
 Type=Application


Index: boswars.spec
===================================================================
RCS file: /cvs/extras/rpms/boswars/devel/boswars.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- boswars.spec	30 Oct 2007 14:17:16 -0000	1.2
+++ boswars.spec	12 Jan 2008 12:52:13 -0000	1.3
@@ -1,17 +1,17 @@
 Name:           boswars
 Version:        2.4.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Bos Wars is a futuristic real-time strategy game
 Group:          Amusements/Games
 License:        GPLv2
 URL:            http://www.boswars.org/
 Source0:        http://www.boswars.org/dist/releases/%{name}-%{version}-src.tar.gz
 Source1:        %{name}.desktop
-Source2:        %{name}-wrapper.sh
 Patch0:         boswars-2.4.1-SConstruct.patch
 # incomplete patch to port boswars to the sysytem guichan-0.6 instead of
 # using the included guichan-0.4. Incomplete, NOT finished and NOT working!
 Patch1:         boswars-2.4.1-guichan26.patch
+Patch2:         boswars-2.4.1-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libtheora-devel libvorbis-devel lua-devel SDL-devel libGL-devel
 BuildRequires:  tolua++-devel libpng-devel scons desktop-file-utils
@@ -26,6 +26,7 @@
 %prep
 %setup -q -n %{name}-%{version}-src
 %patch0 -p1
+%patch2 -p1
 chmod -x engine/guichan/include/guichan/sdl/sdlgraphics.h \
   engine/include/animation.h engine/guichan/sdl/gsdl.cpp
 # we want to use the system version of these
@@ -41,7 +42,6 @@
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/languages
 install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
-install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}-wrapper
 install -p -m 644 languages/*.po languages/*.pot \
   $RPM_BUILD_ROOT%{_datadir}/%{name}/languages
 cp -a campaigns graphics maps scripts sounds units video \
@@ -78,13 +78,17 @@
 %files
 %defattr(-,root,root,-)
 %doc *.txt CHANGELOG doc/*.html doc/guichan-copyright.txt
-%{_bindir}/%{name}*
+%{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
 
 
 %changelog
+* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 2.4.1-4
+- Fix compilation with gcc 4.3
+- Drop workaround for intel graphics crash, this is "fixed" in SDL now
+
 * Tue Oct 30 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.4.1-3
 - Add workaround for boswars crashing on intel integrated video (bz 310841)
 


--- boswars-wrapper.sh DELETED ---




More information about the fedora-extras-commits mailing list