[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[f357675] | 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 libcupsfilters-download-http
|
---|
| 8 | "https://github.com/OpenPrinting/libcupsfilters/releases/download/&libcupsfilters-version;/libcupsfilters-&libcupsfilters-version;.tar.xz">
|
---|
| 9 | <!ENTITY libcupsfilters-download-ftp " ">
|
---|
[4adf42cb] | 10 | <!ENTITY libcupsfilters-md5sum "8eb0fb0273f35c4daf39a117c51691c6">
|
---|
| 11 | <!ENTITY libcupsfilters-size "1.4 MB">
|
---|
[f357675] | 12 | <!ENTITY libcupsfilters-buildsize "38 MB (with tests)">
|
---|
| 13 | <!ENTITY libcupsfilters-time "0.1 SBU (Using parallelism=4; with tests)">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libcupsfilters" xreflabel="libcupsfilters-&libcupsfilters-version;">
|
---|
| 17 | <?dbhtml filename="libcupsfilters.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>libcupsfilters-&libcupsfilters-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="libcupsfilters">
|
---|
| 23 | <primary sortas="a-libcupsfilters">libcupsfilters</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to libcupsfilters</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>libcupsfilters</application> library contains
|
---|
| 31 | filter functions for the data format conversion tasks needed in
|
---|
| 32 | Printer Applications. It also contains several API functions for
|
---|
| 33 | developing printer drivers/Printer Applications.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[3c9b5e9] | 36 | &lfs122_checked;
|
---|
[f357675] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&libcupsfilters-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&libcupsfilters-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &libcupsfilters-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &libcupsfilters-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &libcupsfilters-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &libcupsfilters-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[23dd524] | 71 |
|
---|
[f357675] | 72 | <bridgehead renderas="sect3">libcupsfilters Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="cups"/>,
|
---|
| 77 | <xref linkend="glib2"/>,
|
---|
| 78 | <xref linkend="gs"/> or <xref linkend="mupdf"/>,
|
---|
| 79 | <xref linkend="lcms2"/>,
|
---|
| 80 | <xref linkend="poppler"/>, and
|
---|
| 81 | <xref linkend="qpdf"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
| 86 | <xref linkend="dejavu-fonts"/> (the build fails if they are not
|
---|
| 87 | installed, although they are only required for the tests),
|
---|
| 88 | <xref linkend="libexif"/>,
|
---|
| 89 | <xref linkend="libjpeg"/>,
|
---|
| 90 | <xref linkend="libpng"/>, and
|
---|
[62ff0f1] | 91 | <xref linkend="libtiff"/>
|
---|
[f357675] | 92 | </para>
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of libcupsfilters</title>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Install <application>libcupsfilters</application> by running the
|
---|
| 100 | following commands:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 104 | --disable-static \
|
---|
| 105 | --docdir=/usr/share/doc/libcupsfilters-&libcupsfilters-version; &&
|
---|
| 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | <para>
|
---|
| 109 | To test the results, issue <command>make check</command>. DejaVu fonts
|
---|
| 110 | are needed for the tests.
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
| 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
|
---|
[06f8ad3] | 129 | If you wish to run the tests, but you do not have the default
|
---|
| 130 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> font
|
---|
| 131 | installed, use this switch to specify where
|
---|
| 132 | <filename>DejaVuSans.ttf</filename> (or perhaps some other text TTF font
|
---|
| 133 | - though this is untested) is located.
|
---|
[f357675] | 134 | </para>
|
---|
| 135 |
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>
|
---|
| 149 | None
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
| 152 | libcupsfilters.so
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | /usr/include/cupsfilters,
|
---|
| 156 | /usr/share/cups/{banners,charsets,data}, and
|
---|
| 157 | /usr/share/doc/libcupsfilters-&libcupsfilters-version;
|
---|
| 158 | </seg>
|
---|
| 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 |
|
---|
| 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="libcupsfilters-lib">
|
---|
| 168 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
| 171 | contains CUPS filters API functions
|
---|
| 172 | </para>
|
---|
| 173 | <indexterm zone="libcupsfilters libcupsfilters-lib">
|
---|
| 174 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | </variablelist>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | </sect1>
|
---|