[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">
|
---|
[96f2797] | 9 | <!ENTITY vala-md5sum "8bf68d1bde90f62b20fec57c34fb2179">
|
---|
| 10 | <!ENTITY vala-size "3.2 MB">
|
---|
| 11 | <!ENTITY vala-buildsize "187 MB (including tests)">
|
---|
| 12 | <!ENTITY vala-time "1.5 SBU (including 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 |
|
---|
[0e45aee] | 40 | &lfs81_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>
|
---|
[e1617c94] | 75 | <!--
|
---|
[80454f5] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
[4574961] | 81 | <ulink url="&patch-root;/vala-&vala-version;-upstream_fixes-2.patch"/>
|
---|
[80454f5] | 82 | </para>
|
---|
| 83 | </listitem>
|
---|
[e1617c94] | 84 | </itemizedlist>-->
|
---|
[80454f5] | 85 |
|
---|
[a1c3701] | 86 | <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 89 | <para role="required">
|
---|
[90a3d9e0] | 90 | <xref linkend="glib2"/> and
|
---|
| 91 | <xref linkend="graphviz"/>
|
---|
[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 |
|
---|
[e1617c94] | 111 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[a1c3701] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[7ded7e3] | 114 | <para>
|
---|
[e1617c94] | 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>
|
---|
[96f2797] | 136 | vala,
|
---|
| 137 | vala-&vala-major-version;
|
---|
| 138 | valac,
|
---|
| 139 | valadoc,
|
---|
| 140 | vala-gen-introspect,
|
---|
| 141 | vapicheck, and
|
---|
| 142 | vapigen (symlinks);
|
---|
| 143 |
|
---|
| 144 | valac-&vala-major-version;,
|
---|
| 145 | valadoc-&vala-major-version;,
|
---|
[41aad3e3] | 146 | vala-gen-introspect-&vala-major-version;,
|
---|
[5ee1266] | 147 | vapicheck-&vala-major-version;, and
|
---|
| 148 | vapigen-&vala-major-version;
|
---|
[e3dcc43] | 149 | </seg>
|
---|
| 150 | <seg>
|
---|
[96f2797] | 151 | libvala-&vala-major-version;.so and
|
---|
| 152 | libvaladoc-&vala-major-version;.so
|
---|
[e3dcc43] | 153 | </seg>
|
---|
[0913f48] | 154 | <seg>
|
---|
[41aad3e3] | 155 | /usr/include/vala-&vala-major-version;,
|
---|
[96f2797] | 156 | /usr/include/valadoc-&vala-major-version;,
|
---|
[41aad3e3] | 157 | /usr/lib/vala-&vala-major-version;,
|
---|
[96f2797] | 158 | /usr/lib/valadoc,
|
---|
| 159 | /usr/share/vala,
|
---|
| 160 | /usr/share/valadoc,
|
---|
| 161 | /usr/share/devhelp/books/vala-&vala-major-version;, and
|
---|
[41aad3e3] | 162 | /usr/share/vala-&vala-major-version;
|
---|
[0913f48] | 163 | </seg>
|
---|
[a1c3701] | 164 | </seglistitem>
|
---|
| 165 | </segmentedlist>
|
---|
| 166 |
|
---|
| 167 | <variablelist>
|
---|
| 168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 169 | <?dbfo list-presentation="list"?>
|
---|
| 170 | <?dbhtml list-presentation="table"?>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="valac">
|
---|
| 173 | <term><command>valac</command></term>
|
---|
| 174 | <listitem>
|
---|
[7ded7e3] | 175 | <para>
|
---|
| 176 | is a compiler that translates <application>Vala</application>
|
---|
| 177 | source code into C source and header files.
|
---|
| 178 | </para>
|
---|
[a1c3701] | 179 | <indexterm zone="vala valac">
|
---|
| 180 | <primary sortas="b-valac">valac</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[e3dcc43] | 185 | <varlistentry id="vala-gen-introspect">
|
---|
| 186 | <term><command>vala-gen-introspect</command></term>
|
---|
| 187 | <listitem>
|
---|
[7ded7e3] | 188 | <para>
|
---|
[816595b] | 189 | generates a GI file for GObject and
|
---|
| 190 | <application>GLib</application> based packages.
|
---|
[7ded7e3] | 191 | </para>
|
---|
[e3dcc43] | 192 | <indexterm zone="vala vala-gen-introspect">
|
---|
| 193 | <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
[a1c3701] | 198 | <varlistentry id="vapicheck">
|
---|
| 199 | <term><command>vapicheck</command></term>
|
---|
| 200 | <listitem>
|
---|
[7ded7e3] | 201 | <para>
|
---|
| 202 | verifies the generated bindings.
|
---|
| 203 | </para>
|
---|
[a1c3701] | 204 | <indexterm zone="vala vapicheck">
|
---|
| 205 | <primary sortas="b-vapicheck">vapicheck</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="vapigen">
|
---|
| 211 | <term><command>vapigen</command></term>
|
---|
| 212 | <listitem>
|
---|
[7ded7e3] | 213 | <para>
|
---|
[2c7a1ce] | 214 | is an utility which generates <application>Vala</application> API
|
---|
[7ded7e3] | 215 | (VAPI) files from GI files.
|
---|
| 216 | </para>
|
---|
[a1c3701] | 217 | <indexterm zone="vala vapigen">
|
---|
| 218 | <primary sortas="b-vapigen">vapigen</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
[816595b] | 223 | <varlistentry id="libvala">
|
---|
[41aad3e3] | 224 | <term><filename class="libraryfile">libvala-&vala-major-version;.so</filename></term>
|
---|
[a1c3701] | 225 | <listitem>
|
---|
[7ded7e3] | 226 | <para>
|
---|
| 227 | contains the <application>Vala</application> API functions.
|
---|
| 228 | </para>
|
---|
[816595b] | 229 | <indexterm zone="vala libvala">
|
---|
[41aad3e3] | 230 | <primary sortas="c-libvala">libvala-&vala-major-version;.so</primary>
|
---|
[a1c3701] | 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | </variablelist>
|
---|
| 236 |
|
---|
| 237 | </sect2>
|
---|
| 238 |
|
---|
| 239 | </sect1>
|
---|