Gjs is a set of Javascript bindings for GNOME.
This package is known to build and work properly using an LFS 12.3 platform.
Download (HTTP): https://download.gnome.org/sources/gjs/1.82/gjs-1.82.1.tar.xz
Download MD5 sum: 3ebc85da56719932d4d8f713ffbcf786
Download size: 712 KB
Estimated disk space required: 286 MB (with tests)
Estimated build time: 0.2 SBU (with tests; with parallelism=4)
Cairo-1.18.2, dbus-1.16.0, GLib-2.82.4 (with GObject Introspection), and SpiderMonkey from Firefox-128.7.0
Valgrind-3.24.0 (for tests), DTrace, LCOV, sysprof, and Systemtap
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, issue: ninja test in a graphical session.
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
: prevents building
the profiler backend even if sysprof is installed.