User Tools

Site Tools


wiki:development:glx-xlib-workaround

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:development:glx-xlib-workaround [2017/11/04 11:09]
ionic Fix typo in cleaning instruction.
wiki:development:glx-xlib-workaround [2017/11/04 11:28]
ionic Do not record development tools in world file if not strictly necessary.
Line 30: Line 30:
  
 <code> <code>
-emerge -av app-portage/gentoolkit dev-util/scons dev-python/mako+emerge -1av app-portage/gentoolkit dev-util/scons dev-python/mako
 </code> </code>
  
Line 45: Line 45:
  
 <code> <code>
-mkdir -p /etc/portage/env +export MESA_VERSION=$(equery -q list media-libs/mesa -'$version'
-echo 'FEATURES="noclean"' > /etc/portage/env/features-noclean +ebuild "/usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild" prepare
-echo 'media-libs/mesa features-noclean>> /etc/portage/package.env +
-emerge -av media-libs/mesa+
 </code> </code>
  
 Now compile the library and move it over to the storage location: Now compile the library and move it over to the storage location:
 <code> <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} cd /var/tmp/portage/media-libs/mesa-${MESA_VERSION}/work/mesa-${MESA_VERSION}
 scons libgl-xlib scons libgl-xlib
Line 59: Line 56:
 </code> </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> <code>
-cd 
 ebuild /usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild clean ebuild /usr/portage/media-libs/mesa/mesa-${MESA_VERSION}.ebuild clean
 </code> </code>
wiki/development/glx-xlib-workaround.txt · Last modified: 2021/10/25 21:01 by uli42