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