1 |
commit: 5ade359b3a423413c3572235d969d9562fbfd561 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 2 07:59:45 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 2 09:07:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ade359b |
7 |
|
8 |
net-print/cups-filters: Bump to version 1.17.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
11 |
|
12 |
net-print/cups-filters/Manifest | 1 + |
13 |
net-print/cups-filters/cups-filters-1.17.8.ebuild | 136 ++++++++++++++++++++++ |
14 |
2 files changed, 137 insertions(+) |
15 |
|
16 |
diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest |
17 |
index cfe958c24b4..b8948ecf9b2 100644 |
18 |
--- a/net-print/cups-filters/Manifest |
19 |
+++ b/net-print/cups-filters/Manifest |
20 |
@@ -2,4 +2,5 @@ DIST cups-filters-1.13.5.tar.xz 1424764 SHA256 35db1c5821c9ff0e0fedcf87b3ae68a42 |
21 |
DIST cups-filters-1.16.4.tar.xz 1440964 SHA256 2642c6a3cbf10a38d91f20b7b292583d19acb64e786eb6513b7b45738a2e5aed SHA512 367c2c1d6755800b88f79808ef0c595aa80b080634299d015828bfb8f0e27085aa052c77e3f3f1645833340caca709bec8e00b46070ff4d13b9994fb1400da60 WHIRLPOOL 30f4e70770c60a743ca845e294e1bf79f3efa83e10f01398a0432461d31e59eac6568e6a302425250bd0417963e63b1ef208e35e5ddcf1a1f4125bdd80480324 |
22 |
DIST cups-filters-1.17.6.tar.xz 1450480 SHA256 124921a2864787bc38a6488c04e4897228722b5ba6cfe2fff903ab989ae2fb49 SHA512 4b38a9750403f5f629d53b071098a98a6b49852fa68bf32fc24a19eaf0d9dce3542348a39d9851752390c670a8137b08b198d0ac884d18eb3088fd7df95648f0 WHIRLPOOL bb025212d54d9bb08f9367aeb0c39a8c8bd33b9472c5bef5a43d54cb83ae34a9f65babb79560440df00b2638a964c7f209a762eb487f5c58c6a029f5989c94df |
23 |
DIST cups-filters-1.17.7.tar.xz 1454648 SHA256 5c6b59307f439a87e35b8dc67268a14a7cb5ebbdc8898264d21974f7e649e3d5 SHA512 bac46c7ed0b7409c4b920f6c981f74e73da77ca2590222ea14e80f99aa04bb19c0521b5452b38700054ea704381f3bf4b099a71bf17cdcf7faf93d2f9c8c97c7 WHIRLPOOL 8dfe4b456950a9fcab766bac876cdbab483dd215ef2afcb07fc1c309618c26afdab6bef7e984259612522f11051ac8b109da7b4051d45292e296f211b082b7a0 |
24 |
+DIST cups-filters-1.17.8.tar.xz 1455096 SHA256 9acefd72f8e6a6e5fb6e80d37aad8c712c326bf484afb735e8ff7d7b86975870 SHA512 01f4499fb1db456a1fb11b8e39b5de273229c7aa2f87d079e237501ccd70bf637ca5e15d19fb9f7930be700ab6958e1a597bda8d0970260b5e7577eb5447f797 WHIRLPOOL 2bfd485b053b33882cff8cff27b7db62a903be30f4597324326b8cf70d1e3ce75b1ee5c1712099ced498fb1267274032f20c85dddac0d4033dc98dfc34f435ff |
25 |
DIST cups-filters-1.5.0.tar.xz 1375588 SHA256 f22a8864e8d5b693795605a31345c08cc68f85120ebde9a0aa7bc27639815932 SHA512 81574f8368aaef61aeee4369caa394f2c8cdc717b03687d8a17c7927892f07cff68f1efb8d674757cb97001b55fd58fa5c14784a510ce9d31e385b1a73cd18c7 WHIRLPOOL 4201d08a2bb76d349a6b9f7220eb48dea86bb81c0cedbe8dcb8796c49ce26f67f6a7c49677b4fc7b6f865eb20e3c806746f565668e9f9e1e3935630621d032cd |
26 |
|
27 |
diff --git a/net-print/cups-filters/cups-filters-1.17.8.ebuild b/net-print/cups-filters/cups-filters-1.17.8.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..76eabdc0a62 |
30 |
--- /dev/null |
31 |
+++ b/net-print/cups-filters/cups-filters-1.17.8.ebuild |
32 |
@@ -0,0 +1,136 @@ |
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 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 |
+" |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ default |
85 |
+ [[ "${PV}" == "9999" ]] && eautoreconf |
86 |
+ |
87 |
+ # Bug #626800 |
88 |
+ append-cxxflags -std=c++11 |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local myeconfargs=( |
93 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" |
94 |
+ --enable-imagefilters |
95 |
+ --localstatedir="${EPREFIX}"/var |
96 |
+ --with-browseremoteprotocols=DNSSD,CUPS |
97 |
+ --with-cups-rundir="${EPREFIX}"/run/cups |
98 |
+ --with-fontdir="fonts/conf.avail" |
99 |
+ --with-pdftops=pdftops |
100 |
+ --with-rcdir=no |
101 |
+ --without-php |
102 |
+ $(use_enable dbus) |
103 |
+ $(use_enable foomatic) |
104 |
+ $(use_enable ipp_autosetup auto-setup-driverless) |
105 |
+ $(use_enable ldap) |
106 |
+ $(use_enable pclm) |
107 |
+ $(use_enable pdf mutool) |
108 |
+ $(use_enable postscript ghostscript) |
109 |
+ $(use_enable postscript ijs) |
110 |
+ $(use_enable static-libs static) |
111 |
+ $(use_enable zeroconf avahi) |
112 |
+ $(use_with jpeg) |
113 |
+ $(use_with png) |
114 |
+ $(use_with tiff) |
115 |
+ ) |
116 |
+ econf "${myeconfargs[@]}" |
117 |
+} |
118 |
+ |
119 |
+src_compile() { |
120 |
+ default |
121 |
+ |
122 |
+ if use perl; then |
123 |
+ pushd "${S}/scripting/perl" > /dev/null |
124 |
+ perl-module_src_configure |
125 |
+ perl-module_src_compile |
126 |
+ popd > /dev/null |
127 |
+ fi |
128 |
+} |
129 |
+ |
130 |
+src_install() { |
131 |
+ default |
132 |
+ |
133 |
+ if use perl; then |
134 |
+ pushd "${S}/scripting/perl" > /dev/null |
135 |
+ perl-module_src_install |
136 |
+ perl_delete_localpod |
137 |
+ popd > /dev/null |
138 |
+ fi |
139 |
+ |
140 |
+ if use postscript; then |
141 |
+ # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
142 |
+ dosym gstoraster /usr/libexec/cups/filter/pstoraster |
143 |
+ dosym gstopxl /usr/libexec/cups/filter/pstopxl |
144 |
+ fi |
145 |
+ |
146 |
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die |
147 |
+ |
148 |
+ cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die |
149 |
+ |
150 |
+ if ! use zeroconf ; then |
151 |
+ sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
152 |
+ sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
153 |
+ fi |
154 |
+ |
155 |
+ doinitd "${T}"/cups-browsed |
156 |
+ systemd_dounit "${S}/utils/cups-browsed.service" |
157 |
+} |
158 |
+ |
159 |
+src_test() { |
160 |
+ emake check |
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 |
+} |