2012-01-28 04:45:11 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-07-06 01:07:29 +08:00
|
|
|
<!ENTITY vala-download-http "&gnome-download-http;/vala/&vala-major-version;/vala-&vala-version;.tar.xz">
|
|
|
|
<!ENTITY vala-download-ftp "&gnome-download-ftp;/vala/&vala-major-version;/vala-&vala-version;.tar.xz">
|
2020-10-02 22:24:40 +08:00
|
|
|
<!ENTITY vala-md5sum "42b3120758a8f5c1909627bfa7b017b4">
|
2020-03-05 09:25:16 +08:00
|
|
|
<!ENTITY vala-size "3.3 MB">
|
2020-09-17 11:12:15 +08:00
|
|
|
<!ENTITY vala-buildsize "175 MB (add 2 MB for tests)">
|
2020-10-02 22:24:40 +08:00
|
|
|
<!ENTITY vala-time "0.4 SBU (using parallelism=4; add 2.2 SBU for tests)">
|
2012-01-28 04:45:11 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="vala" xreflabel="Vala-&vala-version;">
|
|
|
|
<?dbhtml filename="vala.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Vala-&vala-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="vala">
|
|
|
|
<primary sortas="a-Vala">Vala</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Vala</title>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
<application>Vala</application> is a new programming language that
|
|
|
|
aims to bring modern programming language features to
|
|
|
|
<application>GNOME</application> developers without imposing any
|
|
|
|
additional runtime requirements and without using a different ABI
|
|
|
|
compared to applications and libraries written in C.
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
|
2020-08-17 12:26:53 +08:00
|
|
|
&lfs10_checked;
|
2012-01-28 04:45:11 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&vala-download-http;"/>
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&vala-download-ftp;"/>
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &vala-md5sum;
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Download size: &vala-size;
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &vala-buildsize;
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &vala-time;
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2019-03-11 10:19:25 +08:00
|
|
|
<!--
|
2018-10-01 06:40:42 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Optional patch to allow building without graphviz.
|
|
|
|
<ulink url="&patch-root;/vala-&vala-version;-avoid_graphviz-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2019-03-11 10:19:25 +08:00
|
|
|
-->
|
2012-01-28 04:45:11 +08:00
|
|
|
<bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-04-17 00:14:42 +08:00
|
|
|
<para role="required">
|
2017-09-14 10:14:43 +08:00
|
|
|
<xref linkend="glib2"/>
|
2012-04-17 00:14:42 +08:00
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
|
2018-09-06 05:07:44 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="graphviz"/> (Required for valadoc)
|
|
|
|
</para>
|
|
|
|
|
2012-01-28 04:45:11 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-04-17 00:14:42 +08:00
|
|
|
<para role="optional">
|
2017-09-14 10:14:43 +08:00
|
|
|
<xref linkend="dbus"/> (Required for the tests),
|
2018-08-10 00:31:22 +08:00
|
|
|
<xref linkend="libxslt"/> (Required for generating the documentation),
|
2020-09-05 00:23:12 +08:00
|
|
|
<ulink url="https://ftpmirror.gnu.org/gnu/help2man/">help2man</ulink>, and
|
2018-08-10 00:31:22 +08:00
|
|
|
<ulink url="https://weasyprint.org/">weasyprint</ulink>
|
2012-04-17 00:14:42 +08:00
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-05-17 00:39:28 +08:00
|
|
|
<ulink url="&blfs-wiki;/vala"/>
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Vala</title>
|
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Vala</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2018-08-14 11:10:43 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2012-01-28 04:45:11 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2014-09-28 04:55:43 +08:00
|
|
|
To test the results, issue: <command>make check</command>.
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2019-03-11 10:19:25 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>--disable-valadoc</option>: This option is
|
|
|
|
required if <xref linkend="graphviz"/> is not installed.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2012-01-28 04:45:11 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-03-31 01:11:57 +08:00
|
|
|
<seg>
|
2017-09-08 04:36:55 +08:00
|
|
|
vala,
|
2017-11-12 10:36:43 +08:00
|
|
|
vala-&vala-major-version;,
|
2017-09-08 04:36:55 +08:00
|
|
|
valac,
|
2019-03-11 11:34:54 +08:00
|
|
|
valadoc,
|
2018-04-05 00:58:01 +08:00
|
|
|
vala-gen-introspect, and
|
2017-09-08 04:36:55 +08:00
|
|
|
vapigen (symlinks);
|
|
|
|
|
|
|
|
valac-&vala-major-version;,
|
2019-03-11 11:34:54 +08:00
|
|
|
valadoc-&vala-major-version;,
|
2018-04-05 00:58:01 +08:00
|
|
|
vala-gen-introspect-&vala-major-version;, and
|
2015-08-13 09:50:44 +08:00
|
|
|
vapigen-&vala-major-version;
|
2012-03-31 01:11:57 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2017-09-08 04:36:55 +08:00
|
|
|
libvala-&vala-major-version;.so and
|
2019-03-11 11:34:54 +08:00
|
|
|
libvaladoc-&vala-major-version;.so
|
2012-03-31 01:11:57 +08:00
|
|
|
</seg>
|
2012-03-31 03:22:43 +08:00
|
|
|
<seg>
|
2013-07-06 01:07:29 +08:00
|
|
|
/usr/include/vala-&vala-major-version;,
|
2019-03-11 11:34:54 +08:00
|
|
|
/usr/include/valadoc-&vala-major-version;,
|
2013-07-06 01:07:29 +08:00
|
|
|
/usr/lib/vala-&vala-major-version;,
|
2020-07-31 16:27:44 +08:00
|
|
|
/usr/lib/valadoc-&vala-major-version;,
|
2018-10-01 06:40:42 +08:00
|
|
|
/usr/share/vala,
|
2020-07-31 16:27:44 +08:00
|
|
|
/usr/share/vala-&vala-major-version;,
|
|
|
|
/usr/share/valadoc-&vala-major-version;, and
|
|
|
|
/usr/share/devhelp/books/vala-&vala-major-version;
|
2012-03-31 03:22:43 +08:00
|
|
|
</seg>
|
2012-01-28 04:45:11 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="valac">
|
|
|
|
<term><command>valac</command></term>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
is a compiler that translates <application>Vala</application>
|
|
|
|
source code into C source and header files.
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
<indexterm zone="vala valac">
|
|
|
|
<primary sortas="b-valac">valac</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2020-07-31 16:27:44 +08:00
|
|
|
<varlistentry id="valadoc">
|
|
|
|
<term><command>valadoc</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a documentation generator for generating API documentation
|
|
|
|
from <application>Vala</application> source code based on libvala.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="vala valadoc">
|
|
|
|
<primary sortas="b-valadoc">valadoc</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-03-31 01:11:57 +08:00
|
|
|
<varlistentry id="vala-gen-introspect">
|
|
|
|
<term><command>vala-gen-introspect</command></term>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2012-09-27 03:34:44 +08:00
|
|
|
generates a GI file for GObject and
|
|
|
|
<application>GLib</application> based packages.
|
2012-05-17 00:39:28 +08:00
|
|
|
</para>
|
2012-03-31 01:11:57 +08:00
|
|
|
<indexterm zone="vala vala-gen-introspect">
|
|
|
|
<primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-01-28 04:45:11 +08:00
|
|
|
<varlistentry id="vapigen">
|
|
|
|
<term><command>vapigen</command></term>
|
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
2016-12-05 21:36:46 +08:00
|
|
|
is an utility which generates <application>Vala</application> API
|
2012-05-17 00:39:28 +08:00
|
|
|
(VAPI) files from GI files.
|
|
|
|
</para>
|
2012-01-28 04:45:11 +08:00
|
|
|
<indexterm zone="vala vapigen">
|
|
|
|
<primary sortas="b-vapigen">vapigen</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-09-27 03:34:44 +08:00
|
|
|
<varlistentry id="libvala">
|
2013-07-06 01:07:29 +08:00
|
|
|
<term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
|
2012-01-28 04:45:11 +08:00
|
|
|
<listitem>
|
2012-05-17 00:39:28 +08:00
|
|
|
<para>
|
|
|
|
contains the <application>Vala</application> API functions.
|
|
|
|
</para>
|
2012-09-27 03:34:44 +08:00
|
|
|
<indexterm zone="vala libvala">
|
2013-07-06 01:07:29 +08:00
|
|
|
<primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
|
2012-01-28 04:45:11 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|