1 |
caster 12/03/01 23:07:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: googleearth-6.2.1.6014.ebuild |
5 |
Log: |
6 |
Version bump, bug #401297. Icon and elog improvements thanks to Oschtan. Decimal separator bug appears to be solved upstream, removing the locale patch. Reopen bug #262780 if it still occurs. |
7 |
|
8 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.27 sci-geosciences/googleearth/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/ChangeLog?rev=1.27&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/ChangeLog?rev=1.27&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/ChangeLog?r1=1.26&r2=1.27 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v |
20 |
retrieving revision 1.26 |
21 |
retrieving revision 1.27 |
22 |
diff -u -r1.26 -r1.27 |
23 |
--- ChangeLog 5 Feb 2012 05:54:06 -0000 1.26 |
24 |
+++ ChangeLog 1 Mar 2012 23:07:28 -0000 1.27 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sci-geosciences/googleearth |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.26 2012/02/05 05:54:06 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.27 2012/03/01 23:07:28 caster Exp $ |
30 |
+ |
31 |
+*googleearth-6.2.1.6014 (01 Mar 2012) |
32 |
+ |
33 |
+ 01 Mar 2012; Vlastimil Babka <caster@g.o> |
34 |
+ +googleearth-6.2.1.6014.ebuild, +files/googleearth-mimetypes.xml: |
35 |
+ Version bump, bug #401297. Icon and elog improvements thanks to Oschtan. |
36 |
+ Decimal separator bug appears to be solved upstream, removing the locale |
37 |
+ patch. Reopen bug #262780 if it still occurs. |
38 |
|
39 |
05 Feb 2012; Mike Frysinger <vapier@g.o> |
40 |
googleearth-5.1.3535.3218-r1.ebuild, googleearth-5.2.1.1588.ebuild, |
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-geosciences/googleearth/googleearth-6.2.1.6014.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/googleearth-6.2.1.6014.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/googleearth-6.2.1.6014.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: googleearth-6.2.1.6014.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-6.2.1.6014.ebuild,v 1.1 2012/03/01 23:07:28 caster Exp $ |
54 |
|
55 |
EAPI="4" |
56 |
|
57 |
inherit eutils unpacker fdo-mime versionator toolchain-funcs |
58 |
|
59 |
DESCRIPTION="A 3D interface to the planet" |
60 |
HOMEPAGE="http://earth.google.com/" |
61 |
# no upstream versioning, version determined from help/about |
62 |
# incorrect digest means upstream bumped and thus needs version bump |
63 |
SRC_URI="x86? ( http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb |
64 |
-> GoogleEarthLnux-${PV}_i386.deb ) |
65 |
amd64? ( http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb |
66 |
-> GoogleEarthLinux-${PV}_amd64.deb ) " |
67 |
LICENSE="googleearth GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
RESTRICT="mirror strip" |
71 |
IUSE="mdns-bundled +qt-bundled" |
72 |
|
73 |
GCC_NEEDED="4.2" |
74 |
|
75 |
RDEPEND="|| ( >=sys-devel/gcc-${GCC_NEEDED}[cxx] >=sys-devel/gcc-${GCC_NEEDED}[-nocxx] ) |
76 |
x86? ( |
77 |
media-libs/fontconfig |
78 |
media-libs/freetype |
79 |
virtual/opengl |
80 |
x11-libs/libICE |
81 |
x11-libs/libSM |
82 |
x11-libs/libX11 |
83 |
x11-libs/libXi |
84 |
x11-libs/libXext |
85 |
x11-libs/libXrender |
86 |
x11-libs/libXau |
87 |
x11-libs/libXdmcp |
88 |
sys-libs/zlib |
89 |
dev-libs/glib:2 |
90 |
!qt-bundled? ( |
91 |
>=x11-libs/qt-core-4.5.3 |
92 |
>=x11-libs/qt-gui-4.5.3 |
93 |
>=x11-libs/qt-webkit-4.5.3 |
94 |
) |
95 |
net-misc/curl |
96 |
sci-libs/gdal |
97 |
!mdns-bundled? ( sys-auth/nss-mdns ) |
98 |
) |
99 |
amd64? ( |
100 |
>=app-emulation/emul-linux-x86-xlibs-20081109 |
101 |
>=app-emulation/emul-linux-x86-baselibs-20081109 |
102 |
app-emulation/emul-linux-x86-opengl |
103 |
!qt-bundled? ( |
104 |
>=app-emulation/emul-linux-x86-qtlibs-20091231-r1 |
105 |
) |
106 |
) |
107 |
virtual/ttf-fonts" |
108 |
|
109 |
DEPEND="dev-util/patchelf" |
110 |
|
111 |
S="${WORKDIR}/opt/google/earth/free" |
112 |
|
113 |
pkg_nofetch() { |
114 |
einfo "Wrong checksum or file size means that Google silently replaced the distfile with a newer version." |
115 |
einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump." |
116 |
einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for googleearth first!)." |
117 |
einfo "By redigesting the file yourself, you will install a different version than the ebuild says, untested!" |
118 |
} |
119 |
|
120 |
QA_TEXTRELS="opt/googleearth/plugins/imageformats/libqjpeg.so |
121 |
opt/googleearth/libQtGui.so.4 |
122 |
opt/googleearth/libwebbrowser.so |
123 |
opt/googleearth/libviewsync.so |
124 |
opt/googleearth/libspatial.so |
125 |
opt/googleearth/libsgutil.so |
126 |
opt/googleearth/libsearch.so |
127 |
opt/googleearth/libsearchmodule.so |
128 |
opt/googleearth/librender.so |
129 |
opt/googleearth/libnavigate.so |
130 |
opt/googleearth/libmoduleframework.so |
131 |
opt/googleearth/libmeasure.so |
132 |
opt/googleearth/liblayer.so |
133 |
opt/googleearth/libinput_plugin.so |
134 |
opt/googleearth/libIGGfx.so |
135 |
opt/googleearth/libgps.so |
136 |
opt/googleearth/libgooglesearch.so |
137 |
opt/googleearth/libgoogleearth_free.so |
138 |
opt/googleearth/libgoogleapi.so |
139 |
opt/googleearth/libgeobaseutils.so |
140 |
opt/googleearth/libgdata.so |
141 |
opt/googleearth/libflightsim.so |
142 |
opt/googleearth/libevll.so |
143 |
opt/googleearth/libcommon_webbrowser.so |
144 |
opt/googleearth/libcommon.so |
145 |
opt/googleearth/libcommon_platform.so |
146 |
opt/googleearth/libcollada.so |
147 |
opt/googleearth/libbasicingest.so |
148 |
opt/googleearth/libbase.so |
149 |
opt/googleearth/libauth.so" |
150 |
|
151 |
pkg_setup() { |
152 |
GCC_VER="$(gcc-version)" |
153 |
if ! version_is_at_least ${GCC_NEEDED} ${GCC_VER}; then |
154 |
ewarn "${PN} needs libraries from gcc-${GCC_NEEDED} or higher to run" |
155 |
ewarn "Your active gcc version is only ${GCC_VER}" |
156 |
ewarn "Please consult the GCC upgrade guide to set a higher version:" |
157 |
ewarn "http://www.gentoo.org/doc/en/gcc-upgrading.xml" |
158 |
fi |
159 |
} |
160 |
|
161 |
src_unpack() { |
162 |
# default src_unpack fails with deb2targz installed, also this unpacks the data.tar.lzma as well |
163 |
unpack_deb ${A} |
164 |
|
165 |
cd opt/google/earth/free || die |
166 |
|
167 |
if ! use qt-bundled; then |
168 |
rm -v libQt{Core,Gui,Network,WebKit}.so.4 qt.conf || die |
169 |
rm -frv plugins/imageformats || die |
170 |
fi |
171 |
rm -v libcurl.so.4 || die |
172 |
if ! use mdns-bundled; then |
173 |
rm -v libnss_mdns4_minimal.so.2 || die |
174 |
fi |
175 |
|
176 |
if use x86; then |
177 |
# no 32 bit libs for gdal |
178 |
rm -v libgdal.so.1 || die |
179 |
fi |
180 |
} |
181 |
|
182 |
src_prepare() { |
183 |
# bug #262780 is hopefully now solved upstream |
184 |
# epatch "${FILESDIR}/decimal-separator.patch" |
185 |
|
186 |
# we have no ld-lsb.so.3 symlink |
187 |
# thanks to Nathan Phillip Brink <ohnobinki@××××××××××××××.net> for suggesting patchelf |
188 |
patchelf --set-interpreter /lib/ld-linux.so.2 ${PN}-bin || die "patchelf failed" |
189 |
} |
190 |
|
191 |
src_install() { |
192 |
make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed" |
193 |
|
194 |
# install binaries and remove them |
195 |
binaries="${PN} ${PN}-bin *.so *.so.*" |
196 |
exeinto /opt/${PN} |
197 |
doexe ${binaries} || die |
198 |
rm ${binaries} |
199 |
|
200 |
insinto /usr/share/mime/packages |
201 |
doins "${FILESDIR}/${PN}-mimetypes.xml" || die |
202 |
sed "s#/opt/google/earth/free/google-earth/#/opt/${PN}/${PN}#" -i google-earth.desktop || die |
203 |
domenu google-earth.desktop |
204 |
for size in 16 22 24 32 48 64 128 256 ; do |
205 |
insinto /usr/share/icons/hicolor/${size}x${size}/apps |
206 |
newins product_logo_${size}.png google-earth.png |
207 |
done |
208 |
rm -rf product_logo_* xdg-mime xdg-settings google-earth google-earth.desktop || die |
209 |
|
210 |
# just copy everything that's left |
211 |
cp -pPR * "${D}"/opt/${PN} || die |
212 |
|
213 |
# some files are executable and shouldn't |
214 |
fperms -R a-x,a+X /opt/googleearth/resources |
215 |
} |
216 |
|
217 |
pkg_postinst() { |
218 |
fdo-mime_desktop_database_update |
219 |
fdo-mime_mime_database_update |
220 |
|
221 |
elog "The qt-bundled flag is now enabled by default due to crashes on startup with system Qt." |
222 |
elog "Testing and reporting outcome with/without the flag is welcome (bug #319813)." |
223 |
elog "If it crashes in both cases, disabling tips is reported to help (bug #354281):" |
224 |
elog "" |
225 |
elog "When you get a crash starting Google Earth, try adding a file ~./config/Google/GoogleEarthPlus.conf" |
226 |
elog "the following options:" |
227 |
elog "lastTip = 4" |
228 |
elog "enableTips = false" |
229 |
elog "" |
230 |
elog "In addition, the use of free video drivers may be problems associated with using the Mesa" |
231 |
elog "library. In this case, Google Earth 6x likely only works with the Gallium3D variant." |
232 |
elog "To select the 32bit graphic library use the command:" |
233 |
elog " eselect mesa list" |
234 |
elog "For example, for Radeon R300 (x86):" |
235 |
elog " eselect mesa set r300 2" |
236 |
elog "For Intel Q33 (amd64):" |
237 |
elog " eselect mesa set 32bit i965 2" |
238 |
elog "You may need to restart X afterwards" |
239 |
} |