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: Sun, 01 Dec 2019 19:50:24
Message-Id: 1575229798.5c205e5ea0e4ceced104fc70b7b5ea9bb34fc82c.polynomial-c@gentoo
1 commit: 5c205e5ea0e4ceced104fc70b7b5ea9bb34fc82c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 1 19:35:45 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 19:49:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c205e5e
7
8 net-print/cups-filters: Removed old
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-print/cups-filters/Manifest | 1 -
14 net-print/cups-filters/cups-filters-1.21.6.ebuild | 139 ----------------------
15 2 files changed, 140 deletions(-)
16
17 diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest
18 index 6defb369733..f15ed9285bc 100644
19 --- a/net-print/cups-filters/Manifest
20 +++ b/net-print/cups-filters/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST cups-filters-1.21.6.tar.xz 1474944 BLAKE2B a4c3418accb9d2bf46a366ec6004919d2a5c2c0a02022102270da17fb81915428275aadf58f1f50f8ca022e1c09cbdbd7300492fa38c53d4a2cbc4c4b86a09e3 SHA512 804250745ac710706ff1bfa6e161c0b1a8a65a74850a76a311b7614694a7e5d07f01dfd15f277ad79ed7fe1e84ea680bab1643e0b82cefa3e26603fa2eea935a
23 DIST cups-filters-1.25.11.tar.xz 1482792 BLAKE2B 67801904dbe025933d1209817e23ff74b661b35c3af560081f12d4f9a26102e009bac9d4741e15dc257dd477967b18ae23911647f8f56b361e9f8d51b0d619f2 SHA512 67e7c624952b5e2db33a698ac1287a3448a4787fa28000cefc5a982c2fa18a4f56e11e3ba65da8a6e565a53a193c6eb31ba1867ad36ca8dc7e61250f11232681
24 DIST cups-filters-1.25.12.tar.xz 1484148 BLAKE2B 55f05d9c5bf8ae7eb3416de8b1bc2fe919a43875753ee0c02a1fae319d72e7d71a2e46ae8888e840972ba79bb39d515a54b276729648c872ac6c59bfbca02fa0 SHA512 587b8d550923fb5be9f71172e613af7b2bd0e70f780143574482c5efcc2cf869f7d715f63323e63a8f00acd3f08f7e0803cc5a723cdd903229389e7ce11b0c16
25 DIST cups-filters-1.25.13.tar.xz 1485860 BLAKE2B 03fbbbefdd36e8f619fabf17e6e13d051f48f68f87260747a181f6976ff88728d7d01b646227cd5f054e0321f6fe0e64e4c6b1bdba631d9d703304ad98a625eb SHA512 4b5ef647870235436276db68f3ef1879b578807338a025100a1d43115a7330a8f506be631df9c43edb2f1ec15f9a42f15f7cdc725bb5d39612b37bae04631611
26
27 diff --git a/net-print/cups-filters/cups-filters-1.21.6.ebuild b/net-print/cups-filters/cups-filters-1.21.6.ebuild
28 deleted file mode 100644
29 index ba9153b902a..00000000000
30 --- a/net-print/cups-filters/cups-filters-1.21.6.ebuild
31 +++ /dev/null
32 @@ -1,139 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
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 ~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 -RESTRICT="!test? ( test )"
57 -
58 -RDEPEND="
59 - >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils]
60 - >=app-text/qpdf-8.1.0:=
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-8.1.0:= )
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 -}