make-googleearth-package doesn't use latest version

Bug #139023 reported by Phaedrus
14
Affects Status Importance Assigned to Milestone
googleearth-package (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: googleearth-package

Google has released a new version (4.2), and it seems they've changed the directory structure of their linux download area.

make-googleearth-package uses http://dl.google.com/earth/GE4/GoogleEarthLinux.bin, which gives you version 4.1.something. The new URL is http://dl.google.com/earth/client/current/GoogleEarthLinux.bin.

Here's a patch (though it's trivial):

root@frankie:~# diff -u /usr/bin/make-googleearth-package ~/make-googleearth-package.new
--- /usr/bin/make-googleearth-package 2007-06-17 00:35:24.000000000 +1000
+++ /root/make-googleearth-package.new 2007-09-12 11:24:31.000000000 +1000
@@ -2,7 +2,7 @@

 GoogleEarth_Package_VERSION="0.2.0"

-GoogleEarth_bin_URL="http://dl.google.com/earth/GE4/GoogleEarthLinux.bin"
+GoogleEarth_bin_URL="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin"
 GoogleEarth_bin="GoogleEarthLinux.bin"

 function usage() {

Revision history for this message
Pär Lindfors (paran) wrote :
Changed in googleearth-package:
status: New → Confirmed
Revision history for this message
Phaedrus (camerons-web) wrote :

Sorry, just tested this, and I'm having problem due to a checksum error in the 4.2 download. I've posted on the googleearth for linux group, and I'm awaiting a response. I'll post again once it's sorted out.

Revision history for this message
Phaedrus (camerons-web) wrote :

The debian 0.3.2 version works fine on my machine (now that google have fixed the problem with their distributable)

The gutsy 0.2.0 version works fine now too, with only a few differences to the debian package script.

root@frankie:~# diff -u make-googleearth-package.new /usr/bin/make-googleearth-package
--- make-googleearth-package.new 2007-09-14 14:20:15.000000000 +1000
+++ /usr/bin/make-googleearth-package 2007-08-26 09:10:01.000000000 +1000
@@ -1,8 +1,8 @@
 #!/bin/bash -e

-GoogleEarth_Package_VERSION="0.2.0"
+GoogleEarth_Package_VERSION="0.3.2"

-GoogleEarth_bin_URL="http://dl.google.com/earth/GE4/GoogleEarthLinux.bin"
+GoogleEarth_bin_URL="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin"
 GoogleEarth_bin="GoogleEarthLinux.bin"

 function usage() {
@@ -52,7 +52,7 @@

   echo $version >&2

- if grep -E 'GNU/Linux 4.[01]' <<<"$version" > /dev/null; then
+ if grep -E 'GNU/Linux 4.[012]' <<<"$version" > /dev/null; then
     GoogleEarth_VERSION=$(sed -e 's/.*GNU\/Linux //' <<<"$version")
     echo 'Supported Google Earth version:' $GoogleEarth_VERSION >&2
   elif [ "$OPT_FORCE" ]; then
@@ -132,7 +132,7 @@
   cat <<EOF >googleearth
 ?package(googleearth): \
   needs="X11" \
- section="Apps/Science" \
+ section="Applications/Science/Geoscience" \
   title="Google Earth" \
   command="/usr/bin/googleearth" \
   icon="/usr/share/pixmaps/googleearth.xpm"

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

This is an old one and has been fixed for awhile. make-googleearth-package builds Google Earth for GNU/Linux 5.1.3533.1731 on Karmic.

Changed in googleearth-package (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.