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/archive/libbytesize-&libbytesize-version;.tar.gz">
|
---|
8 | <!ENTITY libbytesize-download-ftp " ">
|
---|
9 | <!ENTITY libbytesize-md5sum "66b750a160fb3b6dee813943d7fe6f60">
|
---|
10 | <!ENTITY libbytesize-size "68 KB">
|
---|
11 | <!ENTITY libbytesize-buildsize "3.0 MB">
|
---|
12 | <!ENTITY libbytesize-time "less than 0.1 SBU">
|
---|
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
|
---|
34 | facilitates the common operations with sizes in bytes.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs81_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 | <note><para>This package expands to
|
---|
74 | libbytesize-libbytesize-&libbytesize-version;.</para></note>
|
---|
75 |
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">libbytesize Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="pcre2"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="gtk-doc"/>,
|
---|
87 | <xref linkend="python2"/>,
|
---|
88 | <xref linkend="python3"/>,
|
---|
89 | <xref linkend="six"/> (python module for tests),
|
---|
90 | <ulink url="https://github.com/rhinstaller/pocketlint/releases">pocketlint</ulink> (python module for one test), and
|
---|
91 | <ulink url="https://pypi.python.org/pypi/polib">polib</ulink> (python module for one test)
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <para condition="html" role="usernotes">User Notes:
|
---|
95 | <ulink url="&blfs-wiki;/libbytesize"/>
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of libbytesize</title>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Install <application>libbytesize</application> by running the following
|
---|
105 | commands:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen><userinput>sh autogen.sh &&
|
---|
109 | ./configure --prefix=/usr &&
|
---|
110 | make</userinput></screen>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | If you have the optional python modules installed, the regression
|
---|
114 | tests can be run with: <command>make check</command>.
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="content">
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <segmentedlist>
|
---|
129 | <segtitle>Installed Programs</segtitle>
|
---|
130 | <segtitle>Installed Library</segtitle>
|
---|
131 | <segtitle>Installed Directories</segtitle>
|
---|
132 |
|
---|
133 | <seglistitem>
|
---|
134 | <seg>
|
---|
135 | None
|
---|
136 | </seg>
|
---|
137 | <seg>
|
---|
138 | libbytesize.so
|
---|
139 | </seg>
|
---|
140 | <seg>
|
---|
141 | /usr/lib/python{2,3}/site-packages/bytesize
|
---|
142 | </seg>
|
---|
143 | </seglistitem>
|
---|
144 | </segmentedlist>
|
---|
145 | <!--
|
---|
146 | <variablelist>
|
---|
147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
148 | <?dbfo list-presentation="list"?>
|
---|
149 | <?dbhtml list-presentation="table"?>
|
---|
150 |
|
---|
151 | <varlistentry id="libbytesize-lib">
|
---|
152 | <term><filename class='libraryfile'>libbytesize.so</filename></term>
|
---|
153 | <listitem>
|
---|
154 | <para>
|
---|
155 | contains the ATA S.M.A.R.T API functions.
|
---|
156 | </para>
|
---|
157 | <indexterm zone="libbytesize libbytesize-lib">
|
---|
158 | <primary sortas="c-libbytesize">libbytesize.so</primary>
|
---|
159 | </indexterm>
|
---|
160 | </listitem>
|
---|
161 | </varlistentry>
|
---|
162 |
|
---|
163 | </variablelist>
|
---|
164 | -->
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | </sect1>
|
---|