source: general/prog/vala.xml@ e4ef8388

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e4ef8388 was 7f7c2b0, checked in by Douglas R. Reno <renodr@…>, 6 years ago

Update to vala-0.42.0

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

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