git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9245 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2012-01-27 20:45:11 +00:00
parent a23aa7bf2a
commit a1c370100c
6 changed files with 181 additions and 9 deletions

View File

@ -366,6 +366,7 @@ $Date$
<!ENTITY spidermonkey-version "1.1.0">
<!ENTITY tcl-version "8.5.10">
<!ENTITY tk-version "8.5.9">
<!ENTITY vala-version "0.14.1">
<!-- Perl module versions used in the Perl Modules instructions -->
<!ENTITY Algorithm-Diff-version "1.1902">

View File

@ -67,10 +67,7 @@
<xref linkend="telepathy-glib"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<!-- FIXME:ken -->
<para role="optional">vala-0.14.0 and <!-- <ulink -->
<!--
<para role="optional"><xref linkend="vala"/> --> and <ulink
<para role="optional"><xref linkend="vala"/> and <ulink
url="http://live.gnome.org/Valadoc/">valadoc</ulink> (Required for
generating the documentation)</para>

View File

@ -70,11 +70,7 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="gobject-introspection"/>,
<xref linkend="gtk-doc"/>, and
<!-- FIXME:ken -->
vala-0.14.0</para>
<!--
<xref linkend="vala"/></para>
-->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/telepathy-glib"/></para>

View File

@ -55,6 +55,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="spidermonkey.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tk.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vala.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="other-tools.xml"/>
</chapter>

176
general/prog/vala.xml Normal file
View File

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY vala-download-http "&gnome-download-http;/vala/0.14/vala-&vala-version;.tar.xz">
<!ENTITY vala-download-ftp "&gnome-download-ftp;/vala/0.14/vala-&vala-version;.tar.xz">
<!ENTITY vala-md5sum "5236eef0cbb96cb7d7905c2f71c26635">
<!ENTITY vala-size "2.5 MB">
<!ENTITY vala-buildsize "149 MB">
<!ENTITY vala-time "1.2 SBU">
]>
<sect1 id="vala" xreflabel="Vala-&vala-version;">
<?dbhtml filename="vala.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Vala-&vala-version;</title>
<indexterm zone="vala">
<primary sortas="a-Vala">Vala</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Vala</title>
<para><application>Vala</application> is a new programming language that
aims to bring modern programming language features to
<application>GNOME</application> developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.</para>
&lfs70_built;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&vala-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&vala-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &vala-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &vala-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &vala-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &vala-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Vala Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="glib2"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="dbus"/> (Required for the tests) and
<xref linkend="libxslt"/> (Required for generating the documentation)</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/vala"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Vala</title>
<para>Install <application>Vala</application> by running the following
commands:</para>
<!-- NB \-\-enable-vapigen is the default -->
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>. Note
that a <application>D-Bus</application> session daemon must be running for
the tests to succeed.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>gen-introspect-0.14,vala,vala-0.14,vala-gen-introspect,
vala-gen-introspect-0.14,valac,valac-0.14,vapicheck,vapicheck-0.14,
vapigen, and vapigen-0.14</seg>
<seg>libvala-0.14.so</seg>
<seg>/usr/{include/vala-0.14,lib/vala-0.14,
share/{devhelp/books/vala-0.14,vala-0.14/vapi}}</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="vala-gen-introspect">
<term><command>vala-gen-introspect</command></term>
<listitem>
<para>generates a GI file for GObject and glib based packages.</para>
<indexterm zone="vala vala-gen-introspect">
<primary sortas="b-vala-gen-introspect">vala-gen-introspect</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="valac">
<term><command>valac</command></term>
<listitem>
<para>is a compiler that translates <application>Vala</application>
source code into C source and header files.</para>
<indexterm zone="vala valac">
<primary sortas="b-valac">valac</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="vapicheck">
<term><command>vapicheck</command></term>
<listitem>
<para>verifies the generated bindings.</para>
<indexterm zone="vala vapicheck">
<primary sortas="b-vapicheck">vapicheck</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="vapigen">
<term><command>vapigen</command></term>
<listitem>
<para>is a utility which generates <application>Vala</application> API
(VAPI) files from GI files.</para>
<indexterm zone="vala vapigen">
<primary sortas="b-vapigen">vapigen</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libvala-0">
<term><filename class='libraryfile'>libvala-0.14.so</filename></term>
<listitem>
<para>contains the <application>Vala</application> API
functions.</para>
<indexterm zone="vala libvala-0">
<primary sortas="c-libvala-0">libvala-0.14.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -50,7 +50,8 @@
</para>
</listitem>
<listitem>
<para>[ken] - Add gdb-7.3.1 and SpiderMonkey (js185-1.0.0) from Wayne.
<para>[ken] - Add gdb-7.3.1, SpiderMonkey (js185-1.0.0) and vala
(updated to 0.14.1) from Wayne.
</para>
</listitem>
</itemizedlist>