[jhbuild/mutter_fixes] mutter: require EGL/eglmesaext.h




commit 2aaded71c221270c76a6a7369c5d407b4173bcd5
Author: Nelson Benítez León <nbenitezl gmail com>
Date:   Sun Feb 14 18:44:56 2021 -0400

    mutter: require EGL/eglmesaext.h
    
    Mutter started depending on EGL/eglmesaext.h, relevant
    commit is:
    https://gitlab.gnome.org/GNOME/mutter/-/commit/a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90
    
    But the jhbuild "egl" sysdep, which Mutter depends upon, is not
    enough to check for that header (as it just checks for "egl.pc"
    pkg-config module on the sytem).
    
    So, we added a new sysdep "mesa-libEGL" that explicitly checks
    for that header. I chose that name because the Fedora
    package's name that provides that header is 'mesa-libEGL-devel'.
    
    Issue #76 (the part of Mutter fail)

 modulesets/gnome-suites-core-latest.modules | 1 +
 modulesets/gnome-sysdeps-latest.modules     | 8 ++++++++
 2 files changed, 9 insertions(+)
---
diff --git a/modulesets/gnome-suites-core-latest.modules b/modulesets/gnome-suites-core-latest.modules
index d10064c3..6f9b7031 100644
--- a/modulesets/gnome-suites-core-latest.modules
+++ b/modulesets/gnome-suites-core-latest.modules
@@ -559,6 +559,7 @@
       <dep package="libXrender"/>
       <dep package="libxkbcommon"/>
       <dep package="libxkbfile"/>
+      <dep package="mesa-libEGL"/> <!-- provides EGL/eglmesaext.h -->
       <dep package="mesa-libGLES"/>
       <dep package="pango"/>
       <dep package="sm"/>
diff --git a/modulesets/gnome-sysdeps-latest.modules b/modulesets/gnome-sysdeps-latest.modules
index 66870db8..6b38f6c3 100644
--- a/modulesets/gnome-sysdeps-latest.modules
+++ b/modulesets/gnome-sysdeps-latest.modules
@@ -1452,4 +1452,12 @@
       <dep type="c_include" name="vulkan/vulkan.h"/>
     </systemdependencies>
   </systemmodule>
+
+  <systemmodule id="mesa-libEGL">
+    <branch repo="system"/>
+    <systemdependencies>
+      <dep type="c_include" name="EGL/eglmesaext.h"/>
+    </systemdependencies>
+  </systemmodule>
+
 </moduleset>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]