You are not logged in.

#1 2012-10-10 19:34:49

Registered: 2011-07-26
Posts: 15

update-alternatives in archlinux


There is a mesa packages libegl and libgles, that provides useful development pieces like EGL/egl.h, GLES2/gl2.h and libs like /usr/lib/, /usr/lib/ and nvidia-trimslice package (in archlinuxarm, but its not a point)

nvidia-trimslice provides binary drivers from nvidia and libs for hardware acceleration GLES  /usr/lib/, /usr/lib/

Names are same, but I cant set libgles and libegl as conflicts or replases in nvidia-trimslice PKGBUILD cause EGL/egl.h, GLES2/gl2.h and other header files provided by them need to build GLES-driven apps

Ubuntu and debian provides update-alternatives mechanism so nvidia libs placed in /usr/lib/nvidia-tegra, mesa libs in /usr/lib/mesa-gles and symlinks in /etc/ for this libdirs replaces each other, so you can select which lib you prefer for GLES and headers provided by mesa used in both cases.

How can I get it all together worked in archlinux way?

Split libegl and libgles  to libegl-devel and libgles-devel and library packages looks reasonable, but is this okey - to ask maintainer about it?

Last edited by fly-away (2012-10-10 19:36:54)


#2 2012-10-10 19:50:08

Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 7,971

Re: update-alternatives in archlinux

You don't have to ask permission to make your own packages/edit existing packages. If you feel that what you're proposing would benefit a wide number of people, then consider making a feature request on the bug tracker for the package(s) in question, so that the package maintainers will see it.

Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.


Board footer

Powered by FluxBB