Vala-0.42.5

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 13. Programming

- Prev

  Tk-8.6.9

- Next

  Valgrind-3.14.0

- Up
- Home

# Vala-0.42.5

## 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-8.4 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/vala/0.42/vala-0.42.5.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/vala/0.42/vala-0.42.5.tar.xz

- Download MD5 sum: d204eb4fa210995e731e2a9a01c8c772

- Download size: 3.2 MB

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

- Estimated build time: 1.5 SBU (Using parallelism=4; with tests)

### Additional Downloads

- Optional patch to allow building without graphviz. http://www.linuxfromscratch.org/patches/blfs/svn/vala-0.42.5-avoid_graphviz-1.patch

### Vala Dependencies

#### Required

GLib-2.58.3

#### Recommended

Graphviz-2.40.1 (Required for valadoc)

#### Optional

dbus-1.12.12 (Required for the tests), libxslt-1.1.33 (Required for generating the documentation), help2man, and weasyprint

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

## Installation of Vala

Install Vala by running the following commands:

### Note

If the recommended dependency Graphviz-2.40.1 is not installed, apply a patch. This will prevent building the valadoc program and libraries that can be used to generate API documentation in HTML format from Vala source code.

    patch -p1 -i ../vala-0.42.5-avoid_graphviz-1.patch &&
    ACLOCAL= autoreconf -fiv

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

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Programs: vala, vala-0.42, valac, valadoc (not built if the patch is applied), vala-gen-introspect, and vapigen (symlinks); valac-0.42, valadoc-0.42 (not built if the patch is applied), vala-gen-introspect-0.42, and vapigen-0.42
Installed Library: libvala-0.42.so and libvaladoc-0.42.so (not built if the patch is applied)
Installed Directories: /usr/include/vala-0.42, /usr/include/valadoc-0.42 (not built if the patch is applied), /usr/lib/vala-0.42, /usr/lib/valadoc (not built if the patch is applied), /usr/share/vala, /usr/share/valadoc (not built if the patch is applied), /usr/share/devhelp/books/vala-0.42, and /usr/share/vala-0.42

### Short Descriptions

valac | is a compiler that translates Vala source code into C source and header files.
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.42.so` | contains the Vala API functions.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  Tk-8.6.9

- Next

  Valgrind-3.14.0

- Up
- Home