Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137067 Details for
Bug 169490
x11-misc/googleearth doesn't work w/ ati-drivers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
implements workaround
googleearth-4.2.198.2451-r1.ebuild.patch (text/plain), 2.00 KB, created by
Ralph Hartley
on 2007-11-26 18:52:05 UTC
(
hide
)
Description:
implements workaround
Filename:
MIME Type:
Creator:
Ralph Hartley
Created:
2007-11-26 18:52:05 UTC
Size:
2.00 KB
patch
obsolete
>--- /usr/portage/x11-misc/googleearth/googleearth-4.2.198.2451.ebuild 2007-10-13 07:57:16.000000000 -0400 >+++ googleearth-4.2.198.2451-r1.ebuild 2007-11-26 13:38:01.000000000 -0500 >@@ -6,13 +6,21 @@ > > DESCRIPTION="A 3D interface to the planet" > HOMEPAGE="http://earth.google.com/" >-SRC_URI="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin" > >-LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB" >+IUSE="fixati" >+ >+ATI_FIX_VERSION="8.27.10" >+ATI_URL="https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/" >+ATI_FILE="ati-driver-installer-${ATI_FIX_VERSION}-x86_64.run" >+GOOGLE_URL="http://dl.google.com/earth/client/current/" >+GOOGLE_FILE="GoogleEarthLinux.bin" >+ >+SRC_URI="fixati? (${ATI_URL}${ATI_FILE}) ${GOOGLE_URL}${GOOGLE_FILE}" >+ >+LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB fixati? (ATI)" > SLOT="0" > KEYWORDS="amd64 x86" > RESTRICT="mirror strip" >-IUSE="" > > RDEPEND="x86? ( > media-libs/fontconfig >@@ -36,8 +44,15 @@ > > S="${WORKDIR}" > >+pkg_setup() { >+ if has_version ">=x11-drivers/ati-drivers-2.28.8"; then >+ ewarn "Google Earth does not work with some versions of ATI drivers on amd64." >+ ewarn "To install a work around, emerge with fixati use flag." >+ fi >+} >+ > src_unpack() { >- unpack_makeself >+ unpack_makeself ${GOOGLE_FILE} > # make the postinst script only create the files; it's installation > # are too complicated and inserting them ourselves is easier than > # hacking around it >@@ -46,6 +61,13 @@ > -e "s:^xdg-desktop-icon.*$::" \ > -e "s:^xdg-desktop-menu.*$::" \ > -e "s:^xdg-mime.*$::" postinstall.sh >+ >+ if use fixati; then >+ ebegin "Unpacking Ati driver to get old libGL" >+ mkdir atifix >+ sh "${DISTDIR}"/${ATI_FILE} --extract "atifix" &> /dev/null >+ eend $? || die "unpack failed" >+ fi > } > > src_install() { >@@ -57,6 +79,10 @@ > doicon ${PN}-icon.png > dodoc README.linux > >+ if use fixati; then >+ cp ${WORKDIR}/atifix/arch/x86_64/usr/X11R6/lib/libGL.so.1.2 bin/libGL.so.1 >+ fi >+ > cd bin > tar xf ${WORKDIR}/${PN}-linux-x86.tar > exeinto /opt/${PN}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169490
:
133802
| 137067