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.76/gjs-1.76.2.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gjs/1.76/gjs-1.76.2.tar.xz
Download MD5 sum: 0dd8d901d88cb4907791256f1cced8d5
Download size: 631 KB
Estimated disk space required: 240 MB (with tests)
Estimated build time: 0.3 SBU (with tests; with parallelism=4)
Cairo-1.17.6, dbus-1.14.8, gobject-introspection-1.76.1, and JS-102.13.0
sysprof-3.48.0, Valgrind-3.21.0 (for tests), DTrace, LCOV, 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.
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,
stopping it downloading any optional dependency which is not
installed on the system.
-Dprofiler=disabled
: prevents building
the profiler backend even if sysprof-3.48.0
is installed.