rpms/astromenace/devel astromenace-640x480.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 astromenace.desktop, 1.1, 1.2 astromenace.spec, 1.1, 1.2 sources, 1.2, 1.3

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Fri Dec 7 15:07:03 UTC 2007


Author: limb

Update of /cvs/pkgs/rpms/astromenace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19757

Modified Files:
	.cvsignore astromenace.desktop astromenace.spec sources 
Added Files:
	astromenace-640x480.patch 
Log Message:
New upstream version, patch to fix default video mode.


astromenace-640x480.patch:

--- NEW FILE astromenace-640x480.patch ---
diff -Naur AstroMenaceSourceCode-orig/AstroMenaceSource/ScriptEngine/Setup.cpp AstroMenaceSourceCode/AstroMenaceSource/ScriptEngine/Setup.cpp
--- AstroMenaceSourceCode-orig/AstroMenaceSource/ScriptEngine/Setup.cpp	2007-09-30 13:19:27.000000000 +0200
+++ AstroMenaceSourceCode/AstroMenaceSource/ScriptEngine/Setup.cpp	2007-12-06 22:30:37.000000000 +0100
@@ -48,9 +48,9 @@
 	Setup.BuildVersion = GAME_VERSION_BUILD;
 
 
-	Setup.Width = CurrentVideoMode.W;
-	Setup.Height = CurrentVideoMode.H;
-	Setup.BPP = CurrentVideoMode.BPP;
+	Setup.Width = 640;
+	Setup.Height = 480;
+	Setup.BPP = 0;
 	if ((Setup.Width*1.0f)/(Setup.Height*1.0f) < 1.4f)
 	{
 		Setup.fAspectRatioWidth = 1024.0f;
@@ -586,9 +586,9 @@
 		}
 		if (ResolutionNeedReset)
 		{
-			Setup.Width = CurrentVideoMode.W;
-			Setup.Height = CurrentVideoMode.H;
-			Setup.BPP = CurrentVideoMode.BPP;
+			Setup.Width = 640;
+			Setup.Height = 480;
+			Setup.BPP = 0;
 		}
 	}
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/astromenace/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	8 Oct 2007 21:11:21 -0000	1.2
+++ .cvsignore	7 Dec 2007 15:06:22 -0000	1.3
@@ -1 +1 @@
-AstroMenaceSourceCode_070930.zip
+AstroMenaceSourceCode_071105.zip


Index: astromenace.desktop
===================================================================
RCS file: /cvs/pkgs/rpms/astromenace/devel/astromenace.desktop,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- astromenace.desktop	8 Oct 2007 21:11:21 -0000	1.1
+++ astromenace.desktop	7 Dec 2007 15:06:22 -0000	1.2
@@ -2,7 +2,7 @@
 Type=Application
 Encoding=UTF-8
 Name=Astromenace
-Exec=astromenace-wrapper --noAA --dir=/usr/share/astromenace --mode=12
+Exec=astromenace-wrapper --noAA --dir=/usr/share/astromenace
 Comment=3D space shooter
 Icon=astromenace.png
 Terminal=false


Index: astromenace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/astromenace/devel/astromenace.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- astromenace.spec	8 Oct 2007 21:11:21 -0000	1.1
+++ astromenace.spec	7 Dec 2007 15:06:22 -0000	1.2
@@ -1,15 +1,16 @@
 Name: astromenace
 Version:  1.2
-Release:  3%{?dist}
+Release:  4%{?dist}
 Summary: Hardcore 3D space shooter with spaceship upgrade possibilities  
 
 Group: Amusements/Games 
 License: GPLv3
 URL: http://www.viewizard.com/
-Source0: http://www.viewizard.com/download/AstroMenaceSourceCode_070930.zip
+Source0: http://www.viewizard.com/download/AstroMenaceSourceCode_071105.zip
 Source1: astromenace.desktop
 Source2: astromenace.png
 Patch0: astromenace-langvfs.patch
+Patch1: astromenace-640x480.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
 BuildRequires: cmake, SDL-devel, openal-devel, freealut-devel, libogg-devel
 BuildRequires: libvorbis-devel, libjpeg-devel, desktop-file-utils
@@ -35,6 +36,7 @@
 chmod -x gpl-3.0.txt
 
 %patch0 -p0
+%patch1 -p1
 
 %build
 cmake .
@@ -80,6 +82,10 @@
 %{_datadir}/icons/hicolor/64x64/apps/astromenace.png
 
 %changelog
+* Thu Dec 06 2007 Jon Ciesla <limb at jcomserv.net> - 1.2-4
+- Patch to fix default video mode issue.
+- Update to 071105 source release.
+
 * Mon Oct 08 2007 Jon Ciesla <limb at jcomserv.net> - 1.2-3
 - Added support for opengl-games-utils, .desktop cleanup.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/astromenace/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	8 Oct 2007 21:11:21 -0000	1.2
+++ sources	7 Dec 2007 15:06:22 -0000	1.3
@@ -1 +1 @@
-73fe5a3c2fdcf7a5d33005700f5e60ce  AstroMenaceSourceCode_070930.zip
+f89d13a95fb0d04c5ca6982caa1440c3  AstroMenaceSourceCode_071105.zip




More information about the fedora-extras-commits mailing list