glfs/archive/add/libkdcraw.xml
Xi Ruoyao 45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00

146 lines
4.2 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 libkdcraw-download-http "&kde-download-http;applications/&libkdcraw-version;/src/libkdcraw-&libkdcraw-version;.tar.xz">
<!ENTITY libkdcraw-download-ftp " ">
<!ENTITY libkdcraw-md5sum "ce2c520d99b0ff8108c6944e1ec287bd">
<!ENTITY libkdcraw-size "100 KB">
<!ENTITY libkdcraw-buildsize "2.9 MB">
<!ENTITY libkdcraw-time "0.1 SBU">
]>
<sect1 id="libkdcraw" xreflabel="libkdcraw-&libkdcraw-version;">
<?dbhtml filename="libkdcraw.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>libkdcraw-&libkdcraw-version;</title>
<indexterm zone="libkdcraw">
<primary sortas="a-libkdcraw">libkdcraw</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libkdcraw</title>
<para>Libkdcraw is a C++ interface around the LibRaw library used to decode RAW
picture files.</para>
&lfs79_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libkdcraw-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libkdcraw-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libkdcraw-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libkdcraw-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libkdcraw-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libkdcraw-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Libkdcraw Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="kdelibs"/> and
<xref linkend="libraw"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="openssl"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libkdcraw"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libkdcraw</title>
<para>Install <application>libkdcraw</application> by running
the following commands:</para>
<screen><userinput>sed -e '/3/a add_definitions(${KDE4_ENABLE_EXCEPTIONS})' \
-i libkdcraw/CMakeLists.txt &amp;&amp;
mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
-Wno-dev .. &amp;&amp;
make</userinput></screen>
<para>Now, 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>
<command>sed ... libkdcraw/CMakeLists.txt</command>: Allow C++ exceptions
that are needed for libraw-0.16.2 headers.
</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>libkdcraw.so</seg>
<seg>&kde-dir;/include/libkdcraw and &kde-dir;/share/apps/libkdcraw</seg>
</seglistitem>
</segmentedlist>
<!--
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libkdcraw-prog">
<term><command>libkdcraw</command></term>
<listitem>
<para>is the KDE image viewer.</para>
<indexterm zone="libkdcraw libkdcraw-prog">
<primary sortas="b-libkdcraw">libkdcraw</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
-->
</sect2>
</sect1>