Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cups-filters/files/, net-print/cups-filters/
Date: Fri, 08 Jan 2021 21:00:31
Message-Id: 1610139609.088c01594da71978fd7c2807e12b414f60229058.polynomial-c@gentoo
1 commit: 088c01594da71978fd7c2807e12b414f60229058
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 21:00:09 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 21:00:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088c0159
7
8 net-print/cups-filters: Removed old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-print/cups-filters/Manifest | 3 -
14 net-print/cups-filters/cups-filters-1.27.4.ebuild | 148 ---------------------
15 net-print/cups-filters/cups-filters-1.27.5.ebuild | 148 ---------------------
16 net-print/cups-filters/cups-filters-1.28.2.ebuild | 148 ---------------------
17 ...1.27.5-make-missing-testfont-non-fatal-r1.patch | 14 --
18 5 files changed, 461 deletions(-)
19
20 diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
21 index 2ce49aa9269..f6598a7fd15 100644
22 --- a/net-print/cups-filters/Manifest
23 +++ b/net-print/cups-filters/Manifest
24 @@ -1,5 +1,2 @@
25 -DIST cups-filters-1.27.4.tar.xz 1493860 BLAKE2B 424c3ba73ec7d6f4683eaedde86d657b1a2da17670c84097f5f3f8ef525cc8cc6d7843a88d35013a5f48bba8a903f7504df9054427b9a63d748ce39de458e71f SHA512 8005e94bb6b06d0a15fa4dfd8455d0bc67418478bf517e205af1c8c0018681a97ae9ea486db07570050ebeeb7f63f75319a8fe012c112c6d16c0941299eaa50e
26 -DIST cups-filters-1.27.5.tar.xz 1494864 BLAKE2B 457968139f0bc1a5fd4c587dfe4a88d1904eb0ca9ee2aa88c1360785eb53b59e7eb823535ef01a9f81551628514441077562e91487a55a9f0c9e6c9dbdba98b7 SHA512 8bc917b2a168add1062d091d02d99c39d72861c0d0cb1242c34b2bf117c9943e7fdc1fe002de7cde4cb1919fbce41073adc34916c328fc99e66e389b0a4fe103
27 -DIST cups-filters-1.28.2.tar.xz 1502352 BLAKE2B e0d95a7e1596d4dc05a8e2d32b2ee573cfa1ec304288e476a38c8b51de5ed8e0b6a71e371d2196802b116d63aea1e750e0b3a6c8fae749377de0ab72f92aa86e SHA512 aa5f075927286a8278259025aa5baf95445809a83b88e2d4654e8f0a124012591b045df115294242fae60a283d983d6cdbaafc6a51224af30a7e56b58d831da5
28 DIST cups-filters-1.28.3.tar.xz 1501824 BLAKE2B b4f493681ac2a701648b3b9b071f4ebfb432dd4660b610579ff2ed6cba4f6cd4351d5a1f28f5c096b3ba20d9c45dc87837bf127b9bc98680a98dec58dd0a68ea SHA512 ac139ae7452342bd46e464bff3438d437f1c9a2e719a7b32b7abc22c2667acaa93dfb976decb277a02572e688ecd86289e01fca817bef93018dff2076fb2a30c
29 DIST cups-filters-1.28.7.tar.xz 1503052 BLAKE2B b9d3280871faa79a7c277731bf6eb1eef161537829d4bc07ec36075ebc12a3617dce66994ed708991757ce7d78fc5ab010925a1d3d9811fd11cf1172f4786442 SHA512 fa94f51ca1c208dcacb1814d8b812c9a72dd09475b7cf836b02c72cb5e3290318f37e475ee3ae8d45351715c3a2ccc0df5ac51ae6fc11462f5acdfa303a04727
30
31 diff --git a/net-print/cups-filters/cups-filters-1.27.4.ebuild b/net-print/cups-filters/cups-filters-1.27.4.ebuild
32 deleted file mode 100644
33 index f3809128d29..00000000000
34 --- a/net-print/cups-filters/cups-filters-1.27.4.ebuild
35 +++ /dev/null
36 @@ -1,148 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -GENTOO_DEPEND_ON_PERL=no
43 -
44 -inherit autotools perl-module systemd flag-o-matic
45 -
46 -if [[ "${PV}" == "9999" ]] ; then
47 - inherit git-r3
48 - EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git"
49 -else
50 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
51 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
52 -fi
53 -DESCRIPTION="Cups filters"
54 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
55 -
56 -LICENSE="MIT GPL-2"
57 -SLOT="0"
58 -IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf"
59 -
60 -RESTRICT="!test? ( test )"
61 -
62 -RDEPEND="
63 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
64 - >=app-text/qpdf-8.3.0:=
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 - pdf? ( app-text/mupdf )
78 - perl? ( dev-lang/perl:= )
79 - png? ( media-libs/libpng:0= )
80 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
81 - tiff? ( media-libs/tiff:0 )
82 - zeroconf? ( net-dns/avahi[dbus] )
83 -"
84 -DEPEND="${RDEPEND}"
85 -BDEPEND="
86 - dev-util/gdbus-codegen
87 - >=sys-devel/gettext-0.18.3
88 - virtual/pkgconfig
89 - test? ( media-fonts/dejavu )
90 -"
91 -
92 -src_prepare() {
93 - local need_eautoreconf=
94 -
95 - default
96 -
97 - if ! use test ; then
98 - eapply "${FILESDIR}"/${PN}-1.27.4-make-missing-testfont-non-fatal.patch
99 - need_eautoreconf=yes
100 - elif [[ "${PV}" == "9999" ]] ; then
101 - need_eautoreconf=yes
102 - fi
103 -
104 - [[ -n ${need_eautoreconf} ]] && eautoreconf
105 -
106 - # Bug #626800
107 - append-cxxflags -std=c++11
108 -}
109 -
110 -src_configure() {
111 - local myeconfargs=(
112 - --enable-imagefilters
113 - --localstatedir="${EPREFIX}"/var
114 - --with-browseremoteprotocols=DNSSD,CUPS
115 - --with-cups-rundir="${EPREFIX}"/run/cups
116 - --with-fontdir="fonts/conf.avail"
117 - --with-pdftops=pdftops
118 - --with-rcdir=no
119 - --without-php
120 - $(use_enable dbus)
121 - $(use_enable foomatic)
122 - $(use_enable ldap)
123 - $(use_enable pclm)
124 - $(use_enable pdf mutool)
125 - $(use_enable postscript ghostscript)
126 - $(use_enable static-libs static)
127 - $(use_enable zeroconf avahi)
128 - $(use_with jpeg)
129 - $(use_with png)
130 - $(use_with tiff)
131 - )
132 - econf "${myeconfargs[@]}"
133 -}
134 -
135 -src_compile() {
136 - default
137 -
138 - if use perl; then
139 - pushd "${S}/scripting/perl" > /dev/null
140 - perl-module_src_configure
141 - perl-module_src_compile
142 - popd > /dev/null
143 - fi
144 -}
145 -
146 -src_install() {
147 - default
148 -
149 - if use perl; then
150 - pushd "${S}/scripting/perl" > /dev/null
151 - perl-module_src_install
152 - perl_delete_localpod
153 - popd > /dev/null
154 - fi
155 -
156 - if use postscript; then
157 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
158 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
159 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
160 - fi
161 -
162 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
163 -
164 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
165 -
166 - if ! use zeroconf ; then
167 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
168 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
169 - fi
170 -
171 - doinitd "${T}"/cups-browsed
172 - systemd_dounit "${S}/utils/cups-browsed.service"
173 -}
174 -
175 -src_test() {
176 - emake check
177 -}
178 -
179 -pkg_postinst() {
180 - if ! use foomatic ; then
181 - ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
182 - ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
183 - fi
184 -}
185
186 diff --git a/net-print/cups-filters/cups-filters-1.27.5.ebuild b/net-print/cups-filters/cups-filters-1.27.5.ebuild
187 deleted file mode 100644
188 index 583024a642b..00000000000
189 --- a/net-print/cups-filters/cups-filters-1.27.5.ebuild
190 +++ /dev/null
191 @@ -1,148 +0,0 @@
192 -# Copyright 1999-2020 Gentoo Authors
193 -# Distributed under the terms of the GNU General Public License v2
194 -
195 -EAPI=7
196 -
197 -GENTOO_DEPEND_ON_PERL=no
198 -
199 -inherit autotools perl-module systemd flag-o-matic
200 -
201 -if [[ "${PV}" == "9999" ]] ; then
202 - inherit git-r3
203 - EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git"
204 -else
205 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
206 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
207 -fi
208 -DESCRIPTION="Cups filters"
209 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
210 -
211 -LICENSE="MIT GPL-2"
212 -SLOT="0"
213 -IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf"
214 -
215 -RESTRICT="!test? ( test )"
216 -
217 -RDEPEND="
218 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
219 - >=app-text/qpdf-8.3.0:=
220 - dev-libs/glib:2
221 - media-libs/fontconfig
222 - media-libs/freetype:2
223 - media-libs/lcms:2
224 - >=net-print/cups-1.7.3
225 - !<=net-print/cups-1.5.9999
226 - sys-devel/bc
227 - sys-libs/zlib
228 - dbus? ( sys-apps/dbus )
229 - foomatic? ( !net-print/foomatic-filters )
230 - jpeg? ( virtual/jpeg:0 )
231 - ldap? ( net-nds/openldap )
232 - pdf? ( app-text/mupdf )
233 - perl? ( dev-lang/perl:= )
234 - png? ( media-libs/libpng:0= )
235 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
236 - tiff? ( media-libs/tiff:0 )
237 - zeroconf? ( net-dns/avahi[dbus] )
238 -"
239 -DEPEND="${RDEPEND}"
240 -BDEPEND="
241 - dev-util/gdbus-codegen
242 - >=sys-devel/gettext-0.18.3
243 - virtual/pkgconfig
244 - test? ( media-fonts/dejavu )
245 -"
246 -
247 -src_prepare() {
248 - local need_eautoreconf=
249 -
250 - default
251 -
252 - if ! use test ; then
253 - eapply "${FILESDIR}"/${PN}-1.27.5-make-missing-testfont-non-fatal-r1.patch
254 - need_eautoreconf=yes
255 - elif [[ "${PV}" == "9999" ]] ; then
256 - need_eautoreconf=yes
257 - fi
258 -
259 - [[ -n ${need_eautoreconf} ]] && eautoreconf
260 -
261 - # Bug #626800
262 - append-cxxflags -std=c++11
263 -}
264 -
265 -src_configure() {
266 - local myeconfargs=(
267 - --enable-imagefilters
268 - --localstatedir="${EPREFIX}"/var
269 - --with-browseremoteprotocols=DNSSD,CUPS
270 - --with-cups-rundir="${EPREFIX}"/run/cups
271 - --with-fontdir="fonts/conf.avail"
272 - --with-pdftops=pdftops
273 - --with-rcdir=no
274 - --without-php
275 - $(use_enable dbus)
276 - $(use_enable foomatic)
277 - $(use_enable ldap)
278 - $(use_enable pclm)
279 - $(use_enable pdf mutool)
280 - $(use_enable postscript ghostscript)
281 - $(use_enable static-libs static)
282 - $(use_enable zeroconf avahi)
283 - $(use_with jpeg)
284 - $(use_with png)
285 - $(use_with tiff)
286 - )
287 - econf "${myeconfargs[@]}"
288 -}
289 -
290 -src_compile() {
291 - default
292 -
293 - if use perl; then
294 - pushd "${S}/scripting/perl" > /dev/null
295 - perl-module_src_configure
296 - perl-module_src_compile
297 - popd > /dev/null
298 - fi
299 -}
300 -
301 -src_install() {
302 - default
303 -
304 - if use perl; then
305 - pushd "${S}/scripting/perl" > /dev/null
306 - perl-module_src_install
307 - perl_delete_localpod
308 - popd > /dev/null
309 - fi
310 -
311 - if use postscript; then
312 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
313 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
314 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
315 - fi
316 -
317 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
318 -
319 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
320 -
321 - if ! use zeroconf ; then
322 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
323 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
324 - fi
325 -
326 - doinitd "${T}"/cups-browsed
327 - systemd_dounit "${S}/utils/cups-browsed.service"
328 -}
329 -
330 -src_test() {
331 - emake check
332 -}
333 -
334 -pkg_postinst() {
335 - if ! use foomatic ; then
336 - ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
337 - ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
338 - fi
339 -}
340
341 diff --git a/net-print/cups-filters/cups-filters-1.28.2.ebuild b/net-print/cups-filters/cups-filters-1.28.2.ebuild
342 deleted file mode 100644
343 index 0803df22be6..00000000000
344 --- a/net-print/cups-filters/cups-filters-1.28.2.ebuild
345 +++ /dev/null
346 @@ -1,148 +0,0 @@
347 -# Copyright 1999-2020 Gentoo Authors
348 -# Distributed under the terms of the GNU General Public License v2
349 -
350 -EAPI=7
351 -
352 -GENTOO_DEPEND_ON_PERL=no
353 -
354 -inherit autotools perl-module systemd flag-o-matic
355 -
356 -if [[ "${PV}" == "9999" ]] ; then
357 - inherit git-r3
358 - EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git"
359 -else
360 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
361 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
362 -fi
363 -DESCRIPTION="Cups filters"
364 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
365 -
366 -LICENSE="MIT GPL-2"
367 -SLOT="0"
368 -IUSE="dbus +foomatic jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf"
369 -
370 -RESTRICT="!test? ( test )"
371 -
372 -RDEPEND="
373 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
374 - >=app-text/qpdf-8.3.0:=
375 - dev-libs/glib:2
376 - media-libs/fontconfig
377 - media-libs/freetype:2
378 - media-libs/lcms:2
379 - >=net-print/cups-1.7.3
380 - !<=net-print/cups-1.5.9999
381 - sys-devel/bc
382 - sys-libs/zlib
383 - dbus? ( sys-apps/dbus )
384 - foomatic? ( !net-print/foomatic-filters )
385 - jpeg? ( virtual/jpeg:0 )
386 - ldap? ( net-nds/openldap )
387 - pdf? ( app-text/mupdf )
388 - perl? ( dev-lang/perl:= )
389 - png? ( media-libs/libpng:0= )
390 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
391 - tiff? ( media-libs/tiff:0 )
392 - zeroconf? ( net-dns/avahi[dbus] )
393 -"
394 -DEPEND="${RDEPEND}"
395 -BDEPEND="
396 - dev-util/gdbus-codegen
397 - >=sys-devel/gettext-0.18.3
398 - virtual/pkgconfig
399 - test? ( media-fonts/dejavu )
400 -"
401 -
402 -src_prepare() {
403 - local need_eautoreconf=
404 -
405 - default
406 -
407 - if ! use test ; then
408 - eapply "${FILESDIR}"/${PN}-1.28.2-make-missing-testfont-non-fatal.patch
409 - need_eautoreconf=yes
410 - elif [[ "${PV}" == "9999" ]] ; then
411 - need_eautoreconf=yes
412 - fi
413 -
414 - [[ -n ${need_eautoreconf} ]] && eautoreconf
415 -
416 - # Bug #626800
417 - append-cxxflags -std=c++11
418 -}
419 -
420 -src_configure() {
421 - local myeconfargs=(
422 - --enable-imagefilters
423 - --localstatedir="${EPREFIX}"/var
424 - --with-browseremoteprotocols=DNSSD,CUPS
425 - --with-cups-rundir="${EPREFIX}"/run/cups
426 - --with-fontdir="fonts/conf.avail"
427 - --with-pdftops=pdftops
428 - --with-rcdir=no
429 - --without-php
430 - $(use_enable dbus)
431 - $(use_enable foomatic)
432 - $(use_enable ldap)
433 - $(use_enable pclm)
434 - $(use_enable pdf mutool)
435 - $(use_enable postscript ghostscript)
436 - $(use_enable static-libs static)
437 - $(use_enable zeroconf avahi)
438 - $(use_with jpeg)
439 - $(use_with png)
440 - $(use_with tiff)
441 - )
442 - econf "${myeconfargs[@]}"
443 -}
444 -
445 -src_compile() {
446 - default
447 -
448 - if use perl; then
449 - pushd "${S}/scripting/perl" > /dev/null
450 - perl-module_src_configure
451 - perl-module_src_compile
452 - popd > /dev/null
453 - fi
454 -}
455 -
456 -src_install() {
457 - default
458 -
459 - if use perl; then
460 - pushd "${S}/scripting/perl" > /dev/null
461 - perl-module_src_install
462 - perl_delete_localpod
463 - popd > /dev/null
464 - fi
465 -
466 - if use postscript; then
467 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
468 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
469 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
470 - fi
471 -
472 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
473 -
474 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
475 -
476 - if ! use zeroconf ; then
477 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
478 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
479 - fi
480 -
481 - doinitd "${T}"/cups-browsed
482 - systemd_dounit "${S}/utils/cups-browsed.service"
483 -}
484 -
485 -src_test() {
486 - emake check
487 -}
488 -
489 -pkg_postinst() {
490 - if ! use foomatic ; then
491 - ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
492 - ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
493 - fi
494 -}
495
496 diff --git a/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal-r1.patch b/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal-r1.patch
497 deleted file mode 100644
498 index 43aa6bf3b5a..00000000000
499 --- a/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal-r1.patch
500 +++ /dev/null
501 @@ -1,14 +0,0 @@
502 ---- a/configure.ac
503 -+++ b/configure.ac
504 -@@ -791,7 +791,10 @@ AC_ARG_WITH([test-font-path],
505 -
506 - AS_IF([test -f "$with_test_font_path"],
507 - [AC_DEFINE_UNQUOTED([TESTFONT], ["$with_test_font_path"], [Path to font used in tests])],
508 -- [AC_MSG_ERROR(DejaVuSans.ttf font file is missing. Please install a package providing it.)]
509 -+ [
510 -+ AC_MSG_WARN(DejaVuSans.ttf font file is missing. Expect test failures!)
511 -+ AC_DEFINE([TESTFONT])
512 -+ ]
513 - )
514 -
515 - # ================