[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">
|
---|
[3b3a3be] | 9 | <!ENTITY vala-md5sum "d3ff298424bb80476f7d189e6b614c35">
|
---|
[ac38e9dc] | 10 | <!ENTITY vala-size "2.6 MB">
|
---|
[3b3a3be] | 11 | <!ENTITY vala-buildsize "172 MB (including tests)
|
---|
[2037ec4] | 12 | ">
|
---|
[3b3a3be] | 13 | <!ENTITY vala-time "1.1 SBU (including tests)">
|
---|
[a1c3701] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="vala" xreflabel="Vala-&vala-version;">
|
---|
| 17 | <?dbhtml filename="vala.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Vala-&vala-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="vala">
|
---|
| 27 | <primary sortas="a-Vala">Vala</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Vala</title>
|
---|
| 32 |
|
---|
[7ded7e3] | 33 | <para>
|
---|
| 34 | <application>Vala</application> is a new programming language that
|
---|
| 35 | aims to bring modern programming language features to
|
---|
| 36 | <application>GNOME</application> developers without imposing any
|
---|
| 37 | additional runtime requirements and without using a different ABI
|
---|
| 38 | compared to applications and libraries written in C.
|
---|
| 39 | </para>
|
---|
[a1c3701] | 40 |
|
---|
[3b3a3be] | 41 | &lfs79_checked;&gcc6_checked;
|
---|
[a1c3701] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[7ded7e3] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&vala-download-http;"/>
|
---|
| 48 | </para>
|
---|
[a1c3701] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[7ded7e3] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&vala-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[a1c3701] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[7ded7e3] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &vala-md5sum;
|
---|
| 58 | </para>
|
---|
[a1c3701] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[7ded7e3] | 61 | <para>
|
---|
| 62 | Download size: &vala-size;
|
---|
| 63 | </para>
|
---|
[a1c3701] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[7ded7e3] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &vala-buildsize;
|
---|
| 68 | </para>
|
---|
[a1c3701] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[7ded7e3] | 71 | <para>
|
---|
| 72 | Estimated build time: &vala-time;
|
---|
| 73 | </para>
|
---|
[a1c3701] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
[2037ec4] | 76 | <!--
|
---|
| 77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 78 | <itemizedlist spacing="compact">
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>
|
---|
| 81 | Required patch:
|
---|
| 82 | <ulink url="&patch-root;/vala-&vala-version;-upstream_fixes-2.patch"/>
|
---|
| 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>-->
|
---|
[a1c3701] | 86 |
|
---|
| 87 | <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 90 | <para role="required">
|
---|
[476618b] | 91 | <xref linkend="glib2"/>
|
---|
[b8a081c] | 92 | </para>
|
---|
[a1c3701] | 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 95 | <para role="optional">
|
---|
[54666831] | 96 | <xref linkend="dbus"/> (Required for the tests) and
|
---|
[b8a081c] | 97 | <xref linkend="libxslt"/> (Required for generating the documentation)
|
---|
| 98 | </para>
|
---|
[a1c3701] | 99 |
|
---|
| 100 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 101 | <ulink url="&blfs-wiki;/vala"/>
|
---|
| 102 | </para>
|
---|
[a1c3701] | 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
| 106 | <title>Installation of Vala</title>
|
---|
| 107 |
|
---|
| 108 | <para>Install <application>Vala</application> by running the following
|
---|
| 109 | commands:</para>
|
---|
| 110 |
|
---|
[b7588d9] | 111 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[a1c3701] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[7ded7e3] | 114 | <para>
|
---|
[62ad5366] | 115 | To test the results, issue: <command>make check</command>.
|
---|
[7ded7e3] | 116 | </para>
|
---|
[a1c3701] | 117 |
|
---|
[7ded7e3] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
[a1c3701] | 121 |
|
---|
| 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Programs</segtitle>
|
---|
| 131 | <segtitle>Installed Library</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
[e3dcc43] | 135 | <seg>
|
---|
[2037ec4] | 136 | vala, valac, vala-gen-introspect,
|
---|
| 137 | vapicheck, and vapigen (symlinks);
|
---|
| 138 |
|
---|
| 139 | vala-&vala-major-version;, valac-&vala-major-version;,
|
---|
[41aad3e3] | 140 | vala-gen-introspect-&vala-major-version;,
|
---|
[2037ec4] | 141 | vapicheck-&vala-major-version;, and
|
---|
| 142 | vapigen-&vala-major-version;
|
---|
[e3dcc43] | 143 | </seg>
|
---|
| 144 | <seg>
|
---|
[41aad3e3] | 145 | libvala-&vala-major-version;.so
|
---|
[e3dcc43] | 146 | </seg>
|
---|
[0913f48] | 147 | <seg>
|
---|
[41aad3e3] | 148 | /usr/include/vala-&vala-major-version;,
|
---|
| 149 | /usr/lib/vala-&vala-major-version;,
|
---|
| 150 | /usr/share/devhelp/books/vala-&vala-major-version;,
|
---|
[816595b] | 151 | /usr/share/vala and
|
---|
[41aad3e3] | 152 | /usr/share/vala-&vala-major-version;
|
---|
[0913f48] | 153 | </seg>
|
---|
[a1c3701] | 154 | </seglistitem>
|
---|
| 155 | </segmentedlist>
|
---|
| 156 |
|
---|
| 157 | <variablelist>
|
---|
| 158 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 159 | <?dbfo list-presentation="list"?>
|
---|
| 160 | <?dbhtml list-presentation="table"?>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="valac">
|
---|
| 163 | <term><command>valac</command></term>
|
---|
| 164 | <listitem>
|
---|
[7ded7e3] | 165 | <para>
|
---|
| 166 | is a compiler that translates <application>Vala</application>
|
---|
| 167 | source code into C source and header files.
|
---|
| 168 | </para>
|
---|
[a1c3701] | 169 | <indexterm zone="vala valac">
|
---|
| 170 | <primary sortas="b-valac">valac</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
[e3dcc43] | 175 | <varlistentry id="vala-gen-introspect">
|
---|
| 176 | <term><command>vala-gen-introspect</command></term>
|
---|
| 177 | <listitem>
|
---|
[7ded7e3] | 178 | <para>
|
---|
[816595b] | 179 | generates a GI file for GObject and
|
---|
| 180 | <application>GLib</application> based packages.
|
---|
[7ded7e3] | 181 | </para>
|
---|
[e3dcc43] | 182 | <indexterm zone="vala vala-gen-introspect">
|
---|
| 183 | <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
[a1c3701] | 188 | <varlistentry id="vapicheck">
|
---|
| 189 | <term><command>vapicheck</command></term>
|
---|
| 190 | <listitem>
|
---|
[7ded7e3] | 191 | <para>
|
---|
| 192 | verifies the generated bindings.
|
---|
| 193 | </para>
|
---|
[a1c3701] | 194 | <indexterm zone="vala vapicheck">
|
---|
| 195 | <primary sortas="b-vapicheck">vapicheck</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="vapigen">
|
---|
| 201 | <term><command>vapigen</command></term>
|
---|
| 202 | <listitem>
|
---|
[7ded7e3] | 203 | <para>
|
---|
| 204 | is a utility which generates <application>Vala</application> API
|
---|
| 205 | (VAPI) files from GI files.
|
---|
| 206 | </para>
|
---|
[a1c3701] | 207 | <indexterm zone="vala vapigen">
|
---|
| 208 | <primary sortas="b-vapigen">vapigen</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[816595b] | 213 | <varlistentry id="libvala">
|
---|
[41aad3e3] | 214 | <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
|
---|
[a1c3701] | 215 | <listitem>
|
---|
[7ded7e3] | 216 | <para>
|
---|
| 217 | contains the <application>Vala</application> API functions.
|
---|
| 218 | </para>
|
---|
[816595b] | 219 | <indexterm zone="vala libvala">
|
---|
[41aad3e3] | 220 | <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
|
---|
[a1c3701] | 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | </variablelist>
|
---|
| 226 |
|
---|
| 227 | </sect2>
|
---|
| 228 |
|
---|
| 229 | </sect1>
|
---|