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-glib-download-http "&gnome-download-http;/json-glib/1.2/json-glib-&json-glib-version;.tar.xz">
|
---|
8 | <!ENTITY json-glib-download-ftp "&gnome-download-ftp;/json-glib/1.2/json-glib-&json-glib-version;.tar.xz">
|
---|
9 | <!ENTITY json-glib-md5sum "ff31e7d0594df44318e12facda3d086e">
|
---|
10 | <!ENTITY json-glib-size "592 KB">
|
---|
11 | <!ENTITY json-glib-buildsize "13 MB (with tests)">
|
---|
12 | <!ENTITY json-glib-time "0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="json-glib" xreflabel="JSON-GLib-&json-glib-version;">
|
---|
16 | <?dbhtml filename="json-glib.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>JSON-GLib-&json-glib-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="json-glib">
|
---|
26 | <primary sortas="a-JSON-GLib">JSON-GLib</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to JSON GLib</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>JSON GLib</application> package is a library
|
---|
34 | providing serialization and deserialization support for the JavaScript
|
---|
35 | Object Notation (JSON) format described by RFC 4627.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs80_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&json-glib-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&json-glib-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &json-glib-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &json-glib-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &json-glib-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &json-glib-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">JSON-GLib Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="glib2"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <xref linkend="gobject-introspection"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="gtk-doc"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <para condition="html" role="usernotes">User Notes:
|
---|
92 | <ulink url="&blfs-wiki;/json-glib"/>
|
---|
93 | </para>
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="installation">
|
---|
97 | <title>Installation of JSON GLib</title>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Install <application>JSON GLib</application> by running the following
|
---|
101 | commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
105 | make</userinput></screen>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | To test the results, issue: <command>make check</command>.
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="commands">
|
---|
120 | <title>Command Explanations</title>
|
---|
121 |
|
---|
122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
123 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="content">
|
---|
128 | <title>Contents</title>
|
---|
129 |
|
---|
130 | <segmentedlist>
|
---|
131 | <segtitle>Installed Programs</segtitle>
|
---|
132 | <segtitle>Installed Library</segtitle>
|
---|
133 | <segtitle>Installed Directories</segtitle>
|
---|
134 |
|
---|
135 | <seglistitem>
|
---|
136 | <seg>
|
---|
137 | json-glib-format and json-glib-validate
|
---|
138 | </seg>
|
---|
139 | <seg>
|
---|
140 | libjson-glib-1.0.so
|
---|
141 | </seg>
|
---|
142 | <seg>
|
---|
143 | /usr/include/json-glib-1.0 and
|
---|
144 | /usr/share/gtk-doc/html/json-glib
|
---|
145 | </seg>
|
---|
146 | </seglistitem>
|
---|
147 | </segmentedlist>
|
---|
148 |
|
---|
149 | <variablelist>
|
---|
150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
151 | <?dbfo list-presentation="list"?>
|
---|
152 | <?dbhtml list-presentation="table"?>
|
---|
153 |
|
---|
154 | <varlistentry id="json-glib-format">
|
---|
155 | <term><command>json-glib-format</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>
|
---|
158 | is a simple command line interface to format JSON data.
|
---|
159 | </para>
|
---|
160 | <indexterm zone="json-glib json-glib-format">
|
---|
161 | <primary sortas="b-json-glib-format">json-glib-format</primary>
|
---|
162 | </indexterm>
|
---|
163 | </listitem>
|
---|
164 | </varlistentry>
|
---|
165 |
|
---|
166 | <varlistentry id="json-glib-validate">
|
---|
167 | <term><command>json-glib-validate</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | is a simple command line interface to validate JSON data.
|
---|
171 | </para>
|
---|
172 | <indexterm zone="json-glib json-glib-validate">
|
---|
173 | <primary sortas="b-json-glib-validate">json-glib-validate</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | <varlistentry id="libjson-glib-1">
|
---|
179 | <term><filename class="libraryfile">libjson-glib-1.0.so</filename></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | contains the <application>JSON GLib</application> API functions.
|
---|
183 | </para>
|
---|
184 | <indexterm zone="json-glib libjson-glib-1">
|
---|
185 | <primary sortas="c-libjson-glib-1">libjson-glib-1.0.so</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | </variablelist>
|
---|
191 |
|
---|
192 | </sect2>
|
---|
193 |
|
---|
194 | </sect1>
|
---|