source: general/genlib/json-c.xml@ 3442e55

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3442e55 was 3442e55, checked in by Wayne Blaszczyk <wblaszcz@…>, 11 years ago

Fixed ticket 3808.

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

  • Property mode set to 100644
File size: 4.4 KB
Line 
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
7 <!ENTITY json-c-download-http "https://github.com/downloads/json-c/json-c/json-c-&json-c-version;.tar.gz">
8 <!ENTITY json-c-download-ftp " ">
9 <!ENTITY json-c-md5sum "a4edc79410eb894f08d7d52ca9f88732">
10 <!ENTITY json-c-size "380 KB">
11 <!ENTITY json-c-buildsize "3.5 MB">
12 <!ENTITY json-c-time "less than 0.1 SBU">
13]>
14
15<sect1 id="json-c" xreflabel="JSON-C-&json-c-version;">
16 <?dbhtml filename="json-c.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>JSON-C-&json-c-version;</title>
24
25 <indexterm zone="json-c">
26 <primary sortas="a-JSON-C">JSON-C</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to JSON-C</title>
31
32 <para>
33 The <application>JSON-C</application> implements a reference counting
34 object model that allows you to easily construct JSON objects in C,
35 output them as JSON formatted strings and parse JSON formatted strings
36 back into the C representation of JSON objects.
37 </para>
38
39 &lfs72_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&json-c-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&json-c-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &json-c-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &json-c-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &json-c-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &json-c-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <para condition="html" role="usernotes">
76 User Notes: <ulink url="&blfs-wiki;/json-c"/>
77 </para>
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of JSON-C</title>
82
83 <para>
84 Install <application>JSON-C</application> by running the following
85 commands:
86 </para>
87
88<screen><userinput>sed -e 's/json_object.c/json_object.c json_object_iterator.c/' \
89 -e 's/json_object.h/json_object.h json_object_iterator.h/' \
90 -e 's/json_object.lo/json_object.lo json_object_iterator.lo/' \
91 -i Makefile.in &amp;&amp;
92./configure --prefix=/usr --disable-static &amp;&amp;
93make</userinput></screen>
94
95 <para>
96 To test the results, issue: <command>make check</command>.
97 </para>
98
99 <para>
100 Now, as the <systemitem class="username">root</systemitem> user:
101 </para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <para>
110 <command>sed -e 's/json_object...</command>: This <command>sed</command>
111 make sure that all the necessary headers are installed correctly.
112 </para>
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 Library</segtitle>
125 <segtitle>Installed Directory</segtitle>
126
127 <seglistitem>
128 <seg>
129 None
130 </seg>
131 <seg>
132 libjson.so
133 </seg>
134 <seg>
135 /usr/include/json
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
145 <varlistentry id="libjson">
146 <term><filename class="libraryfile">libjson.so</filename></term>
147 <listitem>
148 <para>
149 contains <application>JSON-C</application> API functions.
150 </para>
151 <indexterm zone="json-c libjson">
152 <primary sortas="c-libjson">libjson.so</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 </variablelist>
158
159 </sect2>
160
161</sect1>
Note: See TracBrowser for help on using the repository browser.