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

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since bf565e06 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 4.5 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://s3.amazonaws.com/json-c_releases/releases/json-c-&json-c-version;.tar.gz">
8 <!ENTITY json-c-download-ftp " ">
9 <!ENTITY json-c-md5sum "8110782cb2a996da5517f1f27a4bed8e">
10 <!ENTITY json-c-size "344 KB">
11 <!ENTITY json-c-buildsize "7.7 MB">
12 <!ENTITY json-c-time "0.2 SBU (with tests)">
13]>
14
15<sect1 id="json-c" xreflabel="JSON-C-&json-c-version;">
16 <?dbhtml filename="json-c.html"?>
17
18
19 <title>JSON-C-&json-c-version;</title>
20
21 <indexterm zone="json-c">
22 <primary sortas="a-JSON-C">JSON-C</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to JSON-C</title>
27
28 <para>
29 The <application>JSON-C</application> implements a reference counting
30 object model that allows you to easily construct JSON objects in C,
31 output them as JSON formatted strings and parse JSON formatted strings
32 back into the C representation of JSON objects.
33 </para>
34
35 &lfs112_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&json-c-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&json-c-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &json-c-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &json-c-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &json-c-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &json-c-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">JSON-C Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="cmake"/>
76 </para>
77<!--
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="Optional">
80 <xref linkend="doxygen"/> and
81 <xref linkend="graphviz"/> (for dot tool)
82 </para>
83-->
84 <para condition="html" role="usernotes">
85 User Notes: <ulink url="&blfs-wiki;/json-c"/>
86 </para>
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of JSON-C</title>
91<!--
92 <note>
93 <para>
94 This package does not support parallel build.
95 </para>
96 </note>
97-->
98 <para>
99 Install <application>JSON-C</application> by running the following
100 commands:
101 </para>
102
103<screen><userinput>mkdir build &amp;&amp;
104cd build &amp;&amp;
105
106cmake -DCMAKE_INSTALL_PREFIX=/usr \
107 -DCMAKE_BUILD_TYPE=Release \
108 -DBUILD_STATIC_LIBS=OFF \
109 .. &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 To test the results, issue: <command>make test</command>.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install</userinput></screen>
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
128 used to apply a higher level of compiler optimizations.
129 </para>
130
131 </sect2>
132
133 <sect2 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Libraries</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>
143 None
144 </seg>
145 <seg>
146 libjson-c.so
147 </seg>
148 <seg>
149 /usr/include/json-c
150 </seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="libjson-c">
160 <term><filename class="libraryfile">libjson-c.so</filename></term>
161 <listitem>
162 <para>
163 contains the <application>JSON-C</application> API functions
164 </para>
165 <indexterm zone="json-c libjson-c">
166 <primary sortas="c-libjson-c">libjson-c.so</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.