source: general/genlib/json-glib.xml@ 868d29d

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 868d29d was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

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