glfs/general/genlib/jansson.xml
Douglas R. Reno 921174d5f6 Minor text tweaks/typo fixes
For libmpeg2, add a space into the FTP entity so that it gets ignored
2023-10-21 11:47:06 -05:00

142 lines
3.7 KiB
XML

<?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 jansson-download-http "https://github.com/akheron/jansson/releases/download/v&jansson-version;/jansson-&jansson-version;.tar.bz2">
<!ENTITY jansson-download-ftp " ">
<!ENTITY jansson-md5sum "3f90473d7d54ebd1cb6a2757396641df">
<!ENTITY jansson-size "424 KB">
<!ENTITY jansson-buildsize "5.6 MB (add 1.9 MB for tests)">
<!ENTITY jansson-time "0.1 SBU (with tests)">
]>
<sect1 id="jansson" xreflabel="jansson-&jansson-version;">
<?dbhtml filename="jansson.html"?>
<title>Jansson-&jansson-version;</title>
<indexterm zone="jansson">
<primary sortas="a-jansson">jansson</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Jansson</title>
<para>
The <application>Jansson</application> package contains a library used to
encode, decode, and manipulate JSON data.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&jansson-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&jansson-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &jansson-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &jansson-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &jansson-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &jansson-time;
</para>
</listitem>
</itemizedlist>
<!-- No dependencies -->
</sect2>
<sect2 role="installation">
<title>Installation of Jansson</title>
<para>
First fix one of the tests:
</para>
<screen><userinput>sed -e "/DT/s;| sort;| sed 's/@@libjansson.*//' &amp;;" \
-i test/suites/api/check-exports</userinput></screen>
<para>
Install <application>jansson</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</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>
None
</seg>
<seg>
libjansson.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libjansson">
<term><filename class="libraryfile">libjansson.so</filename></term>
<listitem>
<para>
contains an API for encoding, decoding, and manipulating JSON data
</para>
<indexterm zone="jansson libjansson">
<primary sortas="c-libjansson">libjansson.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>