source: general/genlib/libbytesize.xml@ eede1a3

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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