1 |
caster 10/08/22 17:26:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: googleearth-5.2.1.1547_beta.ebuild |
5 |
Log: |
6 |
Version bump, fixes bug #333487. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.17 sci-geosciences/googleearth/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/ChangeLog?rev=1.17&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/ChangeLog?rev=1.17&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/ChangeLog?r1=1.16&r2=1.17 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v |
19 |
retrieving revision 1.16 |
20 |
retrieving revision 1.17 |
21 |
diff -u -r1.16 -r1.17 |
22 |
--- ChangeLog 3 Aug 2010 11:26:01 -0000 1.16 |
23 |
+++ ChangeLog 22 Aug 2010 17:26:07 -0000 1.17 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sci-geosciences/googleearth |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.16 2010/08/03 11:26:01 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.17 2010/08/22 17:26:07 caster Exp $ |
29 |
+ |
30 |
+*googleearth-5.2.1.1547_beta (22 Aug 2010) |
31 |
+ |
32 |
+ 22 Aug 2010; Vlastimil Babka <caster@g.o> |
33 |
+ +googleearth-5.2.1.1547_beta.ebuild: |
34 |
+ Version bump, fixes bug #333487. |
35 |
|
36 |
03 Aug 2010; Vlastimil Babka <caster@g.o> |
37 |
-googleearth-5.1.3533.1731-r1.ebuild, googleearth-5.2.1.1329_beta.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sci-geosciences/googleearth/googleearth-5.2.1.1547_beta.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/googleearth-5.2.1.1547_beta.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/googleearth/googleearth-5.2.1.1547_beta.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: googleearth-5.2.1.1547_beta.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-5.2.1.1547_beta.ebuild,v 1.1 2010/08/22 17:26:07 caster Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit eutils fdo-mime versionator toolchain-funcs |
55 |
|
56 |
DESCRIPTION="A 3D interface to the planet" |
57 |
HOMEPAGE="http://earth.google.com/" |
58 |
# no upstream versioning, version determined from help/about |
59 |
# incorrect digest means upstream bumped and thus needs version bump |
60 |
SRC_URI="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin |
61 |
-> GoogleEarthLinux-${PV}.bin" |
62 |
|
63 |
LICENSE="googleearth GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
RESTRICT="mirror strip" |
67 |
IUSE="mdns-bundled +qt-bundled" |
68 |
|
69 |
GCC_NEEDED="4.2" |
70 |
|
71 |
RDEPEND=">=sys-devel/gcc-${GCC_NEEDED}[-nocxx] |
72 |
x86? ( |
73 |
media-libs/fontconfig |
74 |
media-libs/freetype |
75 |
virtual/opengl |
76 |
x11-libs/libICE |
77 |
x11-libs/libSM |
78 |
x11-libs/libX11 |
79 |
x11-libs/libXi |
80 |
x11-libs/libXext |
81 |
x11-libs/libXrender |
82 |
x11-libs/libXau |
83 |
x11-libs/libXdmcp |
84 |
sys-libs/zlib |
85 |
dev-libs/glib:2 |
86 |
!qt-bundled? ( |
87 |
>=x11-libs/qt-core-4.5.3 |
88 |
>=x11-libs/qt-gui-4.5.3 |
89 |
>=x11-libs/qt-webkit-4.5.3 |
90 |
) |
91 |
net-misc/curl |
92 |
sci-libs/gdal |
93 |
!mdns-bundled? ( sys-auth/nss-mdns ) |
94 |
) |
95 |
amd64? ( |
96 |
>=app-emulation/emul-linux-x86-xlibs-20081109 |
97 |
>=app-emulation/emul-linux-x86-baselibs-20081109 |
98 |
app-emulation/emul-linux-x86-opengl |
99 |
!qt-bundled? ( |
100 |
>=app-emulation/emul-linux-x86-qtlibs-20091231-r1 |
101 |
) |
102 |
) |
103 |
virtual/ttf-fonts" |
104 |
|
105 |
S="${WORKDIR}" |
106 |
|
107 |
QA_TEXTRELS="opt/googleearth/libflightsim.so |
108 |
opt/googleearth/libwebbrowser.so |
109 |
opt/googleearth/libinput_plugin.so |
110 |
opt/googleearth/libIGGfx.so |
111 |
opt/googleearth/liblayer.so |
112 |
opt/googleearth/libbase.so |
113 |
opt/googleearth/libevll.so |
114 |
opt/googleearth/libmoduleframework.so |
115 |
opt/googleearth/libcommon_webbrowser.so |
116 |
opt/googleearth/libbasicingest.so |
117 |
opt/googleearth/libsgutil.so |
118 |
opt/googleearth/libnavigate.so |
119 |
opt/googleearth/librender.so |
120 |
opt/googleearth/libauth.so |
121 |
opt/googleearth/libgeobaseutils.so |
122 |
opt/googleearth/libcommon.so |
123 |
opt/googleearth/libQtGui.so.4 |
124 |
opt/googleearth/libcommon_platform.so |
125 |
opt/googleearth/libgoogleearth_free.so |
126 |
opt/googleearth/libcollada.so |
127 |
opt/googleearth/libviewsync.so |
128 |
opt/googleearth/libgps.so |
129 |
opt/googleearth/libgooglesearch.so |
130 |
opt/googleearth/plugins/imageformats/libqjpeg.so |
131 |
opt/googleearth/libmeasure.so |
132 |
" |
133 |
|
134 |
pkg_setup() { |
135 |
GCC_VER="$(gcc-version)" |
136 |
if ! version_is_at_least ${GCC_NEEDED} ${GCC_VER}; then |
137 |
ewarn "${PN} needs libraries from gcc-${GCC_NEEDED} or higher to run" |
138 |
ewarn "Your active gcc version is only ${GCC_VER}" |
139 |
ewarn "Please consult the GCC upgrade guide to set a higher version:" |
140 |
ewarn "http://www.gentoo.org/doc/en/gcc-upgrading.xml" |
141 |
fi |
142 |
} |
143 |
|
144 |
src_unpack() { |
145 |
unpack_makeself |
146 |
|
147 |
cd "${WORKDIR}"/bin || die |
148 |
unpack ./../${PN}-linux-x86.tar |
149 |
|
150 |
mkdir "${WORKDIR}"/data && cd "${WORKDIR}"/data || die |
151 |
unpack ./../${PN}-data.tar |
152 |
|
153 |
cd "${WORKDIR}"/bin || die |
154 |
|
155 |
if ! use qt-bundled; then |
156 |
rm -v libQt{Core,Gui,Network,WebKit}.so.4 ../data/qt.conf || die |
157 |
rm -frv ../data/plugins/imageformats || die |
158 |
fi |
159 |
rm -v libGLU.so.1 libcurl.so.4 || die |
160 |
if ! use mdns-bundled; then |
161 |
rm -v libnss_mdns4_minimal.so.2 || die |
162 |
fi |
163 |
|
164 |
if use x86; then |
165 |
# no 32 bit libs for gdal |
166 |
rm -v libgdal.so.1 || die |
167 |
fi |
168 |
} |
169 |
|
170 |
src_prepare() { |
171 |
cd "${WORKDIR}"/bin || die |
172 |
# bug #262780 |
173 |
epatch "${FILESDIR}/decimal-separator.patch" |
174 |
|
175 |
# make the postinst script only create the files; it's installation |
176 |
# are too complicated and inserting them ourselves is easier than |
177 |
# hacking around it |
178 |
sed -i -e 's:$SETUP_INSTALLPATH/::' \ |
179 |
-e 's:$SETUP_INSTALLPATH:1:' \ |
180 |
-e "s:^xdg-desktop-icon.*$::" \ |
181 |
-e "s:^xdg-desktop-menu.*$::" \ |
182 |
-e "s:^xdg-mime.*$::" "${WORKDIR}"/postinstall.sh || die |
183 |
} |
184 |
|
185 |
src_install() { |
186 |
make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed" |
187 |
./postinstall.sh |
188 |
insinto /usr/share/mime/packages |
189 |
doins ${PN}-mimetypes.xml || die |
190 |
domenu Google-${PN}.desktop || die |
191 |
doicon ${PN}-icon.png || die |
192 |
dodoc README.linux || die |
193 |
|
194 |
cd bin || die |
195 |
exeinto /opt/${PN} |
196 |
doexe * || die |
197 |
|
198 |
cp -pPR "${WORKDIR}"/data/* "${D}"/opt/${PN} || die |
199 |
fowners -R root:root /opt/${PN} |
200 |
fperms -R a-x,a+X /opt/googleearth/resources |
201 |
} |
202 |
|
203 |
pkg_postinst() { |
204 |
fdo-mime_desktop_database_update |
205 |
fdo-mime_mime_database_update |
206 |
|
207 |
elog "The qt-bundled flag is now enabled by default due to crashes on startup with system Qt." |
208 |
elog "Testing and reporting outcome with/without the flag is welcome (bug #319813)." |
209 |
elog "If it crashes in both cases, put this version in your package.mask and revert to the stable 5.1.*" |
210 |
} |