You are not logged in.

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

fly-away
Member
Registered: 2011-07-26
Posts: 15

update-alternatives in archlinux

Hi!

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/libEGL.so.1, /usr/lib/libGLESv2.so.2 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/libEGL.so.1, /usr/lib/libGLESv2.so.2

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/ld.so.conf.d/ 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)

Offline

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

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

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.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB