[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[8bb1591] | 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 cups-browsed-download-http
|
---|
| 8 | "https://github.com/OpenPrinting/cups-browsed/releases/download/&cups-browsed-version;/cups-browsed-&cups-browsed-version;.tar.xz">
|
---|
| 9 | <!ENTITY cups-browsed-download-ftp " ">
|
---|
[0edbe5f] | 10 | <!ENTITY cups-browsed-md5sum "3732ad9cfded4c40be7ab764eb2d1871">
|
---|
| 11 | <!ENTITY cups-browsed-size "412 KB">
|
---|
| 12 | <!ENTITY cups-browsed-buildsize "5.9 MB">
|
---|
[8bb1591] | 13 | <!ENTITY cups-browsed-time "less than 0.1 SBU (Using parallelism=4)">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="cups-browsed" xreflabel="cups-browsed-&cups-browsed-version;">
|
---|
| 17 | <?dbhtml filename="cups-browsed.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>cups-browsed-&cups-browsed-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="cups-browsed">
|
---|
| 23 | <primary sortas="a-cups-browsed">cups-browsed</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to cups-browsed</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>cups-browsed</application> daemon is used to
|
---|
| 31 | browse the network for remote CUPS queues and IPP network printers
|
---|
| 32 | and automatically create local queues pointing to them.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[3c9b5e9] | 35 | &lfs122_checked;
|
---|
[8bb1591] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&cups-browsed-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&cups-browsed-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &cups-browsed-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &cups-browsed-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &cups-browsed-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &cups-browsed-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">cups-browsed Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
[90b85c94] | 75 | <xref linkend="avahi"/>,
|
---|
[8bb1591] | 76 | <xref linkend="libcupsfilters"/> and
|
---|
| 77 | <xref linkend="libppd"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
| 82 | <xref linkend="openldap"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of cups-browsed</title>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | Install <application>cups-browsed</application> by running the
|
---|
| 92 | following commands:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 96 | --with-cups-rundir=/run/cups \
|
---|
| 97 | --without-rcdir \
|
---|
| 98 | --disable-static \
|
---|
| 99 | --docdir=/usr/share/doc/cups-browsed-&cups-browsed-version; &&
|
---|
| 100 | make</userinput></screen>
|
---|
| 101 | <!-- Tests seem to hang, not sure why
|
---|
| 102 | <para>
|
---|
| 103 | To test the results, issue <command>make check</command>.
|
---|
| 104 | </para>
|
---|
| 105 | -->
|
---|
| 106 | <para>
|
---|
| 107 | This package does not come with a functional test suite.
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para revision="systemd">
|
---|
| 117 | Install the systemd unit by running the following command as the
|
---|
| 118 | <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root" revision="systemd"><userinput>install -v -m644 daemon/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
| 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 129 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | <parameter>--with-cups-rundir=/run/cups</parameter>: Defines the
|
---|
[eebff7b] | 133 | directory containing transient printing data. The default
|
---|
[8bb1591] | 134 | <filename class="directory">/var/run/cups</filename> is obsolete.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
| 139 | installation of the bundled bootscript which is not compatible with BLFS.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
| 145 |
|
---|
| 146 | <sect2 role="configuration" revision="systemd">
|
---|
| 147 | <title>Configuring cups-browsed</title>
|
---|
| 148 |
|
---|
| 149 | <sect3 id="cups-browsed-init">
|
---|
| 150 | <title>Systemd Unit</title>
|
---|
| 151 |
|
---|
| 152 | <para>
|
---|
| 153 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
| 154 | the previously installed systemd unit by running the following command
|
---|
| 155 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <indexterm zone="cups-browsed cups-browsed-init">
|
---|
| 159 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 |
|
---|
| 162 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
| 163 |
|
---|
| 164 | </sect3>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | <sect2 role="content">
|
---|
| 169 | <title>Contents</title>
|
---|
| 170 |
|
---|
| 171 | <segmentedlist>
|
---|
| 172 | <segtitle>Installed Programs</segtitle>
|
---|
| 173 | <segtitle>Installed Libraries</segtitle>
|
---|
| 174 | <segtitle>Installed Directories</segtitle>
|
---|
| 175 |
|
---|
| 176 | <seglistitem>
|
---|
| 177 | <seg>
|
---|
| 178 | cups-browsed
|
---|
| 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | None
|
---|
| 182 | </seg>
|
---|
| 183 | <seg>
|
---|
| 184 | None
|
---|
| 185 | </seg>
|
---|
| 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | <variablelist>
|
---|
| 190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 191 | <?dbfo list-presentation="list"?>
|
---|
| 192 | <?dbhtml list-presentation="table"?>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="cups-browsed-prog">
|
---|
| 195 | <term><command>cups-browsed</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | is a daemon for browsing the Bonjour and CUPS broadcasts of
|
---|
| 199 | shared, remote CUPS printers
|
---|
| 200 | </para>
|
---|
| 201 | <indexterm zone="cups-browsed cups-browsed-prog">
|
---|
| 202 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | </variablelist>
|
---|
| 208 |
|
---|
| 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | </sect1>
|
---|