SOURCES: opencity-desktop.patch, opencity-config_dir.patch - adapt...

lisu lisu at pld-linux.org
Sat Dec 8 16:59:42 CET 2007


Author: lisu                         Date: Sat Dec  8 15:59:42 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adapted for 0.0.5beta version

---- Files affected:
SOURCES:
   opencity-desktop.patch (1.1 -> 1.2) , opencity-config_dir.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/opencity-desktop.patch
diff -u SOURCES/opencity-desktop.patch:1.1 SOURCES/opencity-desktop.patch:1.2
--- SOURCES/opencity-desktop.patch:1.1	Sun Oct 29 16:55:06 2006
+++ SOURCES/opencity-desktop.patch	Sat Dec  8 16:59:36 2007
@@ -1,24 +1,20 @@
---- opencity-0.0.4stable/OpenCity.desktop~	2006-10-29 16:41:48.000000000 +0100
-+++ opencity-0.0.4stable/OpenCity.desktop	2006-10-29 16:41:24.000000000 +0100
-@@ -1,13 +1,17 @@
- [Desktop Entry]
--Categories=Game
-+Categories=Game;Simulation;
+--- opencity-0.0.5beta/opencity.desktop~	2007-12-08 15:24:40.000000000 +0100
++++ opencity-0.0.5beta/opencity.desktop	2007-12-08 15:24:39.000000000 +0100
+@@ -3,10 +3,14 @@
+ Encoding=UTF-8
  Comment=A 3D city simulator
- Comment[fr]=Jeu de simulation de Ville en OpenGL
+ Comment[fr]=Jeu de simulation de Ville en 3D
+-Categories=Game;StrategyGame;
 +Comment[pl]=Trójwymiarowy symulator miasta
- Encoding=UTF-8
++Categories=Game;Simulation;
  Exec=opencity
  GenericName=City simulator
  GenericName[fr]=Simulateur de ville
--Icon=OpenCity
 +GenericName[pl]=Symulator miasta
-+Icon=opencity.png
- Name=OpenCity
- Name[fr]=OpenCity
-+Name[pl]=OpenCity
+ Icon=opencity.png
  Terminal=false
 -Type=Application
 \ Brak znaku nowej linii na koñcu pliku
 +Type=Application
 +# vi: encoding=utf-8
++

================================================================
Index: SOURCES/opencity-config_dir.patch
diff -u SOURCES/opencity-config_dir.patch:1.1 SOURCES/opencity-config_dir.patch:1.2
--- SOURCES/opencity-config_dir.patch:1.1	Sun Oct 29 16:54:12 2006
+++ SOURCES/opencity-config_dir.patch	Sat Dec  8 16:59:36 2007
@@ -1,11 +1,14 @@
---- opencity-0.0.4stable/src/main.cpp~	2006-10-25 20:51:30.000000000 +0200
-+++ opencity-0.0.4stable/src/main.cpp	2006-10-29 15:52:06.000000000 +0100
-@@ -127,7 +127,7 @@
- 	static int flags = 0;
+--- opencity-0.0.5beta/src/main.cpp~	2007-12-08 17:28:08.000000000 +0100
++++ opencity-0.0.5beta/src/main.cpp	2007-12-08 17:28:03.000000000 +0100
+@@ -132,9 +132,9 @@
+ 	static int flags			= 0;
  
- /// Static so that the others can not access this
--	static string gsHomeDir		= "";
-+	static string gsHomeDir		= "/usr/share/opencity/";
- 	static string gsSaveDir		= "";
+ /// The paths are static so that the others can not access this
+-	static string sHomeDir		= "";
++	static string sHomeDir		= "/usr/share/opencity/";
+ 	static string sSaveDir		= "";
+-	static string sConfigDir	= "";
++	static string sConfigDir	= "/usr/share/opencity/";
  
  
+    /*=====================================================================*/
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/opencity-desktop.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/opencity-config_dir.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list