Gjs is a set of Javascript bindings for GNOME.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://download.gnome.org/sources/gjs/1.74/gjs-1.74.1.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gjs/1.74/gjs-1.74.1.tar.xz
Download MD5 sum: f82d0acac0c750ce5298a2d4789af401
Download size: 624 KB
Estimated disk space required: 239 MB (with tests)
Estimated build time: 1.1 SBU (with tests)
Cairo-1.17.6, dbus-1.14.4, gobject-introspection-1.74.0, and JS-102.7.0
sysprof-3.46.0, Valgrind-3.20.0 (for tests), DTrace, LCOV, and Systemtap
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gjs
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. The GTK and Cairo tests will fail if not running in an Xorg session. Four tests are known to timeout.
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.46.0
is installed.