Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoogleEarthPro.yml #492

Open
dezbracaty opened this issue Aug 31, 2021 · 1 comment
Open

GoogleEarthPro.yml #492

dezbracaty opened this issue Aug 31, 2021 · 1 comment

Comments

@dezbracaty
Copy link

I wrote a yml file for google earth pro :

#GoogleEarthPro

Warning: This application currently cannot run on ubuntu 16.04.7 LTS and lower.ONLY ubuntu 18.04LTS and up are supported. Working hard to fix it.

More detail:This application require 3.3.0 of the Protocal Buffer runtime libary to run. however ubuntu 16.04.7LTS came with 2.6.1 version. I'm trying to ask the software developer for help. When there's a fix I will patch it.

#Author: linlinger
app: GoogleEarthPro

ingredients:
packages:
- libasound2
- libc6
- libcups2
- libdbus-1-3
- libfontconfig1
- libfreetype6
- libgcc1
- libglib2.0-0
- libglu1-mesa
- libgstreamer1.0-0
- libgstreamer-plugins-base1.0-0
- libproxy1
- libsm6
- libstdc++6
- libx11-6

dist: bionic
sources:
- deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
#- deb http://cn.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
script:
- wget https://dl.google.com/dl/linux/direct/google-earth-pro-stable_7.3.4_amd64.deb

script:

  • sed -e 's/Application;//' -e 's/MultipleArgs/X-MultipleArgs/' ./opt/google/earth/pro/google-earth-pro.desktop >> ./google-earth-pro.desktop
  • cp opt/google/earth/pro/product_logo_256.png ./google-earth-pro.png
  • echo '#!/bin/bash
  • HERE="$(dirname "$(readlink -f "${0}")")"
  • export LD_LIBRARY_PATH="$HERE/usr/lib":$LD_LIBRARY_PATH
  • export LD_LIBRARY_PATH="$HERE/usr/lib/i386-linux-gnu":$LD_LIBRARY_PATH
  • export LD_LIBRARY_PATH="$HERE/lib":$LD_LIBRARY_PATH
  • export LD_LIBRARY_PATH="$HERE/lib/i386-linux-gnu":$LD_LIBRARY_PATH
  • "$HERE/opt/google/earth/pro/googleearth" "$@" | cat' > AppRun
@probonopd
Copy link
Member

probonopd commented Aug 31, 2021

Thanks @dezbracaty. Cool!

18.04 "Bionic Beaver" is currently the oldest still-supported Ubuntu release, so I guess it should be ok for most purposes.

Please do send a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants