#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 33. GNOME Libraries and Desktop

- Prev

  geocode-glib-3.26.2

- Next

  gnome-autoar-0.3.0

- Up
- Home

# Gjs-1.66.2

## Introduction to Gjs

Gjs is a set of Javascript bindings for GNOME.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gjs/1.66/gjs-1.66.2.tar.xz

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gjs/1.66/gjs-1.66.2.tar.xz

- Download MD5 sum: 3c272f27a2ce18c82261698520b1147f

- Download size: 432 KB

- Estimated disk space required: 82 MB (with tests)

- Estimated build time: 0.8 SBU (with tests)

### Gjs Dependencies

#### Required

Cairo-1.17.2+f93fc72c03e, dbus-1.12.20, gobject-introspection-1.66.1, and js78-78.8.0

#### Recommended (required for GNOME)

GTK+-3.24.25

#### Optional

sysprof-3.38.1, Valgrind-3.16.1 (for tests), DTrace, GTK+-4, LCOV, and Systemtap

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gjs

## Installation of Gjs

Install Gjs by running the following commands:

    mkdir gjs-build &&
    cd    gjs-build &&

    meson --prefix=/usr .. &&
    ninja

To test the results, issue: ninja test. The GTK and Cairo tests will fail if not running in an Xorg session.

Now, as the `root` user:

    ninja install &&
    ln -sfv gjs-console /usr/bin/gjs

## Contents

Installed Programs: gjs (symlink) and gjs-console
Installed Library: libgjs.so
Installed Directories: /usr/include/gjs-1.0, /usr/lib/gjs, /usr/libexec/installed-tests/gjs, /usr/share/gjs-1.0, and /usr/share/installed-tests/gjs

### Short Descriptions

gjs-console | contains a console to run JavaScript commands
`libgjs.so` | contains the GNOME JavaScript bindings

Last updated on 2021-02-24 18:50:56 -0800

- Prev

  geocode-glib-3.26.2

- Next

  gnome-autoar-0.3.0

- Up
- Home