source: general/genlib/libbytesize.xml@ bd45e10

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since bd45e10 was bd45e10, checked in by Bruce Dubbs <bdubbs@…>, 19 months ago

Update to ffmpeg-4.2.3.
Update to v4l-utils-1.20.0.
Update to six-1.15.0 (Python module).
Update to libbytesize-2.3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23188 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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 libbytesize-download-http "https://github.com/storaged-project/libbytesize/releases/download/&libbytesize-version;/libbytesize-&libbytesize-version;.tar.gz">
8 <!ENTITY libbytesize-download-ftp " ">
9 <!ENTITY libbytesize-md5sum "c161c1d3891a4ed27e6efd180b139c65">
10 <!ENTITY libbytesize-size "428 KB">
11 <!ENTITY libbytesize-buildsize "3.3 MB">
12 <!ENTITY libbytesize-time "less than 0.1 SBU (including tests)">
13]>
14
15<sect1 id="libbytesize" xreflabel="libbytesize-&libbytesize-version;">
16 <?dbhtml filename="libbytesize.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libbytesize-&libbytesize-version;</title>
24
25 <indexterm zone="libbytesize">
26 <primary sortas="a-libbytesize">libbytesize</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libbytesize</title>
31
32 <para>
33 The <application>libbytesize</application> package is a library which
34 facilitates the common operations with sizes in bytes.
35 </para>
36
37 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libbytesize-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libbytesize-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libbytesize-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libbytesize-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libbytesize-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libbytesize-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libbytesize Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="pcre2"/> and
78 <xref linkend="pygments"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="gtk-doc"/>,
84 <xref linkend="six"/> (needed for tests and python bindings),
85 <ulink url="https://github.com/rhinstaller/pocketlint/releases">pocketlint</ulink> (python module for one test), and
86 <ulink url="https://pypi.python.org/pypi/polib">polib</ulink> (python module for one test)
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/libbytesize"/>
91 </para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of libbytesize</title>
97
98 <para>
99 Install <application>libbytesize</application> by running the following
100 commands:
101 </para>
102
103<screen><userinput>./configure --prefix=/usr &amp;&amp;
104make</userinput></screen>
105
106 <para>
107 If you have the optional python modules installed, the regression
108 tests can be run with: <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 <para>
123 <option>-i -without-python2</option>: If
124 <application>Python 2</application> is installed, use this switch to
125 prevent the use of <application>Python 2</application>. This may be
126 required to run the tests, if some of the needed python modules have been
127 installed for <application>Python 3</application> only.
128 </para>
129 </sect2>
130-->
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Programs</segtitle>
136 <segtitle>Installed Library</segtitle>
137 <segtitle>Installed Directories</segtitle>
138
139 <seglistitem>
140 <seg>
141 bscalc
142 </seg>
143 <seg>
144 libbytesize.so
145 </seg>
146 <seg>
147 /usr/include/bytesize,
148 /usr/share/gtk-doc/html/libbytesize, and
149 /usr/lib/python&python3-majorver;/site-packages/bytesize
150 </seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="bscalc">
160 <term><command>bscalc</command></term>
161 <listitem>
162 <para>
163 converts from a larger unit, such as MB or TB,
164 back to a value in bytes.
165 </para>
166 <indexterm zone="libbytesize bscalc">
167 <primary sortas="b-bscalc">bscalc</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="libbytesize-lib">
173 <term><filename class='libraryfile'>libbytesize.so</filename></term>
174 <listitem>
175 <para>
176 contains functions used to handle common read/write operations
177 with sizes in bytes.
178 </para>
179 <indexterm zone="libbytesize libbytesize-lib">
180 <primary sortas="c-libbytesize">libbytesize.so</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 </variablelist>
186
187 </sect2>
188
189</sect1>
Note: See TracBrowser for help on using the repository browser.