source: general/prog/vala.xml@ 48a5d77

10.0 10.1 11.0 8.4 9.0 9.1 bdubbs/svn ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 48a5d77 was 48a5d77, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to vala-0.42.4.
Update to libgsf-1.14.45.
Update to DateTime-Calendar-Julian-0.100.

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

  • Property mode set to 100644
File size: 7.9 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 "f34cb465a164ba7f1f2e7fea31f36d13">
10 <!ENTITY vala-size "3.2 MB">
11 <!ENTITY vala-buildsize "134 MB (with tests)">
12 <!ENTITY vala-time "1.0 SBU (Using parallelism=4; with 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 &lfs83_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://ftp.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>Install <application>Vala</application> by running the following
115 commands:</para>
116
117 <note>
118 <para>If the recommended dependency <xref linkend="graphviz"/> is not
119 installed, apply a patch. This will prevent building the valadoc program
120 and libraries that can be used to generate API documentation in HTML format
121 from Vala source code.
122 </para>
123
124<screen><userinput>patch -p1 -i ../vala-&vala-version;-avoid_graphviz-1.patch &amp;&amp;
125ACLOCAL= autoreconf -fiv</userinput></screen>
126 </note>
127
128<screen><userinput>./configure --prefix=/usr &amp;&amp;
129make</userinput></screen>
130
131 <para>
132 To test the results, issue: <command>make check</command>.
133 </para>
134
135 <para>
136 Now, as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>make install</userinput></screen>
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 (not built if the patch is applied),
157 vala-gen-introspect, and
158 vapigen (symlinks);
159
160 valac-&vala-major-version;,
161 valadoc-&vala-major-version; (not built if the patch is applied),
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 (not built if the patch is applied)
168 </seg>
169 <seg>
170 /usr/include/vala-&vala-major-version;,
171 /usr/include/valadoc-&vala-major-version; (not built if the patch is applied),
172 /usr/lib/vala-&vala-major-version;,
173 /usr/lib/valadoc (not built if the patch is applied),
174 /usr/share/vala,
175 /usr/share/valadoc (not built if the patch is applied),
176 /usr/share/devhelp/books/vala-&vala-major-version;, and
177 /usr/share/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="vala-gen-introspect">
201 <term><command>vala-gen-introspect</command></term>
202 <listitem>
203 <para>
204 generates a GI file for GObject and
205 <application>GLib</application> based packages.
206 </para>
207 <indexterm zone="vala vala-gen-introspect">
208 <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213<!--
214 <varlistentry id="vapicheck">
215 <term><command>vapicheck</command></term>
216 <listitem>
217 <para>
218 verifies the generated bindings.
219 </para>
220 <indexterm zone="vala vapicheck">
221 <primary sortas="b-vapicheck">vapicheck</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>
Note: See TracBrowser for help on using the repository browser.