mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
f374379d3c
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11686 af4574ff-66df-0310-9fd7-8a98e5e911e0
220 lines
6.4 KiB
XML
220 lines
6.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 cups-filters-download-http
|
|
"http://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
|
|
<!ENTITY cups-filters-download-ftp " ">
|
|
<!ENTITY cups-filters-md5sum "595c41a7e16136fc8c0fed1d35f583f6">
|
|
<!ENTITY cups-filters-size "1.0 MB">
|
|
<!ENTITY cups-filters-buildsize "27 MB">
|
|
<!ENTITY cups-filters-time "0.4 SBU">
|
|
]>
|
|
|
|
<sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
|
|
<?dbhtml filename="cups-filters.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>cups-filters-&cups-filters-version;</title>
|
|
|
|
<indexterm zone="cups-filters">
|
|
<primary sortas="a-cups-filters">cups-filters</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to CUPS Filters</title>
|
|
|
|
<para>
|
|
The <application>CUPS Filters</application> package contains backends,
|
|
filters and other software that was once part of the core
|
|
<application>CUPS</application> distribution but is no longer
|
|
maintained by Apple Inc.
|
|
</para>
|
|
|
|
&lfs74_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&cups-filters-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &cups-filters-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &cups-filters-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &cups-filters-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &cups-filters-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="cups"/>,
|
|
<xref linkend="ijs"/>,
|
|
<xref linkend="lcms2"/>,
|
|
<xref linkend="poppler"/> and
|
|
<xref linkend="qpdf"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="libjpeg"/>,
|
|
<xref linkend="libpng"/> and
|
|
<xref linkend="libtiff"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="avahi"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Required (Runtime)</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="gs"/> (Needed for PostScript printers)
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of CUPS Filters</title>
|
|
|
|
<para>
|
|
Install <application>CUPS Filters</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--docdir=/usr/share/doc/cups-filters-&cups-filters-version; \
|
|
--without-rcdir \
|
|
--with-gs-path=/usr/bin/gs \
|
|
--with-pdftops-path=/usr/bin/gs \
|
|
--disable-avahi \
|
|
--disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
This package does not have working test suite.
|
|
</para>
|
|
|
|
<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>
|
|
<parameter>--without-rcdir</parameter>: This switch disables
|
|
installation of the bundled bootscript which is not compatible
|
|
with BLFS.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
|
|
defines the path to the <application>GhostScript</application>
|
|
binary in case <xref linkend="gs"/> is not installed at build time.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
|
|
defines the path to the <application>GhostScript</application>
|
|
binary in case <xref linkend="gs"/> is not installed at build time.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--disable-avahi</parameter>: This switch is required if you have
|
|
not installed <xref linkend="avahi"/>.
|
|
</para>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<!-- TODO: Write a bootscript for cups-browsed -->
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
ttfread and cups-browsed
|
|
</seg>
|
|
<seg>
|
|
libcupsfilters.so and libfontembed.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/cupsfilters,
|
|
/usr/include/fontembed,
|
|
/usr/share/cups/banners,
|
|
/usr/share/cups/charsets,
|
|
/usr/share/doc/cups-filters-&cups-filters-version; and
|
|
/usr/share/ppd/cups-filters
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libcupsfilters">
|
|
<term><filename class="libraryfile">libcupsfilters.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains <application>CUPS Filters</application> API functions.
|
|
</para>
|
|
<indexterm zone="cups-filters libcupsfilters">
|
|
<primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|