Author: fourmond
Date: 2007-10-07 13:32:45 +0000 (Sun, 07 Oct 2007)
New Revision: 4357

Added:
   packages/trunk/freecol/debian/patches/25-change-save-dir.dpatch
Modified:
   packages/trunk/freecol/debian/README.Debian
   packages/trunk/freecol/debian/copyright
   packages/trunk/freecol/debian/patches/00list
Log:
[freecol] Moved saves to ~/.freecol + nearly last copyright/author hunt

Modified: packages/trunk/freecol/debian/README.Debian
===================================================================
--- packages/trunk/freecol/debian/README.Debian 2007-10-07 12:47:19 UTC (rev 
4356)
+++ packages/trunk/freecol/debian/README.Debian 2007-10-07 13:32:45 UTC (rev 
4357)
@@ -4,4 +4,8 @@
 This package has been repackaged from source, as upstream tarballs include
 binary-only libraries. This will hopefully change in next releases.
 
+Additionally, the directory for saves has been renamed .freecol, as it
+doesn't clutter home directories this way and seems to be the current 
+(unspoken, at least) policy for games.
+
  -- Vincent Fourmond <[EMAIL PROTECTED]>  Mon, 01 Oct 2007 23:58:51 +0200

Modified: packages/trunk/freecol/debian/copyright
===================================================================
--- packages/trunk/freecol/debian/copyright     2007-10-07 12:47:19 UTC (rev 
4356)
+++ packages/trunk/freecol/debian/copyright     2007-10-07 13:32:45 UTC (rev 
4357)
@@ -18,7 +18,7 @@
     A number of images are fidel copies of objects in the public
     domain and are thus not copyrightable (see for instance 
     http://en.wikipedia.org/wiki/Bridgeman_Art_Library_v._Corel_Corp
-    for more information).
+    for more information). See the list below.
 
     The font data/fonts/ShadowedBlack.ttf is 
     Copyright Paul Lloyd <[EMAIL PROTECTED]>
@@ -28,9 +28,8 @@
 
 License:
 
-    All files except those not copyrightable and
-    data/fonts/ShadowedBlack.ttf are provided under the following
-    conditions:
+    All files except those not copyrightable are provided under the
+    following conditions:
 
     This package is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -49,10 +48,27 @@
 On Debian systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.
 
-ATTENTION !!!
+Here is a list of files that are coming from David Rumsey's Map
+Collection, but are not copyrightable, being fidel copies of original
+artwork long gone into the public domain:
 
-The license for the data/fonts/ShadowedBlack.ttf is not clear yet.
+data/images/ui/bg_map1.jpg
+data/images/ui/military.png
+data/images/ui/political.png
+data/images/ui/religious.png
+data/images/ui/trade.png
+data/images/ui/exploration.png
+data/images/ui/landing.png
 
+The following files are probably subject to the same conditions, but
+that is not yet clear:
 
+data/images/monarch/*
+
+data/images/ui/bg_europe.jpg
+data/images/ui/doi.png
+data/images/ui/map-americas.png
+
+
 The Debian packaging is (C) 2007, Vincent Fourmond <[EMAIL PROTECTED]> and
 is licensed under the GPL, see above.

Modified: packages/trunk/freecol/debian/patches/00list
===================================================================
--- packages/trunk/freecol/debian/patches/00list        2007-10-07 12:47:19 UTC 
(rev 4356)
+++ packages/trunk/freecol/debian/patches/00list        2007-10-07 13:32:45 UTC 
(rev 4357)
@@ -1,3 +1,4 @@
 10-fix-jar-path
 15-fix-jar-manifest
-20-freecol-executable
\ No newline at end of file
+20-freecol-executable
+25-change-save-dir
\ No newline at end of file

Added: packages/trunk/freecol/debian/patches/25-change-save-dir.dpatch
===================================================================
--- packages/trunk/freecol/debian/patches/25-change-save-dir.dpatch             
                (rev 0)
+++ packages/trunk/freecol/debian/patches/25-change-save-dir.dpatch     
2007-10-07 13:32:45 UTC (rev 4357)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 25-change-save-dir.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change the directory for saved games
+
[EMAIL PROTECTED]@
+diff -urNad freecol-0.7.2~/src/net/sf/freecol/FreeCol.java 
freecol-0.7.2/src/net/sf/freecol/FreeCol.java
+--- freecol-0.7.2~/src/net/sf/freecol/FreeCol.java     2007-10-02 
19:40:37.000000000 +0200
++++ freecol-0.7.2/src/net/sf/freecol/FreeCol.java      2007-10-02 
21:24:13.000000000 +0200
+@@ -374,14 +374,14 @@
+      * Creates a freecol dir for the current user.
+      * 
+      * The directory is created within the current user's
+-     * home directory. This directory will be called "freecol"
++     * home directory. This directory will be called ".freecol"
+      * and underneath that directory a "save" directory will
+      * be created.
+      */
+     private static void createAndSetDirectories() {
+         // TODO: The location of the save directory should be determined by 
the installer.;
+         
+-        File mainUserDirectory = new File(System.getProperty("user.home"), 
"freecol");
++        File mainUserDirectory = new File(System.getProperty("user.home"), 
".freecol");
+         if (mainUserDirectory.exists() && mainUserDirectory.isFile()) {
+             logger.warning("Could not create .freecol under "
+                     + System.getProperty("user.home") + " because there "


Property changes on: 
packages/trunk/freecol/debian/patches/25-change-save-dir.dpatch
___________________________________________________________________
Name: svn:executable
   + *


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to