Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
googleearth workaround possible?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Wed Jan 08, 2014 8:39 am    Post subject: googleearth workaround possible? Reply with quote

I know this has been dealt with many times. We all know that Google is the culprit.
But shouldn´t it be possible to find a - dirty - workaround?
Code:
>>> Emerging (1 of 1) sci-geosciences/googleearth-7.1.1.1888
>>> Downloading
'http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb'
--2014-01-08 09:04:00--
http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
Resolving dl.google.com... 173.194.69.93, 173.194.69.190, 173.194.69.136, ...
Connecting to dl.google.com|173.194.69.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46544886 (44M) [application/x-debian-package]
Saving to: ‘/usr/portage/distfiles/GoogleEarthLinux-7.1.1.1888_amd64.deb’

100%[======================================>] 46.544.886  5,35MB/s   in 13s

2014-01-08 09:04:13 (3,42 MB/s) -
‘/usr/portage/distfiles/GoogleEarthLinux-7.1.1.1888_amd64.deb’ saved [46544886/46544886]

!!! Fetched file: GoogleEarthLinux-7.1.1.1888_amd64.deb VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      46544886
!!! Expected: 46428510
Refetching... File renamed to
'/usr/portage/distfiles/GoogleEarthLinux-7.1.1.1888_amd64.deb._checksum_failure_.cfzrzp'

!!! Couldn't download 'GoogleEarthLinux-7.1.1.1888_amd64.deb'. Aborting.
 * Fetch failed for 'sci-geosciences/googleearth-7.1.1.1888', Log file:
 *  '/var/log/portage/sci-geosciences:googleearth-7.1.1.1888:20140108-080400.log'
 * Wrong checksum or file size means that Google silently replaced the distfile with a newer
version.
 * Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow
the bump.
 * Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for
googleearth first!).                                                                                  $
 * By redigesting the file yourself, you will install a different version than the ebuild says,
untested!                                                                                             $

>>> Failed to emerge sci-geosciences/googleearth-7.1.1.1888, Log file:

>>>  '/var/log/portage/sci-geosciences:googleearth-7.1.1.1888:20140108-080400.log'

 * Messages for package sci-geosciences/googleearth-7.1.1.1888:

 * Fetch failed for 'sci-geosciences/googleearth-7.1.1.1888', Log file:
 *  '/var/log/portage/sci-geosciences:googleearth-7.1.1.1888:20140108-080400.log'

If I use the existing ebuild how can I redigest the file just to make googleearth work again; at least for the time being so that
I can work with it?

Never done this before so please don´t be too impatient with me. :D
Back to top
View user's profile Send private message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 581

PostPosted: Wed Jan 08, 2014 9:58 am    Post subject: Reply with quote

easiest way would be to create an own overlay. Ever used an overlay??

Then copy the sci-geosciences/googleearth folder to your overlay and rename the latest ebuild to 7.1.1.1889 or whatever
then you have to recreate the manifest by using

Code:


ebuild "EBUILD_FILE" manifest

Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Wed Jan 08, 2014 4:08 pm    Post subject: Reply with quote

Yeah, used overlay already but never a personal. Overlay sounds like a good idea
idea: does not interfere too much with portage.
Might give it a try :wink:

But what do I do with the folder sci-geosciences/googleearth in /usr/portage/ ?
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Wed Jan 08, 2014 5:07 pm    Post subject: Reply with quote

Another silly question:
http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
is where you get the recent version from.
But how do I know the version number, so that I can properly name the ebuild?
Or do I miss something here?
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Wed Jan 08, 2014 5:43 pm    Post subject: Reply with quote

Awesome, thank you bastibasti, it worked.
Photos won´t get loaded and I haven´t tested everything yet
but at least I´ve got it back.

8)
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Wed Jan 15, 2014 8:02 am    Post subject: Reply with quote

transsib wrote:
Awesome, thank you bastibasti, it worked.
Photos won´t get loaded and I haven´t tested everything yet
but at least I´ve got it back.

8)


can you give more detailed steps to install the googleearth latest version pls.
i already hae a /usr/local/portage/geo-sciences folder
i cannot seem to extract the .deb file downloaded
any help welcome
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
epsilon72
Guru
Guru


Joined: 20 Sep 2007
Posts: 568

PostPosted: Wed Jan 15, 2014 1:43 pm    Post subject: Reply with quote

As bastibasti said the easiest way to emerge googleearth is to copy the ebuild to your own overlay. However, if googleearth is very crash-prone on your system like it is on mine, you might want to consider copying the windows version of googleearth from a Windows install and running it with wine - it uses opengl, doesn't crash, and photos even work!
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Wed Jan 15, 2014 4:45 pm    Post subject: Reply with quote

