[dcbd2c6] | 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 |
|
---|
[b26bc4c] | 7 | <!ENTITY cups-filters-download-http
|
---|
[4634c7a] | 8 | "https://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
---|
[dcbd2c6] | 9 | <!ENTITY cups-filters-download-ftp " ">
|
---|
[a90ef0e4] | 10 | <!ENTITY cups-filters-md5sum "55d169739f72aa5af40cfd7c3fbfcffd">
|
---|
[67e58a5] | 11 | <!ENTITY cups-filters-size "1.3 MB">
|
---|
[7374e16] | 12 | <!ENTITY cups-filters-buildsize "43 MB (additional 3 MB for the tests)">
|
---|
| 13 | <!ENTITY cups-filters-time "0.3 SBU">
|
---|
[dcbd2c6] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
|
---|
| 17 | <?dbhtml filename="cups-filters.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>cups-filters-&cups-filters-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="cups-filters">
|
---|
| 27 | <primary sortas="a-cups-filters">cups-filters</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to CUPS Filters</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>CUPS Filters</application> package contains backends,
|
---|
| 35 | filters and other software that was once part of the core
|
---|
| 36 | <application>CUPS</application> distribution but is no longer
|
---|
| 37 | maintained by Apple Inc.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[f89fc45] | 40 | &lfs77_checked; &gcc5_checked;
|
---|
[dcbd2c6] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&cups-filters-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &cups-filters-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &cups-filters-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &cups-filters-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &cups-filters-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
[80dbc4c8] | 75 | <!--
|
---|
[a92a3a9] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
| 81 | <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler_fix-1.patch"/>
|
---|
| 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
[80dbc4c8] | 85 | -->
|
---|
[dcbd2c6] | 86 | <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
| 90 | <xref linkend="cups"/>,
|
---|
[f473955b] | 91 | <xref linkend="glib2"/>,
|
---|
[dcbd2c6] | 92 | <xref linkend="ijs"/>,
|
---|
[9d8cb37] | 93 | <xref linkend="lcms2"/>,
|
---|
[4b38959] | 94 | <xref linkend="poppler"/> and
|
---|
[9d8cb37] | 95 | <xref linkend="qpdf"/>
|
---|
[dcbd2c6] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 99 | <para role="recommended">
|
---|
| 100 | <xref linkend="libjpeg"/>,
|
---|
[4b38959] | 101 | <xref linkend="libpng"/> and
|
---|
[dcbd2c6] | 102 | <xref linkend="libtiff"/>
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 106 | <para role="optional">
|
---|
[9d38ad6] | 107 | <xref linkend="avahi"/> and
|
---|
| 108 | <xref linkend="php"/> (use of this might be broken)
|
---|
[dcbd2c6] | 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
---|
[f28636c] | 112 | <para role="required runtime">
|
---|
[8e1a075] | 113 | <xref linkend="gs"/> (Needed for PostScript printers), or
|
---|
| 114 | <xref linkend="gutenprint"/> (for supported printers),
|
---|
| 115 | or other printer drivers
|
---|
[dcbd2c6] | 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para condition="html" role="usernotes">
|
---|
| 119 | User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
---|
| 120 | </para>
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
| 124 | <title>Installation of CUPS Filters</title>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | Install <application>CUPS Filters</application> by running the following
|
---|
| 128 | commands:
|
---|
| 129 | </para>
|
---|
[80dbc4c8] | 130 | <!--
|
---|
| 131 | <userinput>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler_fix-1.patch &&
|
---|
| 132 | -->
|
---|
[dcbd2c6] | 133 |
|
---|
[80dbc4c8] | 134 | <screen><userinput>./configure --prefix=/usr \
|
---|
[a92a3a9] | 135 | --sysconfdir=/etc \
|
---|
| 136 | --localstatedir=/var \
|
---|
| 137 | --without-rcdir \
|
---|
| 138 | --disable-static \
|
---|
| 139 | --with-gs-path=/usr/bin/gs \
|
---|
| 140 | --with-pdftops-path=/usr/bin/gs \
|
---|
| 141 | --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &&
|
---|
[dcbd2c6] | 142 | make</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
[8e1a075] | 145 | To test the results, issue: <command>make check 2>&1 >testlog</command>.
|
---|
[dcbd2c6] | 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
| 149 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
| 152 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="commands">
|
---|
| 157 | <title>Command Explanations</title>
|
---|
| 158 |
|
---|
[a92a3a9] | 159 | <para>
|
---|
| 160 | <command>patch ...</command>: Allow the package to build with
|
---|
| 161 | poppler-0.31.0 and later.
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
[cbda2a25] | 164 | <para>
|
---|
[d6da5da] | 165 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 166 | installation of the bundled bootscript which is not compatible
|
---|
| 167 | with BLFS.
|
---|
[cbda2a25] | 168 | </para>
|
---|
| 169 |
|
---|
[dcbd2c6] | 170 | <para>
|
---|
| 171 | <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
---|
| 172 | defines the path to the <application>GhostScript</application>
|
---|
| 173 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
| 176 | <para>
|
---|
| 177 | <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
---|
| 178 | defines the path to the <application>GhostScript</application>
|
---|
| 179 | binary in case <xref linkend="gs"/> is not installed at build time.
|
---|
| 180 | </para>
|
---|
| 181 |
|
---|
[bfa09457] | 182 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 183 | href="../../xincludes/static-libraries.xml"/>
|
---|
[9e6c909] | 184 |
|
---|
[8e1a075] | 185 | <para>
|
---|
[bfa09457] | 186 | <command>make check 2>&1 >testlog</command>: the testsuite
|
---|
[8e1a075] | 187 | dumps a stream of bytes into the input buffer after it finishes. Sending
|
---|
| 188 | the output to a file keeps the history usable, but some debug information
|
---|
| 189 | will still appear on the screen.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
[8f7e0e7] | 193 | <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if you wish to run the tests, but
|
---|
[8e1a075] | 194 | you do not have the default
|
---|
| 195 | <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this switch
|
---|
| 196 | to specify where <filename>DejaVuSans.ttf</filename> (or perhaps some other
|
---|
| 197 | text TTF font - untested) is located.
|
---|
| 198 | </para>
|
---|
| 199 |
|
---|
[dcbd2c6] | 200 | </sect2>
|
---|
| 201 |
|
---|
[cbda2a25] | 202 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 203 |
|
---|
[dcbd2c6] | 204 | <sect2 role="content">
|
---|
| 205 | <title>Contents</title>
|
---|
| 206 |
|
---|
| 207 | <segmentedlist>
|
---|
[cbda2a25] | 208 | <segtitle>Installed Programs</segtitle>
|
---|
[dcbd2c6] | 209 | <segtitle>Installed Libraries</segtitle>
|
---|
| 210 | <segtitle>Installed Directories</segtitle>
|
---|
| 211 |
|
---|
| 212 | <seglistitem>
|
---|
| 213 | <seg>
|
---|
[7374e16] | 214 | foomatic-rip (link), ttfread and cups-browsed
|
---|
[dcbd2c6] | 215 | </seg>
|
---|
| 216 | <seg>
|
---|
| 217 | libcupsfilters.so and libfontembed.so
|
---|
| 218 | </seg>
|
---|
| 219 | <seg>
|
---|
[7374e16] | 220 | /usr/include/{cupsfilters,fontembed},
|
---|
| 221 | /usr/lib/cups/{backend,filter},
|
---|
| 222 | /usr/share/cups/{banners,charsets,data},
|
---|
[dcbd2c6] | 223 | /usr/share/doc/cups-filters-&cups-filters-version; and
|
---|
[7273ffc] | 224 | /usr/share/ppd/cupsfilters
|
---|
[dcbd2c6] | 225 | </seg>
|
---|
| 226 | </seglistitem>
|
---|
| 227 | </segmentedlist>
|
---|
| 228 |
|
---|
| 229 | <variablelist>
|
---|
| 230 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 231 | <?dbfo list-presentation="list"?>
|
---|
| 232 | <?dbhtml list-presentation="table"?>
|
---|
| 233 |
|
---|
[7374e16] | 234 | <varlistentry id="foomatic-rip">
|
---|
| 235 | <term><command>foomatic-rip</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
| 238 | is a universal print filter/RIP wrapper which can be used as CUPS
|
---|
| 239 | filter or stand-alone for spooler-less, direct printing.
|
---|
| 240 | </para>
|
---|
| 241 | <indexterm zone="cups-filters foomatic-rip">
|
---|
| 242 | <primary sortas="b-foomatic-rip">foomatic-rip</primary>
|
---|
| 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | <varlistentry id="cups-browsed">
|
---|
| 248 | <term><command>cups-browsed</command></term>
|
---|
| 249 | <listitem>
|
---|
| 250 | <para>
|
---|
| 251 | is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
|
---|
| 252 | remote CUPS printers.
|
---|
| 253 | </para>
|
---|
| 254 | <indexterm zone="cups-filters cups-browsed">
|
---|
| 255 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
[dcbd2c6] | 260 | <varlistentry id="libcupsfilters">
|
---|
| 261 | <term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>
|
---|
| 264 | contains <application>CUPS Filters</application> API functions.
|
---|
| 265 | </para>
|
---|
| 266 | <indexterm zone="cups-filters libcupsfilters">
|
---|
| 267 | <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
---|
| 268 | </indexterm>
|
---|
| 269 | </listitem>
|
---|
| 270 | </varlistentry>
|
---|
| 271 |
|
---|
| 272 | </variablelist>
|
---|
| 273 |
|
---|
| 274 | </sect2>
|
---|
| 275 |
|
---|
| 276 | </sect1>
|
---|