source: general/genlib/json-c.xml@ e6bce28

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e6bce28 was 82e1be5, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to cryptsetup-2.0.4.
Update to xfsprogs-4.17.0.
Tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20311 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.9 KB
RevLine 
[250cf69]1<?xml version="1.0" encoding="ISO-8859-1"?>
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
[23d3543c]7 <!ENTITY json-c-download-http "https://s3.amazonaws.com/json-c_releases/releases/json-c-&json-c-version;.tar.gz">
[250cf69]8 <!ENTITY json-c-download-ftp " ">
[0dc1b7b]9 <!ENTITY json-c-md5sum "04969ad59cc37bddd83741a08b98f350">
[e23dd212]10 <!ENTITY json-c-size "620 KB">
11 <!ENTITY json-c-buildsize "5.0 MB (add 6.0 MB for tests)">
12 <!ENTITY json-c-time "less than 0.1 SBU (add 1.7 SBU for tests)">
[9612312]13
[250cf69]14]>
15
16<sect1 id="json-c" xreflabel="JSON-C-&json-c-version;">
17 <?dbhtml filename="json-c.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>JSON-C-&json-c-version;</title>
25
26 <indexterm zone="json-c">
[7ded7e3]27 <primary sortas="a-JSON-C">JSON-C</primary>
[250cf69]28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to JSON-C</title>
32
33 <para>
[0d7900a]34 The <application>JSON-C</application> implements a reference counting
35 object model that allows you to easily construct JSON objects in C,
[250cf69]36 output them as JSON formatted strings and parse JSON formatted strings
37 back into the C representation of JSON objects.
38 </para>
39
[82e1be5]40 &lfs83_checked;
[250cf69]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&json-c-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&json-c-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &json-c-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &json-c-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &json-c-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &json-c-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/json-c"/>
78 </para>
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of JSON-C</title>
[5944fc1]83<!--
[26f5f6ac]84 <note>
85 <para>
86 This package does not support parallel build.
87 </para>
88 </note>
[5944fc1]89-->
[250cf69]90 <para>
91 Install <application>JSON-C</application> by running the following
92 commands:
93 </para>
94
[5944fc1]95<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
96make</userinput></screen>
[250cf69]97
98 <para>
99 To test the results, issue: <command>make check</command>.
100 </para>
101
[28e4d3e]102<!-- When I ran the test suite, I experienced all but 5 tests failing. Should
103 look into before release. -renodr -->
104
[250cf69]105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110 </sect2>
111
112 <sect2 role="commands">
113 <title>Command Explanations</title>
114
[0dc1b7b]115<!-- there's no sed in instructions
[f23c35f4]116 <para><userinput>sed ...</userinput>: This instruction removes a flag
117 that prevents one file from compiling.</para>
[0dc1b7b]118-->
[7ded7e3]119 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
120 href="../../xincludes/static-libraries.xml"/>
[250cf69]121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
[c3c56b2]128 <segtitle>Installed Programs</segtitle>
[23d3543c]129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
[250cf69]131
132 <seglistitem>
[c3c56b2]133 <seg>
134 None
135 </seg>
[250cf69]136 <seg>
[23d3543c]137 libjson-c.so and libjson.so
[250cf69]138 </seg>
139 <seg>
[23d3543c]140 /usr/include/json and
141 /usr/include/json-c
[250cf69]142 </seg>
143 </seglistitem>
144 </segmentedlist>
145
146 <variablelist>
147 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
148 <?dbfo list-presentation="list"?>
149 <?dbhtml list-presentation="table"?>
150
151 <varlistentry id="libjson">
[7ded7e3]152 <term><filename class="libraryfile">libjson.so</filename></term>
[250cf69]153 <listitem>
154 <para>
[23d3543c]155 contains the <application>JSON-C</application> API functions.
[250cf69]156 </para>
157 <indexterm zone="json-c libjson">
[7ded7e3]158 <primary sortas="c-libjson">libjson.so</primary>
[250cf69]159 </indexterm>
160 </listitem>
161 </varlistentry>
162
[23d3543c]163 <varlistentry id="libjson-c">
164 <term><filename class="libraryfile">libjson-c.so</filename></term>
165 <listitem>
166 <para>
167 contains the <application>JSON-C</application> API functions.
168 </para>
169 <indexterm zone="json-c libjson-c">
170 <primary sortas="c-libjson-c">libjson-c.so</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
[250cf69]175 </variablelist>
176
177 </sect2>
178
179</sect1>
Note: See TracBrowser for help on using the repository browser.