[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 |
|
---|
[7007944] | 7 | <!ENTITY json-glib-download-http "&gnome-download-http;/json-glib/1.0/json-glib-&json-glib-version;.tar.xz">
|
---|
| 8 | <!ENTITY json-glib-download-ftp "&gnome-download-ftp;/json-glib/1.0/json-glib-&json-glib-version;.tar.xz">
|
---|
[1c345ed] | 9 | <!ENTITY json-glib-md5sum "e43efaf6852958207982e79141bf371e">
|
---|
| 10 | <!ENTITY json-glib-size "540 KB">
|
---|
[7007944] | 11 | <!ENTITY json-glib-buildsize "11 MB (additional 2 MB for the tests)">
|
---|
| 12 | <!ENTITY json-glib-time "0.1 SBU">
|
---|
[f6b4922] | 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">
|
---|
[3af204c] | 30 | <title>Introduction to JSON GLib</title>
|
---|
[f6b4922] | 31 |
|
---|
[7ded7e3] | 32 | <para>
|
---|
[3af204c] | 33 | The <application>JSON GLib</application> package is a library
|
---|
[7ded7e3] | 34 | providing serialization and deserialization support for the JavaScript
|
---|
| 35 | Object Notation (JSON) format described by RFC 4627.
|
---|
| 36 | </para>
|
---|
[f6b4922] | 37 |
|
---|
[682f45b2] | 38 | &lfs75_checked;
|
---|
[f6b4922] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[7ded7e3] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&json-glib-download-http;"/>
|
---|
| 45 | </para>
|
---|
[f6b4922] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[7ded7e3] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&json-glib-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[f6b4922] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[7ded7e3] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &json-glib-md5sum;
|
---|
| 55 | </para>
|
---|
[f6b4922] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[7ded7e3] | 58 | <para>
|
---|
| 59 | Download size: &json-glib-size;
|
---|
| 60 | </para>
|
---|
[f6b4922] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[7ded7e3] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &json-glib-buildsize;
|
---|
| 65 | </para>
|
---|
[f6b4922] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[7ded7e3] | 68 | <para>
|
---|
| 69 | Estimated build time: &json-glib-time;
|
---|
| 70 | </para>
|
---|
[f6b4922] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">JSON-GLib Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c2421a0d] | 77 | <para role="required">
|
---|
[aa4778c4] | 78 | <xref linkend="glib2"/>
|
---|
[c2421a0d] | 79 | </para>
|
---|
[f6b4922] | 80 |
|
---|
[4c2be438] | 81 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
[c2421a0d] | 82 | <para role="optional">
|
---|
| 83 | <xref linkend="gobject-introspection"/>
|
---|
[4c2be438] | 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[c2421a0d] | 88 | <xref linkend="gtk-doc"/>
|
---|
| 89 | </para>
|
---|
[f6b4922] | 90 |
|
---|
| 91 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 92 | <ulink url="&blfs-wiki;/json-glib"/>
|
---|
| 93 | </para>
|
---|
[f6b4922] | 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
[3af204c] | 97 | <title>Installation of JSON GLib</title>
|
---|
[f6b4922] | 98 |
|
---|
[7ded7e3] | 99 | <para>
|
---|
[3af204c] | 100 | Install <application>JSON GLib</application> by running the following
|
---|
[7ded7e3] | 101 | commands:
|
---|
| 102 | </para>
|
---|
[f6b4922] | 103 |
|
---|
| 104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
[7ded7e3] | 107 | <para>
|
---|
| 108 | To test the results, issue: <command>make check</command>.
|
---|
| 109 | </para>
|
---|
[f6b4922] | 110 |
|
---|
[7ded7e3] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[f6b4922] | 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"
|
---|
[7ded7e3] | 123 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[f6b4922] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
[c3c56b2] | 131 | <segtitle>Installed Programs</segtitle>
|
---|
[f6b4922] | 132 | <segtitle>Installed Library</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
| 134 |
|
---|
| 135 | <seglistitem>
|
---|
[c3c56b2] | 136 | <seg>
|
---|
[1c345ed] | 137 | json-glib-format and json-glib-validate
|
---|
[c3c56b2] | 138 | </seg>
|
---|
[c2421a0d] | 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>
|
---|
[f6b4922] | 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="libjson-glib-1">
|
---|
[d3e019dc] | 155 | <term><filename class="libraryfile">libjson-glib-1.0.so</filename></term>
|
---|
[f6b4922] | 156 | <listitem>
|
---|
[7ded7e3] | 157 | <para>
|
---|
[3af204c] | 158 | contains the <application>JSON GLib</application> API functions.
|
---|
[7ded7e3] | 159 | </para>
|
---|
[f6b4922] | 160 | <indexterm zone="json-glib libjson-glib-1">
|
---|
| 161 | <primary sortas="c-libjson-glib-1">libjson-glib-1.0.so</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | </variablelist>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | </sect1>
|
---|