1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 " ">
|
---|
10 | <!ENTITY cups-browsed-md5sum "b6b5bad9b3bb52afb687702e0b3f6d02">
|
---|
11 | <!ENTITY cups-browsed-size "420 KB">
|
---|
12 | <!ENTITY cups-browsed-buildsize "6.1 MB">
|
---|
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 |
|
---|
35 | &lfs122_checked;
|
---|
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">
|
---|
75 | <xref linkend="avahi"/>,
|
---|
76 | <xref linkend="libcupsfilters"/> and
|
---|
77 | <xref linkend="libppd"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <!-- as of 2.0.0 \-\-disable-avahi is still accepted by configure,
|
---|
81 | but make fails.https://github.com/OpenPrinting/cups-browsed/issues/21
|
---|
82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
83 | <para role="recommended">
|
---|
84 | <xref linkend="avahi"/>
|
---|
85 | </para>-->
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="openldap"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of cups-browsed</title>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | Install <application>cups-browsed</application> by running the
|
---|
99 | following commands:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><userinput>./configure --prefix=/usr \
|
---|
103 | --with-cups-rundir=/run/cups \
|
---|
104 | --without-rcdir \
|
---|
105 | --disable-static \
|
---|
106 | --docdir=/usr/share/doc/cups-browsed-&cups-browsed-version; &&
|
---|
107 | make</userinput></screen>
|
---|
108 | <!-- Tests seem to hang, not sure why
|
---|
109 | <para>
|
---|
110 | To test the results, issue <command>make check</command>.
|
---|
111 | </para>
|
---|
112 | -->
|
---|
113 | <para>
|
---|
114 | This package does not come with a functional test suite.
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
122 |
|
---|
123 | <para revision="systemd">
|
---|
124 | Install the systemd unit by running the following command as the
|
---|
125 | <systemitem class="username">root</systemitem> user:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen role="root" revision="systemd"><userinput>install -v -m644 daemon/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
|
---|
129 |
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="commands">
|
---|
133 | <title>Command Explanations</title>
|
---|
134 |
|
---|
135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
136 | href="../../xincludes/static-libraries.xml"/>
|
---|
137 |
|
---|
138 | <para>
|
---|
139 | <parameter>--with-cups-rundir=/run/cups</parameter>: Defines the
|
---|
140 | directory containing transient printing data. The default
|
---|
141 | <filename class="directory">/var/run/cups</filename> is obsolete.
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | <parameter>--without-rcdir</parameter>: This switch disables
|
---|
146 | installation of the bundled bootscript which is not compatible with BLFS.
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | <!-- TODO: Write a bootscript for cups-browsed -->
|
---|
152 |
|
---|
153 | <sect2 role="configuration" revision="systemd">
|
---|
154 | <title>Configuring cups-browsed</title>
|
---|
155 |
|
---|
156 | <sect3 id="cups-browsed-init">
|
---|
157 | <title>Systemd Unit</title>
|
---|
158 |
|
---|
159 | <para>
|
---|
160 | To start the <command>cups-browsed</command> daemon at boot, enable
|
---|
161 | the previously installed systemd unit by running the following command
|
---|
162 | as the <systemitem class="username">root</systemitem> user:
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <indexterm zone="cups-browsed cups-browsed-init">
|
---|
166 | <primary sortas="f-cups-browsed">cups-browsed</primary>
|
---|
167 | </indexterm>
|
---|
168 |
|
---|
169 | <screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
|
---|
170 |
|
---|
171 | </sect3>
|
---|
172 |
|
---|
173 | </sect2>
|
---|
174 |
|
---|
175 | <sect2 role="content">
|
---|
176 | <title>Contents</title>
|
---|
177 |
|
---|
178 | <segmentedlist>
|
---|
179 | <segtitle>Installed Programs</segtitle>
|
---|
180 | <segtitle>Installed Libraries</segtitle>
|
---|
181 | <segtitle>Installed Directories</segtitle>
|
---|
182 |
|
---|
183 | <seglistitem>
|
---|
184 | <seg>
|
---|
185 | cups-browsed
|
---|
186 | </seg>
|
---|
187 | <seg>
|
---|
188 | None
|
---|
189 | </seg>
|
---|
190 | <seg>
|
---|
191 | None
|
---|
192 | </seg>
|
---|
193 | </seglistitem>
|
---|
194 | </segmentedlist>
|
---|
195 |
|
---|
196 | <variablelist>
|
---|
197 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
198 | <?dbfo list-presentation="list"?>
|
---|
199 | <?dbhtml list-presentation="table"?>
|
---|
200 |
|
---|
201 | <varlistentry id="cups-browsed-prog">
|
---|
202 | <term><command>cups-browsed</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>
|
---|
205 | is a daemon for browsing the Bonjour and CUPS broadcasts of
|
---|
206 | shared, remote CUPS printers
|
---|
207 | </para>
|
---|
208 | <indexterm zone="cups-browsed cups-browsed-prog">
|
---|
209 | <primary sortas="b-cups-browsed">cups-browsed</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | </variablelist>
|
---|
215 |
|
---|
216 | </sect2>
|
---|
217 |
|
---|
218 | </sect1>
|
---|