Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Eselect (OpenGL)"
Jump to navigation
Jump to search
(Created page with "{{Ebuild |Summary=A Gentoo/Funtoo utility that allows the active OpenGL implementation on a system to be switched between a variety of installed options. |CatPkg=app-admin/ese...") |
|||
Line 5: | Line 5: | ||
}} | }} | ||
{{PageNeedsUpdates}} | {{PageNeedsUpdates}} | ||
== Introduction == | |||
Eselect (OpenGL) (also called <tt>eselect-opengl</tt>) is a module for [[Package:Eselect|Eselect]] that allows the OpenGL implementation on a Funtoo Linux or Gentoo Linux system to be switched between a variety of installed OpenGL implementations. It functions by creating an <tt>env,d</tt> file at <tt>/etc/env.d/03opengl</tt> which contains OpenGL settings. A sample <tt>env.d</tt> file for a multilib system with xorg-x11 OpenGL implementation may look like this: | |||
{{file|name=/etc/env.d/03opengl|desc=An example env.d file for eselect-opengl|body= | |||
# Configuration file for eselect | |||
# This file has been automatically generated. | |||
LDPATH="/usr/lib32/opengl/xorg-x11/lib:/usr/lib64/opengl/xorg-x11/lib" | |||
OPENGL_PROFILE="xorg-x11" | |||
}} | |||
== What is Switched == | |||
Eselect-opengl handles switching of the active: | |||
* ''Libraries'' (32-bit and 64-bit): | |||
** libGL | |||
** libEGL | |||
** libGLESv1 | |||
** libGLESv2 | |||
* ''C Headers'': | |||
** <tt>/usr/include/GL/*</tt> | |||
** <tt>/usr/include/EGL/*</tt> | |||
** <tt>/usr/include/KHR/*</tt> | |||
{{EbuildFooter}} | {{EbuildFooter}} |
Revision as of 19:11, June 28, 2014
Eselect (OpenGL)
Tip
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
Introduction
Eselect (OpenGL) (also called eselect-opengl) is a module for Eselect that allows the OpenGL implementation on a Funtoo Linux or Gentoo Linux system to be switched between a variety of installed OpenGL implementations. It functions by creating an env,d file at /etc/env.d/03opengl which contains OpenGL settings. A sample env.d file for a multilib system with xorg-x11 OpenGL implementation may look like this:
/etc/env.d/03opengl
- An example env.d file for eselect-opengl# Configuration file for eselect
# This file has been automatically generated.
LDPATH="/usr/lib32/opengl/xorg-x11/lib:/usr/lib64/opengl/xorg-x11/lib"
OPENGL_PROFILE="xorg-x11"
What is Switched
Eselect-opengl handles switching of the active:
- Libraries (32-bit and 64-bit):
- libGL
- libEGL
- libGLESv1
- libGLESv2
- C Headers:
- /usr/include/GL/*
- /usr/include/EGL/*
- /usr/include/KHR/*