Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/cups-filters/
Date: Thu, 29 Oct 2015 20:48:15
Message-Id: 1446151675.445b2d7a80413a6e63cb8892f9a7f626782349ce.mrueg@gentoo
1 commit: 445b2d7a80413a6e63cb8892f9a7f626782349ce
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 29 20:47:55 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 29 20:47:55 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=445b2d7a
7
8 net-print/cups-filters: Remove old
9
10 Package-Manager: portage-2.2.23
11
12 net-print/cups-filters/Manifest | 2 -
13 net-print/cups-filters/cups-filters-1.0.73.ebuild | 122 ----------------------
14 net-print/cups-filters/cups-filters-1.0.74.ebuild | 122 ----------------------
15 3 files changed, 246 deletions(-)
16
17 diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
18 index 9807d41..7039cce 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.0.71.tar.xz 1339116 SHA256 3180aa209c383402822e568ccef8e1ca43f51e30b3af2039c34ebae919a69c1f SHA512 dc243e88d535c8d7e7fd53074b1093a46fc22742504efa09096d2b216846df875e4d914f25d2f726034692538cfdf1b713bc1ef44d199003a21e242b99f44a01 WHIRLPOOL 4afc7079594563f57af81501192cc0cba19db6cd5c10a9544339858a343e245b485e528fbf80eecd711341b23b8321bde817c49db7ddd2f0b801da2b4b9c580d
23 -DIST cups-filters-1.0.73.tar.xz 1351652 SHA256 84521dc5079e683144e95e22ffcdbc3d51c44f9d4079c5bcc7f7ff421e94ec75 SHA512 ae380403569640fab21c9a0914b894628bcc57b709d68c05b620ec425734436281fe752d99b83c114927110489e523ffdb676b723109094dc7ef6d53bc9e8f41 WHIRLPOOL 3c447ed182a73cab84349101f5846c0cf9784de0b50960bc689de3f4086becf392229d378cc5fa70857adc66191f67e564ed5b6f2c081a7184e62b788d1f80f9
24 -DIST cups-filters-1.0.74.tar.xz 1352328 SHA256 55e86080c3778d247d88bf6232947cb7c2057a6bce501c6e707800846f71119b SHA512 b7eac4915ee95524af37342bd3dcb4a430052f32360654df5c2cab9373c1c1993d51f5066b44936f5a0ed43b4f34ff22db54f65de1eff4361469577621496954 WHIRLPOOL 07da3a30af49b6ae73d308260b73ef4a67989fab9a2546bd40c75a921c51e058b2e7cab418d8e8e51def1dc414ba6d9c7924cddd1652b59fb160d07806b0454d
25 DIST cups-filters-1.0.75.tar.xz 1352492 SHA256 7c69ecea306e33d940b698ef34230c126a1016a5a02c8b18faa466d1aa4c3073 SHA512 a385f4c3aeca8c9a8c9b577b4f90e3e4ceb4488795dd5215b36a6d34832b0719d08d4bd8f653bda6182e5433ee046bae00dd1ab46aa932e66480e3657225c15f WHIRLPOOL 4fcd637c445a7f9b18a8b29185e36169be766f743ff14f1601909110fdb40a4e42c6e58253d63162b263d2efd15f98de0e3731ad1afcb6c909a497c798a3b6d3
26 DIST cups-filters-1.0.76.tar.xz 1353016 SHA256 b3a190b11a102af6994e41d2cfa47e5caf999c7d046f3c0b940f6b38729f5b32 SHA512 1c438ffc10551b79468f7f850e8f036defaa9c2e1114153107ff909904f25786c36635ea29cb8b07a2d6df37ab2e68bd91731d783e279f1a36decba9204baf7d WHIRLPOOL c9f0e0347f434aab1bc041c56704343fea1c656a355d69d274f3ab5883471815962ae23e9d96533b945e119dff4d3d8204a31b35a179e59b435d067fdc8e2a07
27 DIST cups-filters-1.1.0.tar.xz 1357364 SHA256 03505a803799308f22bebd6ff8162a12efb4cfd5cfcd39f81479ae6301d52c7b SHA512 1138aa4c9ff6f870b018af738d221cc20ba01375cfb6f63a87a62277f4180ca3c426a79c2c19ccbf6d592245c22c926cd86afc0a9987f20b545047a1e3c4dbb4 WHIRLPOOL 15caeb7d705068824ea6f1e6776d30110af056e8ed9299eea84c111d3f884dc29cdec34591c8bf71be597b02bdadedd99517934bb6b78c339d9efb4be335fd8e
28
29 diff --git a/net-print/cups-filters/cups-filters-1.0.73.ebuild b/net-print/cups-filters/cups-filters-1.0.73.ebuild
30 deleted file mode 100644
31 index 924c515..0000000
32 --- a/net-print/cups-filters/cups-filters-1.0.73.ebuild
33 +++ /dev/null
34 @@ -1,122 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Id$
38 -
39 -EAPI=5
40 -
41 -GENTOO_DEPEND_ON_PERL=no
42 -
43 -inherit base eutils perl-module autotools systemd
44 -
45 -if [[ "${PV}" == "9999" ]] ; then
46 - inherit bzr
47 - EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
48 - KEYWORDS=""
49 -else
50 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
51 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint"
52 -fi
53 -DESCRIPTION="Cups PDF filters"
54 -HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat"
55 -
56 -LICENSE="MIT GPL-2"
57 -SLOT="0"
58 -IUSE="dbus +foomatic jpeg perl png static-libs tiff zeroconf"
59 -
60 -RDEPEND="
61 - >=app-text/ghostscript-gpl-9.09
62 - app-text/poppler:=[cxx,jpeg?,lcms,tiff?,xpdf-headers(+)]
63 - >=app-text/qpdf-3.0.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 - perl? ( dev-lang/perl:= )
75 - png? ( media-libs/libpng:0= )
76 - tiff? ( media-libs/tiff:0 )
77 - zeroconf? ( net-dns/avahi[dbus] )
78 -"
79 -DEPEND="${RDEPEND}
80 - dev-util/gdbus-codegen
81 -"
82 -
83 -src_prepare() {
84 - base_src_prepare
85 - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
86 - eautoreconf
87 -}
88 -
89 -src_configure() {
90 - econf \
91 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
92 - $(use_enable dbus) \
93 - $(use_enable zeroconf avahi) \
94 - $(use_enable static-libs static) \
95 - --with-fontdir="fonts/conf.avail" \
96 - --with-pdftops=pdftops \
97 - --enable-imagefilters \
98 - $(use_with jpeg) \
99 - $(use_with png) \
100 - $(use_with tiff) \
101 - --with-rcdir=no \
102 - --with-browseremoteprotocols=DNSSD,CUPS \
103 - --without-php
104 -}
105 -
106 -src_compile() {
107 - MAKEOPTS=-j1 default
108 -
109 - if use perl; then
110 - pushd "${S}/scripting/perl" > /dev/null
111 - perl-module_src_configure
112 - perl-module_src_compile
113 - popd > /dev/null
114 - fi
115 -}
116 -
117 -src_install() {
118 - default
119 -
120 - if use perl; then
121 - pushd "${S}/scripting/perl" > /dev/null
122 - perl-module_src_install
123 - perl_delete_localpod
124 - popd > /dev/null
125 - fi
126 -
127 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
128 - dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster
129 - dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl
130 -
131 - prune_libtool_files --all
132 -
133 - cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die
134 -
135 - if ! use zeroconf ; then
136 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
137 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
138 - fi
139 -
140 - if ! use foomatic ; then
141 - # this needs an upstream solution / configure switch
142 - rm -v "${ED}/usr/bin/foomatic-rip" || die
143 - rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die
144 - rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || 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.0.74.ebuild b/net-print/cups-filters/cups-filters-1.0.74.ebuild
159 deleted file mode 100644
160 index 924c515..0000000
161 --- a/net-print/cups-filters/cups-filters-1.0.74.ebuild
162 +++ /dev/null
163 @@ -1,122 +0,0 @@
164 -# Copyright 1999-2015 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 base eutils perl-module autotools systemd
173 -
174 -if [[ "${PV}" == "9999" ]] ; then
175 - inherit bzr
176 - EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
177 - KEYWORDS=""
178 -else
179 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
180 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint"
181 -fi
182 -DESCRIPTION="Cups PDF filters"
183 -HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat"
184 -
185 -LICENSE="MIT GPL-2"
186 -SLOT="0"
187 -IUSE="dbus +foomatic jpeg perl png static-libs tiff zeroconf"
188 -
189 -RDEPEND="
190 - >=app-text/ghostscript-gpl-9.09
191 - app-text/poppler:=[cxx,jpeg?,lcms,tiff?,xpdf-headers(+)]
192 - >=app-text/qpdf-3.0.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 - perl? ( dev-lang/perl:= )
204 - png? ( media-libs/libpng:0= )
205 - tiff? ( media-libs/tiff:0 )
206 - zeroconf? ( net-dns/avahi[dbus] )
207 -"
208 -DEPEND="${RDEPEND}
209 - dev-util/gdbus-codegen
210 -"
211 -
212 -src_prepare() {
213 - base_src_prepare
214 - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
215 - eautoreconf
216 -}
217 -
218 -src_configure() {
219 - econf \
220 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
221 - $(use_enable dbus) \
222 - $(use_enable zeroconf avahi) \
223 - $(use_enable static-libs static) \
224 - --with-fontdir="fonts/conf.avail" \
225 - --with-pdftops=pdftops \
226 - --enable-imagefilters \
227 - $(use_with jpeg) \
228 - $(use_with png) \
229 - $(use_with tiff) \
230 - --with-rcdir=no \
231 - --with-browseremoteprotocols=DNSSD,CUPS \
232 - --without-php
233 -}
234 -
235 -src_compile() {
236 - MAKEOPTS=-j1 default
237 -
238 - if use perl; then
239 - pushd "${S}/scripting/perl" > /dev/null
240 - perl-module_src_configure
241 - perl-module_src_compile
242 - popd > /dev/null
243 - fi
244 -}
245 -
246 -src_install() {
247 - default
248 -
249 - if use perl; then
250 - pushd "${S}/scripting/perl" > /dev/null
251 - perl-module_src_install
252 - perl_delete_localpod
253 - popd > /dev/null
254 - fi
255 -
256 - # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
257 - dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster
258 - dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl
259 -
260 - prune_libtool_files --all
261 -
262 - cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die
263 -
264 - if ! use zeroconf ; then
265 - sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
266 - sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
267 - fi
268 -
269 - if ! use foomatic ; then
270 - # this needs an upstream solution / configure switch
271 - rm -v "${ED}/usr/bin/foomatic-rip" || die
272 - rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die
273 - rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || die
274 - fi
275 -
276 - doinitd "${T}"/cups-browsed
277 - systemd_dounit "${S}/utils/cups-browsed.service"
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 -}