[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[ce9b131] | 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 |
|
---|
[68250967] | 7 | <!ENTITY yaml-download-http "https://github.com/yaml/libyaml/releases/download/&yaml-version;/yaml-&yaml-version;.tar.gz">
|
---|
[ce9b131] | 8 | <!ENTITY yaml-download-ftp " ">
|
---|
[68250967] | 9 | <!ENTITY yaml-md5sum "bb15429d8fb787e7d3f1c83ae129a999">
|
---|
| 10 | <!ENTITY yaml-size "596 KB">
|
---|
| 11 | <!ENTITY yaml-buildsize "6.4 MB (with tests)">
|
---|
| 12 | <!ENTITY yaml-time "less than 0.1 SBU (with tests)">
|
---|
[ce9b131] | 13 | ]>
|
---|
| 14 |
|
---|
[b738ceb] | 15 | <sect1 id="libyaml" xreflabel="libyaml-&yaml-version;">
|
---|
| 16 | <?dbhtml filename="libyaml.html"?>
|
---|
[ce9b131] | 17 |
|
---|
| 18 |
|
---|
[b738ceb] | 19 | <title>libyaml-&yaml-version;</title>
|
---|
[ce9b131] | 20 |
|
---|
[b738ceb] | 21 | <indexterm zone="libyaml">
|
---|
| 22 | <primary sortas="a-libyaml">libyaml</primary>
|
---|
[ce9b131] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[b738ceb] | 26 | <title>Introduction to libyaml</title>
|
---|
[ce9b131] | 27 |
|
---|
| 28 | <para>
|
---|
[7396d145] | 29 | The <application>yaml</application> package contains a C
|
---|
[ce9b131] | 30 | library for parsing and emitting YAML (YAML Ain't Markup
|
---|
[b738ceb] | 31 | Language) code.
|
---|
[ce9b131] | 32 | </para>
|
---|
| 33 |
|
---|
[09ddf35a] | 34 | &lfs122_checked;
|
---|
[ce9b131] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&yaml-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&yaml-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &yaml-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &yaml-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &yaml-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &yaml-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[b738ceb] | 70 | <bridgehead renderas="sect3">libyaml Dependencies</bridgehead>
|
---|
[ce9b131] | 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 73 | <para role="optional">
|
---|
| 74 | <xref linkend="doxygen"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
[b738ceb] | 80 | <title>Installation of libyaml</title>
|
---|
[731bf37a] | 81 |
|
---|
[ce9b131] | 82 | <para>
|
---|
[b738ceb] | 83 | Install <application>libyaml</application> by running the following
|
---|
[ce9b131] | 84 | commands:
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
[7396d145] | 87 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[b738ceb] | 88 | make</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | <!--
|
---|
[7ccb4b5] | 91 | <screen><userinput>mkdir build &&
|
---|
| 92 | cd build &&
|
---|
[731bf37a] | 93 |
|
---|
[cbfa153] | 94 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 95 | -D BUILD_SHARED_LIBS=true \
|
---|
| 96 | -D CMAKE_BUILD_TYPE=RELEASE .. &&
|
---|
[b738ceb] | 97 | make</userinput></screen> -->
|
---|
[ce9b131] | 98 |
|
---|
| 99 | <para>
|
---|
[b738ceb] | 100 | To test the results, issue: <command>make check</command>.
|
---|
[ce9b131] | 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
| 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 115 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>
|
---|
| 129 | None
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | libyaml.so
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | </seglistitem>
|
---|
| 138 | </segmentedlist>
|
---|
| 139 |
|
---|
| 140 | <variablelist>
|
---|
| 141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 142 | <?dbfo list-presentation="list"?>
|
---|
| 143 | <?dbhtml list-presentation="table"?>
|
---|
| 144 |
|
---|
[b738ceb] | 145 | <varlistentry id="libyaml-lib">
|
---|
[ce9b131] | 146 | <term><filename class="libraryfile">libyaml.so</filename></term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>
|
---|
[4c24eb0a] | 149 | contains API functions for parsing and emitting YAML code
|
---|
[ce9b131] | 150 | </para>
|
---|
[b738ceb] | 151 | <indexterm zone="libyaml libyaml-lib">
|
---|
[ce9b131] | 152 | <primary sortas="c-libyaml">libyaml.so</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|