Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 423738 Details for
Bug 572274
=app-eselect/eselect-opengl-1.3.1 - should media-libs/mesa GL libraries be placed directly in main system library paths - potential conflict with proprietary AMD/Nvidia graphics drivers (?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
eselect-opengl-1.3.1-fix-gl-provider-lib-support.patch
eselect-opengl-1.3.1-fix-gl-provider-lib-support.patch (text/plain), 1.60 KB, created by
Bob Wya
on 2016-01-24 04:52:31 UTC
(
hide
)
Description:
eselect-opengl-1.3.1-fix-gl-provider-lib-support.patch
Filename:
MIME Type:
Creator:
Bob Wya
Created:
2016-01-24 04:52:31 UTC
Size:
1.60 KB
patch
obsolete
>--- old/opengl.eselect-1.3.1 2016-01-23 16:44:04.133527800 +0000 >+++ new/opengl.eselect-1.3.1 2016-01-23 20:55:29.780793403 +0000 >@@ -138,6 +138,41 @@ > "${PREFIX#${ROOT}}/${libdir}/xorg/modules" > ) > fi >+ >+ # Check if opengl implementation directory exists >+ if [[ ! -d ${PREFIX}/${libdir}/opengl/${gl_implem}/lib ]] ; then >+ continue >+ fi >+ >+ # Clear up existing symlinks from /usr/lib to /usr/lib/opengl/*/lib/lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} >+ pushd ${PREFIX#${ROOT}}/${libdir} &>/dev/null >+ local avail_gl_implem >+ for avail_gl_implem in ${avail_implems}; do >+ local avail_gl_libdir="${PREFIX#${ROOT}}/${libdir}/opengl/${avail_gl_implem}/lib" >+ [[ ! -d ${avail_gl_libdir} ]] && continue >+ >+ for libfile in lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} ; do >+ if [[ ! -f ${libfile} ]] || [[ ! -h ${libfile} ]] ; then >+ continue >+ fi >+ >+ local target_dir="$(dirname $( readlink -q ${libfile} ) )" >+ if [[ "${target_dir}" == "${avail_gl_libdir}" ]]; then >+ rm -f "${libfile}" &>/dev/null >+ fi >+ done >+ popd &>/dev/null >+ done >+ >+ # Create symlinks from /usr/lib to /usr/lib/opengl/<NEW GL PROVIDER>/lib/lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} >+ pushd ${PREFIX#${ROOT}}/${libdir}/opengl/${gl_implem}/lib/ &>/dev/null >+ for libfile in lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} ; do >+ [[ ! -f ${libfile} ]] && continue >+ >+ local target_lib="$(basename $( readlink -qf ${libfile} ) )" >+ ln -sf ${PREFIX#${ROOT}}/${libdir}/opengl/${gl_implem}/lib/${target_lib} ${PREFIX#${ROOT}}/${libdir}/${libfile} >+ done >+ popd &>/dev/null > done > > store_config ${ENV_FILE} LDPATH "${ldpath}"
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 572274
: 423738 |
423740
|
424150
|
425290
|
430844
|
433000