source: general/genlib/json-glib.xml@ e962ced

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e962ced was d8458f3, checked in by Douglas R. Reno <renodr@…>, 15 months ago

json-glib: Add an option to disable the documentation generation.

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