glfs/general/genlib/log4cplus.xml
2024-01-19 22:39:35 +01:00

158 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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 log4cplus-download-http "https://github.com/log4cplus/log4cplus/releases/download/REL_&log4cplus-release;/log4cplus-&log4cplus-version;.tar.xz">
<!ENTITY log4cplus-download-ftp " ">
<!ENTITY log4cplus-md5sum "6ee2555be39cd269086cc871c834e43f">
<!ENTITY log4cplus-size "919 KB">
<!ENTITY log4cplus-buildsize "73 MB">
<!ENTITY log4cplus-time "0.3 SBU (Using parallelism=4; add 0.5 SBU for tests)">
]>
<sect1 id="log4cplus" xreflabel="log4cplus-&log4cplus-version;">
<?dbhtml filename="log4cplus.html"?>
<title>log4cplus-&log4cplus-version;</title>
<indexterm zone="log4cplus">
<primary sortas="a-log4cplus">log4cplus</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to log4cplus</title>
<para>
<application>log4cplus</application> is an easy to use C++20
logging API providing thread-safe, flexible, and arbitrarily
granular control over log management and configuration. It is
modeled after the Java log4j API.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&log4cplus-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&log4cplus-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &log4cplus-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &log4cplus-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &log4cplus-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &log4cplus-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">log4cplus Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
&qt5-deps;
</para>
</sect2>
<sect2 role="installation">
<title>Installation of log4cplus</title>
<para>
Build <application>log4cplus</application> by running the following
command:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, install the package as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<option>--with-qt5</option>: This option enables
compilation of a separate shared library (liblog4cplusqt5debugappender)
that implements Qt5DebugAppender. It requires Qt5 and pkg-config
to be available.
</para>
</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>
log4cplus.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="log4cplus-lib">
<term><filename class="libraryfile">log4cplus.so</filename></term>
<listitem>
<para>
is the log4cplus library
</para>
<indexterm zone="log4cplus log4cplus-lib">
<primary sortas="c-log4cplus">log4cplus.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>