tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libGL major number 3 -> 1?



Hi folks,

Part of the OPENGL ABI FOR LINUX hard-codes major numbers.
https://www.khronos.org/registry/OpenGL/ABI/#3
https://github.com/aritger/linux-opengl-abi-proposal/blob/master/linux-opengl-abi-proposal.txt
This is batshit crazy, but often a hard-coded reality.

We treated libGL as not unusual and major bumped it when it got affected
by other changes.

We keep paying the cost where some program doesn't have graphical
acceleration working, someone will keep looking, and it'll turn out to
be that it looks for libGL.so.1 and not libGL.so.

https://github.com/NetBSD/pkgsrc/blob/c62afd8b057a4524a87a2e08c2c4972b9231a3c0/devel/SDL/patches/patch-ac
https://github.com/NetBSD/pkgsrc/blob/c62afd8b057a4524a87a2e08c2c4972b9231a3c0/graphics/cogl/patches/patch-configure
https://github.com/NetBSD/pkgsrc/blob/3b8f0688a4b1a5db72c6c041f640f31a7ef52cdf/graphics/libepoxy/patches/patch-src_dispatch__common.c

Thoughts on undoing this, and going back to the 'recommended' major
numbers?

That is:
libEGL		major 0->1
libGLU		major 3->1
libGL		major 3->1

(perhaps marking the newer major obsolete?)
(It also hard-codes /usr/lib, but that hasn't been as painful)


Home | Main Index | Thread Index | Old Index