[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 |
|
---|
[e3dcc43] | 7 | <!ENTITY vala-download-http "&gnome-download-http;/vala/0.16/vala-&vala-version;.tar.xz">
|
---|
| 8 | <!ENTITY vala-download-ftp "&gnome-download-ftp;/vala/0.16/vala-&vala-version;.tar.xz">
|
---|
| 9 | <!ENTITY vala-md5sum "84b742e9cca4c90fde3026c3793c03c1">
|
---|
| 10 | <!ENTITY vala-size "2.6 MB">
|
---|
| 11 | <!ENTITY vala-buildsize "110 MB">
|
---|
| 12 | <!ENTITY vala-time "1.0 SBU">
|
---|
[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 |
|
---|
| 32 | <para><application>Vala</application> is a new programming language that
|
---|
| 33 | aims to bring modern programming language features to
|
---|
| 34 | <application>GNOME</application> developers without imposing any additional
|
---|
| 35 | runtime requirements and without using a different ABI compared to
|
---|
| 36 | applications and libraries written in C.</para>
|
---|
| 37 |
|
---|
[e3dcc43] | 38 | &lfs70_checked;
|
---|
[a1c3701] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&vala-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&vala-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &vala-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &vala-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &vala-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &vala-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 65 | <para role="required">
|
---|
| 66 | <xref linkend="pkgconfig"/>
|
---|
| 67 | </para>
|
---|
[a1c3701] | 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b8a081c] | 70 | <para role="optional">
|
---|
| 71 | <xref linkend="dbus"/> (Required for the tests) and
|
---|
| 72 | <xref linkend="libxslt"/> (Required for generating the documentation)
|
---|
| 73 | </para>
|
---|
[a1c3701] | 74 |
|
---|
| 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/vala"/></para>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of Vala</title>
|
---|
| 82 |
|
---|
| 83 | <para>Install <application>Vala</application> by running the following
|
---|
| 84 | commands:</para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>To test the results, issue: <command>make check</command>. Note
|
---|
| 90 | that a <application>D-Bus</application> session daemon must be running for
|
---|
| 91 | the tests to succeed.</para>
|
---|
| 92 |
|
---|
| 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 94 |
|
---|
| 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Library</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
[e3dcc43] | 108 | <seg>
|
---|
| 109 | vala, vala-0.16, valac, valac-0.16, vala-gen-introspect,
|
---|
| 110 | vala-gen-introspect-0.16, vapicheck, vapicheck-0.16,
|
---|
| 111 | vapigen and vapigen-0.16
|
---|
| 112 | </seg>
|
---|
| 113 | <seg>
|
---|
| 114 | libvala-0.16.so
|
---|
| 115 | </seg>
|
---|
[0913f48] | 116 | <seg>
|
---|
| 117 | /usr/include/vala-0.16,
|
---|
| 118 | /usr/lib/vala-0.16,
|
---|
| 119 | /usr/share/devhelp/books/vala-0.16
|
---|
[b8a081c] | 120 | and /usr/share/{vala,vala-0.16}
|
---|
[0913f48] | 121 | </seg>
|
---|
[a1c3701] | 122 | </seglistitem>
|
---|
| 123 | </segmentedlist>
|
---|
| 124 |
|
---|
| 125 | <variablelist>
|
---|
| 126 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 127 | <?dbfo list-presentation="list"?>
|
---|
| 128 | <?dbhtml list-presentation="table"?>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="valac">
|
---|
| 131 | <term><command>valac</command></term>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>is a compiler that translates <application>Vala</application>
|
---|
| 134 | source code into C source and header files.</para>
|
---|
| 135 | <indexterm zone="vala valac">
|
---|
| 136 | <primary sortas="b-valac">valac</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
[e3dcc43] | 141 | <varlistentry id="vala-gen-introspect">
|
---|
| 142 | <term><command>vala-gen-introspect</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>generates a GI file for GObject and glib based packages.</para>
|
---|
| 145 | <indexterm zone="vala vala-gen-introspect">
|
---|
| 146 | <primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
[a1c3701] | 151 | <varlistentry id="vapicheck">
|
---|
| 152 | <term><command>vapicheck</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>verifies the generated bindings.</para>
|
---|
| 155 | <indexterm zone="vala vapicheck">
|
---|
| 156 | <primary sortas="b-vapicheck">vapicheck</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="vapigen">
|
---|
| 162 | <term><command>vapigen</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>is a utility which generates <application>Vala</application> API
|
---|
| 165 | (VAPI) files from GI files.</para>
|
---|
| 166 | <indexterm zone="vala vapigen">
|
---|
| 167 | <primary sortas="b-vapigen">vapigen</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="libvala-0">
|
---|
[e3dcc43] | 173 | <term><filename class='libraryfile'>libvala-0.16.so</filename></term>
|
---|
[a1c3701] | 174 | <listitem>
|
---|
| 175 | <para>contains the <application>Vala</application> API
|
---|
| 176 | functions.</para>
|
---|
| 177 | <indexterm zone="vala libvala-0">
|
---|
[e3dcc43] | 178 | <primary sortas="c-libvala-0">libvala-0.16.so</primary>
|
---|
[a1c3701] | 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | </variablelist>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | </sect1>
|
---|