source: general/prog/vala.xml@ 307cb578

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 307cb578 was 272f28b, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Tags

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

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