epsilon72 wrote:
As bastibasti said the easiest way to emerge googleearth is to copy the ebuild to your own overlay. However, if googleearth is very crash-prone on your system like it is on mine, you might want to consider copying the windows version of googleearth from a Windows install and running it with wine - it uses opengl, doesn't crash, and photos even work!


I can vouch for the wine approach. For a year now, the native Google Earth for linux has been a crashing mess for me. That, combined with Google's refusal to make properly versioned releases available have resulted in it being completely hard-masked in portage. I gave the wine approach a shot and it seems rock solid to me so far.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Wed Jan 15, 2014 5:36 pm    Post subject: Reply with quote

I couldn´t ever get Wine to work properly. But if the Windows version runs fine
from within Wine I might give it another chance. At least it sounds like a better idea
and worth trying.

@padoor
If you still want to go the overlay-way this is a nice Howto :
http://wiki.gentoo.org/wiki/Overlay/Local_overlay
Don´t forget to copy the "files" folder too; because of the patches in there.
I did the
Code:
ebuild googleearth-7.1.1.1888.ebuild manifest
from
inside the sci-geosciences/googleearth folder
before the "repoman manifest" command although I am not sure if that´s really necessary
or just some kind of superstition.
You can emerge googleearth after that just fine.
Back to top
View user's profile Send private message
Aiken
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Wed Jan 15, 2014 9:28 pm    Post subject: Reply with quote

The steps I just used to try the latest google earth

1. Download the latest stable. In this example the 32 bit version
2. ar x ../google-earth-stable_current_i386.deb
3. tar zxf control.tar.gz
4. cat control and check the Version line which I found to be 7.1.2.2041
5. cd /usr/local/portage/sci-geosciences/googleearth
6. cp googleearth-7.1.1.1888.ebuild googleearth-7.1.2.2041.ebuild
7. ebuild googleearth-7.1.2.2041.ebuild digest

edit: in the files directory also cp googleearth-7.1.1.1888-desktopfile.patch googleearth-7.1.2.2041-desktopfile.patch

Mine use to crash a lot. It would segfault every time if http_proxy was set when trying to use the curl library. These days I use
Code:

#!/bin/bash

unset ftp_proxy
unset http_proxy
googleearth

_________________
Beware the grue.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Thu Jan 16, 2014 2:00 pm    Post subject: Reply with quote

How do you install googlearth on wine? :oops:
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Thu Jan 16, 2014 3:29 pm    Post subject: Reply with quote

Well, as epsilon72 mentioned, you have to pull it after it's installed on a Windows PC (a VM works nicely)...I couldn't find any way to get the native installer to work in wine. From the Windows system, just copy C:\Program Files\Google\Google Earth directory to you're virtual 'C:' drive in your .wine directory. That's it. You can then run the googleearth.exe executable under wine. I'm running KDE and set up a desktop icon for it.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Thu Jan 16, 2014 6:08 pm    Post subject: Reply with quote

platojones said:
Quote:
I couldn't find any way to get the native installer to work in wine.

:P I already found that out. Thanks for your input.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Thu Jan 16, 2014 7:21 pm    Post subject: Reply with quote

Why creating a new ebuild ? Even googleearth-7.1.1.1888.ebuild does download the latest GE source code
Code:
$ cat control
Package: google-earth-stable
Version: 7.1.2.2041-r0
Architecture: i386
which BTW is one among many other reasons why the digest often fails and the Gentoo dev stopped to maintain the ebuild in stable tree.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Thu Jan 16, 2014 8:00 pm    Post subject: Reply with quote

I am curious toralf, what are you referring to?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Thu Jan 16, 2014 8:06 pm    Post subject: Reply with quote

transsib wrote:
I am curious toralf, what are you referring to?
Oops - to Aiken's post :
Quote:
he steps I just used to try the latest google earth

1. Download the latest stable. In this example the 32 bit version
2. ar x ../google-earth-stable_current_i386.deb
3. tar zxf control.tar.gz
4. cat control and check the Version line which I found to be 7.1.2.2041
5. cd /usr/local/portage/sci-geosciences/googleearth
6. cp googleearth-7.1.1.1888.ebuild googleearth-7.1.2.2041.ebuild
7. ebuild googleearth-7.1.2.2041.ebuild digest
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2581
Location: Here and Away Again

PostPosted: Thu Jan 16, 2014 8:42 pm    Post subject: Reply with quote

With regards to Wine, I tried version 7.1.2.2041 (no thanks to Google Earth download-page; oh you, Google you, how thee manage to find new ways to annoy me).

Installed and runs just fine 'out-of-the-box' here (tested with Wine 1.7.10 and 1.7.10-290-g2b8e900 in both, 32 and 64-bit prefixes).


Graphics are messed up... but that wasn't the point! ^^;
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Aiken
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Thu Jan 16, 2014 10:04 pm    Post subject: Reply with quote

toralf wrote:
Why creating a new ebuild ? Even googleearth-7.1.1.1888.ebuild does download the latest GE source code


