mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 12:32:13 +08:00
110272edb1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19082 af4574ff-66df-0310-9fd7-8a98e5e911e0
163 lines
4.4 KiB
XML
163 lines
4.4 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libbytesize-download-http "https://github.com/storaged-project/libbytesize/archive/libbytesize-&libbytesize-version;.tar.gz">
|
|
<!ENTITY libbytesize-download-ftp " ">
|
|
<!ENTITY libbytesize-md5sum "c469110ae134ea3a58546ba13fdb5074">
|
|
<!ENTITY libbytesize-size "68 KB">
|
|
<!ENTITY libbytesize-buildsize "2.7 MB">
|
|
<!ENTITY libbytesize-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="libbytesize" xreflabel="libbytesize-&libbytesize-version;">
|
|
<?dbhtml filename="libbytesize.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libbytesize-&libbytesize-version;</title>
|
|
|
|
<indexterm zone="libbytesize">
|
|
<primary sortas="a-libbytesize">libbytesize</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libbytesize</title>
|
|
|
|
<para>
|
|
The <application>libbytesize</application> package is a library
|
|
facilitates the common operations with sizes in bytes.
|
|
</para>
|
|
|
|
&lfs81_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libbytesize-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libbytesize-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libbytesize-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libbytesize-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libbytesize-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libbytesize-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">libbytesize Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="pcre2"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="gtk-doc"/>,
|
|
<xref linkend="python2"/>,
|
|
<xref linkend="python3"/>, and
|
|
<ulink url="https://pypi.python.org/pypi/six">six</ulink>
|
|
(python module for tests)
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/libbytesize"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libbytesize</title>
|
|
|
|
<para>
|
|
Install <application>libbytesize</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>sh autogen.sh &&
|
|
./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
If you have the optional python module '<application>six</application>'
|
|
installed, the regression tests can be run with: <command>make check</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libbytesize.so
|
|
</seg>
|
|
<seg>
|
|
/usr/lib/python{2,3}/site-packages/bytesize
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
<!--
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libbytesize-lib">
|
|
<term><filename class='libraryfile'>libbytesize.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the ATA S.M.A.R.T API functions.
|
|
</para>
|
|
<indexterm zone="libbytesize libbytesize-lib">
|
|
<primary sortas="c-libbytesize">libbytesize.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
-->
|
|
</sect2>
|
|
|
|
</sect1>
|