packages: josm/josm.spec, josm/josm-exception.patch (NEW) - Version: 3751 -...

jajcus jajcus at pld-linux.org
Sat Jan 8 19:41:13 CET 2011


Author: jajcus                       Date: Sat Jan  8 18:41:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Version: 3751
- patch to fix two 'unreported exception' compiletion error – why do _we_ need it if this is an official stable snapshot?

---- Files affected:
packages/josm:
   josm.spec (1.25 -> 1.26) , josm-exception.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/josm/josm.spec
diff -u packages/josm/josm.spec:1.25 packages/josm/josm.spec:1.26
--- packages/josm/josm.spec:1.25	Tue Dec  7 12:49:32 2010
+++ packages/josm/josm.spec	Sat Jan  8 19:41:08 2011
@@ -3,15 +3,16 @@
 Summary:	Java OpenStreetMap Editor
 Summary(pl.UTF-8):	Edytor OpenStreetMap w Javie
 Name:		josm
-Version:	3701
+Version:	3751
 Release:	1
 License:	GPL v2+
 Group:		Applications
 # this should be the 'tested' snapshot, as list on the web page
 # svn export -r%{version} http://josm.openstreetmap.de/svn/trunk josm-src-snapshot-%{version}
 Source0:	%{name}-src-snapshot-%{version}.tar.bz2
-# Source0-md5:	08342ab1da6f5a8aa4165d481da26b58
+# Source0-md5:	1a65b0edc7b38f0982b30eb827b193cf
 Patch0:		%{name}-version.patch
+Patch1:		%{name}-exception.patch
 URL:		http://josm.openstreetmap.de/
 BuildRequires:	ant
 %buildrequires_jdk
@@ -30,6 +31,7 @@
 %setup -qn %{name}-src-snapshot-%{version}
 %undos build.xml
 %patch0 -p1
+%patch1 -p1
 
 %build
 echo "%{version}" > rpm_version
@@ -63,6 +65,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2011/01/08 18:41:08  jajcus
+- Version: 3751
+- patch to fix two 'unreported exception' compiletion error – why do _we_ need it if this is an official stable snapshot?
+
 Revision 1.25  2010/12/07 11:49:32  jajcus
 - Version: 3701
 

================================================================
Index: packages/josm/josm-exception.patch
diff -u /dev/null packages/josm/josm-exception.patch:1.1
--- /dev/null	Sat Jan  8 19:41:13 2011
+++ packages/josm/josm-exception.patch	Sat Jan  8 19:41:08 2011
@@ -0,0 +1,27 @@
+--- josm-src-snapshot-3751/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java~	2010-12-15 18:32:31.000000000 +0100
++++ josm-src-snapshot-3751/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java	2011-01-08 13:55:54.000000000 +0100
+@@ -164,6 +164,8 @@
+             // while creating the cachedLoader
+             //
+             cachedLoader = null;
++        } catch (IOException e) {
++            cachedLoader = null;
+         }
+         uncachedLoader = new OsmTileLoader(this);
+         setZoomContolsVisible(false);
+--- josm-src-snapshot-3751/src/org/openstreetmap/josm/gui/layer/TMSLayer.java~	2010-12-23 15:38:34.000000000 +0100
++++ josm-src-snapshot-3751/src/org/openstreetmap/josm/gui/layer/TMSLayer.java	2011-01-08 19:01:05.000000000 +0100
+@@ -250,7 +250,12 @@
+         }
+         clearTileCache();
+         //tileloader = new OsmTileLoader(this);
+-        tileLoader = new OsmFileCacheTileLoader(this);
++	try {
++        	tileLoader = new OsmFileCacheTileLoader(this);
++	}
++	catch (IOException err) {
++	    err.printStackTrace();
++	}
+     }
+ 
+     @Override
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/josm/josm.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list