FS#56847 - [mesa] Move DRI modules outside of /usr/lib/xorg

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Sunday, 24 December 2017, 16:10 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 25 December 2017, 13:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The DRI modules were placed in .../xorg/... due to historical reasons.
As the modules are used by EGL and effectively Wayland, it makes no sense to keep them there.

Upstream Mesa and various distros (Debian, Fedora) have been using $libdir/dri/ for ages.
Something like the following should just work:

sed -i "s|xorg/modules/dri|dri|g" mesa/PKGBUILD

Note: one will need to rebuild xorg-server against the new Mesa - the path is fetched from dri.pc and hardcoded in the binaries :-\
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 25 December 2017, 13:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  Makes sense, Arch path dropped in 17.3.1-2.
Comment by Andreas Radke (AndyRTR) - Sunday, 24 December 2017, 19:42 GMT
What's wrong with having the module placed there? Arch way is to follow upstream as closely as possible.
Comment by Doug Newgard (Scimmia) - Sunday, 24 December 2017, 20:02 GMT
To follow upstream, the configure option "--with-dri-driverdir=/usr/lib/xorg/modules/dri" should go away, which is what this ticket is asking for.
Comment by Emil (xexaxo) - Monday, 25 December 2017, 10:17 GMT
Andreas, upstream has been using $libdir/dri for over 9 years.
See commit https://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=5dbbde5b222204fa8dfc086b88a8105516f7d727

Loading...