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: Thu, 22 Sep 2016 08:20:18
Message-Id: 1474532405.b4cc99af1ffdbac50cdf754e8237618fb85b903c.polynomial-c@gentoo
1 commit: b4cc99af1ffdbac50cdf754e8237618fb85b903c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 08:19:50 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 08:20:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4cc99af
7
8 net-print/cups-filters: Removed old.
9
10 Package-Manager: portage-2.3.1
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.11.1.ebuild | 122 ----------------------
15 net-print/cups-filters/cups-filters-1.11.2.ebuild | 122 ----------------------
16 3 files changed, 246 deletions(-)
17
18 diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
19 index ecb93e7..d3bf840 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.11.1.tar.xz 1403392 SHA256 a886497313ca7f405d3b2babb85b3a4edf5702803863df4e15c9450b83ed1274 SHA512 be475126fb30690b86471733bcfd27a9696fdc0e1053e5c3ac99673608383ad446ecbc8f45ecdeced3ebe70918976f9253ea0097b54bcd01e79e9887c230c22f WHIRLPOOL 752d5cd95c27b729fab6c47af3a1286b51b624d7aa7608e83758cc392e4fb3bf09790fe6ca4d8d668ad4560df7642f114458d051e84d3e92178782d30ad24312
24 -DIST cups-filters-1.11.2.tar.xz 1404832 SHA256 4b485408897953889ce41d2981fa71a5479b70d8d1d853829d205492ce250675 SHA512 7a396a0921ed54f2c6705b00faea9e5f098b0632beb526bf131af134307bbf6f01a952b88c4983fbda4b5367ed84e9cb0e69a78d5f31bef1fc1198bae70e43c5 WHIRLPOOL d9d523202b8337e21a5f9c8de0af68223dfb0282da8f22cfd3523881a81d52befff12a884ba480ae5a95f142b85e884b18c95d73d69ab77e10361767bb9b7aae
25 DIST cups-filters-1.11.3.tar.xz 1408372 SHA256 76734a44633bebb0a7a840a965c7b67b1e08cf8b70f24cb8c3d83980c10a405f SHA512 95b7c55ae459036afa2df1493d5f28e889929e59a702563c2761db0bde2fb807bd62e380683dc0ee0ee366fe416e1872b17566d01a26124256471a241c397957 WHIRLPOOL 729c3031d20630d50aeada4dd9fadc84b17748fe5a63a4bc955d9b0945418cbcd4a83e3dfa8d1473a0b809964a1715fea46bd184d0257a46f22affba9fc29a49
26 DIST cups-filters-1.11.4.tar.xz 1408760 SHA256 d6288dc9d13f16c54e74979fd2a3e3fceee882a13a47553967ae69f51d32b849 SHA512 80ba8a0c7c4f55e879a478a2a8ae78823fa55b988c65c7e9eb7f1a9750a593637be3bd5d7d4f57cc7819430d65da8b9148712bbbde56c0ccd8f0fcda13f133e4 WHIRLPOOL a2f42a9bd5a6881d023b1f1b0b7ea66f15067e828c4d714d32eb7f15ae8b09875504bc55b25d83f23a058ded863699a37cf20f6ffd627c10357dcf1251b36da1
27 DIST cups-filters-1.5.0.tar.xz 1375588 SHA256 f22a8864e8d5b693795605a31345c08cc68f85120ebde9a0aa7bc27639815932 SHA512 81574f8368aaef61aeee4369caa394f2c8cdc717b03687d8a17c7927892f07cff68f1efb8d674757cb97001b55fd58fa5c14784a510ce9d31e385b1a73cd18c7 WHIRLPOOL 4201d08a2bb76d349a6b9f7220eb48dea86bb81c0cedbe8dcb8796c49ce26f67f6a7c49677b4fc7b6f865eb20e3c806746f565668e9f9e1e3935630621d032cd
28
29 diff --git a/net-print/cups-filters/cups-filters-1.11.1.ebuild b/net-print/cups-filters/cups-filters-1.11.1.ebuild
30 deleted file mode 100644
31 index 06ee8f4..00000000
32 --- a/net-print/cups-filters/cups-filters-1.11.1.ebuild
33 +++ /dev/null
34 @@ -1,122 +0,0 @@
35 -# Copyright 1999-2016 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI=6
40 -
41 -GENTOO_DEPEND_ON_PERL=no
42 -
43 -inherit eutils perl-module systemd
44 -
45 -if [[ "${PV}" == "9999" ]] ; then
46 - inherit bzr
47 - EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
48 -else
49 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
50 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint"
51 -fi
52 -DESCRIPTION="Cups PDF filters"
53 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/pdf_as_standard_print_job_format"
54 -
55 -LICENSE="MIT GPL-2"
56 -SLOT="0"
57 -IUSE="dbus +foomatic jpeg ldap perl png +postscript static-libs tiff zeroconf"
58 -
59 -RDEPEND="
60 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
61 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,xpdf-headers(+)]
62 - >=app-text/qpdf-3.0.2:=
63 - dev-libs/glib:2
64 - media-libs/fontconfig
65 - media-libs/freetype:2
66 - media-libs/lcms:2
67 - >=net-print/cups-1.7.3
68 - !<=net-print/cups-1.5.9999
69 - sys-devel/bc
70 - sys-libs/zlib
71 - dbus? ( sys-apps/dbus )
72 - foomatic? ( !net-print/foomatic-filters )
73 - jpeg? ( virtual/jpeg:0 )
74 - ldap? ( net-nds/openldap )
75 - perl? ( dev-lang/perl:= )
76 - png? ( media-libs/libpng:0= )
77 - tiff? ( media-libs/tiff:0 )
78 - zeroconf? ( net-dns/avahi[dbus] )
79 -"
80 -DEPEND="${RDEPEND}
81 - dev-util/gdbus-codegen
82 -"
83 -
84 -src_configure() {
85 - econf \
86 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
87 - --localstatedir="${EPREFIX}"/var \
88 - --with-cups-rundir="${EPREFIX}"/run/cups \
89 - $(use_enable dbus) \
90 - $(use_enable zeroconf avahi) \
91 - $(use_enable static-libs static) \
92 - $(use_enable foomatic) \
93 - $(use_enable ldap) \
94 - $(use_enable postscript ghostscript) \
95 - $(use_enable postscript ijs) \
96 - --with-fontdir="fonts/conf.avail" \
97 - --with-pdftops=pdftops \
98 - --enable-imagefilters \
99 - $(use_with jpeg) \
100 - $(use_with png) \
101 - $(use_with tiff) \
102 - --with-rcdir=no \
103 - --with-browseremoteprotocols=DNSSD,CUPS \
104 - --without-php
105 -}
106 -
107 -src_compile() {
108 - default
109 -
110 - if use perl; then
111 - pushd "${S}/scripting/perl" > /dev/null
112 - perl-module_src_configure
113 - perl-module_src_compile
114 - popd > /dev/null
115 - fi
116 -}
117 -
118 -src_install() {
119 - default
120 -
121 - if use perl; then
122 - pushd "${S}/scripting/perl" > /dev/null
123 - perl-module_src_install
124 - perl_delete_localpod
125 - popd > /dev/null
126 - fi
127 -
128 - if use postscript; then
129 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
130 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
131 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
132 - fi
133 -
134 - prune_libtool_files --all
135 -
136 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
137 -
138 - if ! use zeroconf ; then
139 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
140 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
141 - fi
142 -
143 - doinitd "${T}"/cups-browsed
144 - systemd_dounit "${S}/utils/cups-browsed.service"
145 -}
146 -
147 -src_test() {
148 - emake check
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.11.2.ebuild b/net-print/cups-filters/cups-filters-1.11.2.ebuild
159 deleted file mode 100644
160 index 06ee8f4..00000000
161 --- a/net-print/cups-filters/cups-filters-1.11.2.ebuild
162 +++ /dev/null
163 @@ -1,122 +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=6
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="https://wiki.linuxfoundation.org/openprinting/pdf_as_standard_print_job_format"
183 -
184 -LICENSE="MIT GPL-2"
185 -SLOT="0"
186 -IUSE="dbus +foomatic jpeg ldap perl png +postscript static-libs tiff zeroconf"
187 -
188 -RDEPEND="
189 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
190 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,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 - --localstatedir="${EPREFIX}"/var \
217 - --with-cups-rundir="${EPREFIX}"/run/cups \
218 - $(use_enable dbus) \
219 - $(use_enable zeroconf avahi) \
220 - $(use_enable static-libs static) \
221 - $(use_enable foomatic) \
222 - $(use_enable ldap) \
223 - $(use_enable postscript ghostscript) \
224 - $(use_enable postscript ijs) \
225 - --with-fontdir="fonts/conf.avail" \
226 - --with-pdftops=pdftops \
227 - --enable-imagefilters \
228 - $(use_with jpeg) \
229 - $(use_with png) \
230 - $(use_with tiff) \
231 - --with-rcdir=no \
232 - --with-browseremoteprotocols=DNSSD,CUPS \
233 - --without-php
234 -}
235 -
236 -src_compile() {
237 - default
238 -
239 - if use perl; then
240 - pushd "${S}/scripting/perl" > /dev/null
241 - perl-module_src_configure
242 - perl-module_src_compile
243 - popd > /dev/null
244 - fi
245 -}
246 -
247 -src_install() {
248 - default
249 -
250 - if use perl; then
251 - pushd "${S}/scripting/perl" > /dev/null
252 - perl-module_src_install
253 - perl_delete_localpod
254 - popd > /dev/null
255 - fi
256 -
257 - if use postscript; then
258 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
259 - dosym gstoraster /usr/libexec/cups/filter/pstoraster
260 - dosym gstopxl /usr/libexec/cups/filter/pstopxl
261 - fi
262 -
263 - prune_libtool_files --all
264 -
265 - cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die
266 -
267 - if ! use zeroconf ; then
268 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
269 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
270 - fi
271 -
272 - doinitd "${T}"/cups-browsed
273 - systemd_dounit "${S}/utils/cups-browsed.service"
274 -}
275 -
276 -src_test() {
277 - emake check
278 -}
279 -
280 -pkg_postinst() {
281 - if ! use foomatic ; then
282 - ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
283 - ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
284 - fi
285 -}