[gnome-shell/wip/jojnar/runjstest-deps: 2/2] build: Add missing dependency to run-js-test



commit 7cd37a4017d3317b10278fd65206ad6785d4d28f
Author: Jan Tojnar <jtojnar gmail com>
Date:   Tue Sep 19 01:05:13 2017 +0200

    build: Add missing dependency to run-js-test
    
    run-js-test requires girepository.h header file which is provided
    by gobject-introspection. gobject-introspection is required by gjs,
    another of our dependencies, so, usually, the header gets included
    by inheriting the cflags from there but some distros interpret
    pkg-config fields more strictly[1] so that will not be the case there.
    
    Listing direct dependencies explicitly is a good practice any way
    so let’s do that.
    
    [1]: https://bugs.freedesktop.org/show_bug.cgi?id=105572
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787864
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1114

 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/meson.build b/src/meson.build
index 05bdb9beab..46680d5b42 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -268,7 +268,7 @@ executable('gnome-shell-perf-helper', 'shell-perf-helper.c',
 )
 
 executable('run-js-test', 'run-js-test.c',
-  dependencies: [mutter_dep, gio_dep, gjs_dep],
+  dependencies: [mutter_dep, gio_dep, gi_dep, gjs_dep],
   include_directories: [conf_inc],
   link_with: libshell,
   build_rpath: mutter_typelibdir,


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