Gentoo Archives: gentoo-commits

From: "Andreas Huettel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/cups-filters: cups-filters-1.0.70.ebuild ChangeLog
Date: Tue, 30 Jun 2015 14:30:46
Message-Id: 20150630143036.BE54A749@oystercatcher.gentoo.org
1 dilfridge 15/06/30 14:30:36
2
3 Modified: ChangeLog
4 Added: cups-filters-1.0.70.ebuild
5 Log:
6 Version bump, bug 553644
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
9
10 Revision Changes Path
11 1.149 net-print/cups-filters/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/ChangeLog?rev=1.149&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/ChangeLog?rev=1.149&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/ChangeLog?r1=1.148&r2=1.149
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v
20 retrieving revision 1.148
21 retrieving revision 1.149
22 diff -u -r1.148 -r1.149
23 --- ChangeLog 18 May 2015 20:44:49 -0000 1.148
24 +++ ChangeLog 30 Jun 2015 14:30:36 -0000 1.149
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-print/cups-filters
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v 1.148 2015/05/18 20:44:49 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/ChangeLog,v 1.149 2015/06/30 14:30:36 dilfridge Exp $
30 +
31 +*cups-filters-1.0.70 (30 Jun 2015)
32 +
33 + 30 Jun 2015; Andreas K. Huettel <dilfridge@g.o>
34 + +cups-filters-1.0.70.ebuild:
35 + Version bump, bug 553644
36
37 *cups-filters-1.0.68 (18 May 2015)
38
39
40
41
42 1.1 net-print/cups-filters/cups-filters-1.0.70.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/cups-filters-1.0.70.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/cups-filters-1.0.70.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cups-filters-1.0.70.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-print/cups-filters/cups-filters-1.0.70.ebuild,v 1.1 2015/06/30 14:30:36 dilfridge Exp $
52
53 EAPI=5
54
55 GENTOO_DEPEND_ON_PERL=no
56
57 inherit base eutils perl-module autotools systemd
58
59 if [[ "${PV}" == "9999" ]] ; then
60 inherit bzr
61 EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters"
62 KEYWORDS=""
63 else
64 SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint"
66 fi
67 DESCRIPTION="Cups PDF filters"
68 HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat"
69
70 LICENSE="MIT GPL-2"
71 SLOT="0"
72 IUSE="dbus +foomatic jpeg perl png static-libs tiff zeroconf"
73
74 RDEPEND="
75 >=app-text/ghostscript-gpl-9.09
76 app-text/poppler:=[cxx,jpeg?,lcms,tiff?,xpdf-headers(+)]
77 >=app-text/qpdf-3.0.2:=
78 media-libs/fontconfig
79 media-libs/freetype:2
80 media-libs/lcms:2
81 >=net-print/cups-1.7.3
82 !<=net-print/cups-1.5.9999
83 sys-devel/bc
84 sys-libs/zlib
85 dbus? ( sys-apps/dbus )
86 foomatic? ( !net-print/foomatic-filters )
87 jpeg? ( virtual/jpeg:0 )
88 perl? ( dev-lang/perl:= )
89 png? ( media-libs/libpng:0= )
90 tiff? ( media-libs/tiff:0 )
91 zeroconf? ( net-dns/avahi[dbus] )
92 "
93 DEPEND="${RDEPEND}"
94
95 src_prepare() {
96 base_src_prepare
97 sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
98 eautoreconf
99 }
100
101 src_configure() {
102 econf \
103 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
104 $(use_enable dbus) \
105 $(use_enable zeroconf avahi) \
106 $(use_enable static-libs static) \
107 --with-fontdir="fonts/conf.avail" \
108 --with-pdftops=pdftops \
109 --enable-imagefilters \
110 $(use_with jpeg) \
111 $(use_with png) \
112 $(use_with tiff) \
113 --with-rcdir=no \
114 --with-browseremoteprotocols=DNSSD,CUPS \
115 --without-php
116 }
117
118 src_compile() {
119 MAKEOPTS=-j1 default
120
121 if use perl; then
122 pushd "${S}/scripting/perl" > /dev/null
123 perl-module_src_configure
124 perl-module_src_compile
125 popd > /dev/null
126 fi
127 }
128
129 src_install() {
130 default
131
132 if use perl; then
133 pushd "${S}/scripting/perl" > /dev/null
134 perl-module_src_install
135 perl_delete_localpod
136 popd > /dev/null
137 fi
138
139 # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
140 dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster
141 dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl
142
143 prune_libtool_files --all
144
145 cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die
146
147 if ! use zeroconf ; then
148 sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die
149 sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
150 fi
151
152 if ! use foomatic ; then
153 # this needs an upstream solution / configure switch
154 rm -v "${ED}/usr/bin/foomatic-rip" || die
155 rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die
156 rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || die
157 fi
158
159 doinitd "${T}"/cups-browsed
160 systemd_dounit "${S}/utils/cups-browsed.service"
161 }
162
163 pkg_postinst() {
164 if ! use foomatic ; then
165 ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely."
166 ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained."
167 fi
168 }