[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">
|
---|
[a617894] | 9 | <!ENTITY vala-md5sum "c902a76f5b1612c3bf91864d9629d94c">
|
---|
[67042ee] | 10 | <!ENTITY vala-size "3.8 MB">
|
---|
[a617894] | 11 | <!ENTITY vala-buildsize "158 MB (add 18 MB for tests)">
|
---|
| 12 | <!ENTITY vala-time "0.4 SBU (using parallelism=4; add 3.0 SBU for tests)">
|
---|
[a1c3701] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="vala" xreflabel="Vala-&vala-version;">
|
---|
| 16 | <?dbhtml filename="vala.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Vala-&vala-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="vala">
|
---|
| 22 | <primary sortas="a-Vala">Vala</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Vala</title>
|
---|
| 27 |
|
---|
[7ded7e3] | 28 | <para>
|
---|
| 29 | <application>Vala</application> is a new programming language that
|
---|
| 30 | aims to bring modern programming language features to
|
---|
| 31 | <application>GNOME</application> developers without imposing any
|
---|
| 32 | additional runtime requirements and without using a different ABI
|
---|
| 33 | compared to applications and libraries written in C.
|
---|
| 34 | </para>
|
---|
[a1c3701] | 35 |
|
---|
[15445ab] | 36 | &lfs113_checked;
|
---|
[a1c3701] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[7ded7e3] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&vala-download-http;"/>
|
---|
| 43 | </para>
|
---|
[a1c3701] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[7ded7e3] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&vala-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[a1c3701] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[7ded7e3] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &vala-md5sum;
|
---|
| 53 | </para>
|
---|
[a1c3701] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[7ded7e3] | 56 | <para>
|
---|
| 57 | Download size: &vala-size;
|
---|
| 58 | </para>
|
---|
[a1c3701] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[7ded7e3] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &vala-buildsize;
|
---|
| 63 | </para>
|
---|
[a1c3701] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[7ded7e3] | 66 | <para>
|
---|
| 67 | Estimated build time: &vala-time;
|
---|
| 68 | </para>
|
---|
[a1c3701] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[565321fe] | 71 | <!--
|
---|
[1ca65eb] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>
|
---|
| 76 | Optional patch to allow building without graphviz.
|
---|
| 77 | <ulink url="&patch-root;/vala-&vala-version;-avoid_graphviz-1.patch"/>
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
[565321fe] | 81 | -->
|
---|
[a1c3701] | 82 | <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 85 | <para role="required">
|
---|
[5637ae8] | 86 | <xref linkend="glib2"/>
|
---|
[b8a081c] | 87 | </para>
|
---|
[a1c3701] | 88 |
|
---|
[7f7c2b0] | 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
| 91 | <xref linkend="graphviz"/> (Required for valadoc)
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[a1c3701] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 95 | <para role="optional">
|
---|
[5637ae8] | 96 | <xref linkend="dbus"/> (Required for the tests),
|
---|
[03bb997] | 97 | <xref linkend="libxslt"/> (Required for generating the documentation),
|
---|
[c53fe5a7] | 98 | <ulink url="https://ftpmirror.gnu.org/gnu/help2man/">help2man</ulink>,
|
---|
| 99 | <ulink url="https://github.com/relaxng/jing-trang">jing</ulink>, and
|
---|
[03bb997] | 100 | <ulink url="https://weasyprint.org/">weasyprint</ulink>
|
---|
[b8a081c] | 101 | </para>
|
---|
[a1c3701] | 102 |
|
---|
| 103 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 104 | <ulink url="&blfs-wiki;/vala"/>
|
---|
| 105 | </para>
|
---|
[a1c3701] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of Vala</title>
|
---|
| 110 |
|
---|
[de33b2a] | 111 | <para>
|
---|
| 112 | Install <application>Vala</application> by running the following
|
---|
| 113 | commands:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
[2b999b7] | 116 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[a1c3701] | 117 | make</userinput></screen>
|
---|
| 118 |
|
---|
[7ded7e3] | 119 | <para>
|
---|
[e1617c94] | 120 | To test the results, issue: <command>make check</command>.
|
---|
[7ded7e3] | 121 | </para>
|
---|
[a1c3701] | 122 |
|
---|
[7ded7e3] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[a1c3701] | 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
[565321fe] | 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | <option>--disable-valadoc</option>: This option is
|
---|
| 136 | required if <xref linkend="graphviz"/> is not installed.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
[a1c3701] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Library</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
[e3dcc43] | 150 | <seg>
|
---|
[8558044] | 151 | vala,
|
---|
| 152 | vala-&vala-major-version;,
|
---|
| 153 | valac,
|
---|
[b7e550f2] | 154 | valadoc,
|
---|
[488b738f] | 155 | vala-gen-introspect, and
|
---|
[96f2797] | 156 | vapigen (symlinks);
|
---|
| 157 |
|
---|
| 158 | valac-&vala-major-version;,
|
---|
[b7e550f2] | 159 | valadoc-&vala-major-version;,
|
---|
[488b738f] | 160 | vala-gen-introspect-&vala-major-version;, and
|
---|
[5ee1266] | 161 | vapigen-&vala-major-version;
|
---|
[e3dcc43] | 162 | </seg>
|
---|
| 163 | <seg>
|
---|
[96f2797] | 164 | libvala-&vala-major-version;.so and
|
---|
[b7e550f2] | 165 | libvaladoc-&vala-major-version;.so
|
---|
[e3dcc43] | 166 | </seg>
|
---|
[0913f48] | 167 | <seg>
|
---|
[41aad3e3] | 168 | /usr/include/vala-&vala-major-version;,
|
---|
[b7e550f2] | 169 | /usr/include/valadoc-&vala-major-version;,
|
---|
[41aad3e3] | 170 | /usr/lib/vala-&vala-major-version;,
|
---|
[3cdae40] | 171 | /usr/lib/valadoc-&vala-major-version;,
|
---|
[1ca65eb] | 172 | /usr/share/vala,
|
---|
[3cdae40] | 173 | /usr/share/vala-&vala-major-version;,
|
---|
| 174 | /usr/share/valadoc-&vala-major-version;, and
|
---|
| 175 | /usr/share/devhelp/books/vala-&vala-major-version;
|
---|
[0913f48] | 176 | </seg>
|
---|
[a1c3701] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="valac">
|
---|
| 186 | <term><command>valac</command></term>
|
---|
| 187 | <listitem>
|
---|
[7ded7e3] | 188 | <para>
|
---|
| 189 | is a compiler that translates <application>Vala</application>
|
---|
[4c24eb0a] | 190 | source code into C source and header files
|
---|
[7ded7e3] | 191 | </para>
|
---|
[a1c3701] | 192 | <indexterm zone="vala valac">
|
---|
| 193 | <primary sortas="b-valac">valac</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
[3cdae40] | 198 | <varlistentry id="valadoc">
|
---|
| 199 | <term><command>valadoc</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>
|
---|
| 202 | is a documentation generator for generating API documentation
|
---|
[4c24eb0a] | 203 | from <application>Vala</application> source code based on libvala
|
---|
[3cdae40] | 204 | </para>
|
---|
| 205 | <indexterm zone="vala valadoc">
|
---|
| 206 | <primary sortas="b-valadoc">valadoc</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
[e3dcc43] | 211 | <varlistentry id="vala-gen-introspect">
|
---|
| 212 | <term><command>vala-gen-introspect</command></term>
|
---|
| 213 | <listitem>
|
---|
[7ded7e3] | 214 | <para>
|
---|
[816595b] | 215 | generates a GI file for GObject and
|
---|
[4c24eb0a] | 216 | <application>GLib</application> based packages
|
---|
[7ded7e3] | 217 | </para>
|
---|
[e3dcc43] | 218 | <indexterm zone="vala vala-gen-introspect">
|
---|
| 219 | <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
[a1c3701] | 224 | <varlistentry id="vapigen">
|
---|
| 225 | <term><command>vapigen</command></term>
|
---|
| 226 | <listitem>
|
---|
[7ded7e3] | 227 | <para>
|
---|
[2c7a1ce] | 228 | is an utility which generates <application>Vala</application> API
|
---|
[4c24eb0a] | 229 | (VAPI) files from GI files
|
---|
[7ded7e3] | 230 | </para>
|
---|
[a1c3701] | 231 | <indexterm zone="vala vapigen">
|
---|
| 232 | <primary sortas="b-vapigen">vapigen</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
[816595b] | 237 | <varlistentry id="libvala">
|
---|
[41aad3e3] | 238 | <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
|
---|
[a1c3701] | 239 | <listitem>
|
---|
[7ded7e3] | 240 | <para>
|
---|
[4c24eb0a] | 241 | contains the <application>Vala</application> API functions
|
---|
[7ded7e3] | 242 | </para>
|
---|
[816595b] | 243 | <indexterm zone="vala libvala">
|
---|
[41aad3e3] | 244 | <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
|
---|
[a1c3701] | 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
| 249 | </variablelist>
|
---|
| 250 |
|
---|
| 251 | </sect2>
|
---|
| 252 |
|
---|
| 253 | </sect1>
|
---|