Why not create a new ebuild? 6 desktops use my overlay. A new ebuild means each of those computers will get the new version at their next sync and emerge -uDN world. That is preferable to going to each computer and manually doing it with the same version ebuild.

For a single computer in the past I have used the same ebuild and created a new Manifest for it but in this case I would rather do it once with a new version than do it many times fudging the old version.
_________________
Beware the grue.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Fri Jan 17, 2014 2:35 pm    Post subject: Reply with quote

Chitoo said:
Quote:
Installed and runs just fine 'out-of-the-box' here (tested with Wine 1.7.10 and 1.7.10-290-g2b8e900 in both, 32 and 64-bit prefixes).

Mehhh whatever ... :lol:

Wine still doesn´t work here; cannot even run Steam or even start it.
As long as googleearth on my overlay works as nicely as it does I am happy.
I don´t need the fotos; the links work and I can work with it. I won´t tinker around
with it any longer. It´s not worth it.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Fri Jan 17, 2014 4:21 pm    Post subject: Reply with quote

Aiken wrote:
toralf wrote:
Why creating a new ebuild ? Even googleearth-7.1.1.1888.ebuild does download the latest GE source code


Why not create a new ebuild? 6 desktops use my overlay. A new ebuild means each of those computers will get the new version at their next sync and emerge -uDN world. That is preferable to going to each computer and manually doing it with the same version ebuild.

For a single computer in the past I have used the same ebuild and created a new Manifest for it but in this case I would rather do it once with a new version than do it many times fudging the old version.
The 7.1.1.188 ebuild downloads and installs the 7.1.1.2041 version - check it in GE under "Help". And again - this behaviour is the root cause of the Gentoo dev to retire from maintaining a stable version of the ebuild.
Back to top
View user's profile Send private message
Aiken
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Fri Jan 17, 2014 8:51 pm    Post subject: Reply with quote

Don't need to convince me that works. You are trying to tell me it works while quoting where I said I have done this so I already know it works. Why google earth is masked is old news.

You also quoted my use case. Why would I want to manually upgrade google earth on each of those computer when a version bump of the ebuild in my overlay would automatically trigger an upgrade on those 6 computers? If the version number on the ebuild is left the same I would have to manually upgrade each.
_________________
Beware the grue.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2581
Location: Here and Away Again

PostPosted: Fri Jan 17, 2014 9:06 pm    Post subject: Reply with quote

transsib wrote:
Wine still doesn´t work here; cannot even run Steam or even start it.

Well that certainly doesn't seem right! ^^

In case you're not familiar with Wine, as a quick note I will say that it is best to cd into the path of the executable before running it. Doing that, and running the application from the terminal is usually more than helpful, as it will often also provide helpful messages for when the thing does not run as expected.


But yeah, that is as they say, that, and I would pursue that in its own topic so as to not go more off of it here.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Jan 18, 2014 3:47 pm    Post subject: Reply with quote

Hmpf, is Google going back to Windows?

Google Earth Linux version isn't usable in any way. It crashes all the time. So I tried Chiitoos approch and downloaded the Windows version. It installs, starts and runs smoothly. Even the fotos and streetview work perfectly. Only the 3d buildings cause some freezing problems.

Shame on you, Google!
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sat Jan 18, 2014 4:25 pm    Post subject: Reply with quote

Chitoo said:
Quote:
I would pursue that in its own topic

Yeah, already done that a bit and made some stuff work, also by starting
it from a terminal, which is indeed the best way to troubleshoot issues.
Got Steam working now and will get back to Googleearth as soon as Google
changes the situation in ways that make maintaining my overlay difficult or
the application unusable.

musv said:
Quote:
Hmpf, is Google going back to Windows?

Looks like it; seems like Google believes it doesn´t need the open source community any more.
Google has different plans :wink:
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2036
Location: United Kingdom

PostPosted: Fri Mar 28, 2014 9:37 pm    Post subject: Reply with quote

transsib wrote:
platojones said:
Quote:
I couldn't find any way to get the native installer to work in wine.

:P I already found that out. Thanks for your input.

If you download the Windows Google Earth installer from the Google Web site, what you get is a file GoogleEarthWin.exe that is 534.6 KiB in size. However, you can download the Offline Installer from the following URL:

http://dl.google.com/earth/client/advanced/current/GoogleEarthWin.exe

and then you get a file GoogleEarthWin.exe that is 24.3 MiB in size, which does run in WINE and does install the Windows version of Google Earth in WINE.

However, when I launch Google Earth installed using the Offline Installer it crashes in exactly the same way as Google Earth crashes if I have copied the C:\Program Files (x86)\Google\Google Earth\ directory from a Windows PC to the virtual C:\ drive in my .wine directory. :(

So neither the native Linux version in Gentoo nor the Windows version under WINE work for me. It's bloody annoying.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum