#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 13. Programming

- Prev

  unifdef-2.12

- Next

  Valgrind-3.24.0

- Up
- Home

# Vala-0.56.17

## Introduction to Vala

Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C.

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

### Package Information

- Download (HTTP): https://download.gnome.org/sources/vala/0.56/vala-0.56.17.tar.xz

- Download MD5 sum: 134075855867fdd9c51ca7555c4951bb

- Download size: 3.8 MB

- Estimated disk space required: 160 MB (add 19 MB for tests)

- Estimated build time: 0.5 SBU (add 1.0 SBU for tests; both using parallelism=4)

### Vala Dependencies

#### Required

GLib-2.82.5 (GObject Introspection required for the tests)

#### Recommended

Graphviz-12.2.1 (Required for valadoc)

#### Optional

dbus-1.16.0 (Required for the tests), libxslt-1.1.42 (Required for generating the documentation), help2man, jing, and weasyprint

## Installation of Vala

Install Vala by running the following commands:

    ./configure --prefix=/usr &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Command Explanations

`bootstrap`: This make target forces the building system to build the package twice and use the vala executable produced in the first build to regenerate the `.c` files from the `.vala` files if needed. If a vala executable is not installed yet and you've modified any `.vala` files in the source tree, run make bootstrap instead of make.

`--disable-valadoc`: This option is required if Graphviz-12.2.1 is not installed.

## Contents

Installed Programs: vala, vala-0.56, valac, valadoc, vala-gen-introspect, and vapigen (symlinks); valac-0.56, valadoc-0.56, vala-gen-introspect-0.56, and vapigen-0.56
Installed Library: libvala-0.56.so and libvaladoc-0.56.so
Installed Directories: /usr/include/vala-0.56, /usr/include/valadoc-0.56, /usr/lib/vala-0.56, /usr/lib/valadoc-0.56, /usr/share/vala, /usr/share/vala-0.56, /usr/share/valadoc-0.56, and /usr/share/devhelp/books/vala-0.56

### Short Descriptions

valac | is a compiler that translates Vala source code into C source and header files
valadoc | is a documentation generator for generating API documentation from Vala source code based on libvala
vala-gen-introspect | generates a GI file for GObject and GLib based packages
vapigen | is an utility which generates Vala API (VAPI) files from GI files
`libvala-0.56.so` | contains the Vala API functions

- Prev

  unifdef-2.12

- Next

  Valgrind-3.24.0

- Up
- Home