1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY vala-download-http "&gnome-download-http;/vala/&vala-major-version;/vala-&vala-version;.tar.xz">
|
---|
8 | <!ENTITY vala-download-ftp "&gnome-download-ftp;/vala/&vala-major-version;/vala-&vala-version;.tar.xz">
|
---|
9 | <!ENTITY vala-md5sum "e193bf126416ad5db36a1c52eb391b63">
|
---|
10 | <!ENTITY vala-size "3.4 MB">
|
---|
11 | <!ENTITY vala-buildsize "145 MB (add 16 MB for tests)">
|
---|
12 | <!ENTITY vala-time "0.4 SBU (using parallelism=4; add 3.1 SBU for tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="vala" xreflabel="Vala-&vala-version;">
|
---|
16 | <?dbhtml filename="vala.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Vala-&vala-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="vala">
|
---|
25 | <primary sortas="a-Vala">Vala</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to Vala</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | <application>Vala</application> is a new programming language that
|
---|
33 | aims to bring modern programming language features to
|
---|
34 | <application>GNOME</application> developers without imposing any
|
---|
35 | additional runtime requirements and without using a different ABI
|
---|
36 | compared to applications and libraries written in C.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs110a_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&vala-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&vala-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &vala-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &vala-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &vala-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &vala-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 | <!--
|
---|
75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
76 | <itemizedlist spacing="compact">
|
---|
77 | <listitem>
|
---|
78 | <para>
|
---|
79 | Optional patch to allow building without graphviz.
|
---|
80 | <ulink url="&patch-root;/vala-&vala-version;-avoid_graphviz-1.patch"/>
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 | -->
|
---|
85 | <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
88 | <para role="required">
|
---|
89 | <xref linkend="glib2"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
93 | <para role="recommended">
|
---|
94 | <xref linkend="graphviz"/> (Required for valadoc)
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
98 | <para role="optional">
|
---|
99 | <xref linkend="dbus"/> (Required for the tests),
|
---|
100 | <xref linkend="libxslt"/> (Required for generating the documentation),
|
---|
101 | <ulink url="https://ftpmirror.gnu.org/gnu/help2man/">help2man</ulink>, and
|
---|
102 | <ulink url="https://weasyprint.org/">weasyprint</ulink>
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <para condition="html" role="usernotes">User Notes:
|
---|
106 | <ulink url="&blfs-wiki;/vala"/>
|
---|
107 | </para>
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="installation">
|
---|
111 | <title>Installation of Vala</title>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | Install <application>Vala</application> by running the following
|
---|
115 | commands:
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <screen><userinput>./configure --prefix=/usr &&
|
---|
119 | make</userinput></screen>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | To test the results, issue: <command>make check</command>.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="commands">
|
---|
134 | <title>Command Explanations</title>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | <option>--disable-valadoc</option>: This option is
|
---|
138 | required if <xref linkend="graphviz"/> is not installed.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Programs</segtitle>
|
---|
148 | <segtitle>Installed Library</segtitle>
|
---|
149 | <segtitle>Installed Directories</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>
|
---|
153 | vala,
|
---|
154 | vala-&vala-major-version;,
|
---|
155 | valac,
|
---|
156 | valadoc,
|
---|
157 | vala-gen-introspect, and
|
---|
158 | vapigen (symlinks);
|
---|
159 |
|
---|
160 | valac-&vala-major-version;,
|
---|
161 | valadoc-&vala-major-version;,
|
---|
162 | vala-gen-introspect-&vala-major-version;, and
|
---|
163 | vapigen-&vala-major-version;
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | libvala-&vala-major-version;.so and
|
---|
167 | libvaladoc-&vala-major-version;.so
|
---|
168 | </seg>
|
---|
169 | <seg>
|
---|
170 | /usr/include/vala-&vala-major-version;,
|
---|
171 | /usr/include/valadoc-&vala-major-version;,
|
---|
172 | /usr/lib/vala-&vala-major-version;,
|
---|
173 | /usr/lib/valadoc-&vala-major-version;,
|
---|
174 | /usr/share/vala,
|
---|
175 | /usr/share/vala-&vala-major-version;,
|
---|
176 | /usr/share/valadoc-&vala-major-version;, and
|
---|
177 | /usr/share/devhelp/books/vala-&vala-major-version;
|
---|
178 | </seg>
|
---|
179 | </seglistitem>
|
---|
180 | </segmentedlist>
|
---|
181 |
|
---|
182 | <variablelist>
|
---|
183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
184 | <?dbfo list-presentation="list"?>
|
---|
185 | <?dbhtml list-presentation="table"?>
|
---|
186 |
|
---|
187 | <varlistentry id="valac">
|
---|
188 | <term><command>valac</command></term>
|
---|
189 | <listitem>
|
---|
190 | <para>
|
---|
191 | is a compiler that translates <application>Vala</application>
|
---|
192 | source code into C source and header files
|
---|
193 | </para>
|
---|
194 | <indexterm zone="vala valac">
|
---|
195 | <primary sortas="b-valac">valac</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="valadoc">
|
---|
201 | <term><command>valadoc</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>
|
---|
204 | is a documentation generator for generating API documentation
|
---|
205 | from <application>Vala</application> source code based on libvala
|
---|
206 | </para>
|
---|
207 | <indexterm zone="vala valadoc">
|
---|
208 | <primary sortas="b-valadoc">valadoc</primary>
|
---|
209 | </indexterm>
|
---|
210 | </listitem>
|
---|
211 | </varlistentry>
|
---|
212 |
|
---|
213 | <varlistentry id="vala-gen-introspect">
|
---|
214 | <term><command>vala-gen-introspect</command></term>
|
---|
215 | <listitem>
|
---|
216 | <para>
|
---|
217 | generates a GI file for GObject and
|
---|
218 | <application>GLib</application> based packages
|
---|
219 | </para>
|
---|
220 | <indexterm zone="vala vala-gen-introspect">
|
---|
221 | <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
---|
222 | </indexterm>
|
---|
223 | </listitem>
|
---|
224 | </varlistentry>
|
---|
225 |
|
---|
226 | <varlistentry id="vapigen">
|
---|
227 | <term><command>vapigen</command></term>
|
---|
228 | <listitem>
|
---|
229 | <para>
|
---|
230 | is an utility which generates <application>Vala</application> API
|
---|
231 | (VAPI) files from GI files
|
---|
232 | </para>
|
---|
233 | <indexterm zone="vala vapigen">
|
---|
234 | <primary sortas="b-vapigen">vapigen</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="libvala">
|
---|
240 | <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
|
---|
241 | <listitem>
|
---|
242 | <para>
|
---|
243 | contains the <application>Vala</application> API functions
|
---|
244 | </para>
|
---|
245 | <indexterm zone="vala libvala">
|
---|
246 | <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
|
---|
247 | </indexterm>
|
---|
248 | </listitem>
|
---|
249 | </varlistentry>
|
---|
250 |
|
---|
251 | </variablelist>
|
---|
252 |
|
---|
253 | </sect2>
|
---|
254 |
|
---|
255 | </sect1>
|
---|