Author: emes                         Date: Wed Sep 30 02:21:52 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added patch fixing decimal separator bug

---- Files affected:
packages/GoogleEarth:
   GoogleEarth.spec (1.26 -> 1.27) , GoogleEarth-decimal_separator.patch (NONE 
-> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/GoogleEarth/GoogleEarth.spec
diff -u packages/GoogleEarth/GoogleEarth.spec:1.26 
packages/GoogleEarth/GoogleEarth.spec:1.27
--- packages/GoogleEarth/GoogleEarth.spec:1.26  Wed Sep 30 00:52:29 2009
+++ packages/GoogleEarth/GoogleEarth.spec       Wed Sep 30 04:21:46 2009
@@ -15,6 +15,7 @@
 # NoSource0-md5:       ec0491757d3627cd3981f390b093596b
 NoSource:      0
 Source1:       %{name}.desktop
+Patch0:                %{name}-decimal_separator.patch
 URL:           http://earth.google.com/
 Suggests:      fonts-TTF-bitstream-vera
 ExclusiveArch: %{ix86}
@@ -49,6 +50,8 @@
 tar -xvf googleearth-linux-x86.tar
 tar -xvf googleearth-data.tar
 
+%patch0 -p1
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_google_data_path}} \
@@ -155,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2009/09/30 02:21:46  emes
+- added patch fixing decimal separator bug
+
 Revision 1.26  2009/09/29 22:52:29  emes
 - 5.1.3509.4636
 

================================================================
Index: packages/GoogleEarth/GoogleEarth-decimal_separator.patch
diff -u /dev/null packages/GoogleEarth/GoogleEarth-decimal_separator.patch:1.1
--- /dev/null   Wed Sep 30 04:21:52 2009
+++ packages/GoogleEarth/GoogleEarth-decimal_separator.patch    Wed Sep 30 
04:21:46 2009
@@ -0,0 +1,17 @@
+diff -ur GoogleEarth-5.vanilla/bin/googleearth GoogleEarth-5/bin/googleearth
+--- GoogleEarth-5.vanilla/bin/googleearth      2009-09-18 00:28:01.000000000 
+0200
++++ GoogleEarth-5/bin/googleearth      2009-09-30 04:59:17.982224024 +0200
+@@ -46,6 +46,13 @@
+ if [ -x "${GOOGLEEARTH_DATA_PATH}/googleearth-bin" ]
+ then
+       cd "${GOOGLEEARTH_DATA_PATH}/"
++      # WARNING!
++      #
++      # This is a workaround for GoogleEarth bug. With some locales GE uses 
comma as
++      # decimal separator while parsing KML files. It renders virtually all 
data
++      # unusable. Ensure the LC_NUMERIC is set to US standard (dot-separated).
++      #
++      LC_NUMERIC="en_US"
+       exec "./googleearth-bin" "$@"
+ fi
+ echo "Couldn't run Google Earth (googleearth-bin). Is GOOGLEEARTH_DATA_PATH 
set?"
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to