1 |
commit: a10af228d3f563774f43961a8d0fe98838b6c5f0 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 21:03:39 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 22:26:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a10af228 |
7 |
|
8 |
media-gfx/sane-backends: remove no longer needed sane-backends-1.0.25_pre20150628 |
9 |
|
10 |
media-gfx/sane-backends/Manifest | 1 - |
11 |
.../sane-backends-1.0.25_pre20150628.ebuild | 346 --------------------- |
12 |
2 files changed, 347 deletions(-) |
13 |
|
14 |
diff --git a/media-gfx/sane-backends/Manifest b/media-gfx/sane-backends/Manifest |
15 |
index 7100061..c55f6ec 100644 |
16 |
--- a/media-gfx/sane-backends/Manifest |
17 |
+++ b/media-gfx/sane-backends/Manifest |
18 |
@@ -1,3 +1,2 @@ |
19 |
DIST sane-backends-1.0.24.tar.gz 5778749 SHA256 27c7085a54f1505d8b551e6f1e69d30e1ee57328b18429bb2225dabf4c45462d SHA512 1e9f962bb9d27f17067eb662dabfc0a1aa0d06e16bec4bd28868124b468578d82f14f6d2c1f5de63d2cec57ca4584ec12d3b2c2b1de20f1199aece581453ebc5 WHIRLPOOL 19b939c920a3c157044c85a941debdc664d8781562fa3fc04f061b9d216b089be80edfd43479069382adf13e68160518fdbd5c84a5f4c506a46f8521d4ed2a1c |
20 |
DIST sane-backends-1.0.25.tar.gz 5955016 SHA256 a4d7ba8d62b2dea702ce76be85699940992daf3f44823ddc128812da33dc6e2c SHA512 b9548646fff13558a4da4a4e9e8bad730f05121bcc65b72d24ded3bfddc6fe574e08c39c8651544b8fbfeab036fffd76cc14d76ef5d5d47e7513a2ce3afcc9df WHIRLPOOL 557a3ac8785c0dd7f98aa55d5edaf76fb5b2b3c86a2431bb40b5b132ac05de3abcb250a8bcf8ed188868c4f124ce0a323a92a5a83c7b44a20908fe40ca323711 |
21 |
-DIST sane-backends-git20150628.tar.gz 5765552 SHA256 4cfd1245df8ade75cbfaedec91b1daaea6d30e0736e5d2f9afcd0a56fc357711 SHA512 8e8160b2337502a0b77724ffaa5bd65a6daaa3fa5587f1b72e2714c9253e8130e96170d7f1de38210e17c5524cbe0953ff0464d29db194354d4e9b7249782eaf WHIRLPOOL d9b9a4f44cb3fcda9c8099d5ed3a9764e0a961f80ae1a89dda4e0ec8e6c24c830ad0feebd13c28af848c133a99e50d21c2f01269e434af31b17164a377edbbff |
22 |
|
23 |
diff --git a/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild b/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild |
24 |
deleted file mode 100644 |
25 |
index 61a6e8f..0000000 |
26 |
--- a/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild |
27 |
+++ /dev/null |
28 |
@@ -1,346 +0,0 @@ |
29 |
-# Copyright 1999-2015 Gentoo Foundation |
30 |
-# Distributed under the terms of the GNU General Public License v2 |
31 |
-# $Id$ |
32 |
- |
33 |
-EAPI="5" |
34 |
- |
35 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal udev user toolchain-funcs |
36 |
- |
37 |
-# gphoto and v4l are handled by their usual USE flags. |
38 |
-# The pint backend was disabled because I could not get it to compile. |
39 |
-IUSE_SANE_BACKENDS=" |
40 |
- abaton |
41 |
- agfafocus |
42 |
- apple |
43 |
- artec |
44 |
- artec_eplus48u |
45 |
- as6e |
46 |
- avision |
47 |
- bh |
48 |
- canon |
49 |
- canon630u |
50 |
- canon_dr |
51 |
- canon_pp |
52 |
- cardscan |
53 |
- coolscan |
54 |
- coolscan2 |
55 |
- coolscan3 |
56 |
- dc210 |
57 |
- dc240 |
58 |
- dc25 |
59 |
- dell1600n_net |
60 |
- dmc |
61 |
- epjitsu |
62 |
- epson |
63 |
- epson2 |
64 |
- fujitsu |
65 |
- genesys |
66 |
- gt68xx |
67 |
- hp |
68 |
- hp3500 |
69 |
- hp3900 |
70 |
- hp4200 |
71 |
- hp5400 |
72 |
- hp5590 |
73 |
- hpljm1005 |
74 |
- hpsj5s |
75 |
- hs2p |
76 |
- ibm |
77 |
- kodak |
78 |
- kodakaio |
79 |
- kvs1025 |
80 |
- kvs20xx |
81 |
- kvs40xx |
82 |
- leo |
83 |
- lexmark |
84 |
- ma1509 |
85 |
- magicolor |
86 |
- matsushita |
87 |
- microtek |
88 |
- microtek2 |
89 |
- mustek |
90 |
- mustek_pp |
91 |
- mustek_usb |
92 |
- mustek_usb2 |
93 |
- nec |
94 |
- net |
95 |
- niash |
96 |
- p5 |
97 |
- pie |
98 |
- pixma |
99 |
- plustek |
100 |
- plustek_pp |
101 |
- pnm |
102 |
- qcam |
103 |
- ricoh |
104 |
- rts8891 |
105 |
- s9036 |
106 |
- sceptre |
107 |
- sharp |
108 |
- sm3600 |
109 |
- sm3840 |
110 |
- snapscan |
111 |
- sp15c |
112 |
- st400 |
113 |
- stv680 |
114 |
- tamarack |
115 |
- teco1 |
116 |
- teco2 |
117 |
- teco3 |
118 |
- test |
119 |
- u12 |
120 |
- umax |
121 |
- umax1220u |
122 |
- umax_pp |
123 |
- xerox_mfp" |
124 |
- |
125 |
-IUSE="avahi doc gphoto2 ipv6 nls snmp systemd threads usb v4l xinetd" |
126 |
- |
127 |
-for backend in ${IUSE_SANE_BACKENDS}; do |
128 |
- case ${backend} in |
129 |
- # Disable backends that require parallel ports as no one has those anymore. |
130 |
- canon_pp|hpsj5s|mustek_pp|\ |
131 |
- pnm) |
132 |
- IUSE+=" -sane_backends_${backend}" |
133 |
- ;; |
134 |
- mustek_usb2|kvs40xx) |
135 |
- IUSE+=" sane_backends_${backend}" |
136 |
- ;; |
137 |
- *) |
138 |
- IUSE+=" +sane_backends_${backend}" |
139 |
- esac |
140 |
-done |
141 |
- |
142 |
-REQUIRED_USE=" |
143 |
- sane_backends_mustek_usb2? ( threads ) |
144 |
- sane_backends_kvs40xx? ( threads ) |
145 |
-" |
146 |
- |
147 |
-DESCRIPTION="Scanner Access Now Easy - Backends" |
148 |
-HOMEPAGE="http://www.sane-project.org/" |
149 |
-case ${PV} in |
150 |
-9999) |
151 |
- EGIT_REPO_URI="git://anonscm.debian.org/sane/sane-backends.git" |
152 |
- inherit git-r3 |
153 |
- ;; |
154 |
-*_pre*) |
155 |
- MY_P="${PN}-git${PV#*_pre}" |
156 |
- SRC_URI="http://www.sane-project.org/snapshots/${MY_P}.tar.gz |
157 |
- mirror://gentoo/${MY_P}.tar.gz" |
158 |
- S=${WORKDIR}/${MY_P} |
159 |
- ;; |
160 |
-*) |
161 |
- MY_P=${P} |
162 |
- SRC_URI="https://alioth.debian.org/frs/download.php/file/3958/${P}.tar.gz" |
163 |
- ;; |
164 |
-esac |
165 |
- |
166 |
-LICENSE="GPL-2 public-domain" |
167 |
-SLOT="0" |
168 |
-if [[ ${PV} != "9999" ]] ; then |
169 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
170 |
-fi |
171 |
- |
172 |
-RDEPEND=" |
173 |
- sane_backends_dc210? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] ) |
174 |
- sane_backends_dc240? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] ) |
175 |
- sane_backends_dell1600n_net? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] |
176 |
- >=media-libs/tiff-3.9.7-r1[${MULTILIB_USEDEP}] ) |
177 |
- avahi? ( >=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}] ) |
178 |
- sane_backends_canon_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] ) |
179 |
- sane_backends_hpsj5s? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] ) |
180 |
- sane_backends_mustek_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] ) |
181 |
- usb? ( >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}] ) |
182 |
- gphoto2? ( |
183 |
- >=media-libs/libgphoto2-2.5.3.1:=[${MULTILIB_USEDEP}] |
184 |
- >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] |
185 |
- ) |
186 |
- v4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] ) |
187 |
- xinetd? ( sys-apps/xinetd ) |
188 |
- snmp? ( net-analyzer/net-snmp ) |
189 |
- systemd? ( sys-apps/systemd:0= ) |
190 |
-" |
191 |
- |
192 |
-DEPEND="${RDEPEND} |
193 |
- v4l? ( sys-kernel/linux-headers ) |
194 |
- doc? ( |
195 |
- virtual/latex-base |
196 |
- dev-texlive/texlive-latexextra |
197 |
- ) |
198 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
199 |
- |
200 |
-# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device) |
201 |
-RDEPEND="${RDEPEND} |
202 |
- !<sys-fs/udev-114 |
203 |
- abi_x86_32? ( |
204 |
- !<=app-emulation/emul-linux-x86-medialibs-20140508 |
205 |
- !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] |
206 |
- )" |
207 |
- |
208 |
-MULTILIB_CHOST_TOOLS=( |
209 |
- /usr/bin/sane-config |
210 |
-) |
211 |
- |
212 |
-pkg_setup() { |
213 |
- enewgroup scanner |
214 |
- enewuser saned -1 -1 -1 scanner |
215 |
-} |
216 |
- |
217 |
-src_prepare() { |
218 |
- cat >> backend/dll.conf.in <<-EOF |
219 |
- # Add support for the HP-specific backend. Needs net-print/hplip installed. |
220 |
- hpaio |
221 |
- # Add support for the Epson-specific backend. Needs media-gfx/iscan installed. |
222 |
- epkowa |
223 |
- EOF |
224 |
- epatch "${FILESDIR}"/niash_array_index.patch \ |
225 |
- "${FILESDIR}"/${PN}-1.0.24-automagic_systemd.patch \ |
226 |
- "${FILESDIR}"/${PN}-1.0.24-systemd_pkgconfig.patch \ |
227 |
- "${FILESDIR}"/${PN}-1.0.24-saned_pidfile_location.patch \ |
228 |
- "${FILESDIR}"/${PN}-1.0.24-cross-compile.patch \ |
229 |
- "${FILESDIR}"/${PN}-1.0.25-disable-usb-tests.patch |
230 |
- # Fix for "make check". |
231 |
- sed -i -e 's/sane-backends 1.0.24/sane-backends 1.0.25git/' testsuite/tools/data/html* |
232 |
- mv configure.{in,ac} || die |
233 |
- AT_NOELIBTOOLIZE=yes eautoreconf |
234 |
-} |
235 |
- |
236 |
-src_configure() { |
237 |
- append-flags -fno-strict-aliasing |
238 |
- |
239 |
- # if LINGUAS is set, just use the listed and supported localizations. |
240 |
- if [[ ${LINGUAS+set} == "set" ]]; then |
241 |
- mkdir -p po || die |
242 |
- strip-linguas -u po |
243 |
- printf '%s\n' ${LINGUAS} > po/LINGUAS |
244 |
- fi |
245 |
- |
246 |
- multilib-minimal_src_configure |
247 |
-} |
248 |
- |
249 |
-multilib_src_configure() { |
250 |
- # the blank is intended - an empty string would result in building ALL backends. |
251 |
- local BACKENDS=" " |
252 |
- |
253 |
- use gphoto2 && BACKENDS="gphoto2" |
254 |
- use v4l && BACKENDS="${BACKENDS} v4l" |
255 |
- for backend in ${IUSE_SANE_BACKENDS}; do |
256 |
- if use "sane_backends_${backend}" && [ ${backend} != pnm ]; then |
257 |
- BACKENDS="${BACKENDS} ${backend}" |
258 |
- fi |
259 |
- done |
260 |
- |
261 |
- local myconf=( |
262 |
- $(use_enable usb libusb_1_0) |
263 |
- $(multilib_native_use_with snmp) |
264 |
- ) |
265 |
- |
266 |
- # you can only enable this backend, not disable it... |
267 |
- if use sane_backends_pnm; then |
268 |
- myconf+=( --enable-pnm-backend ) |
269 |
- fi |
270 |
- if ! use doc; then |
271 |
- myconf+=( --disable-latex ) |
272 |
- fi |
273 |
- if use sane_backends_mustek_pp; then |
274 |
- myconf+=( --enable-parport-directio ) |
275 |
- fi |
276 |
- if ! { use sane_backends_canon_pp || use sane_backends_hpsj5s || use sane_backends_mustek_pp; }; then |
277 |
- myconf+=( sane_cv_use_libieee1284=no ) |
278 |
- fi |
279 |
- |
280 |
- # relative path must be used for tests to work properly |
281 |
- ECONF_SOURCE=${S} \ |
282 |
- SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \ |
283 |
- BACKENDS="${BACKENDS}" \ |
284 |
- econf \ |
285 |
- $(use_with gphoto2) \ |
286 |
- $(multilib_native_use_with systemd) \ |
287 |
- $(use_with v4l) \ |
288 |
- $(use_enable avahi) \ |
289 |
- $(use_enable ipv6) \ |
290 |
- $(use_enable nls translations) \ |
291 |
- $(use_enable threads pthread) \ |
292 |
- "${myconf[@]}" |
293 |
-} |
294 |
- |
295 |
-multilib_src_compile() { |
296 |
- emake VARTEXFONTS="${T}/fonts" |
297 |
- |
298 |
- if tc-is-cross-compiler; then |
299 |
- pushd "${BUILD_DIR}"/tools >/dev/null || die |
300 |
- |
301 |
- # The build system sucks and doesn't handle this properly. |
302 |
- # https://alioth.debian.org/tracker/index.php?func=detail&aid=314236&group_id=30186&atid=410366 |
303 |
- tc-export_build_env BUILD_CC |
304 |
- ${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \ |
305 |
- -I. -I../include -I"${S}"/include \ |
306 |
- "${S}"/sanei/sanei_config.c "${S}"/sanei/sanei_constrain_value.c \ |
307 |
- "${S}"/sanei/sanei_init_debug.c "${S}"/tools/sane-desc.c -o sane-desc || die |
308 |
- local dirs=( hal hotplug hotplug-ng udev ) |
309 |
- local targets=( |
310 |
- hal/libsane.fdi |
311 |
- hotplug/libsane.usermap |
312 |
- hotplug-ng/libsane.db |
313 |
- udev/libsane.rules |
314 |
- ) |
315 |
- mkdir -p "${dirs[@]}" || die |
316 |
- emake "${targets[@]}" |
317 |
- |
318 |
- popd >/dev/null |
319 |
- fi |
320 |
- |
321 |
- if use usb; then |
322 |
- sed -i -e '/^$/d' \ |
323 |
- tools/hotplug/libsane.usermap || die |
324 |
- fi |
325 |
-} |
326 |
- |
327 |
-multilib_src_install() { |
328 |
- emake INSTALL_LOCKPATH="" DESTDIR="${D}" install \ |
329 |
- docdir="${EPREFIX}"/usr/share/doc/${PF} |
330 |
- |
331 |
- if multilib_is_native_abi; then |
332 |
- if use usb; then |
333 |
- insinto /etc/hotplug/usb |
334 |
- doins tools/hotplug/libsane.usermap |
335 |
- fi |
336 |
- |
337 |
- udev_newrules tools/udev/libsane.rules 41-libsane.rules |
338 |
- insinto "/usr/share/pkgconfig" |
339 |
- doins tools/sane-backends.pc |
340 |
- fi |
341 |
-} |
342 |
- |
343 |
-multilib_src_install_all() { |
344 |
- keepdir /var/lib/lock/sane |
345 |
- fowners root:scanner /var/lib/lock/sane |
346 |
- fperms g+w /var/lib/lock/sane |
347 |
- dodir /etc/env.d |
348 |
- |
349 |
- if use usb; then |
350 |
- exeinto /etc/hotplug/usb |
351 |
- doexe tools/hotplug/libusbscanner |
352 |
- newdoc tools/hotplug/README README.hotplug |
353 |
- fi |
354 |
- |
355 |
- dodoc NEWS AUTHORS ChangeLog* PROBLEMS README README.linux |
356 |
- prune_libtool_files --all |
357 |
- if use xinetd; then |
358 |
- insinto /etc/xinetd.d |
359 |
- doins "${FILESDIR}"/saned |
360 |
- fi |
361 |
- |
362 |
- newinitd "${FILESDIR}"/saned.initd saned |
363 |
- newconfd "${FILESDIR}"/saned.confd saned |
364 |
-} |
365 |
- |
366 |
-pkg_postinst() { |
367 |
- if use xinetd; then |
368 |
- elog "If you want remote clients to connect, edit" |
369 |
- elog "/etc/sane.d/saned.conf and /etc/hosts.allow" |
370 |
- fi |
371 |
- |
372 |
- elog "If you are using a USB scanner, add all users who want" |
373 |
- elog "to access your scanner to the \"scanner\" group." |
374 |
-} |