Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177390 Details for
Bug 242350
emerge net-misc/vnc-4.1.2-r5 failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch vnc ebuild to select xorg-x11 opengl tokens during build
vnc-4.1.2-r5.epatch (text/plain), 1.34 KB, created by
Eric Bosch
on 2009-01-04 19:28:35 UTC
(
hide
)
Description:
Patch vnc ebuild to select xorg-x11 opengl tokens during build
Filename:
MIME Type:
Creator:
Eric Bosch
Created:
2009-01-04 19:28:35 UTC
Size:
1.34 KB
patch
obsolete
>--- vnc-4.1.2-r5.ebuild 2009-01-04 13:19:09.000000000 -0600 >+++ vnc-4.1.2-r6.ebuild 2009-01-04 13:22:01.000000000 -0600 >@@ -1,11 +1,12 @@ > # Copyright 1999-2008 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2-r5.ebuild,v 1.4 2008/12/19 17:40:11 jer Exp $ >+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2-r6.ebuild,v 1.2 2009/01/04 09:36:28 armin76 Exp $ > > EAPI="1" > > inherit eutils toolchain-funcs multilib autotools > >+OPENGL_DIR="xorg-x11" > XSERVER_VERSION="1.5.3" > PATCH="${P}-r5-patches-0.1" > >@@ -26,6 +27,7 @@ > media-libs/freetype > x11-libs/libSM > x11-libs/libXtst >+ app-admin/eselect-opengl > server? ( > x11-libs/libXi > x11-libs/libXfont >@@ -79,8 +81,18 @@ > ebeep > epause 5 > fi >+ ewarn "Forcing on xorg-x11 for new enough glxtokens.h..." >+ OLD_IMPLEM="$(eselect opengl show)" >+ eselect opengl set --impl-headers ${OPENGL_DIR} > } > >+switch_opengl_implem() { >+ # Switch to the xorg implementation. >+ # Use new opengl-update that will not reset user selected >+ # OpenGL interface ... >+ echo >+ eselect opengl set ${OLD_IMPLEM} >+} > src_unpack() { > unpack ${A} > cd "${S}" >@@ -193,3 +205,10 @@ > > rm "${D}"/usr/$(get_libdir)/librfb.{a,la,so} > } >+ >+pkg_postinst() { >+ ewarn >+ ewarn "Switching back to original opengl tokens" >+ switch_opengl_implem >+} >+
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 242350
:
168676
| 177390