source: general/prog/vala.xml@ 03bb997

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 03bb997 was 03bb997, checked in by Douglas R. Reno <renodr@…>, 6 years ago

Update to talloc-2.1.14
Update to vala-0.40.8
Update to yaml-0.2.1
Update to shared-mime-info-1.10

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

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