Gjs is a set of Javascript bindings for GNOME.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/gjs/1.90/gjs-1.90.0.tar.xz
Download MD5 sum: 8462afc318658636c031f36363f1b05f
Download size: 800 KB
Estimated disk space required: 329 MB (with tests)
Estimated build time: 0.2 SBU (with tests; with parallelism=4)
Cairo-1.18.4, dbus-1.16.2, GLib-2.90.0 (with GObject Introspection), and SpiderMonkey from Firefox-140.16.0
GTK-3.24.52, GTK-4.24.0, and Valgrind-3.27.1
Install Gjs by running the following commands:
mkdir gjs-build &&
cd gjs-build &&
meson setup --prefix=/usr \
--buildtype=release \
--wrap-mode=nofallback \
.. &&
ninja
To test the results, ensure both GTK-3.24.52 and GTK-4.24.0 are installed and issue: ninja test in a graphical session. Three tests, gjs:Warnings, gjs:Gtk4Warnings, and gjs:CommandLine, have subtests that fail.
Now, as the root user:
ninja install
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
--wrap-mode=nofallback:
This switch prevents meson from using subproject
fallbacks for any dependency declarations in the build files,
preventing it from downloading any optional dependencies which are
not installed on the system.
-D profiler=disabled: This switch
prevents building the profiler backend even if sysprof is
installed.