source: general/prog/vala.xml@ e83d3a5

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since e83d3a5 was e83d3a5, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Update to tracker-miners-3.0.4
Update to tracker-3.0.3
Update to gnome-terminal-3.38.2
Update to gnome-maps-3.38.3
Update to gjs-1.66.1
Update to vala-0.50.3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24107 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.6 KB
Line 
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 "4431e41bce5380ed6481376e927ac0e3">
10 <!ENTITY vala-size "3.4 MB">
11 <!ENTITY vala-buildsize "220 MB (add 18 MB for tests)">
12 <!ENTITY vala-time "0.5 SBU (using parallelism=4; add 2.3 SBU for tests)">
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 &lfs10_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">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Optional patch to allow building without graphviz.
81 <ulink url="&patch-root;/vala-&vala-version;-avoid_graphviz-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85-->
86 <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="glib2"/>
91 </para>
92
93 <bridgehead renderas="sect4">Recommended</bridgehead>
94 <para role="recommended">
95 <xref linkend="graphviz"/> (Required for valadoc)
96 </para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
100 <xref linkend="dbus"/> (Required for the tests),
101 <xref linkend="libxslt"/> (Required for generating the documentation),
102 <ulink url="https://ftpmirror.gnu.org/gnu/help2man/">help2man</ulink>, and
103 <ulink url="https://weasyprint.org/">weasyprint</ulink>
104 </para>
105
106 <para condition="html" role="usernotes">User Notes:
107 <ulink url="&blfs-wiki;/vala"/>
108 </para>
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of Vala</title>
113
114 <para>
115 Install <application>Vala</application> by running the following
116 commands:
117 </para>
118
119<screen><userinput>./configure --prefix=/usr &amp;&amp;
120make</userinput></screen>
121
122 <para>
123 To test the results, issue: <command>make check</command>.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <para>
138 <option>--disable-valadoc</option>: This option is
139 required if <xref linkend="graphviz"/> is not installed.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Library</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 vala,
155 vala-&vala-major-version;,
156 valac,
157 valadoc,
158 vala-gen-introspect, and
159 vapigen (symlinks);
160
161 valac-&vala-major-version;,
162 valadoc-&vala-major-version;,
163 vala-gen-introspect-&vala-major-version;, and
164 vapigen-&vala-major-version;
165 </seg>
166 <seg>
167 libvala-&vala-major-version;.so and
168 libvaladoc-&vala-major-version;.so
169 </seg>
170 <seg>
171 /usr/include/vala-&vala-major-version;,
172 /usr/include/valadoc-&vala-major-version;,
173 /usr/lib/vala-&vala-major-version;,
174 /usr/lib/valadoc-&vala-major-version;,
175 /usr/share/vala,
176 /usr/share/vala-&vala-major-version;,
177 /usr/share/valadoc-&vala-major-version;, and
178 /usr/share/devhelp/books/vala-&vala-major-version;
179 </seg>
180 </seglistitem>
181 </segmentedlist>
182
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="valac">
189 <term><command>valac</command></term>
190 <listitem>
191 <para>
192 is a compiler that translates <application>Vala</application>
193 source code into C source and header files.
194 </para>
195 <indexterm zone="vala valac">
196 <primary sortas="b-valac">valac</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="valadoc">
202 <term><command>valadoc</command></term>
203 <listitem>
204 <para>
205 is a documentation generator for generating API documentation
206 from <application>Vala</application> source code based on libvala.
207 </para>
208 <indexterm zone="vala valadoc">
209 <primary sortas="b-valadoc">valadoc</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="vala-gen-introspect">
215 <term><command>vala-gen-introspect</command></term>
216 <listitem>
217 <para>
218 generates a GI file for GObject and
219 <application>GLib</application> based packages.
220 </para>
221 <indexterm zone="vala vala-gen-introspect">
222 <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="vapigen">
228 <term><command>vapigen</command></term>
229 <listitem>
230 <para>
231 is an utility which generates <application>Vala</application> API
232 (VAPI) files from GI files.
233 </para>
234 <indexterm zone="vala vapigen">
235 <primary sortas="b-vapigen">vapigen</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="libvala">
241 <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
242 <listitem>
243 <para>
244 contains the <application>Vala</application> API functions.
245 </para>
246 <indexterm zone="vala libvala">
247 <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 </variablelist>
253
254 </sect2>
255
256</sect1>
Note: See TracBrowser for help on using the repository browser.