Add Jansson

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20535 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2018-09-25 21:48:55 +00:00
parent 5a7f33e923
commit d6d0a2cb3b
9 changed files with 163 additions and 6 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "23"> <!-- Always 2 digits -->
<!ENTITY day "25"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2018">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "September 23rd, &year;">
<!ENTITY releasedate "September 25th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -67,6 +67,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grantlee.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icu.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jansson.xml"/>
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js38.xml"/> -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js52.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js60.xml"/>

140
general/genlib/jansson.xml Normal file
View File

@ -0,0 +1,140 @@
<?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 "http://www.digip.org/jansson/releases/jansson-&jansson-version;.tar.gz">
<!ENTITY jansson-download-ftp " ">
<!ENTITY jansson-md5sum "7af071db9970441e1eaaf25662310e33">
<!ENTITY jansson-size "476 KB">
<!ENTITY jansson-buildsize "6.8 MB">
<!ENTITY jansson-time "0.1 SBU">
]>
<sect1 id="jansson" xreflabel="jansson-&jansson-version;">
<?dbhtml filename="jansson.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<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>
&lfs83_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 -->
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/jansson"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Jansson</title>
<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>

View File

@ -100,6 +100,7 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional" revision="sysv">
<xref linkend="gc"/> (for linker garbage collection),
<xref linkend="jansson"/>,
<ulink url="&gnome-download-http;/gnome-bluetooth/">
GNOME Bluetooth</ulink>, and
<ulink url="&gnome-download-http;/mobile-broadband-provider-info">
@ -108,9 +109,10 @@
<para role="optional" revision="systemd">
<xref linkend="gc"/> (for linker garbage collection),
<xref linkend="gnome-bluetooth"/>,
<xref linkend="jansson"/>,
<ulink url="&gnome-download-http;/mobile-broadband-provider-info">
mobile-broadband-provider-info</ulink> (runtime), and
<ulink url="http://www.digip.org/jansson/">Jansson</ulink> (for the team configuration editor)
<!-- <ulink url="http://www.digip.org/jansson/">Jansson</ulink> (for the team configuration editor) -->
</para>
<para condition="html" role="usernotes">User Notes:

View File

@ -41,6 +41,16 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>September 25th, 2018</para>
<itemizedlist>
<listitem>
<para>[renodr] - Add Jansson for Samba. Fixes
<ulink url="&blfs-ticket-root;11183">#11183</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>September 23rd, 2018</para>
<itemizedlist>

View File

@ -85,6 +85,7 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="boost"/>, <!--required for the C++ asio library)-->
<xref linkend="jansson"/>, <!-- required to build the HPACK tools -->
<xref linkend="libevent"/>, <!--required to build the examples-->
<xref linkend="python2"/>, <!--required for the python bindings)-->
<!--- <phrase revision="systemd">
@ -94,7 +95,7 @@
the testsuite),
<ulink url="http://cython.org/">Cython</ulink>, <!--required for the
python bindings-->
<ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!--required
<!-- <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!- -required
to build the HPACK tools-->
<ulink url="http://www.canonware.com/jemalloc/">jemalloc</ulink>,
<!--required for the example HTTP server-->

View File

@ -87,6 +87,7 @@
<xref linkend="git"/>,
<xref linkend="gnupg2"/> (required for ADS and testsuite),
<xref linkend="gnutls"/>,
<xref linkend="jansson"/>,
<xref linkend="libarchive"/>,
<xref linkend="libcap-pam"/>,
<xref linkend="libgcrypt"/>,
@ -103,7 +104,7 @@
<ulink url="https://ctdb.samba.org/">ctdb</ulink> (included),
<ulink url="https://people.gnome.org/~veillard/gamin/">Gamin</ulink>,
<ulink url="http://www.h5l.org/">Heimdal</ulink> (included),
<ulink url="http://www.digip.org/jansson/">Jansson</ulink>,
<!-- <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, -->
<ulink url="http://ftp.de.debian.org/debian/pool/main/liba/libaio/">libaio</ulink>,
<ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
<ulink url="https://ldb.samba.org/">ldb</ulink> (included),

View File

@ -115,12 +115,13 @@
<para role="optional">
<xref linkend="bluez"/>,
<xref linkend="gtk-doc"/>,
<xref linkend="jansson"/>,
<xref linkend="libpsl"/>,
<xref linkend="qt5"/> (for examples),
<xref linkend="ModemManager"/>,
<xref linkend="valgrind"/>,
<ulink url="http://www.thekelleys.org.uk/dnsmasq/doc.html">dnsmasq</ulink>,
<ulink url="http://www.digip.org/jansson/">Jansson</ulink>,
<!-- <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, -->
<ulink url="https://github.com/Distrotech/libaudit">libaudit</ulink>,
<ulink url="https://github.com/jpirko/libteam">libteam</ulink>,
<ulink url="https://www.samba.org/ftp/ppp/">PPP</ulink>, and

View File

@ -116,6 +116,7 @@
<!ENTITY icu-dl-version "&icu-major;_&icu-minor;"><!-- _&icu-patch;-->
<!ENTITY iso-codes-version "4.1">
<!ENTITY jansson-version "2.11">
<!-- <!ENTITY JS-version "17.0.0">
<!ENTITY JS2-version "24.2.0">
<!ENTITY JS38-version "38.2.1"> -->