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