[jhbuild/wip/lantw/core-deps-latest-Set-localstatedir-to-var-for-GLib] core-deps-latest: Set localstatedir to /var for GLib




commit abddbb414ce725d6d8f31a914adbc09ca26daaea
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sun Nov 21 23:36:50 2021 +0800

    core-deps-latest: Set localstatedir to /var for GLib
    
    Otherwise, GLib won't find the machine ID file because it wants to find
    it under the JHBuild prefix instead of /var/lib/dbus/machine-id.
    
    Fixes: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/276

 modulesets/gnome-suites-core-deps-latest.modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modulesets/gnome-suites-core-deps-latest.modules 
b/modulesets/gnome-suites-core-deps-latest.modules
index f0d8ee4c..7a93635d 100644
--- a/modulesets/gnome-suites-core-deps-latest.modules
+++ b/modulesets/gnome-suites-core-deps-latest.modules
@@ -581,7 +581,7 @@
     </branch>
   </autotools>
 
-  <meson id="glib" mesonargs="-Dlibmount=disabled">
+  <meson id="glib" mesonargs="--localstatedir=/var -Dlibmount=disabled">
     <if condition-set="freebsd">
       <mesonargs value="-Db_lundef=false -Ddtrace=false -Diconv=external -Dxattr=false"/>
     </if>


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