source: general/prog/vala.xml@ e305bb90

perl-modules
Last change on this file since e305bb90 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
RevLine 
[a1c3701]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
[41aad3e3]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">
[7f7c2b0]9 <!ENTITY vala-md5sum "aa6eb8097d25b5847ad3fab34c0ff865">
[96f2797]10 <!ENTITY vala-size "3.2 MB">
[7f7c2b0]11 <!ENTITY vala-buildsize "227 MB (with tests)">
12 <!ENTITY vala-time "1.4 SBU (with tests)">
[a1c3701]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
[7ded7e3]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>
[a1c3701]39
[272f28b]40 &lfs83_checked;
[a1c3701]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[7ded7e3]45 <para>
46 Download (HTTP): <ulink url="&vala-download-http;"/>
47 </para>
[a1c3701]48 </listitem>
49 <listitem>
[7ded7e3]50 <para>
51 Download (FTP): <ulink url="&vala-download-ftp;"/>
52 </para>
[a1c3701]53 </listitem>
54 <listitem>
[7ded7e3]55 <para>
56 Download MD5 sum: &vala-md5sum;
57 </para>
[a1c3701]58 </listitem>
59 <listitem>
[7ded7e3]60 <para>
61 Download size: &vala-size;
62 </para>
[a1c3701]63 </listitem>
64 <listitem>
[7ded7e3]65 <para>
66 Estimated disk space required: &vala-buildsize;
67 </para>
[a1c3701]68 </listitem>
69 <listitem>
[7ded7e3]70 <para>
71 Estimated build time: &vala-time;
72 </para>
[a1c3701]73 </listitem>
74 </itemizedlist>
[80454f5]75
[a1c3701]76 <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
[b8a081c]79 <para role="required">
[5637ae8]80 <xref linkend="glib2"/>
[b8a081c]81 </para>
[a1c3701]82
[7f7c2b0]83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="graphviz"/> (Required for valadoc)
86 </para>
87
[a1c3701]88 <bridgehead renderas="sect4">Optional</bridgehead>
[b8a081c]89 <para role="optional">
[5637ae8]90 <xref linkend="dbus"/> (Required for the tests),
[03bb997]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>
[b8a081c]94 </para>
[a1c3701]95
96 <para condition="html" role="usernotes">User Notes:
[7ded7e3]97 <ulink url="&blfs-wiki;/vala"/>
98 </para>
[a1c3701]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
[7f7c2b0]107<!--
[5637ae8]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.
[2b999b7]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.
[5637ae8]113 </para>
[b1c9a4b]114<screen><userinput>sed -i '115d; 121,137d; 139,140d' configure.ac &amp;&amp;
[5637ae8]115sed -i '/valadoc/d' Makefile.am &amp;&amp;
[2b999b7]116ACLOCAL= autoreconf -fiv</userinput></screen>
117 </note>
[7f7c2b0]118Removed in 0.42.0 - recommended Graphite. -renodr -->
[5637ae8]119
[2b999b7]120<screen><userinput>./configure --prefix=/usr &amp;&amp;
[a1c3701]121make</userinput></screen>
122
[7ded7e3]123 <para>
[e1617c94]124 To test the results, issue: <command>make check</command>.
[7ded7e3]125 </para>
[a1c3701]126
[7ded7e3]127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
[a1c3701]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>
[e3dcc43]144 <seg>
[96f2797]145 vala,
[03c4924]146 vala-&vala-major-version;,
[96f2797]147 valac,
[488b738f]148 valadoc (not built if the sed is applied),
149 vala-gen-introspect, and
[96f2797]150 vapigen (symlinks);
151
152 valac-&vala-major-version;,
[488b738f]153 valadoc-&vala-major-version; (not built if the sed is applied),
154 vala-gen-introspect-&vala-major-version;, and
[5ee1266]155 vapigen-&vala-major-version;
[e3dcc43]156 </seg>
157 <seg>
[96f2797]158 libvala-&vala-major-version;.so and
[488b738f]159 libvaladoc-&vala-major-version;.so (not built if the sed is applied)
[e3dcc43]160 </seg>
[0913f48]161 <seg>
[41aad3e3]162 /usr/include/vala-&vala-major-version;,
[488b738f]163 /usr/include/valadoc-&vala-major-version; (not built if the sed is applied),
[41aad3e3]164 /usr/lib/vala-&vala-major-version;,
[488b738f]165 /usr/lib/valadoc (not built if the sed is applied),
[96f2797]166 /usr/share/vala,
[488b738f]167 /usr/share/valadoc (not built if the sed is applied),
[96f2797]168 /usr/share/devhelp/books/vala-&vala-major-version;, and
[41aad3e3]169 /usr/share/vala-&vala-major-version;
[0913f48]170 </seg>
[a1c3701]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>
[7ded7e3]182 <para>
183 is a compiler that translates <application>Vala</application>
184 source code into C source and header files.
185 </para>
[a1c3701]186 <indexterm zone="vala valac">
187 <primary sortas="b-valac">valac</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
[e3dcc43]192 <varlistentry id="vala-gen-introspect">
193 <term><command>vala-gen-introspect</command></term>
194 <listitem>
[7ded7e3]195 <para>
[816595b]196 generates a GI file for GObject and
197 <application>GLib</application> based packages.
[7ded7e3]198 </para>
[e3dcc43]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
[488b738f]205<!--
[a1c3701]206 <varlistentry id="vapicheck">
207 <term><command>vapicheck</command></term>
208 <listitem>
[7ded7e3]209 <para>
210 verifies the generated bindings.
211 </para>
[a1c3701]212 <indexterm zone="vala vapicheck">
213 <primary sortas="b-vapicheck">vapicheck</primary>
214 </indexterm>
215 </listitem>
[488b738f]216 </varlistentry>-->
[a1c3701]217
218 <varlistentry id="vapigen">
219 <term><command>vapigen</command></term>
220 <listitem>
[7ded7e3]221 <para>
[2c7a1ce]222 is an utility which generates <application>Vala</application> API
[7ded7e3]223 (VAPI) files from GI files.
224 </para>
[a1c3701]225 <indexterm zone="vala vapigen">
226 <primary sortas="b-vapigen">vapigen</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
[816595b]231 <varlistentry id="libvala">
[41aad3e3]232 <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
[a1c3701]233 <listitem>
[7ded7e3]234 <para>
235 contains the <application>Vala</application> API functions.
236 </para>
[816595b]237 <indexterm zone="vala libvala">
[41aad3e3]238 <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
[a1c3701]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.