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/
Date: Mon, 21 Jan 2019 10:23:53
Message-Id: 1548066184.1d96573612ffbb6241be3055046041669170a55e.polynomial-c@gentoo
1 commit: 1d96573612ffbb6241be3055046041669170a55e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 21 10:23:04 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 10:23:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d965736
7
8 net-print/cups-filters: Removed old.
9
10 Package-Manager: Portage-2.3.57, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-print/cups-filters/Manifest | 2 -
14 net-print/cups-filters/cups-filters-1.17.9.ebuild | 137 ----------------------
15 net-print/cups-filters/cups-filters-1.21.5.ebuild | 137 ----------------------
16 3 files changed, 276 deletions(-)
17
18 diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
19 index 2113da165bc..33533122bf8 100644
20 --- a/net-print/cups-filters/Manifest
21 +++ b/net-print/cups-filters/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST cups-filters-1.17.9.tar.xz 1454068 BLAKE2B 7c4b1c1a017cbaaf5d413071195ce53e3088874e55fd98264018f033f0948449b70623adc2c6e136a7441cf4cbef4470811694379bc798aeff81fe3ed80e66ca SHA512 811d2671c660a2129c207d5d8daaa576b027ba14ac4cf4753d0e8c1190866a684e284f1e7439b864aaab332e429befbc13c567bf6c9fc1a502fe2cd7d11e5ed4
24 DIST cups-filters-1.20.4.tar.xz 1474700 BLAKE2B 70948565e4a2b35d0c3bc510e7c03d77ac1ed47ab16a22bc9f60a7293fe5b5b08fdb1e95dd7a32f4c99a18676e50c48a515a954d437283ce7011ab616804e235 SHA512 4001cefbee945c326e3c597869763286e8665dee098b9aff76340dd249ef3e615f2a8df5c8e802e388b91dfd06ba9e8313b27908ca89ca120f899060785a6f07
25 -DIST cups-filters-1.21.5.tar.xz 1474388 BLAKE2B 8e21302256c6da033e09b9b43da03edbe9f7345ec50497501522da773fc698494a674e66457570d8f43c081afc2787cdfc55d738ffe3397bf5fdd307bbb9952f SHA512 41ed3364cb0a87e8b2b2482f3c8de90eba63538682ad3fa1079908beadec5e975d9eda151d822e93f62dcc32fe2a6189cc02b6b7691640fb00434efec35c0f7a
26 DIST cups-filters-1.21.6.tar.xz 1474944 BLAKE2B a4c3418accb9d2bf46a366ec6004919d2a5c2c0a02022102270da17fb81915428275aadf58f1f50f8ca022e1c09cbdbd7300492fa38c53d4a2cbc4c4b86a09e3 SHA512 804250745ac710706ff1bfa6e161c0b1a8a65a74850a76a311b7614694a7e5d07f01dfd15f277ad79ed7fe1e84ea680bab1643e0b82cefa3e26603fa2eea935a
27 DIST cups-filters-1.22.0.tar.xz 1474616 BLAKE2B 045f403bcbae11bd6e0b523d741d1494e6328dfc9386393f974ff82ba816972688613e5c68739dcbf7733aa19c9c063be777cb017dbd041d9c2f23bd21c9182c SHA512 6129c948db2499a300c44ce88a287d5296af4771fb42e991121aaf4eb1258e17f1092afcbb90e5dd63572db410169fed65c6217d1ecd0ba834018acb4ef39bfa
28
29 diff --git a/net-print/cups-filters/cups-filters-1.17.9.ebuild b/net-print/cups-filters/cups-filters-1.17.9.ebuild
30 deleted file mode 100644
31 index 2fbdff771bd..00000000000
32 --- a/net-print/cups-filters/cups-filters-1.17.9.ebuild
33 +++ /dev/null
34 @@ -1,137 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -GENTOO_DEPEND_ON_PERL=no
41 -
42 -inherit perl-module systemd flag-o-matic
43 -
44 -if [[ "${PV}" == "9999" ]] ; then
45 - inherit bzr autotools
46 - EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
47 -else
48 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
49 - KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~m68k-mint"
50 -fi
51 -DESCRIPTION="Cups filters"
52 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
53 -
54 -LICENSE="MIT GPL-2"
55 -SLOT="0"
56 -IUSE="dbus +foomatic ipp_autosetup jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf"
57 -
58 -RDEPEND="
59 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
60 - >=app-text/qpdf-3.0.2:=
61 - dev-libs/glib:2
62 - media-libs/fontconfig
63 - media-libs/freetype:2
64 - media-libs/lcms:2
65 - >=net-print/cups-1.7.3
66 - !<=net-print/cups-1.5.9999
67 - sys-devel/bc
68 - sys-libs/zlib
69 - dbus? ( sys-apps/dbus )
70 - foomatic? ( !net-print/foomatic-filters )
71 - jpeg? ( virtual/jpeg:0 )
72 - ldap? ( net-nds/openldap )
73 - pclm? ( >=app-text/qpdf-7.0_beta1 )
74 - pdf? ( app-text/mupdf )
75 - perl? ( dev-lang/perl:= )
76 - png? ( media-libs/libpng:0= )
77 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
78 - tiff? ( media-libs/tiff:0 )
79 - zeroconf? ( net-dns/avahi[dbus] )
80 -"
81 -DEPEND="${RDEPEND}
82 - dev-util/gdbus-codegen
83 - test? ( media-fonts/dejavu )
84 -"
85 -
86 -src_prepare() {
87 - default
88 - [[ "${PV}" == "9999" ]] && eautoreconf
89 -
90 - # Bug #626800
91 - append-cxxflags -std=c++11
92 -}
93 -
94 -src_configure() {
95 - local myeconfargs=(
96 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
97 - --enable-imagefilters
98 - --localstatedir="${EPREFIX}"/var
99 - --with-browseremoteprotocols=DNSSD,CUPS
100 - --with-cups-rundir="${EPREFIX}"/run/cups
101 - --with-fontdir="fonts/conf.avail"
102 - --with-pdftops=pdftops
103 - --with-rcdir=no
104 - --without-php
105 - $(use_enable dbus)
106 - $(use_enable foomatic)
107 - $(use_enable ipp_autosetup auto-setup-driverless)
108 - $(use_enable ldap)
109 - $(use_enable pclm)
110 - $(use_enable pdf mutool)
111 - $(use_enable postscript ghostscript)
112 - $(use_enable postscript ijs)
113 - $(use_enable static-libs static)
114 - $(use_enable zeroconf avahi)
115 - $(use_with jpeg)
116 - $(use_with png)
117 - $(use_with tiff)
118 - )
119 - econf "${myeconfargs[@]}"
120 -}
121 -
122 -src_compile() {
123 - default
124 -
125 - if use perl; then
126 - pushd "${S}/scripting/perl" > /dev/null
127 - perl-module_src_configure
128 - perl-module_src_compile
129 - popd > /dev/null
130 - fi
131 -}
132 -
133 -src_install() {
134 - default
135 -
136 - if use perl; then
137 - pushd "${S}/scripting/perl" > /dev/null
138 - perl-module_src_install
139 - perl_delete_localpod
140 - popd > /dev/null
141 - fi
142 -
143 - if use postscript; then
144 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
145 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
146 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
147 - fi
148 -
149 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
150 -
151 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
152 -
153 - if ! use zeroconf ; then
154 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
155 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
156 - fi
157 -
158 - doinitd "${T}"/cups-browsed
159 - systemd_dounit "${S}/utils/cups-browsed.service"
160 -}
161 -
162 -src_test() {
163 - emake check
164 -}
165 -
166 -pkg_postinst() {
167 - if ! use foomatic ; then
168 - ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
169 - ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
170 - fi
171 -}
172
173 diff --git a/net-print/cups-filters/cups-filters-1.21.5.ebuild b/net-print/cups-filters/cups-filters-1.21.5.ebuild
174 deleted file mode 100644
175 index bf15e18628e..00000000000
176 --- a/net-print/cups-filters/cups-filters-1.21.5.ebuild
177 +++ /dev/null
178 @@ -1,137 +0,0 @@
179 -# Copyright 1999-2018 Gentoo Authors
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=6
183 -
184 -GENTOO_DEPEND_ON_PERL=no
185 -
186 -inherit perl-module systemd flag-o-matic
187 -
188 -if [[ "${PV}" == "9999" ]] ; then
189 - inherit bzr autotools
190 - EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
191 -else
192 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
193 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint"
194 -fi
195 -DESCRIPTION="Cups filters"
196 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
197 -
198 -LICENSE="MIT GPL-2"
199 -SLOT="0"
200 -IUSE="dbus +foomatic ipp_autosetup jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf"
201 -
202 -RDEPEND="
203 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
204 - >=app-text/qpdf-8.1.0:=
205 - dev-libs/glib:2
206 - media-libs/fontconfig
207 - media-libs/freetype:2
208 - media-libs/lcms:2
209 - >=net-print/cups-1.7.3
210 - !<=net-print/cups-1.5.9999
211 - sys-devel/bc
212 - sys-libs/zlib
213 - dbus? ( sys-apps/dbus )
214 - foomatic? ( !net-print/foomatic-filters )
215 - jpeg? ( virtual/jpeg:0 )
216 - ldap? ( net-nds/openldap )
217 - pclm? ( >=app-text/qpdf-8.1.0:= )
218 - pdf? ( app-text/mupdf )
219 - perl? ( dev-lang/perl:= )
220 - png? ( media-libs/libpng:0= )
221 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
222 - tiff? ( media-libs/tiff:0 )
223 - zeroconf? ( net-dns/avahi[dbus] )
224 -"
225 -DEPEND="${RDEPEND}
226 - dev-util/gdbus-codegen
227 - test? ( media-fonts/dejavu )
228 -"
229 -
230 -src_prepare() {
231 - default
232 - [[ "${PV}" == "9999" ]] && eautoreconf
233 -
234 - # Bug #626800
235 - append-cxxflags -std=c++11
236 -}
237 -
238 -src_configure() {
239 - local myeconfargs=(
240 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
241 - --enable-imagefilters
242 - --localstatedir="${EPREFIX}"/var
243 - --with-browseremoteprotocols=DNSSD,CUPS
244 - --with-cups-rundir="${EPREFIX}"/run/cups
245 - --with-fontdir="fonts/conf.avail"
246 - --with-pdftops=pdftops
247 - --with-rcdir=no
248 - --without-php
249 - $(use_enable dbus)
250 - $(use_enable foomatic)
251 - $(use_enable ipp_autosetup auto-setup-driverless)
252 - $(use_enable ldap)
253 - $(use_enable pclm)
254 - $(use_enable pdf mutool)
255 - $(use_enable postscript ghostscript)
256 - $(use_enable postscript ijs)
257 - $(use_enable static-libs static)
258 - $(use_enable zeroconf avahi)
259 - $(use_with jpeg)
260 - $(use_with png)
261 - $(use_with tiff)
262 - )
263 - econf "${myeconfargs[@]}"
264 -}
265 -
266 -src_compile() {
267 - default
268 -
269 - if use perl; then
270 - pushd "${S}/scripting/perl" > /dev/null
271 - perl-module_src_configure
272 - perl-module_src_compile
273 - popd > /dev/null
274 - fi
275 -}
276 -
277 -src_install() {
278 - default
279 -
280 - if use perl; then
281 - pushd "${S}/scripting/perl" > /dev/null
282 - perl-module_src_install
283 - perl_delete_localpod
284 - popd > /dev/null
285 - fi
286 -
287 - if use postscript; then
288 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
289 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
290 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
291 - fi
292 -
293 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
294 -
295 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
296 -
297 - if ! use zeroconf ; then
298 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
299 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
300 - fi
301 -
302 - doinitd "${T}"/cups-browsed
303 - systemd_dounit "${S}/utils/cups-browsed.service"
304 -}
305 -
306 -src_test() {
307 - emake check
308 -}
309 -
310 -pkg_postinst() {
311 - if ! use foomatic ; then
312 - ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
313 - ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
314 - fi
315 -}