1 |
commit: 202805a6aac7f88167637d218163ec84246aede1 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 21:05:47 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 21:05:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202805a6 |
7 |
|
8 |
net-print/cups-filters: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-print/cups-filters/Manifest | 1 + |
13 |
net-print/cups-filters/cups-filters-1.2.0.ebuild | 122 +++++++++++++++++++++++ |
14 |
2 files changed, 123 insertions(+) |
15 |
|
16 |
diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest |
17 |
index 7039cce..6bbdcae 100644 |
18 |
--- a/net-print/cups-filters/Manifest |
19 |
+++ b/net-print/cups-filters/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST cups-filters-1.0.71.tar.xz 1339116 SHA256 3180aa209c383402822e568ccef8e1ca4 |
21 |
DIST cups-filters-1.0.75.tar.xz 1352492 SHA256 7c69ecea306e33d940b698ef34230c126a1016a5a02c8b18faa466d1aa4c3073 SHA512 a385f4c3aeca8c9a8c9b577b4f90e3e4ceb4488795dd5215b36a6d34832b0719d08d4bd8f653bda6182e5433ee046bae00dd1ab46aa932e66480e3657225c15f WHIRLPOOL 4fcd637c445a7f9b18a8b29185e36169be766f743ff14f1601909110fdb40a4e42c6e58253d63162b263d2efd15f98de0e3731ad1afcb6c909a497c798a3b6d3 |
22 |
DIST cups-filters-1.0.76.tar.xz 1353016 SHA256 b3a190b11a102af6994e41d2cfa47e5caf999c7d046f3c0b940f6b38729f5b32 SHA512 1c438ffc10551b79468f7f850e8f036defaa9c2e1114153107ff909904f25786c36635ea29cb8b07a2d6df37ab2e68bd91731d783e279f1a36decba9204baf7d WHIRLPOOL c9f0e0347f434aab1bc041c56704343fea1c656a355d69d274f3ab5883471815962ae23e9d96533b945e119dff4d3d8204a31b35a179e59b435d067fdc8e2a07 |
23 |
DIST cups-filters-1.1.0.tar.xz 1357364 SHA256 03505a803799308f22bebd6ff8162a12efb4cfd5cfcd39f81479ae6301d52c7b SHA512 1138aa4c9ff6f870b018af738d221cc20ba01375cfb6f63a87a62277f4180ca3c426a79c2c19ccbf6d592245c22c926cd86afc0a9987f20b545047a1e3c4dbb4 WHIRLPOOL 15caeb7d705068824ea6f1e6776d30110af056e8ed9299eea84c111d3f884dc29cdec34591c8bf71be597b02bdadedd99517934bb6b78c339d9efb4be335fd8e |
24 |
+DIST cups-filters-1.2.0.tar.xz 1357268 SHA256 31dcb71dc79129056a5b0f6d30880bdb6511ee7acd06a3f5bd4e9d2684801d62 SHA512 1389d45607bee8376f23efc9b723df276002bf47292670e6cc872a8896ffe06d9eb0aa6f2be0c8c0ad86c8831bcc8f3779baa78d52224fb17dc2bf4ce9a97ca2 WHIRLPOOL 40b75a8ea04774f264691b85065a05296653c2c8e1de4b459a1ae995b4ea23ddbdd0b2e5ae7ab651f7486962507eb64f211034c6f8f24a958af15c794e12afc5 |
25 |
|
26 |
diff --git a/net-print/cups-filters/cups-filters-1.2.0.ebuild b/net-print/cups-filters/cups-filters-1.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..52f9132 |
29 |
--- /dev/null |
30 |
+++ b/net-print/cups-filters/cups-filters-1.2.0.ebuild |
31 |
@@ -0,0 +1,122 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+GENTOO_DEPEND_ON_PERL=no |
39 |
+ |
40 |
+inherit base eutils perl-module autotools systemd |
41 |
+ |
42 |
+if [[ "${PV}" == "9999" ]] ; then |
43 |
+ inherit bzr |
44 |
+ EBZR_REPO_URI="http://bzr.linuxfoundation.org/openprinting/cups-filters" |
45 |
+ KEYWORDS="~arm64" |
46 |
+else |
47 |
+ SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" |
48 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~m68k-mint" |
49 |
+fi |
50 |
+DESCRIPTION="Cups PDF filters" |
51 |
+HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat" |
52 |
+ |
53 |
+LICENSE="MIT GPL-2" |
54 |
+SLOT="0" |
55 |
+IUSE="dbus +foomatic jpeg perl png static-libs tiff zeroconf" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=app-text/ghostscript-gpl-9.09 |
59 |
+ app-text/poppler:=[cxx,jpeg?,lcms,tiff?,xpdf-headers(+)] |
60 |
+ >=app-text/qpdf-3.0.2:= |
61 |
+ media-libs/fontconfig |
62 |
+ media-libs/freetype:2 |
63 |
+ media-libs/lcms:2 |
64 |
+ >=net-print/cups-1.7.3 |
65 |
+ !<=net-print/cups-1.5.9999 |
66 |
+ sys-devel/bc |
67 |
+ sys-libs/zlib |
68 |
+ dbus? ( sys-apps/dbus ) |
69 |
+ foomatic? ( !net-print/foomatic-filters ) |
70 |
+ jpeg? ( virtual/jpeg:0 ) |
71 |
+ perl? ( dev-lang/perl:= ) |
72 |
+ png? ( media-libs/libpng:0= ) |
73 |
+ tiff? ( media-libs/tiff:0 ) |
74 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
75 |
+" |
76 |
+DEPEND="${RDEPEND} |
77 |
+ dev-util/gdbus-codegen |
78 |
+" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ base_src_prepare |
82 |
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die |
83 |
+ eautoreconf |
84 |
+} |
85 |
+ |
86 |
+src_configure() { |
87 |
+ econf \ |
88 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
89 |
+ $(use_enable dbus) \ |
90 |
+ $(use_enable zeroconf avahi) \ |
91 |
+ $(use_enable static-libs static) \ |
92 |
+ --with-fontdir="fonts/conf.avail" \ |
93 |
+ --with-pdftops=pdftops \ |
94 |
+ --enable-imagefilters \ |
95 |
+ $(use_with jpeg) \ |
96 |
+ $(use_with png) \ |
97 |
+ $(use_with tiff) \ |
98 |
+ --with-rcdir=no \ |
99 |
+ --with-browseremoteprotocols=DNSSD,CUPS \ |
100 |
+ --without-php |
101 |
+} |
102 |
+ |
103 |
+src_compile() { |
104 |
+ MAKEOPTS=-j1 default |
105 |
+ |
106 |
+ if use perl; then |
107 |
+ pushd "${S}/scripting/perl" > /dev/null |
108 |
+ perl-module_src_configure |
109 |
+ perl-module_src_compile |
110 |
+ popd > /dev/null |
111 |
+ fi |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ default |
116 |
+ |
117 |
+ if use perl; then |
118 |
+ pushd "${S}/scripting/perl" > /dev/null |
119 |
+ perl-module_src_install |
120 |
+ perl_delete_localpod |
121 |
+ popd > /dev/null |
122 |
+ fi |
123 |
+ |
124 |
+ # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
125 |
+ dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster |
126 |
+ dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl |
127 |
+ |
128 |
+ prune_libtool_files --all |
129 |
+ |
130 |
+ cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die |
131 |
+ |
132 |
+ if ! use zeroconf ; then |
133 |
+ sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
134 |
+ sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
135 |
+ fi |
136 |
+ |
137 |
+ if ! use foomatic ; then |
138 |
+ # this needs an upstream solution / configure switch |
139 |
+ rm -v "${ED}/usr/bin/foomatic-rip" || die |
140 |
+ rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die |
141 |
+ rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || die |
142 |
+ fi |
143 |
+ |
144 |
+ doinitd "${T}"/cups-browsed |
145 |
+ systemd_dounit "${S}/utils/cups-browsed.service" |
146 |
+} |
147 |
+ |
148 |
+pkg_postinst() { |
149 |
+ if ! use foomatic ; then |
150 |
+ ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely." |
151 |
+ ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained." |
152 |
+ fi |
153 |
+} |