summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-05-23 00:11:41 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-05-23 00:11:41 +0000
commit997db6c7e70dbede2a23c179c95cef2a1be27eb0 (patch)
tree427798d2aed585f07ca59845ee60d67f4b68f2a8 /x11-misc/googleearth
parentVersion bump. (diff)
downloadgentoo-2-997db6c7e70dbede2a23c179c95cef2a1be27eb0.tar.gz
gentoo-2-997db6c7e70dbede2a23c179c95cef2a1be27eb0.tar.bz2
gentoo-2-997db6c7e70dbede2a23c179c95cef2a1be27eb0.zip
Bump md5 sum for the new version and fix sandbox violations with those. Much thanks to Michael Lelli <baby.lueshi@gmail.com> in bug 177972 and bug 177984
(Portage version: 2.1.2.7)
Diffstat (limited to 'x11-misc/googleearth')
-rw-r--r--x11-misc/googleearth/ChangeLog6
-rw-r--r--x11-misc/googleearth/files/digest-googleearth-46
-rw-r--r--x11-misc/googleearth/googleearth-4.ebuild26
3 files changed, 19 insertions, 19 deletions
diff --git a/x11-misc/googleearth/ChangeLog b/x11-misc/googleearth/ChangeLog
index 1f4e069ccecb..c00e94933b2c 100644
--- a/x11-misc/googleearth/ChangeLog
+++ b/x11-misc/googleearth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/googleearth
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/ChangeLog,v 1.28 2007/05/15 14:24:19 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/ChangeLog,v 1.29 2007/05/23 00:11:41 genstef Exp $
+
+ 23 May 2007; Stefan Schweizer <genstef@gentoo.org> googleearth-4.ebuild:
+ Bump md5 sum for the new version and fix sandbox violations with those. Much
+ thanks to Michael Lelli <baby.lueshi@gmail.com> in bug 177972 and bug 177984
15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/x11-misc/googleearth/files/digest-googleearth-4 b/x11-misc/googleearth/files/digest-googleearth-4
index cf26276c656a..5541463593e8 100644
--- a/x11-misc/googleearth/files/digest-googleearth-4
+++ b/x11-misc/googleearth/files/digest-googleearth-4
@@ -1,3 +1,3 @@
-MD5 3a4051c185afc719bf807a4a693c44b0 GoogleEarthLinux.bin 21607408
-RMD160 04e1393e1bc9375d642aeabe978c4416abc61157 GoogleEarthLinux.bin 21607408
-SHA256 96b1870f9a8c131bf94f726c22b3f547503c1af21e136e7e8a3d0198e4317f9d GoogleEarthLinux.bin 21607408
+MD5 92dc59ae22ca97111d3d8ce066fa6cb2 GoogleEarthLinux.bin 23852601
+RMD160 27ddd726ceae59f3e8132d1e8ede0facf2223668 GoogleEarthLinux.bin 23852601
+SHA256 9e10fe4c0bed71a9f84438ca54e74413b05229ea9937c8b4363bd92080b14910 GoogleEarthLinux.bin 23852601
diff --git a/x11-misc/googleearth/googleearth-4.ebuild b/x11-misc/googleearth/googleearth-4.ebuild
index b281d7431b95..96dd938c31d0 100644
--- a/x11-misc/googleearth/googleearth-4.ebuild
+++ b/x11-misc/googleearth/googleearth-4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/googleearth-4.ebuild,v 1.7 2007/04/14 21:43:02 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/googleearth-4.ebuild,v 1.8 2007/05/23 00:11:41 genstef Exp $
inherit eutils fdo-mime
@@ -39,27 +39,23 @@ S="${WORKDIR}"
src_unpack() {
unpack_makeself
- # make the postinst scripts behave
+ # make the postinst script only create the files; it's installation
+ # are too complicated and inserting them ourselves is easier than
+ # hacking around it
sed -i -e 's:$SETUP_INSTALLPATH/::' \
- -e "s:^xdg-mime:linux/xdg/xdg-mime:" \
- -e "s:^xdg-menu:linux/xdg/xdg-menu:" \
- -e "s: --user: --system:" \
- -e 's:$SETUP_INSTALLPATH:1:' postinstall.sh
- sed -i -e "s:/usr:${D}/usr:g" \
- -e "s:^detectDE$::" \
- -e 's:-x $x/update-mime:-d nonexis:' \
- -e 's:-x $x/update-desktop:-d nonexis:' linux/xdg/xdg-m{ime,enu}
+ -e 's:$SETUP_INSTALLPATH:1:' \
+ -e "s:^xdg-desktop-icon.*$::" \
+ -e "s:^xdg-desktop-menu.*$::" \
+ -e "s:^xdg-mime.*$::" postinstall.sh
}
src_install() {
make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed"
-
- unset XDG_DATA_DIRS
- dodir /usr/share/{appl{ications,nk},gnome/apps,mime/packages}
./postinstall.sh
- rm -rf ${D}/usr/share/{applnk,gnome}
+ insinto /usr/share/mime/packages
+ doins ${PN}-mimetypes.xml
+ domenu Google-${PN}.desktop
doicon ${PN}-icon.png
-
dodoc README.linux
cd bin