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 "beddeff9c06d3c278988b237da0e7401">
|
---|
10 | <!ENTITY vala-size "2.6 MB">
|
---|
11 | <!ENTITY vala-buildsize "126 MB (additional 2 MB to run the test suite)">
|
---|
12 | <!ENTITY vala-time "0.8 SBU (additional 0.1 SBU to run the test suite)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="vala" xreflabel="Vala-&vala-version;">
|
---|
16 | <?dbhtml filename="vala.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Vala-&vala-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="vala">
|
---|
26 | <primary sortas="a-Vala">Vala</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Vala</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>Vala</application> is a new programming language that
|
---|
34 | aims to bring modern programming language features to
|
---|
35 | <application>GNOME</application> developers without imposing any
|
---|
36 | additional runtime requirements and without using a different ABI
|
---|
37 | compared to applications and libraries written in C.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs75_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&vala-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&vala-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &vala-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &vala-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &vala-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &vala-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="glib2"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
84 | <para role="optional">
|
---|
85 | <xref linkend="dbus"/> (Required for the tests) and
|
---|
86 | <xref linkend="libxslt"/> (Required for generating the documentation)
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para condition="html" role="usernotes">User Notes:
|
---|
90 | <ulink url="&blfs-wiki;/vala"/>
|
---|
91 | </para>
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of Vala</title>
|
---|
96 |
|
---|
97 | <para>Install <application>Vala</application> by running the following
|
---|
98 | commands:</para>
|
---|
99 |
|
---|
100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
101 | make</userinput></screen>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | To test the results, issue: <command>make check</command>. Note
|
---|
105 | that a <application>D-Bus</application> session daemon must be
|
---|
106 | running for the tests to succeed.
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2 role="content">
|
---|
118 | <title>Contents</title>
|
---|
119 |
|
---|
120 | <segmentedlist>
|
---|
121 | <segtitle>Installed Programs</segtitle>
|
---|
122 | <segtitle>Installed Library</segtitle>
|
---|
123 | <segtitle>Installed Directories</segtitle>
|
---|
124 |
|
---|
125 | <seglistitem>
|
---|
126 | <seg>
|
---|
127 | vala, vala-&vala-major-version;, valac,
|
---|
128 | valac-&vala-major-version;, vala-gen-introspect,
|
---|
129 | vala-gen-introspect-&vala-major-version;,
|
---|
130 | vapicheck, vapicheck-&vala-major-version;,
|
---|
131 | vapigen and vapigen-&vala-major-version;
|
---|
132 | </seg>
|
---|
133 | <seg>
|
---|
134 | libvala-&vala-major-version;.so
|
---|
135 | </seg>
|
---|
136 | <seg>
|
---|
137 | /usr/include/vala-&vala-major-version;,
|
---|
138 | /usr/lib/vala-&vala-major-version;,
|
---|
139 | /usr/share/devhelp/books/vala-&vala-major-version;,
|
---|
140 | /usr/share/vala and
|
---|
141 | /usr/share/vala-&vala-major-version;
|
---|
142 | </seg>
|
---|
143 | </seglistitem>
|
---|
144 | </segmentedlist>
|
---|
145 |
|
---|
146 | <variablelist>
|
---|
147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
148 | <?dbfo list-presentation="list"?>
|
---|
149 | <?dbhtml list-presentation="table"?>
|
---|
150 |
|
---|
151 | <varlistentry id="valac">
|
---|
152 | <term><command>valac</command></term>
|
---|
153 | <listitem>
|
---|
154 | <para>
|
---|
155 | is a compiler that translates <application>Vala</application>
|
---|
156 | source code into C source and header files.
|
---|
157 | </para>
|
---|
158 | <indexterm zone="vala valac">
|
---|
159 | <primary sortas="b-valac">valac</primary>
|
---|
160 | </indexterm>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 |
|
---|
164 | <varlistentry id="vala-gen-introspect">
|
---|
165 | <term><command>vala-gen-introspect</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | generates a GI file for GObject and
|
---|
169 | <application>GLib</application> based packages.
|
---|
170 | </para>
|
---|
171 | <indexterm zone="vala vala-gen-introspect">
|
---|
172 | <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="vapicheck">
|
---|
178 | <term><command>vapicheck</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>
|
---|
181 | verifies the generated bindings.
|
---|
182 | </para>
|
---|
183 | <indexterm zone="vala vapicheck">
|
---|
184 | <primary sortas="b-vapicheck">vapicheck</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="vapigen">
|
---|
190 | <term><command>vapigen</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>
|
---|
193 | is a utility which generates <application>Vala</application> API
|
---|
194 | (VAPI) files from GI files.
|
---|
195 | </para>
|
---|
196 | <indexterm zone="vala vapigen">
|
---|
197 | <primary sortas="b-vapigen">vapigen</primary>
|
---|
198 | </indexterm>
|
---|
199 | </listitem>
|
---|
200 | </varlistentry>
|
---|
201 |
|
---|
202 | <varlistentry id="libvala">
|
---|
203 | <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
|
---|
204 | <listitem>
|
---|
205 | <para>
|
---|
206 | contains the <application>Vala</application> API functions.
|
---|
207 | </para>
|
---|
208 | <indexterm zone="vala libvala">
|
---|
209 | <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | </variablelist>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | </sect1>
|
---|