Change from yaml to libyaml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21463 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2019-04-16 16:41:13 +00:00
parent 289c90f33c
commit b738ceb9e8
6 changed files with 34 additions and 35 deletions

View File

@ -121,6 +121,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxml2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libxslt.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libwacom.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libyaml.xml"/>
<!-- systemd only -->
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libzeitgeist.xml"/> -->
@ -148,6 +149,4 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wv.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xapian.xml"/>
<!-- systemd only -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="yaml.xml"/>
</chapter>

View File

@ -80,9 +80,9 @@
<para role="required">
<xref linkend="gobject-introspection"/>,
<xref linkend="libbytesize"/>,
<xref linkend="parted"/>,
<xref linkend="volume_key"/>, and
<xref linkend="yaml"/>
<xref linkend="libyaml"/>,
<xref linkend="parted"/>, and
<xref linkend="volume_key"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>

View File

@ -4,35 +4,35 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY yaml-download-http "https://github.com/yaml/libyaml/archive/&yaml-version;/yaml-&yaml-version;.tar.gz">
<!ENTITY yaml-download-http "https://github.com/yaml/libyaml/archive/&yaml-version;/libyaml-dist-&yaml-version;.tar.gz">
<!ENTITY yaml-download-ftp " ">
<!ENTITY yaml-md5sum "2ad4119a57f94739cc39a1b482c81264">
<!ENTITY yaml-size "80 KB">
<!ENTITY yaml-buildsize "3.0 MB (with tests)">
<!ENTITY yaml-time "less than 0.1 SBU (with tests)">
<!ENTITY yaml-buildsize "6.4 MB (with tests)">
<!ENTITY yaml-time "0.1 SBU (with tests)">
]>
<sect1 id="yaml" xreflabel="YAML-&yaml-version;">
<?dbhtml filename="yaml.html"?>
<sect1 id="libyaml" xreflabel="libyaml-&yaml-version;">
<?dbhtml filename="libyaml.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>YAML-&yaml-version;</title>
<title>libyaml-&yaml-version;</title>
<indexterm zone="yaml">
<primary sortas="a-YAML">YAML</primary>
<indexterm zone="libyaml">
<primary sortas="a-libyaml">libyaml</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to YAML</title>
<title>Introduction to libyaml</title>
<para>
The <application>YAML</application> package contains a C
The <application>libyaml</application> package contains a C
library for parsing and emitting YAML (YAML Ain't Markup
Language).
Language) code.
</para>
&lfs84_checked;
@ -71,7 +71,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">YAML Dependencies</bridgehead>
<bridgehead renderas="sect3">libyaml Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
@ -79,33 +79,33 @@
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/yaml"/>
<ulink url="&blfs-wiki;/libyaml"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of YAML</title>
<note>
<para>This package expands to libyaml-&yaml-version;, not
the expected yaml-&yaml-version;.</para>
</note>
<title>Installation of libyaml</title>
<para>
Install <application>YAML</application> by running the following
Install <application>libyaml</application> by running the following
commands:
</para>
<screen><userinput>./bootstrap &amp;&amp;
./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<!--
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=true \
-DCMAKE_BUILD_TYPE=RELEASE .. &amp;&amp;
make</userinput></screen>
make</userinput></screen> -->
<para>
To test the results, issue: <command>make test</command>.
To test the results, issue: <command>make check</command>.
</para>
<para>
@ -150,13 +150,13 @@ make</userinput></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libyaml">
<varlistentry id="libyaml-lib">
<term><filename class="libraryfile">libyaml.so</filename></term>
<listitem>
<para>
contains API functions for parsing and emitting YAML.
contains API functions for parsing and emitting YAML code.
</para>
<indexterm zone="yaml libyaml">
<indexterm zone="libyaml libyaml-lib">
<primary sortas="c-libyaml">libyaml.so</primary>
</indexterm>
</listitem>

View File

@ -160,7 +160,7 @@
<xref linkend="python2"/>,
<xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
<xref linkend="valgrind"/>,
<xref linkend="yaml"/>, <!-- for yaml2obj -->
<xref linkend="libyaml"/>, <!-- for yaml2obj -->
<xref linkend="zip"/>,
<ulink url="http://www.ocaml.org/">OCaml</ulink>,
<ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>, and

View File

@ -69,7 +69,7 @@
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
<xref linkend="yaml"/>
<xref linkend="libyaml"/>
</para>
<bridgehead renderas="sect5">Optional</bridgehead>

View File

@ -78,9 +78,9 @@
<xref linkend="db"/>,
<xref linkend="doxygen"/>,
<xref linkend="graphviz"/>,
<xref linkend="tk"/>,
<xref linkend="valgrind"/>, and
<xref linkend="yaml"/>
<xref linkend="libyaml"/>,
<xref linkend="tk"/>, and
<xref linkend="valgrind"/>
</para>
<para condition="html" role="usernotes">User Notes: