summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-geosciences/googleearth/ChangeLog9
-rw-r--r--sci-geosciences/googleearth/Manifest16
-rw-r--r--sci-geosciences/googleearth/files/googleearth-7.0.2.8415-desktopfile.patch17
-rw-r--r--sci-geosciences/googleearth/googleearth-7.0.2.8415.ebuild193
4 files changed, 230 insertions, 5 deletions
diff --git a/sci-geosciences/googleearth/ChangeLog b/sci-geosciences/googleearth/ChangeLog
index e53d35e89187..97db7e6fefb1 100644
--- a/sci-geosciences/googleearth/ChangeLog
+++ b/sci-geosciences/googleearth/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-geosciences/googleearth
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.37 2013/02/02 12:19:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.38 2013/02/02 13:23:15 hasufell Exp $
+
+*googleearth-7.0.2.8415 (02 Feb 2013)
+
+ 02 Feb 2013; Julian Ospald <hasufell@gentoo.org>
+ +googleearth-7.0.2.8415.ebuild,
+ +files/googleearth-7.0.2.8415-desktopfile.patch:
+ version bump wrt #351817
02 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup up due #48914
diff --git a/sci-geosciences/googleearth/Manifest b/sci-geosciences/googleearth/Manifest
index 2352e943b691..690ae8cda4d0 100644
--- a/sci-geosciences/googleearth/Manifest
+++ b/sci-geosciences/googleearth/Manifest
@@ -2,6 +2,7 @@
Hash: SHA256
AUX decimal-separator.patch 324 SHA256 5c1ffe3cb7b7328245d92c627f8b8d963a9a2aab67c70b5387b151f78b04c051 SHA512 e158ad397af8f2f14e417b90c4c415ded34f27c513d0c651c8c5b242876625ba0c2f3167d7c4a401dfa0c2e2ab8ef0b7974df3df8a7a685fa59b928cc2aa36d5 WHIRLPOOL 8b6432a88e776b18ddaebab211d45a723562df32b523f686cbe9bf1ccdabfd5f594dd75c4a13bae641a29b80fddd1678e94e571983dc0a8b7e080f4fd716ddeb
+AUX googleearth-7.0.2.8415-desktopfile.patch 646 SHA256 9b69e401ea0a6c70c69c5f7848c1a62bd99096233742bfb2b9c006b67c2f0f3c SHA512 91beacecc5dc4dd7b8f37ccf4f6470356c162e5cc45ce23b8bd9c34b5f88a05c9f9d707f6d1d1093fbe71246f00c73152405c882f1991708651defd2c322e47f WHIRLPOOL 14529b9b4e934831d31196273b7de9f29700f4bd9b69c9b098c739d80eabd1f4f9eebec17f8ac0a1919537803951dfee3900b25389c72b5a8f34241a5c2f3cf1
AUX googleearth-mimetypes.xml 638 SHA256 71e57a7370dc2c0eb6b85e2bbb5282ed7a7542e58f849a20282b1627cef9b2b9 SHA512 47c855b0a3c2ad0e8951f238411ef99f029c3f9079803d4063072fa03b4fe02c69fc57ae9cc599d0bb5d1b3b584d73928b2eea6a4faded8f0074139a5c08a79c WHIRLPOOL edac2920e71b589668fff0f83dc96c8e088c4894156f2f3d6b69cb6043e71bf59d5b2584bebf5169ee3fe07501c8fcf7f30c664bd5466e6df0179bfff8215510
AUX mime-magic.patch 572 SHA256 302bfab0aa2edd09a2a83f7040de4dcc09998e822555b85242e2e8cb05fb3a12 SHA512 75257361e040ca14bf501991cf50e0fe02fef1be2abc792493883f0e330d36348241b1f6375b2154cd5835a8d37141cc7bc1ff02ec13a1cd01021d67c1f8b663 WHIRLPOOL 8853610b67004150ded78b71f18e95ddc007d8de988a0ba351519bca775b19d496b07669b131ef4fba3b5a03ac70ecfb8b1e13b221ecd8f587339fa6d61a39cd
DIST GoogleEarthLinux-5.1.3535.3218.bin 25932414 SHA256 f721e4e8db3a7351c77a8aea425ec334ff01e163481cbcf6cdda9dbb0ad422ac SHA512 97b1af077e8fc4ec19e8824d0996c5bbf5f3347e6a6f9a2c5b1cf48b76c5ced81e7462a4335d23ef2cbaf1ea361d861e4cecec0b209653f7a3ff9c1be1b65479 WHIRLPOOL bc7088a960aa5fc96b8148f55176916867858028ff09dc5ee90d7a11586733ef0c9e697bd8d956ce07330d722208ecdb14534b745caab169e7312b97616e96af
@@ -9,18 +10,25 @@ DIST GoogleEarthLinux-5.2.1.1588.bin 31406473 SHA256 2e6fcbd2384446e2a6eed8ca231
DIST GoogleEarthLinux-6.0.2.2074.bin 33685323 SHA256 06cf414d783617a0f7bade21bcc238997140701db6a5cbdf58413cd44f9f5727
DIST GoogleEarthLinux-6.0.3.2197.bin 33688483 SHA256 8c1cabb6a196e93224be05bd8a4786087813075f76e1734a17680c30a9ad972d
DIST GoogleEarthLinux-6.2.2.6613_amd64.deb 25609162 SHA256 a67021ed74fd1821ba0a63e141320ca0bcd78ab618dd368629e500d208d12525
+DIST GoogleEarthLinux-7.0.2.8415_amd64.deb 30832428 SHA256 878e8a23ada537ae5ab28221ec46a45c425bdd80ee68027f56510f039b6a6c87 SHA512 0ff0ef4065896ce24f23b97e3a5c0a93763956779bb1e01f7eaee30268eb6bb1d28d2b59099a3a426477701cfe227b0542637fda68a40ba941bc3bd4246a7ebb WHIRLPOOL b4f056c8ddd9d63a041bc5a194d251d9b20a1f8993a1f32bacd76a6721571d0a60d6083edd6a092bcdda6aa1fb17cb29469d40171089143930dd8a730c68ccba
DIST GoogleEarthLnux-6.2.2.6613_i386.deb 25620810 SHA256 e309ce1493dec6abc742037b1e6822b08771827db59ee7e5d5da56cb40c92111
+DIST GoogleEarthLnux-7.0.2.8415_i386.deb 30809718 SHA256 a7c2fd63e5e9d25a4f3f599d3c4470a285db8bb7c5981db409a1ebb19ebdb6e1 SHA512 1bdbd14e017244f8ecf5b67f115bddd400c1ac5d0bcd1b9ae7e1d676f62e838c84b13f2aa410d0dad8084db6a72235e80b8d16754b3714f13341de11fea28119 WHIRLPOOL b53a364b01de459761a03ebfbae89704b02cef979fad9da1d2d8c438643d1f914d464e0297daa5a05e1a8004ec8bc052a32f90f8a85f4de7a7a9dab2bdd8d1a6
EBUILD googleearth-5.1.3535.3218-r1.ebuild 4338 SHA256 5940cef1d856f7a05d550aca73f557c2593194e793a98c9dda468266ea90fbd7 SHA512 662bc105c49db0f8838deda11e23e9d61e7fc9f7003dd62fbe22b939986c55a9043f504e93862e152d9e89af4b0bcb337d516c98e30177c645e7255ac23eafa5 WHIRLPOOL 85aac40d8101d288ad351646653aff0b6ae168605fcfb94766f3b406dd718934b2aba7494dab46e23cfffa30bce9cd2dc8d7276603f9c1a19c8f74928ba6a1a0
EBUILD googleearth-5.2.1.1588.ebuild 5050 SHA256 d255198952a233dd2ef0b3b38a94f917134e4ce45feeb7475432ac55bb4380fb SHA512 e2ac3c89a1927ab6b148443faf21dd470bcbfc12ba47f396df224ef7b1678925fd32de5460cb5ad5cc0895c7d835444c5cb3e3864fbb87d3a3a7c7b3c1d2583e WHIRLPOOL 463d2c5f7f38a7b98ff0f99327ac1905e6df2d65565ce2b832628da722b26e9cc9ae1a391b4a0419bc258b7abcd1761a65b683fe3e7eee9dc7b5ffa084765ba2
EBUILD googleearth-6.0.2.2074.ebuild 5594 SHA256 be46e5b760b61cdb03c2eb619fd3136e8dcee2c65e805ba96cf3b3723116fed1 SHA512 c571bc7598e8d6723d48ab09aab969ac37449db37c3ca264905b45840169a3ba5115882735a73fe96b21e62b06ccc40364d0640d0130947e227f9296c27bbd96 WHIRLPOOL d8f216b7028e4a5ec8ecb3cdf15db01e515e3bb64e1db79f0935fc660c650343b0a287c067cfd0d88087bedf6a3ee5e90e5efc0e1585d7f8f40aaa3569a806b9
EBUILD googleearth-6.0.3.2197.ebuild 5314 SHA256 7343f140a32d51a96e9dddbf4e0988aefac78275a74804077b03510e21a79ea0 SHA512 fd174bf1f7e588a6f8db8b364968733d2ec10409a059b7b51119179f6e3154beaeee1de94fd1909d2305d5e8fe5e03fb093bc35ae6990eb2a920f6b3be2306c3 WHIRLPOOL 3502b7a9527a21ab0f1948e92924c76325e1318042fa310aa7cb013827992cd23389d5edb0931d35833a7d1416018775d68c79313a7dacfd14bafb6cd4d150c9
EBUILD googleearth-6.2.2.6613.ebuild 5731 SHA256 34909ff86643d41e9f0dac51ca0526b2fbd4d444afc831097cf192950fb9f37e SHA512 c5fba34a570acb7ae5497fd0cde8f56d3982b7f87189d644a7ec7bf2eaeee15ef0b0d0a2f7bdb08f2d83804937174f87b19b77bac92016ad8f78fc45b6e026a0 WHIRLPOOL d92f9c3434a3a725fe7a6185dd651511a4342330f4dfe70b431f69204bf26a5870c537e16c4be0586bc957f294ce865bc4763d1d9bef624490f48a51ce7d63c0
-MISC ChangeLog 18959 SHA256 e74a3d4dee71862e5ef70dc843aeeb232b7aaa57896515b11e7f93a9259d6a32 SHA512 0582dcfd8720cea64079beba181b71f3902bc7803c711816de146645e0463b0f6cda8dc6b73c5183be05b97f1b1f29366252752c30a7a4379098cb7eb80c86d3 WHIRLPOOL b355aaacd2d3a53f436c2207b59062e11bd2274abfc99b778ad38f63aa1aaffa3a13b6f78ac2568c3da21815776b07f6da74a92df86d835991ddd9069fd57009
+EBUILD googleearth-7.0.2.8415.ebuild 5936 SHA256 14099f1179097d22a032104a0343d1d4df01d4281aa57e56d309668c997b5a20 SHA512 57892e5b3c45381f7a872f08f775cbfdff7671bf5e33b7662c9d83797a1023121c70f519bac0c3c4a42db1643c55b7aa53dc70ec1faf43d7a3a4f30d918e5de7 WHIRLPOOL 290cc2a8bf213c12bf8b832a222fd30e77b80de7fed710844e380caf83db841eadd5677d22a5a5ae504d650a0bce6adddd7c3eb6175d258d6370014dc762f252
+MISC ChangeLog 19165 SHA256 55b6338b4c5eb96e46ce017bccbc763360eb3aab6688bf592c38ab1c28519d9e SHA512 a7f36c015ced75cc7bacb037b9fef9a9126581d0e7fc3a4cbf068674515dfef50c7830b0bb65cde8d2b6ef1c41eee56365ff0d087669878bab44eef7a863d12f WHIRLPOOL fbb07e5e0b9f228cd18e9558ee794e267d62d55847c4bac1e31abae7f8c20731a2f2bdf2255c287d949a8864db68b76350c3be4d4d10d40a7a617d8fd93d9a22
MISC metadata.xml 510 SHA256 8aaa0e9692e1fe5ef4bdd5bc6d2c14b100dae6fff3069f7adb627cca24785bde SHA512 81e651d27920ee69442be682745713e0435dae42567a2f841bc580839db2a83afc485b66ccd8590c97f3bf483c52ad7851ff6baf76c4e6ba7abc9659bc1928ff WHIRLPOOL f8e83d036d1d14adfb303dc751c7e079bfea704a0f579f0244923a08780a9867ee7c9722acd81e68af9d941fe4960e9c3d626a629594fffe798d4c116932bef3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlENBF4ACgkQCaWpQKGI+9TPmQCcD8fKDqp1bHHum4TwTGZwZLAl
-woUAnRNdl/dtOHUZGoVDe+SPFccABocU
-=6M/L
+iQEcBAEBCAAGBQJRDRNHAAoJEFpvPKfnPDWzO9wH/jjpXgScSlnXP6LSVCBDw0KL
+EgmjSvq1yxA9M1a6xMPneKoojfUXpBR62vo0boGaf6eBQ5LBpkIgi3haMHozxWUp
+NSuLrpy4glUCtOFasxrRp5SVP91rJPglmGs0OGlHG3bhy7n74Gx5iUVsdTuJLfio
+kXylOYpXiFERTKYpeHuWBDCvDs0OuCkHNP/5sLiqoemVtlHbsWRBMS3XCIKqQSgZ
+FE2bLDfg9X/tBbIYWUtBXIzrwR1SRCrIyEupT3380hz5bUrynt5MwdBKLEBt9a9D
+gzL27jSaEhXvqPnDRxoKZhK5dfTh5rwio1H3lGg0MdKqFxFwlb7lnkIykkz2Gos=
+=U9JT
-----END PGP SIGNATURE-----
diff --git a/sci-geosciences/googleearth/files/googleearth-7.0.2.8415-desktopfile.patch b/sci-geosciences/googleearth/files/googleearth-7.0.2.8415-desktopfile.patch
new file mode 100644
index 000000000000..0de8b589b77e
--- /dev/null
+++ b/sci-geosciences/googleearth/files/googleearth-7.0.2.8415-desktopfile.patch
@@ -0,0 +1,17 @@
+--- google-earth.desktop
++++ google-earth.desktop
+@@ -3,10 +3,10 @@
+ Name=Google Earth
+ GenericName=3D planet viewer
+ Comment=Explore, search and discover the planet
+-Exec=/opt/google/earth/free/google-earth %f
++Exec=/opt/googleearth/googleearth %f
+ Terminal=false
+-MultipleArgs=false
++X-MultipleArgs=false
+ Icon=google-earth
+ Type=Application
+-Categories=Application;Network
+-MimeType=application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/earthviewer;application/keyhole
++Categories=Network;
++MimeType=application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/earthviewer;application/keyhole;
diff --git a/sci-geosciences/googleearth/googleearth-7.0.2.8415.ebuild b/sci-geosciences/googleearth/googleearth-7.0.2.8415.ebuild
new file mode 100644
index 000000000000..a131bc168763
--- /dev/null
+++ b/sci-geosciences/googleearth/googleearth-7.0.2.8415.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-7.0.2.8415.ebuild,v 1.1 2013/02/02 13:23:15 hasufell Exp $
+
+EAPI=5
+
+inherit eutils unpacker fdo-mime versionator gnome2-utils toolchain-funcs
+
+DESCRIPTION="A 3D interface to the planet"
+HOMEPAGE="http://earth.google.com/"
+# no upstream versioning, version determined from help/about
+# incorrect digest means upstream bumped and thus needs version bump
+SRC_URI="x86? ( http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb
+ -> GoogleEarthLnux-${PV}_i386.deb )
+ amd64? ( http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
+ -> GoogleEarthLinux-${PV}_amd64.deb ) "
+LICENSE="googleearth GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror strip"
+IUSE="mdns-bundled +qt-bundled"
+
+GCC_NEEDED="4.2"
+QA_PREBUILT="*"
+
+RDEPEND="|| ( >=sys-devel/gcc-${GCC_NEEDED}[cxx] >=sys-devel/gcc-${GCC_NEEDED}[-nocxx] )
+ x86? (
+ media-libs/fontconfig
+ media-libs/freetype
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ sys-libs/zlib
+ dev-libs/glib:2
+ !qt-bundled? (
+ >=x11-libs/qt-core-4.5.3:4
+ >=x11-libs/qt-gui-4.5.3:4
+ >=x11-libs/qt-webkit-4.5.3:4
+ )
+ net-misc/curl
+ sci-libs/gdal
+ !mdns-bundled? ( sys-auth/nss-mdns )
+ )
+ amd64? (
+ >=app-emulation/emul-linux-x86-xlibs-20081109
+ >=app-emulation/emul-linux-x86-baselibs-20081109
+ app-emulation/emul-linux-x86-opengl
+ !qt-bundled? (
+ >=app-emulation/emul-linux-x86-qtlibs-20091231-r1
+ )
+ )
+ virtual/ttf-fonts"
+
+DEPEND="dev-util/patchelf"
+
+S=${WORKDIR}/opt/google/earth/free
+
+pkg_nofetch() {
+ einfo "Wrong checksum or file size means that Google silently replaced the distfile with a newer version."
+ einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
+ einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for googleearth first!)."
+ einfo "By redigesting the file yourself, you will install a different version than the ebuild says, untested!"
+}
+
+pkg_setup() {
+ GCC_VER="$(gcc-version)"
+ if ! version_is_at_least ${GCC_NEEDED} ${GCC_VER}; then
+ ewarn "${PN} needs libraries from gcc-${GCC_NEEDED} or higher to run"
+ ewarn "Your active gcc version is only ${GCC_VER}"
+ ewarn "Please consult the GCC upgrade guide to set a higher version:"
+ ewarn "http://www.gentoo.org/doc/en/gcc-upgrading.xml"
+ fi
+}
+
+src_unpack() {
+ # default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well
+ unpack_deb ${A}
+
+ cd opt/google/earth/free || die
+
+ if ! use qt-bundled; then
+ rm -v libQt{Core,Gui,Network,WebKit}.so.4 qt.conf || die
+ rm -rv plugins/imageformats || die
+ fi
+ rm -v libcurl.so.4 || die
+ if ! use mdns-bundled; then
+ rm -v libnss_mdns4_minimal.so.2 || die
+ fi
+
+ if use x86; then
+ # no 32 bit libs for gdal
+ rm -v libgdal.so.1 || die
+ fi
+}
+
+src_prepare() {
+ # bug #262780 is hopefully now solved upstream
+# epatch "${FILESDIR}/decimal-separator.patch"
+
+ # we have no ld-lsb.so.3 symlink
+ # thanks to Nathan Phillip Brink <ohnobinki@ohnopublishing.net> for suggesting patchelf
+ patchelf --set-interpreter /lib/ld-linux.so.2 ${PN}-bin || die "patchelf failed"
+
+ # Set RPATH for preserve-libs handling (bug #265372).
+ local x
+ for x in * ; do
+ # Use \x7fELF header to separate ELF executables and libraries
+ [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
+ patchelf --set-rpath '$ORIGIN' "${x}" ||
+ die "patchelf failed on ${x}"
+ done
+ for x in plugins/imageformats/*.so ; do
+ [[ -f ${x} ]] || continue
+ patchelf --set-rpath /opt/${PN} "${x}" ||
+ die "patchelf failed on ${x}"
+ done
+
+ epatch "${FILESDIR}"/${P}-desktopfile.patch
+}
+
+src_install() {
+ make_wrapper ${PN} ./${PN} /opt/${PN} .
+
+ # install binaries and remove them
+ binaries="${PN} ${PN}-bin *.so *.so.*"
+ exeinto /opt/${PN}
+ doexe ${binaries}
+ rm ${binaries} || die
+
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}/${PN}-mimetypes.xml" || die
+
+ domenu google-earth.desktop
+
+ for size in 16 22 24 32 48 64 128 256 ; do
+ newicon -s ${size} product_logo_${size}.png google-earth.png
+ done
+
+ rm -r product_logo_* xdg-mime xdg-settings google-earth google-earth.desktop || die
+
+ # just copy everything that's left
+ cp -pPR * "${D}"/opt/${PN} || die
+
+ # some files are executable and shouldn't
+ fperms -R a-x,a+X /opt/googleearth/resources
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ elog "The qt-bundled flag is now enabled by default due to crashes on startup with system Qt."
+ elog "Testing and reporting outcome with/without the flag is welcome (bug #319813)."
+ elog "If it crashes in both cases, disabling tips is reported to help (bug #354281):"
+ elog ""
+ elog "When you get a crash starting Google Earth, try adding a file ~./config/Google/GoogleEarthPlus.conf"
+ elog "the following options:"
+ elog "lastTip = 4"
+ elog "enableTips = false"
+ elog ""
+ elog "In addition, the use of free video drivers may be problems associated with using the Mesa"
+ elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant."
+ elog "To select the 32bit graphic library use the command:"
+ elog " eselect mesa list"
+ elog "For example, for Radeon R300 (x86):"
+ elog " eselect mesa set r300 2"
+ elog "For Intel Q33 (amd64):"
+ elog " eselect mesa set 32bit i965 2"
+ elog "You may need to restart X afterwards"
+
+ ewarn
+ ewarn "You might need to run:"
+ ewarn " eselect fontconfig disable 65-fonts-persian.conf"
+ ewarn "or googleearth will segfault."
+ ewarn
+
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}