Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545130 - media-gfx/sane-backends: request for a git version
Summary: media-gfx/sane-backends: request for a git version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-31 09:21 UTC by hfk22
Modified: 2015-07-08 10:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hfk22 2015-03-31 09:21:12 UTC
It looks like there's a couple of newer bugs in sane-backends that have been fixed in the git repository, but haven't quite percolated into the stable releases.  It would be nice to have an unstable ebuild that pulled directly from the git in order to take advantage of this bug fixes.  Specifically, I got caught by this bug:

http://lists.alioth.debian.org/pipermail/sane-devel/2015-February/033081.html

which was also an issue for Cannonical users:

https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/1247371

https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1250196

and Arch users:

https://bbs.archlinux.org/viewtopic.php?id=165278

Basically, it looks like XHCI doesn't interact properly with the current sane-backends.  Personally, I have a Fujitsu fi-6130, which does not work with the current ebuild (scanimage works the first time, but not on subsequent calls), but correctly operates with the current git version.

There is a mostly working ebuild that hooks into the git repository already on Github:

https://github.com/microcai/gentoo-zh/blob/master/media-gfx/sane-backends/sane-backends-9999.ebuild

I needed to change the EGIT_REPO_URI to

EGIT_REPO_URI="git://git.debian.org/sane/sane-backends.git"

but this it worked fine.

Reproducible: Always

Steps to Reproduce:
Problem with current sane-backends (1.0.24-r5)
1. scanimage -L
2. scanimage -L
Actual Results:  
$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Expected Results:  
$ scanimage -L

device `fujitsu:fi-6130dj:106822' is a FUJITSU fi-6130dj scanner
Comment 1 SpanKY gentoo-dev 2015-07-08 08:42:41 UTC
we never add live git ebuilds to ~arch

upstream provides git snapshots:
  http://www.sane-project.org/snapshots/sane-backends-git20150708.tar.gz

and that seems to be what Ubuntu has switched to
Comment 2 SpanKY gentoo-dev 2015-07-08 10:10:00 UTC
(In reply to SpanKY from comment #1)

nm ... a random user on launchpad has set up snapshots, but the main ubuntu tree has not switched to it:
  https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
Comment 3 SpanKY gentoo-dev 2015-07-08 10:47:12 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add a git snapshot
http://sources.gentoo.org/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild?rev=1.1