1- INSTALL - OpenPrinting cups-browsed v2.0b1 - 2022-11-14
1+ INSTALL - OpenPrinting cups-browsed v2.0b1 - 2022-11-18
22-------------------------------------------------------
33
4- This file describes how to compile and install OpenPrinting CUPS
5- Filters from source code. For more information on OpenPrinting CUPS
6- Filters see the file called "README.txt". A complete change log can
7- be found in "CHANGES.txt".
8-
9- **** IF YOU HAVE A NON-POSTSCRIPT PRINTER AND ARE NOT ****
10- **** RUNNING MAC OS X, YOU WILL ALSO NEED TO INSTALL ****
11- **** GHOSTSCRIPT WITH AT LEAST THE "cups", "pwgraster", ****
12- **** "appleraster", "urf", "pclm", "pclm8", "pdfwrite", ****
13- **** "pdfimage24", "pdfimage32", "pdfimage8" DRIVERS AFTER ****
14- **** YOU INSTALL CUPS AND BEFORE YOU INSTALL THIS PACKAGE. ****
15-
4+ This file describes how to compile and install OpenPrinting
5+ cups-browsed from source code. For more information on cups-browsed
6+ see the file called "README.md". A complete change log can be found
7+ in "CHANGES.md".
168
179BEFORE YOU BEGIN
1810
@@ -26,25 +18,13 @@ BEFORE YOU BEGIN
2618 Compaq, HP, SGI, and Sun. BSD users should use GNU make (gmake) since BSD
2719 make does not support "include".
2820
29- Poppler, freetype, fontconfig, and liblcms (liblcms2 recommended)
30- must be installed to be able to compile this package.
31-
32- Note that Poppler has to be compiled with the
33- "--enable-poppler-cpp" configure option (or the
34- "libpoppler-cpp-dev(el)" package has to be installed if the
35- Poppler packages from a Linux distribution are used).
36-
37- Besides these tools you'll want the JPEG, PNG, TIFF, ZLIB libraries for
38- image support. CUPS Filters will compile and run without these, however
39- you'll miss out on many of the features provided by CUPS Filters.
40-
41- To get cups-browsed, the daemon to browse Bonjour broadcasts of
42- remote CUPS queues and make the queues available locally, you also
43- need libavahi-common and libavahi-client.
21+ libcups (of CUPS 2.2.2 or newer), libcupsfilters 2.x, libppd,
22+ libavahi-common, libavahi-client, libdbus, and glib must be
23+ installed to be able to compile this package.
4424
4525COMPILING THE GIT REPOSITORY CODE
4626
47- The CUPS Filters GIT repository doesn't hold a copy of the pre-built
27+ The cups-browsed GIT repository doesn't hold a copy of the pre-built
4828 configure script. You'll need to run the GNU autoconf software (2.65 or
4929 higher) to create it:
5030
@@ -53,29 +33,16 @@ COMPILING THE GIT REPOSITORY CODE
5333
5434CONFIGURATION
5535
56- CUPS Filters uses GNU autoconf, so you should find the usual "configure"
57- script in the main CUPS Filters source directory. To configure CUPS
58- Filters for your system, type:
36+ cups-browsed uses GNU autoconf, so you should find the usual
37+ "configure" script in the main cups-browsed source directory. To
38+ configure cups-browsed for your system, type:
5939
6040 ./configure
6141
62- The default installation will put the CUPS Filters software in the
63- "/etc" and "/usr" directories on your system, which will overwrite
64- some of the original filters and their auxiliary files of CUPS
65- 1.5.x or earlier and the auxiliary files of bannertops in all CUPS
66- versions including version 1.6.x (see also the section "PACKAGING
67- THE SOFTWARE FOR OPERATING SYSTEM DISTRIBUTIONS" below). The
68- system will still have the same functionality as before, but CUPS
69- will not convert all incoming files into PostScript any more, it
70- will convert them into PDF instead and after applying page
71- management (N-up, selected pages, reverse order, ...) by the
72- pdftopdf filter and convert PDF into the printer's native format
73- then (PDF-based printing workflow). CUPS 1.6.x or later does not
74- contain any filters which this package provides. It requires the
75- installation of this package for printing with filters and drivers
76- under Linux (or other non-Mac-OS-X operation systems).
77-
78- Use the "--prefix" option to install the CUPS Filters software in another
42+ The default installation will put the cups-browsed software in the
43+ "/etc" and "/usr" directories on your system.
44+
45+ Use the "--prefix" option to install the cups-browsed software in another
7946 location:
8047
8148 ./configure --prefix=/some/directory
@@ -129,57 +96,21 @@ INSTALLING THE SOFTWARE
12996
13097PACKAGING THE SOFTWARE FOR OPERATING SYSTEM DISTRIBUTIONS
13198
132- The use of cups-filters is supported for CUPS from version 1.5.x
133- on (to switch to the PDF-based printing workflow already now) and
134- required for CUPS 1.6.x (as it does not ship a complete filter set
135- any more). In both cases cups-filters ships some files which exist
136- also in CUPS, but the versions of cups-filters have to be used to
137- assure that printing works correctly. So in the packaging of CUPS
138- the files should be removed.
139-
140- Use the alternatives facility (see update-alternatives(8)) only if
141- your CUPS version is 1.5.x and you want to make the use of
142- cups-filters optional. Note that then the files of cups-filters
143- need to have priority.
144-
145- When using cups-filters with CUPS 1.5.x, many of the original CUPS
146- filters get replaced or at least useless. Please remove the
147- following files from your CUPS package:
148-
149- /usr/lib/cups/backend/serial
150- /usr/lib/cups/backend/parallel
151- /usr/lib/cups/filter/bannertops
152- /usr/lib/cups/filter/commandtoescpx
153- /usr/lib/cups/filter/commandtopclx
154- /usr/lib/cups/filter/imagetops
155- /usr/lib/cups/filter/imagetoraster
156- /usr/lib/cups/filter/pdftops
157- /usr/lib/cups/filter/rastertoescpx
158- /usr/lib/cups/filter/rastertopclx
159- /usr/lib/cups/filter/texttops
160- /usr/share/cups/banners/*
161- /usr/share/cups/data/testprint
162- /usr/share/cups/data/psglyphs
163- /usr/share/cups/fonts/*
164-
165- Also comment out all conversion rules which use any of the removed
166- filters. You can do it with the following command line:
167-
168- perl -p -i -e 's:^(.*\s+(pdftops|texttops|imagetops|bannertops|imagetoraster)\s*)$:#\1:' /usr/share/cups/mime/mime.convs
169-
170- If you use CUPS 1.6.x there is less to remove from the CUPS
171- package. It is only bannertops and its auxiliary files which are
172- in the way for bannertopdf:
173-
174- /usr/lib/cups/filter/bannertops
175- /usr/share/cups/banners/*
176- /usr/share/cups/data/testprint
177-
178- The conversion rules get commented out via:
179-
180- perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' /usr/share/cups/mime/mime.convs
181-
182- For CUPS 1.6.x a bug report/feature request is posted to ask for
183- (at least optional) removal of bannertops:
184-
185- http://www.cups.org/str.php?L4120
99+ cups-browsed is mainly needed and actually used to auto-create
100+ local print queues for auto-discovered IPP print services (remote
101+ CUPS printers, IPP network printers, IPP-over-USB printers,
102+ Printer Applications) so that they also get listed by print
103+ dialogs which do not support CUPS' concept of auto-creating
104+ temporary print queues on-demand for these services.
105+
106+ So OS distribution maintainers should check the print dialogs
107+ (GTK, Qt, application-specific) whether they list all printers,
108+ including above-mentioned IPP services without running
109+ cups-browsed and without manual creation of local print
110+ queues. only if printers are missing, cups-browsed is needed. It
111+ should be built with the `./configure` option
112+ `--enable-auto-setup-driverless-only` then.
113+
114+ Otherwise cups-browsed is only needed for more advanced setups,
115+ like printer clusters or support for legacy CUPS (< 1.6.x) on
116+ remote servers or clients.
0 commit comments