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: Tue, 30 Jan 2018 10:14:45
Message-Id: 1517307275.f7d7ba1c36cc3c2636d23202df7b2a9bb381276e.polynomial-c@gentoo
1 commit: f7d7ba1c36cc3c2636d23202df7b2a9bb381276e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 10:14:09 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 10:14:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d7ba1c
7
8 net-print/cups-filters: Removed old.
9
10 Package-Manager: Portage-2.3.21, Repoman-2.3.6
11
12 net-print/cups-filters/Manifest | 1 -
13 net-print/cups-filters/cups-filters-1.18.0.ebuild | 137 ----------------------
14 2 files changed, 138 deletions(-)
15
16 diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
17 index d3d025db6fb..1c8d573cf8e 100644
18 --- a/net-print/cups-filters/Manifest
19 +++ b/net-print/cups-filters/Manifest
20 @@ -1,5 +1,4 @@
21 DIST cups-filters-1.16.4.tar.xz 1440964 BLAKE2B d25525fe9db6e42b244f15550ddb3e9f58bd7048209f9d62b4896245945e11d5fa1658e5882faf0eb0aaa6a465153d222cd1d90cc94d25895522f5313b9089da SHA512 367c2c1d6755800b88f79808ef0c595aa80b080634299d015828bfb8f0e27085aa052c77e3f3f1645833340caca709bec8e00b46070ff4d13b9994fb1400da60
22 DIST cups-filters-1.17.9.tar.xz 1454068 BLAKE2B 7c4b1c1a017cbaaf5d413071195ce53e3088874e55fd98264018f033f0948449b70623adc2c6e136a7441cf4cbef4470811694379bc798aeff81fe3ed80e66ca SHA512 811d2671c660a2129c207d5d8daaa576b027ba14ac4cf4753d0e8c1190866a684e284f1e7439b864aaab332e429befbc13c567bf6c9fc1a502fe2cd7d11e5ed4
23 -DIST cups-filters-1.18.0.tar.xz 1457748 BLAKE2B 6db45707d3c0bdd369407023423a02f8909936daeccdecf1be6007d782888352c15c5590f845e074ca8da271ce1d7262c8b98a0ec8df6e383622654c06730d29 SHA512 260f4d4c635b4ca0222a9a90a6675d7ecb1cf8b4f4428431c263f50f9152537331d2c7d77c4fa0f899a12beecd6500f6ca146f4e2d087cc6525919aa0b922647
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
27 diff --git a/net-print/cups-filters/cups-filters-1.18.0.ebuild b/net-print/cups-filters/cups-filters-1.18.0.ebuild
28 deleted file mode 100644
29 index bfed0b638e9..00000000000
30 --- a/net-print/cups-filters/cups-filters-1.18.0.ebuild
31 +++ /dev/null
32 @@ -1,137 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -GENTOO_DEPEND_ON_PERL=no
39 -
40 -inherit perl-module systemd flag-o-matic
41 -
42 -if [[ "${PV}" == "9999" ]] ; then
43 - inherit bzr autotools
44 - EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
45 -else
46 - SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
47 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint"
48 -fi
49 -DESCRIPTION="Cups filters"
50 -HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters"
51 -
52 -LICENSE="MIT GPL-2"
53 -SLOT="0"
54 -IUSE="dbus +foomatic ipp_autosetup jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf"
55 -
56 -RDEPEND="
57 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
58 - >=app-text/qpdf-3.0.2:=
59 - dev-libs/glib:2
60 - media-libs/fontconfig
61 - media-libs/freetype:2
62 - media-libs/lcms:2
63 - >=net-print/cups-1.7.3
64 - !<=net-print/cups-1.5.9999
65 - sys-devel/bc
66 - sys-libs/zlib
67 - dbus? ( sys-apps/dbus )
68 - foomatic? ( !net-print/foomatic-filters )
69 - jpeg? ( virtual/jpeg:0 )
70 - ldap? ( net-nds/openldap )
71 - pclm? ( >=app-text/qpdf-7.0_beta1 )
72 - pdf? ( app-text/mupdf )
73 - perl? ( dev-lang/perl:= )
74 - png? ( media-libs/libpng:0= )
75 - postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
76 - tiff? ( media-libs/tiff:0 )
77 - zeroconf? ( net-dns/avahi[dbus] )
78 -"
79 -DEPEND="${RDEPEND}
80 - dev-util/gdbus-codegen
81 - test? ( media-fonts/dejavu )
82 -"
83 -
84 -src_prepare() {
85 - default
86 - [[ "${PV}" == "9999" ]] && eautoreconf
87 -
88 - # Bug #626800
89 - append-cxxflags -std=c++11
90 -}
91 -
92 -src_configure() {
93 - local myeconfargs=(
94 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
95 - --enable-imagefilters
96 - --localstatedir="${EPREFIX}"/var
97 - --with-browseremoteprotocols=DNSSD,CUPS
98 - --with-cups-rundir="${EPREFIX}"/run/cups
99 - --with-fontdir="fonts/conf.avail"
100 - --with-pdftops=pdftops
101 - --with-rcdir=no
102 - --without-php
103 - $(use_enable dbus)
104 - $(use_enable foomatic)
105 - $(use_enable ipp_autosetup auto-setup-driverless)
106 - $(use_enable ldap)
107 - $(use_enable pclm)
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 -}