Skip to content

Commit 2d9ed4d

Browse files
committed
cups-filters 2.0b1 Release
1 parent 5a0c8dc commit 2d9ed4d

File tree

3 files changed

+149
-430
lines changed

3 files changed

+149
-430
lines changed

CHANGES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# CHANGES - OpenPrinting CUPS Filters v2.0b1 - 2022-11-14
1+
# CHANGES - OpenPrinting CUPS Filters v2.0b1 - 2022-11-18
22

3-
## CHANGES IN V2.0b1 (TBA)
3+
## CHANGES IN V2.0b1 (18th November 2022)
44

55
- Converted nearly all filters to filter functions, only exceptions
66
are rastertoescpx, rastertopclx, commandtoescpx, commandtopclx, and

INSTALL

Lines changed: 24 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
INSTALL - OpenPrinting CUPS Filters v2.0b1 - 2022-11-14
1+
INSTALL - OpenPrinting CUPS Filters v2.0b1 - 2022-11-18
22
-------------------------------------------------------
33

44
This file describes how to compile and install OpenPrinting CUPS
55
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".
6+
Filters see the file called "README.md". A complete change log can be
7+
found in "CHANGES.md".
88

99
**** IF YOU HAVE A NON-POSTSCRIPT PRINTER AND ARE NOT ****
1010
**** RUNNING MAC OS X, YOU WILL ALSO NEED TO INSTALL ****
@@ -26,68 +26,43 @@ BEFORE YOU BEGIN
2626
Compaq, HP, SGI, and Sun. BSD users should use GNU make (gmake) since BSD
2727
make does not support "include".
2828

29-
Poppler, freetype, fontconfig, and liblcms (liblcms2 recommended)
29+
libcups (of CUPS 2.2.2 or newer), libcupsfilters 2.x, and libppd
3030
must be installed to be able to compile this package.
3131

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.
44-
4532
COMPILING THE GIT REPOSITORY CODE
4633

47-
The CUPS Filters GIT repository doesn't hold a copy of the pre-built
48-
configure script. You'll need to run the GNU autoconf software (2.65 or
49-
higher) to create it:
34+
The CUPS Filters GIT repository doesn't hold a copy of the
35+
pre-built configure script. You'll need to run the GNU autoconf
36+
software (2.65 or higher) to create it:
5037

5138
./autogen.sh
5239

5340

5441
CONFIGURATION
5542

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:
43+
CUPS Filters uses GNU autoconf, so you should find the usual
44+
"configure" script in the main CUPS Filters source directory. To
45+
configure CUPS Filters for your system, type:
5946

6047
./configure
6148

6249
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
79-
location:
50+
"/usr" directory on your system.
51+
52+
Use the "--prefix" option to install the CUPS Filters software in
53+
another location:
8054

8155
./configure --prefix=/some/directory
8256

83-
To see a complete list of configuration options, use the --help option:
57+
To see a complete list of configuration options, use the --help
58+
option:
8459

8560
./configure --help
8661

87-
If any of the dependent libraries are not installed in a system default
88-
location (typically "/usr/include" and "/usr/lib") you'll need to set the
89-
CFLAGS, CPPFLAGS, CXXFLAGS, DSOFLAGS, and LDFLAGS environment variables
90-
prior to running configure:
62+
If any of the dependent libraries are not installed in a system
63+
default location (typically "/usr/include" and "/usr/lib") you'll
64+
need to set the CFLAGS, CPPFLAGS, CXXFLAGS, DSOFLAGS, and LDFLAGS
65+
environment variables prior to running configure:
9166

9267
setenv CFLAGS "-I/some/directory"
9368
setenv CPPFLAGS "-I/some/directory"
@@ -129,57 +104,7 @@ INSTALLING THE SOFTWARE
129104

130105
PACKAGING THE SOFTWARE FOR OPERATING SYSTEM DISTRIBUTIONS
131106

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
107+
The use of this version of cups-filters is supported for CUPS 2.x
108+
from version 2.2.2 on. For earlier versions of CUPS please use
109+
cups-filters 1.x. For CUPS 3.x this package will not be needed any
110+
more.

0 commit comments

Comments
 (0)