rpms/xmoto/F-7 xmoto-GameInit1685.patch, NONE, 1.1 xmoto-GameInit1720.patch, NONE, 1.1 xmoto.spec, 1.20, 1.21

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Tue Sep 25 10:18:42 UTC 2007


Author: limb

Update of /cvs/pkgs/rpms/xmoto/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6706

Modified Files:
	xmoto.spec 
Added Files:
	xmoto-GameInit1685.patch xmoto-GameInit1720.patch 
Log Message:
Patches from upstream to correct BZ 295981.


xmoto-GameInit1685.patch:

--- NEW FILE xmoto-GameInit1685.patch ---
--- src/GameInit.cpp	(revision 1684)
+++ src/GameInit.cpp	(revision 1685)
@@ -513,6 +513,7 @@
       m_pCursor = NULL;
 
       /* Fetch highscores from web? */
+      m_pWebRooms = new WebRooms(&m_ProxySettings);
       m_pWebHighscores = new WebRoom(&m_ProxySettings);      
       m_pWebHighscores->setWebsiteInfos(m_WebHighscoresIdRoom,
 					m_WebHighscoresURL);

xmoto-GameInit1720.patch:

--- NEW FILE xmoto-GameInit1720.patch ---
--- src/GameInit.cpp	(revision 1719)
+++ src/GameInit.cpp	(revision 1720)
@@ -610,6 +610,9 @@
       }
     }
 
+    /* build handler */
+    m_InputHandler.init(&m_Config); // must be initialized before call to drawFrame
+
     /* final initialisation */
     Logger::Log("UserPreInit ended at %.3f", GameApp::getXMTime());
     /* display what must be displayed */
@@ -630,9 +633,6 @@
     
     /* load levels lists */
     _UpdateLevelsLists();
-    
-    /* build handler */
-    m_InputHandler.init(&m_Config);
 
     /* load cursor */
     pSprite = m_theme.getSprite(SPRITE_TYPE_UI, "Cursor");


Index: xmoto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xmoto/F-7/xmoto.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- xmoto.spec	29 Aug 2007 17:35:47 -0000	1.20
+++ xmoto.spec	25 Sep 2007 10:18:09 -0000	1.21
@@ -1,6 +1,6 @@
 Name:		xmoto
 Version:	0.3.3
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Challenging 2D Motocross Platform Game
 
 Group:		Amusements/Games
@@ -10,6 +10,9 @@
 Source1:	xmoto.desktop
 Source2:	xmoto.png
 Patch0:		xmoto-man.patch
+Patch1:		xmoto-GameInit1685.patch
+Patch2:		xmoto-GameInit1720.patch
+#patches 1 and 2 should be fixed in 0.3.4
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	desktop-file-utils
@@ -37,6 +40,8 @@
 %prep
 %setup -q
 %patch0
+%patch1
+%patch2
 #fix encoding
 sed -i 's/\r//' src/xmscene/Camera.cpp
 sed -i 's/\r//' src/xmscene/Camera.h
@@ -89,6 +94,9 @@
 
 
 %changelog
+* Mon Sep 24 2007 Jon Ciesla <limb at jcomserv.net> 0.3.3-2
+- Patches from upstream to correct BZ 295981.
+
 * Wed Aug 29 2007 Jon Ciesla <limb at jcomserv.net> 0.3.3-1
 - Bumped to upstream.
 - Fixed URL.




More information about the fedora-extras-commits mailing list