1 |
commit: f741a074aa96355505b511ee21e46bae0eefe234 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 19:58:21 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 19:59:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f741a074 |
7 |
|
8 |
net-print/cups-filters: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-print/cups-filters/Manifest | 1 - |
14 |
.../cups-filters/cups-filters-1.8.1-r1.ebuild | 120 ------------- |
15 |
net-print/cups-filters/cups-filters-1.8.1.ebuild | 118 ------------- |
16 |
net-print/cups-filters/cups-filters-1.8.2.ebuild | 115 ------------- |
17 |
...s-filters-1.8.1-allow-disable-ghostscript.patch | 187 --------------------- |
18 |
5 files changed, 541 deletions(-) |
19 |
|
20 |
diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest |
21 |
index afd3694..2616b22 100644 |
22 |
--- a/net-print/cups-filters/Manifest |
23 |
+++ b/net-print/cups-filters/Manifest |
24 |
@@ -1,5 +1,4 @@ |
25 |
DIST cups-filters-1.5.0.tar.xz 1375588 SHA256 f22a8864e8d5b693795605a31345c08cc68f85120ebde9a0aa7bc27639815932 SHA512 81574f8368aaef61aeee4369caa394f2c8cdc717b03687d8a17c7927892f07cff68f1efb8d674757cb97001b55fd58fa5c14784a510ce9d31e385b1a73cd18c7 WHIRLPOOL 4201d08a2bb76d349a6b9f7220eb48dea86bb81c0cedbe8dcb8796c49ce26f67f6a7c49677b4fc7b6f865eb20e3c806746f565668e9f9e1e3935630621d032cd |
26 |
DIST cups-filters-1.6.0.tar.xz 1377952 SHA256 39e53db81df7aa951507c72ced52b9b0e9e4294c3f83e8b717fb42c03a557c97 SHA512 dd7671dbb13588829337e4ae4d533dc6c1e17f75ca240a6d43bb0a30a2453fffa9a1541d7b041024a6d4cbb939790802a8c3947cd319590fa37c7ce237232b9d WHIRLPOOL 297ec0aeebd336a583f410099711cd6449b7b765fb29099b1ba5fd2d6a4c5dd7fd2824eb7aa26ca59070d7b866a68966d609729a3f58c07e1e13011af7e7e33e |
27 |
-DIST cups-filters-1.8.1.tar.xz 1372152 SHA256 4e7d8953f910b7a992471d641590964c20f26da5d94c10de932dde4f5c03e91e SHA512 9b254dbcc90df335b8162495f5c2846f77c8006128458e54753877d0b5e6b1d696ae28378b4b9a8275626d7f537651e1cb55aac67588ee5fa319898912dd9e08 WHIRLPOOL 7a41fdeed84ee1f0f18aa201633ce5e77040499bf7a2ac5cf324f45876ca2a8072ddf5b947d8ac6526839bcd15c351324d556967d4e303d6b96aaf5bd44c2ed3 |
28 |
DIST cups-filters-1.8.2.tar.xz 1372508 SHA256 06d1c2a65e45d92d0e2dc854d13161d01072094efe4fadc23319700c9a259c69 SHA512 71cd08b7955a334fa04834e99365ac8e83d34ba71a4de8a4a3e7cf7fd50768332d1a0588b963b9301f5a88170d3c700c36cf596a45497032202f3e5f18f93f2e WHIRLPOOL eae8c0c7ec83d131e91d89ace89ad12b76ac323e44f395e83cdb39340c9228a1e9436b2ccbe2c32ac02b2b868bce204a28f48261f71d8a2fccd4b7cfaff27814 |
29 |
DIST cups-filters-1.8.3.tar.xz 1373028 SHA256 e1e786f1fbcd3a203d87ebb4106a0ba8d579953cbe22056d12d4ee8143f5341a SHA512 5c3648670ae141038a373c4e800e81a7584759e3caf8c4e4468cb0da11c0ff521ac80678e603856c7209da6638673400305c38903cb27e3b4d792d17947e2af4 WHIRLPOOL 0c0ff9b767f35a61f4b9b2f57392d1a6afce35decf9216e77f7503b62bd67da0fa05f9ed507518599e03d27de50458823499989bf6bfd8d3a3da162292819157 |
30 |
|
31 |
diff --git a/net-print/cups-filters/cups-filters-1.8.1-r1.ebuild b/net-print/cups-filters/cups-filters-1.8.1-r1.ebuild |
32 |
deleted file mode 100644 |
33 |
index d3761eb..0000000 |
34 |
--- a/net-print/cups-filters/cups-filters-1.8.1-r1.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,120 +0,0 @@ |
37 |
-# Copyright 1999-2016 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
-# $Id$ |
40 |
- |
41 |
-EAPI=5 |
42 |
- |
43 |
-GENTOO_DEPEND_ON_PERL=no |
44 |
- |
45 |
-inherit eutils perl-module autotools systemd |
46 |
- |
47 |
-if [[ "${PV}" == "9999" ]] ; then |
48 |
- inherit bzr |
49 |
- EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters" |
50 |
-else |
51 |
- SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" |
52 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint" |
53 |
-fi |
54 |
-DESCRIPTION="Cups PDF filters" |
55 |
-HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat" |
56 |
- |
57 |
-LICENSE="MIT GPL-2" |
58 |
-SLOT="0" |
59 |
-IUSE="dbus +foomatic jpeg ldap perl png +postscript static-libs tiff zeroconf" |
60 |
- |
61 |
-RDEPEND=" |
62 |
- postscript? ( >=app-text/ghostscript-gpl-9.09[cups] ) |
63 |
- >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,xpdf-headers(+)] |
64 |
- >=app-text/qpdf-3.0.2:= |
65 |
- dev-libs/glib:2 |
66 |
- media-libs/fontconfig |
67 |
- media-libs/freetype:2 |
68 |
- media-libs/lcms:2 |
69 |
- >=net-print/cups-1.7.3 |
70 |
- !<=net-print/cups-1.5.9999 |
71 |
- sys-devel/bc |
72 |
- sys-libs/zlib |
73 |
- dbus? ( sys-apps/dbus ) |
74 |
- foomatic? ( !net-print/foomatic-filters ) |
75 |
- jpeg? ( virtual/jpeg:0 ) |
76 |
- ldap? ( net-nds/openldap ) |
77 |
- perl? ( dev-lang/perl:= ) |
78 |
- png? ( media-libs/libpng:0= ) |
79 |
- tiff? ( media-libs/tiff:0 ) |
80 |
- zeroconf? ( net-dns/avahi[dbus] ) |
81 |
-" |
82 |
-DEPEND="${RDEPEND} |
83 |
- dev-util/gdbus-codegen |
84 |
-" |
85 |
- |
86 |
-src_prepare() { |
87 |
- epatch "${FILESDIR}/${P}-allow-disable-ghostscript.patch" |
88 |
- eautoreconf |
89 |
-} |
90 |
- |
91 |
-src_configure() { |
92 |
- econf \ |
93 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
94 |
- $(use_enable dbus) \ |
95 |
- $(use_enable zeroconf avahi) \ |
96 |
- $(use_enable static-libs static) \ |
97 |
- $(use_enable foomatic) \ |
98 |
- $(use_enable ldap) \ |
99 |
- $(use_enable postscript ghostscript) \ |
100 |
- --with-fontdir="fonts/conf.avail" \ |
101 |
- --with-pdftops=pdftops \ |
102 |
- --enable-imagefilters \ |
103 |
- $(use_with jpeg) \ |
104 |
- $(use_with png) \ |
105 |
- $(use_with tiff) \ |
106 |
- --with-rcdir=no \ |
107 |
- --with-browseremoteprotocols=DNSSD,CUPS \ |
108 |
- --without-php |
109 |
-} |
110 |
- |
111 |
-src_compile() { |
112 |
- MAKEOPTS=-j1 default |
113 |
- |
114 |
- if use perl; then |
115 |
- pushd "${S}/scripting/perl" > /dev/null |
116 |
- perl-module_src_configure |
117 |
- perl-module_src_compile |
118 |
- popd > /dev/null |
119 |
- fi |
120 |
-} |
121 |
- |
122 |
-src_install() { |
123 |
- default |
124 |
- |
125 |
- if use perl; then |
126 |
- pushd "${S}/scripting/perl" > /dev/null |
127 |
- perl-module_src_install |
128 |
- perl_delete_localpod |
129 |
- popd > /dev/null |
130 |
- fi |
131 |
- |
132 |
- if use postscript; then |
133 |
- # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
134 |
- dosym gstoraster /usr/libexec/cups/filter/pstoraster |
135 |
- dosym gstopxl /usr/libexec/cups/filter/pstopxl |
136 |
- fi |
137 |
- |
138 |
- prune_libtool_files --all |
139 |
- |
140 |
- cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die |
141 |
- |
142 |
- if ! use zeroconf ; then |
143 |
- sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
144 |
- sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
145 |
- fi |
146 |
- |
147 |
- doinitd "${T}"/cups-browsed |
148 |
- systemd_dounit "${S}/utils/cups-browsed.service" |
149 |
-} |
150 |
- |
151 |
-pkg_postinst() { |
152 |
- if ! use foomatic ; then |
153 |
- ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely." |
154 |
- ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained." |
155 |
- fi |
156 |
-} |
157 |
|
158 |
diff --git a/net-print/cups-filters/cups-filters-1.8.1.ebuild b/net-print/cups-filters/cups-filters-1.8.1.ebuild |
159 |
deleted file mode 100644 |
160 |
index cec01c8..0000000 |
161 |
--- a/net-print/cups-filters/cups-filters-1.8.1.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,118 +0,0 @@ |
164 |
-# Copyright 1999-2016 Gentoo Foundation |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
-# $Id$ |
167 |
- |
168 |
-EAPI=5 |
169 |
- |
170 |
-GENTOO_DEPEND_ON_PERL=no |
171 |
- |
172 |
-inherit eutils perl-module systemd |
173 |
- |
174 |
-if [[ "${PV}" == "9999" ]] ; then |
175 |
- inherit bzr |
176 |
- EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters" |
177 |
-else |
178 |
- SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" |
179 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint" |
180 |
-fi |
181 |
-DESCRIPTION="Cups PDF filters" |
182 |
-HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat" |
183 |
- |
184 |
-LICENSE="MIT GPL-2" |
185 |
-SLOT="0" |
186 |
-IUSE="dbus +foomatic jpeg ldap perl png static-libs tiff zeroconf" |
187 |
- |
188 |
-RDEPEND=" |
189 |
- >=app-text/ghostscript-gpl-9.09 |
190 |
- >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,xpdf-headers(+)] |
191 |
- >=app-text/qpdf-3.0.2:= |
192 |
- dev-libs/glib:2 |
193 |
- media-libs/fontconfig |
194 |
- media-libs/freetype:2 |
195 |
- media-libs/lcms:2 |
196 |
- >=net-print/cups-1.7.3 |
197 |
- !<=net-print/cups-1.5.9999 |
198 |
- sys-devel/bc |
199 |
- sys-libs/zlib |
200 |
- dbus? ( sys-apps/dbus ) |
201 |
- foomatic? ( !net-print/foomatic-filters ) |
202 |
- jpeg? ( virtual/jpeg:0 ) |
203 |
- ldap? ( net-nds/openldap ) |
204 |
- perl? ( dev-lang/perl:= ) |
205 |
- png? ( media-libs/libpng:0= ) |
206 |
- tiff? ( media-libs/tiff:0 ) |
207 |
- zeroconf? ( net-dns/avahi[dbus] ) |
208 |
-" |
209 |
-DEPEND="${RDEPEND} |
210 |
- dev-util/gdbus-codegen |
211 |
-" |
212 |
- |
213 |
-src_configure() { |
214 |
- econf \ |
215 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
216 |
- $(use_enable dbus) \ |
217 |
- $(use_enable zeroconf avahi) \ |
218 |
- $(use_enable static-libs static) \ |
219 |
- $(use_enable ldap) \ |
220 |
- --with-fontdir="fonts/conf.avail" \ |
221 |
- --with-pdftops=pdftops \ |
222 |
- --enable-imagefilters \ |
223 |
- $(use_with jpeg) \ |
224 |
- $(use_with png) \ |
225 |
- $(use_with tiff) \ |
226 |
- --with-rcdir=no \ |
227 |
- --with-browseremoteprotocols=DNSSD,CUPS \ |
228 |
- --without-php |
229 |
-} |
230 |
- |
231 |
-src_compile() { |
232 |
- MAKEOPTS=-j1 default |
233 |
- |
234 |
- if use perl; then |
235 |
- pushd "${S}/scripting/perl" > /dev/null |
236 |
- perl-module_src_configure |
237 |
- perl-module_src_compile |
238 |
- popd > /dev/null |
239 |
- fi |
240 |
-} |
241 |
- |
242 |
-src_install() { |
243 |
- default |
244 |
- |
245 |
- if use perl; then |
246 |
- pushd "${S}/scripting/perl" > /dev/null |
247 |
- perl-module_src_install |
248 |
- perl_delete_localpod |
249 |
- popd > /dev/null |
250 |
- fi |
251 |
- |
252 |
- # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
253 |
- dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster |
254 |
- dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl |
255 |
- |
256 |
- prune_libtool_files --all |
257 |
- |
258 |
- cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die |
259 |
- |
260 |
- if ! use zeroconf ; then |
261 |
- sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
262 |
- sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
263 |
- fi |
264 |
- |
265 |
- if ! use foomatic ; then |
266 |
- # this needs an upstream solution / configure switch |
267 |
- rm -v "${ED}/usr/bin/foomatic-rip" || die |
268 |
- rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die |
269 |
- rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || die |
270 |
- fi |
271 |
- |
272 |
- doinitd "${T}"/cups-browsed |
273 |
- systemd_dounit "${S}/utils/cups-browsed.service" |
274 |
-} |
275 |
- |
276 |
-pkg_postinst() { |
277 |
- if ! use foomatic ; then |
278 |
- ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely." |
279 |
- ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained." |
280 |
- fi |
281 |
-} |
282 |
|
283 |
diff --git a/net-print/cups-filters/cups-filters-1.8.2.ebuild b/net-print/cups-filters/cups-filters-1.8.2.ebuild |
284 |
deleted file mode 100644 |
285 |
index cdb7a29..0000000 |
286 |
--- a/net-print/cups-filters/cups-filters-1.8.2.ebuild |
287 |
+++ /dev/null |
288 |
@@ -1,115 +0,0 @@ |
289 |
-# Copyright 1999-2016 Gentoo Foundation |
290 |
-# Distributed under the terms of the GNU General Public License v2 |
291 |
-# $Id$ |
292 |
- |
293 |
-EAPI=5 |
294 |
- |
295 |
-GENTOO_DEPEND_ON_PERL=no |
296 |
- |
297 |
-inherit eutils perl-module systemd |
298 |
- |
299 |
-if [[ "${PV}" == "9999" ]] ; then |
300 |
- inherit bzr |
301 |
- EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters" |
302 |
-else |
303 |
- SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" |
304 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint" |
305 |
-fi |
306 |
-DESCRIPTION="Cups PDF filters" |
307 |
-HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat" |
308 |
- |
309 |
-LICENSE="MIT GPL-2" |
310 |
-SLOT="0" |
311 |
-IUSE="dbus +foomatic jpeg ldap perl png +postscript static-libs tiff zeroconf" |
312 |
- |
313 |
-RDEPEND=" |
314 |
- postscript? ( >=app-text/ghostscript-gpl-9.09[cups] ) |
315 |
- >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,xpdf-headers(+)] |
316 |
- >=app-text/qpdf-3.0.2:= |
317 |
- dev-libs/glib:2 |
318 |
- media-libs/fontconfig |
319 |
- media-libs/freetype:2 |
320 |
- media-libs/lcms:2 |
321 |
- >=net-print/cups-1.7.3 |
322 |
- !<=net-print/cups-1.5.9999 |
323 |
- sys-devel/bc |
324 |
- sys-libs/zlib |
325 |
- dbus? ( sys-apps/dbus ) |
326 |
- foomatic? ( !net-print/foomatic-filters ) |
327 |
- jpeg? ( virtual/jpeg:0 ) |
328 |
- ldap? ( net-nds/openldap ) |
329 |
- perl? ( dev-lang/perl:= ) |
330 |
- png? ( media-libs/libpng:0= ) |
331 |
- tiff? ( media-libs/tiff:0 ) |
332 |
- zeroconf? ( net-dns/avahi[dbus] ) |
333 |
-" |
334 |
-DEPEND="${RDEPEND} |
335 |
- dev-util/gdbus-codegen |
336 |
-" |
337 |
- |
338 |
-src_configure() { |
339 |
- econf \ |
340 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
341 |
- $(use_enable dbus) \ |
342 |
- $(use_enable zeroconf avahi) \ |
343 |
- $(use_enable static-libs static) \ |
344 |
- $(use_enable foomatic) \ |
345 |
- $(use_enable ldap) \ |
346 |
- $(use_enable postscript ghostscript) \ |
347 |
- --with-fontdir="fonts/conf.avail" \ |
348 |
- --with-pdftops=pdftops \ |
349 |
- --enable-imagefilters \ |
350 |
- $(use_with jpeg) \ |
351 |
- $(use_with png) \ |
352 |
- $(use_with tiff) \ |
353 |
- --with-rcdir=no \ |
354 |
- --with-browseremoteprotocols=DNSSD,CUPS \ |
355 |
- --without-php |
356 |
-} |
357 |
- |
358 |
-src_compile() { |
359 |
- MAKEOPTS=-j1 default |
360 |
- |
361 |
- if use perl; then |
362 |
- pushd "${S}/scripting/perl" > /dev/null |
363 |
- perl-module_src_configure |
364 |
- perl-module_src_compile |
365 |
- popd > /dev/null |
366 |
- fi |
367 |
-} |
368 |
- |
369 |
-src_install() { |
370 |
- default |
371 |
- |
372 |
- if use perl; then |
373 |
- pushd "${S}/scripting/perl" > /dev/null |
374 |
- perl-module_src_install |
375 |
- perl_delete_localpod |
376 |
- popd > /dev/null |
377 |
- fi |
378 |
- |
379 |
- if use postscript; then |
380 |
- # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
381 |
- dosym gstoraster /usr/libexec/cups/filter/pstoraster |
382 |
- dosym gstopxl /usr/libexec/cups/filter/pstopxl |
383 |
- fi |
384 |
- |
385 |
- prune_libtool_files --all |
386 |
- |
387 |
- cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die |
388 |
- |
389 |
- if ! use zeroconf ; then |
390 |
- sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
391 |
- sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
392 |
- fi |
393 |
- |
394 |
- doinitd "${T}"/cups-browsed |
395 |
- systemd_dounit "${S}/utils/cups-browsed.service" |
396 |
-} |
397 |
- |
398 |
-pkg_postinst() { |
399 |
- if ! use foomatic ; then |
400 |
- ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely." |
401 |
- ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained." |
402 |
- fi |
403 |
-} |
404 |
|
405 |
diff --git a/net-print/cups-filters/files/cups-filters-1.8.1-allow-disable-ghostscript.patch b/net-print/cups-filters/files/cups-filters-1.8.1-allow-disable-ghostscript.patch |
406 |
deleted file mode 100644 |
407 |
index a9c63da..0000000 |
408 |
--- a/net-print/cups-filters/files/cups-filters-1.8.1-allow-disable-ghostscript.patch |
409 |
+++ /dev/null |
410 |
@@ -1,187 +0,0 @@ |
411 |
-Allow disabling ghostscript and foomatic. Pulled from upstream bzr rev 7447: |
412 |
- |
413 |
-https://bugs.linuxfoundation.org/show_bug.cgi?id=1342 |
414 |
- |
415 |
---- a/Makefile.am |
416 |
-+++ b/Makefile.am |
417 |
-@@ -412,11 +412,14 @@ pdftopdf_LDADD = \ |
418 |
- # Simple filter binaries |
419 |
- # ====================== |
420 |
- pkgfilter_SCRIPTS = \ |
421 |
-- filter/gstopxl \ |
422 |
- filter/imagetops \ |
423 |
- filter/pstopdf \ |
424 |
- filter/textonly \ |
425 |
- filter/texttops |
426 |
-+if ENABLE_GHOSTSCRIPT |
427 |
-+pkgfilter_SCRIPTS += \ |
428 |
-+ filter/gstopxl |
429 |
-+endif |
430 |
- if ENABLE_BRAILLE |
431 |
- nodist_pkgfilter_SCRIPTS = \ |
432 |
- filter/braille/drivers/generic/brftoembosser \ |
433 |
-@@ -420,8 +423,6 @@ pdftopdf_LDADD = \ |
434 |
- bannertopdf \ |
435 |
- commandtoescpx \ |
436 |
- commandtopclx \ |
437 |
-- foomatic-rip \ |
438 |
-- gstoraster \ |
439 |
- pdftoijs \ |
440 |
- sys5ippprinter \ |
441 |
- pdftops \ |
442 |
-@@ -432,6 +433,14 @@ pkgfilter_PROGRAMS += \ |
443 |
- texttopdf \ |
444 |
- urftopdf \ |
445 |
- rastertopdf |
446 |
-+if ENABLE_GHOSTSCRIPT |
447 |
-+pkgfilter_PROGRAMS += \ |
448 |
-+ gstoraster |
449 |
-+endif |
450 |
-+if ENABLE_FOOMATIC |
451 |
-+pkgfilter_PROGRAMS += \ |
452 |
-+ foomatic-rip |
453 |
-+endif |
454 |
- if ENABLE_IMAGEFILTERS |
455 |
- pkgfilter_PROGRAMS += \ |
456 |
- imagetopdf \ |
457 |
-@@ -737,8 +746,11 @@ initrcdir = $(INITDDIR) |
458 |
- initrc_SCRIPTS = utils/cups-browsed |
459 |
- man_MANS = \ |
460 |
- utils/cups-browsed.8 \ |
461 |
-- utils/cups-browsed.conf.5 \ |
462 |
-+ utils/cups-browsed.conf.5 |
463 |
-+if ENABLE_FOOMATIC |
464 |
-+man_MANS += \ |
465 |
- filter/foomatic-rip/foomatic-rip.1 |
466 |
-+endif |
467 |
- EXTRA_DIST += utils/cups-browsed.in \ |
468 |
- $(man_MANS) |
469 |
- utils/org.cups.cupsd.Notifier.xml |
470 |
-@@ -752,9 +764,12 @@ ppd_DATA = \ |
471 |
- ppd/HP-Color_LaserJet_CM3530_MFP-PDF.ppd \ |
472 |
- ppd/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd \ |
473 |
- ppd/Ricoh-PDF_Printer-PDF.ppd \ |
474 |
-- ppd/pxlcolor.ppd \ |
475 |
-- ppd/pxlmono.ppd \ |
476 |
- ppd/textonly.ppd |
477 |
-+if ENABLE_GHOSTSCRIPT |
478 |
-+ppd_DATA += \ |
479 |
-+ ppd/pxlcolor.ppd \ |
480 |
-+ ppd/pxlmono.ppd |
481 |
-+endif |
482 |
- |
483 |
- EXTRA_DIST += $(ppd_DATA) |
484 |
- |
485 |
-@@ -782,7 +797,9 @@ distclean-local: |
486 |
- install-exec-hook: |
487 |
- $(INSTALL) -d -m 755 $(DESTDIR)$(bindir) |
488 |
- $(INSTALL) -d -m 755 $(DESTDIR)$(pkgfilterdir) |
489 |
-+if ENABLE_FOOMATIC |
490 |
- $(LN_S) -f $(pkgfilterdir)/foomatic-rip $(DESTDIR)$(bindir) |
491 |
-+endif |
492 |
- if ENABLE_BRAILLE |
493 |
- $(LN_S) -f imagetobrf $(DESTDIR)$(pkgfilterdir)/imagetoubrl |
494 |
- $(LN_S) -f textbrftoindexv3 $(DESTDIR)$(pkgfilterdir)/textbrftoindexv4 |
495 |
-@@ -806,7 +823,9 @@ if RCLINKS |
496 |
- fi |
497 |
- endif |
498 |
- $(RM) $(DESTDIR)$(pkgcharsetdir)/pdf.utf-8 |
499 |
-+if ENABLE_FOOMATIC |
500 |
- $(RM) $(DESTDIR)$(bindir)/foomatic-rip |
501 |
-+endif |
502 |
- if ENABLE_BRAILLE |
503 |
- $(RM) $(DESTDIR)$(pkgfilterdir)/imagetoubrl |
504 |
- $(RM) $(DESTDIR)$(pkgfilterdir)/textbrftoindexv4 |
505 |
---- a/configure.ac |
506 |
-+++ b/configure.ac |
507 |
-@@ -431,6 +431,11 @@ AS_IF([test x"$long_long_found" = "xyes"], [ |
508 |
- # ================ |
509 |
- # Check for pdf2ps |
510 |
- # ================ |
511 |
-+AC_ARG_ENABLE([ghostscript], |
512 |
-+ [AS_HELP_STRING([--disable-ghostscript], [Disable filters using Ghostscript.])], |
513 |
-+ [enable_ghostscript="$enableval"], |
514 |
-+ [enable_ghostscript=yes] |
515 |
-+) |
516 |
- AC_ARG_WITH([pdftops], |
517 |
- [AS_HELP_STRING([--with-pdftops=value], [Set which pdftops to use (gs,pdftops,pdftocairo,acroread,hybrid).])], |
518 |
- [with_pdftops="$withval"], |
519 |
-@@ -471,25 +476,35 @@ AS_CASE([x$with_pdftops_maxres], |
520 |
- [AC_MSG_ERROR([Unknown value of with-pdftops-maxres provided: $with_pdftops])] |
521 |
- ) |
522 |
- |
523 |
--AS_IF([test "x$with_gs_path" != "xsystem"], [ |
524 |
-- CUPS_GHOSTSCRIPT="$with_gs_path" |
525 |
--], [ |
526 |
-- AC_PATH_PROG(CUPS_GHOSTSCRIPT, [gs], [AC_MSG_ERROR([Required gs binary is missing. Please install ghostscript-gpl package.])]) |
527 |
--]) |
528 |
--AS_IF([test "x$CUPS_GHOSTSCRIPT" != "x"], [ |
529 |
-- AC_DEFINE([HAVE_GHOSTSCRIPT], [], [Define that we provide ghostscript binary]) |
530 |
-- AS_IF([test x"$with_pdftops" = xgs], [AC_DEFINE_UNQUOTED([CUPS_PDFTOPS_RENDERER], [GS], [Define default renderer])]) |
531 |
-- |
532 |
-- AC_MSG_CHECKING(whether gs supports the ps2write device) |
533 |
-- AS_IF([`$CUPS_GHOSTSCRIPT -h 2>&1 | grep -q ps2write`], [ |
534 |
-- AC_MSG_RESULT([yes]) |
535 |
-- AC_DEFINE([HAVE_GHOSTSCRIPT_PS2WRITE], [], [gs supports ps2write]) |
536 |
-+CUPS_GHOSTSCRIPT="" |
537 |
-+AS_IF([test "x$enable_ghostscript" != "xyes"], [ |
538 |
-+ AS_IF([test "x$with_gs_path" != "xsystem"], [ |
539 |
-+ AC_MSG_ERROR([Cannot supply both --disable-ghostscript and --gs-path=]) |
540 |
- ], [ |
541 |
-- AC_MSG_RESULT([no]) |
542 |
-+ with_gs_path="" |
543 |
- ]) |
544 |
- ], [ |
545 |
-- CUPS_GHOSTSCRIPT="gs" |
546 |
-+ AS_IF([test "x$with_gs_path" != "xsystem"], [ |
547 |
-+ CUPS_GHOSTSCRIPT="$with_gs_path" |
548 |
-+ ], [ |
549 |
-+ AC_PATH_PROG(CUPS_GHOSTSCRIPT, [gs], [AC_MSG_ERROR([Required gs binary is missing. Please install ghostscript-gpl package.])]) |
550 |
-+ ]) |
551 |
-+ AS_IF([test "x$CUPS_GHOSTSCRIPT" != "x"], [ |
552 |
-+ AC_DEFINE([HAVE_GHOSTSCRIPT], [], [Define that we provide ghostscript binary]) |
553 |
-+ AS_IF([test x"$with_pdftops" = xgs], [AC_DEFINE_UNQUOTED([CUPS_PDFTOPS_RENDERER], [GS], [Define default renderer])]) |
554 |
-+ |
555 |
-+ AC_MSG_CHECKING(whether gs supports the ps2write device) |
556 |
-+ AS_IF([`$CUPS_GHOSTSCRIPT -h 2>&1 | grep -q ps2write`], [ |
557 |
-+ AC_MSG_RESULT([yes]) |
558 |
-+ AC_DEFINE([HAVE_GHOSTSCRIPT_PS2WRITE], [], [gs supports ps2write]) |
559 |
-+ ], [ |
560 |
-+ AC_MSG_RESULT([no]) |
561 |
-+ ]) |
562 |
-+ ], [ |
563 |
-+ CUPS_GHOSTSCRIPT="gs" |
564 |
-+ ]) |
565 |
- ]) |
566 |
-+AM_CONDITIONAL(ENABLE_GHOSTSCRIPT, test "x$enable_ghostscript" = xyes) |
567 |
- |
568 |
- AS_IF([test "x$with_pdftops_path" != "xsystem"], [ |
569 |
- CUPS_PDFTOPS="$with_pdftops_path" |
570 |
-@@ -550,6 +565,16 @@ AC_DEFINE_UNQUOTED([CUPS_POPPLER_PDFTOCAIRO], "$CUPS_PDFTOCAIRO", [pdftocairo bi |
571 |
- AC_DEFINE_UNQUOTED([CUPS_ACROREAD], "$CUPS_ACROREAD", [acroread binary to use.]) |
572 |
- AC_DEFINE_UNQUOTED([CUPS_PDFTOPS_MAX_RESOLUTION], [$CUPS_PDFTOPS_MAXRES], [max resolution used for pdftops when converting images]) |
573 |
- |
574 |
-+# ================== |
575 |
-+# Check for foomatic |
576 |
-+# ================== |
577 |
-+AC_ARG_ENABLE([foomatic], |
578 |
-+ [AS_HELP_STRING([--disable-foomatic], [Disable Foomatic-based filters.])], |
579 |
-+ [enable_foomatic="$enableval"], |
580 |
-+ [enable_foomatic=yes] |
581 |
-+) |
582 |
-+AM_CONDITIONAL([ENABLE_FOOMATIC], [test "x$enable_foomatic" = "xyes"]) |
583 |
-+ |
584 |
- # ============= |
585 |
- # Check for php |
586 |
- # ============= |
587 |
-@@ -658,8 +683,10 @@ Environment settings: |
588 |
- Build configuration: |
589 |
- cups-config: ${with_cups_config} |
590 |
- font directory: ${sysconfdir}/${FONTDIR} |
591 |
-+ foomatic: ${enable_foomatic} |
592 |
- init directory: ${INITDDIR} |
593 |
- cups dom socket: ${CUPS_DEFAULT_DOMAINSOCKET} |
594 |
-+ ghostscript: ${enable_ghostscript} |
595 |
- gs-path: ${with_gs_path} |
596 |
- imagefilters: ${enable_imagefilters} |
597 |
- jpeg: ${with_jpeg} |