source: general/prog/vala.xml@ cb2e120

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since cb2e120 was cb2e120, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to libnl-3.4.0.
Update to vala-0.38.2.
Update to postgresql-10.0.
Update to dconf-editor-3.26.1.
Update to postfix-3.2.3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19332 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 "720846116448fc20b0ab3c0921e19798">
10 <!ENTITY vala-size "3.2 MB">
11 <!ENTITY vala-buildsize "156 MB (including tests)">
12 <!ENTITY vala-time "0.5 SBU (using parallelism=4, including 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 &lfs81_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 Required patch:
81 <ulink url="&patch-root;/vala-&vala-version;-upstream_fixes-2.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">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="dbus"/> (Required for the tests),
96 <xref linkend="graphviz"/> (Required for valadoc),
97 <xref linkend="libxslt"/> (Required for generating the documentation)
98 </para>
99
100 <para condition="html" role="usernotes">User Notes:
101 <ulink url="&blfs-wiki;/vala"/>
102 </para>
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of Vala</title>
107
108 <para>Install <application>Vala</application> by running the following
109 commands:</para>
110
111 <note>
112 <para>The two sed commands and the autoreconf command below are required
113 if the optional dependency <xref linkend="graphviz"/> is not installed.
114 This will allow building the valadoc prgram and libraries that can be used
115 to generate API documentation in HTML format from Vala source code.
116 </para>
117 </note>
118
119<screen><userinput>sed -i '101d; 107,123d; 125,126d' configure.ac &amp;&amp;
120sed -i '/valadoc/d' Makefile.am &amp;&amp;
121ACLOCAL= autoreconf -fiv &amp;&amp;
122
123./configure --prefix=/usr &amp;&amp;
124make</userinput></screen>
125
126 <para>
127 To test the results, issue: <command>make check</command>.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make install</userinput></screen>
135
136 </sect2>
137
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Library</segtitle>
144 <segtitle>Installed Directories</segtitle>
145
146 <seglistitem>
147 <seg>
148 vala,
149 vala-&vala-major-version;
150 valac,
151 valadoc,
152 vala-gen-introspect,
153 vapicheck, and
154 vapigen (symlinks);
155
156 valac-&vala-major-version;,
157 valadoc-&vala-major-version;,
158 vala-gen-introspect-&vala-major-version;,
159 vapicheck-&vala-major-version;, and
160 vapigen-&vala-major-version;
161 </seg>
162 <seg>
163 libvala-&vala-major-version;.so and
164 libvaladoc-&vala-major-version;.so
165 </seg>
166 <seg>
167 /usr/include/vala-&vala-major-version;,
168 /usr/include/valadoc-&vala-major-version;,
169 /usr/lib/vala-&vala-major-version;,
170 /usr/lib/valadoc,
171 /usr/share/vala,
172 /usr/share/valadoc,
173 /usr/share/devhelp/books/vala-&vala-major-version;, and
174 /usr/share/vala-&vala-major-version;
175 </seg>
176 </seglistitem>
177 </segmentedlist>
178
179 <variablelist>
180 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
181 <?dbfo list-presentation="list"?>
182 <?dbhtml list-presentation="table"?>
183
184 <varlistentry id="valac">
185 <term><command>valac</command></term>
186 <listitem>
187 <para>
188 is a compiler that translates <application>Vala</application>
189 source code into C source and header files.
190 </para>
191 <indexterm zone="vala valac">
192 <primary sortas="b-valac">valac</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="vala-gen-introspect">
198 <term><command>vala-gen-introspect</command></term>
199 <listitem>
200 <para>
201 generates a GI file for GObject and
202 <application>GLib</application> based packages.
203 </para>
204 <indexterm zone="vala vala-gen-introspect">
205 <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="vapicheck">
211 <term><command>vapicheck</command></term>
212 <listitem>
213 <para>
214 verifies the generated bindings.
215 </para>
216 <indexterm zone="vala vapicheck">
217 <primary sortas="b-vapicheck">vapicheck</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="vapigen">
223 <term><command>vapigen</command></term>
224 <listitem>
225 <para>
226 is an utility which generates <application>Vala</application> API
227 (VAPI) files from GI files.
228 </para>
229 <indexterm zone="vala vapigen">
230 <primary sortas="b-vapigen">vapigen</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="libvala">
236 <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
237 <listitem>
238 <para>
239 contains the <application>Vala</application> API functions.
240 </para>
241 <indexterm zone="vala libvala">
242 <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.