source: general/genlib/inih.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Tags

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 inih-download-http
8 "https://github.com/benhoyt/inih/archive/r&inih-version;/inih-r&inih-version;.tar.gz">
9 <!ENTITY inih-download-ftp " ">
10 <!ENTITY inih-md5sum "5c9725320ad2c79e0b1f76568bd0ff24">
11 <!ENTITY inih-size "20 KB">
12 <!ENTITY inih-buildsize "724 KB">
13 <!ENTITY inih-time "less than 0.1 SBU">
14]>
15
16<sect1 id="inih" xreflabel="inih-&inih-version;">
17 <?dbhtml filename="inih.html"?>
18
19
20 <title>inih-&inih-version;</title>
21
22 <indexterm zone="inih">
23 <primary sortas="a-inih">inih</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to inih</title>
28
29 <para>
30 This package is a simple .INI file parser written in C.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&inih-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&inih-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &inih-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &inih-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &inih-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &inih-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 </sect2>
70
71 <sect2 role="installation">
72 <title>Installation of inih</title>
73
74 <para>
75 Install <application>inih</application> by running
76 the following commands:
77 </para>
78
79<screen><userinput>mkdir build &amp;&amp;
80cd build &amp;&amp;
81
82meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
83ninja</userinput></screen>
84
85<!-- Note. There is a tests directoy. If we do:
86 cd ../tests
87 sh unittest.sh
88The tests seem to be run, but there is no output or log.
89-->
90 <para>
91 This package does not come with a test suite.
92 </para>
93
94 <para>
95 Now, as the <systemitem class="username">root</systemitem> user:
96 </para>
97
98<screen role="root"><userinput>ninja install</userinput></screen>
99
100 </sect2>
101
102 <sect2 role="content">
103 <title>Contents</title>
104
105 <segmentedlist>
106 <segtitle>Installed Program</segtitle>
107 <segtitle>Installed Libraries</segtitle>
108 <segtitle>Installed Directories</segtitle>
109
110 <seglistitem>
111 <seg>
112 None
113 </seg>
114 <seg>
115 libinih.so, libINIReader.so
116 </seg>
117 <seg>
118 None
119 </seg>
120 </seglistitem>
121 </segmentedlist>
122
123 <variablelist>
124 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
125 <?dbfo list-presentation="list"?>
126 <?dbhtml list-presentation="table"?>
127
128 <varlistentry id="libinih">
129 <term><filename class="libraryfile">libinih.so</filename></term>
130 <listitem>
131 <para>
132 is the inih main library
133 </para>
134 <indexterm zone="inih libinih">
135 <primary sortas="c-libinih">libinih.so</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="libINIReader">
141 <term><filename class="libraryfile">libINIReader.so</filename></term>
142 <listitem>
143 <para>
144 is the inih parser library
145 </para>
146 <indexterm zone="inih libINIReader">
147 <primary sortas="c-libINIReader">libINIReader.so</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151 </variablelist>
152 </sect2>
153
154</sect1>
Note: See TracBrowser for help on using the repository browser.