[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:glx-xlib-workaround
wiki-admin at x2go.org
wiki-admin at x2go.org
Sat Nov 4 12:27:20 CET 2017
A page in your DokuWiki was added or changed. Here are the details:
Date : 2017/11/04 11:27
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
IP-Address : 178.162.222.163
Hostname : 178.162.222.163.adsl.inet-telecom.org
Old Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround?rev=1509793792
New Revision: https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround
Edit Summary: Don't build the full MESA suite first, use the ebuild tool directly.
User : ionic
@@ -43,24 +43,20 @@
Configure portage to keep the working area that is used to compile the Mesa package. Before doing so, ensure that the USE flags for media-libs/mesa are configured to your liking.
<code>
- mkdir -p /etc/portage/env
- echo 'FEATURES="noclean"' > /etc/portage/env/features-noclean
- echo 'media-libs/mesa features-noclean' >> /etc/portage/package.env
- emerge -av media-libs/mesa
+ export MESA_VERSION=$(equery -q list
media-libs/mesa -F '$version')
+ ebuild "/usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild" prepare
</code>
Now compile the library and move it over to the storage location:
<code>
- export MESA_VERSION=$(equery -q list media-libs/mesa -F '$version')
cd /var/tmp/portage/media-libs/mesa-${MESA_VERSION}/work/mesa-${MESA_VERSION}
scons libgl-xlib
cp build/linux-x86_64-debug/gallium/targets/libgl-xlib/* /usr/local/share/mesa-libgl-xlib/
</code>
- Warning: The ''noclean'' feature will result in old versions of the working area for media-libs/mesa stacking up in /var/tmp/portage over time. Remove them from time to time - or right now after compiling and saving the library:
+ Cleanup:
<code>
- cd
ebuild /usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild clean
</code>
--
This mail was generated by DokuWiki at
https://wiki.x2go.org/
More information about the x2go-commits
mailing list