FS#62869 - [libglvnd] Add patch to provide glesv1_cm.pc and glesv2.pc with newer mesa version.
Attached to Project:
Arch Linux
Opened by Térence Clastres (Terence) - Monday, 10 June 2019, 18:58 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 26 September 2019, 15:02 GMT
Opened by Térence Clastres (Terence) - Monday, 10 June 2019, 18:58 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 26 September 2019, 15:02 GMT
|
Details
Description:
Since https://cgit.freedesktop.org/mesa/mesa/commit/?id=b01524fff05eef66e8cd24f1c5aacefed4209f03, mesa rightfully stopped building libGLES*.so as libglvnd should fulfill this purpose. Unfortunately, libglvnd doesn't provide everything like pkg-config files like glesv1_cm.pc and glesv2.pc and thus compilation of certain programs using meson can't happen because the check for dependencies fail (e.g. mutter). Solution: Patch current libglvnd to provide the missing .pc files. Please find attached a rebased patch I made for v1.1.1 with suggested fixes from the MR reviewer as well as a tested PKGBUILD using it. Additional info: * Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=110141 * Merge request: https://github.com/NVIDIA/libglvnd/pull/86 |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Thursday, 26 September 2019, 15:02 GMT
Reason for closing: Fixed
Additional comments about closing: libglvnd-1.2.0
Thursday, 26 September 2019, 15:02 GMT
Reason for closing: Fixed
Additional comments about closing: libglvnd-1.2.0
It IS included in mesa 19.1 tree though, which is currently at RC5 .
Terence, have you tested if the patched glvnd works with extra/mesa 19.0.6-1 ?
```
error: failed to commit transaction (conflicting files)
mesa: /usr/lib/pkgconfig/glesv1_cm.pc exists in filesystem (owned by libglvnd)
mesa: /usr/lib/pkgconfig/glesv2.pc exists in filesystem (owned by libglvnd)
```
Either we wait for mesa 19.1 to update both mesa and libglvnd or we update libglvnd straight away but we need to bump mesa pkgrel with a PKGBUILD updated to not provide glesv1_cm.pc and glesv2.pc to solve the conflict.