Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168160 - media-gfx/sane-backends support for hp3900 series
Summary: media-gfx/sane-backends support for hp3900 series
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 17:19 UTC by Miguel Barao
Modified: 2008-02-07 10:49 UTC (History)
2 users (show)

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


Attachments
Modified sane-backends ebuild (sane-backends-1.0.18-r2.ebuild,4.00 KB, text/plain)
2007-02-23 17:21 UTC, Miguel Barao
Details
patch for hp3900 series support (hp3900-sane1018_src_0.7.tar.gz,136.87 KB, application/octet-stream)
2007-02-23 17:25 UTC, Miguel Barao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Barao 2007-02-23 17:19:04 UTC
There is a patch for sane-backends which adds support for the hp3900 series of scanners. Please add it to the ebuild.

The patch is located at:
http://sourceforge.net/project/showfiles.php?group_id=150599&package_id=166435&release_id=453913

I'm uploading the patch and the modified ebuild (based on 1.0.18-r2) which makes it run.
The following describes what I did to add support.

What I did:
$ cp hp3900-sane1018_0.7.diff /usr/portage/media-gfx/sane-backends/files
then edited the 1.0.18-r2 ebuild a added line 87: 
   epatch ${FILESDIR}/hp3900-sane1018_0.7.diff
and then run
$ ebuild sane-backends-1.0.18-r2.ebuild digest

Added SANE_BACKENDS="hp3900" to /etc/make.conf, and finally
$ emerge -1 sane-backends
$ revdep-rebuild
Its now working.

Reproducible: Always

Steps to Reproduce:
Comment 1 Miguel Barao 2007-02-23 17:21:07 UTC
Created attachment 111063 [details]
Modified sane-backends ebuild
Comment 2 Miguel Barao 2007-02-23 17:25:39 UTC
Created attachment 111064 [details]
patch for hp3900 series support
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2007-02-26 12:10:26 UTC
Sounds like a good idea. Will check soon (I hope).
Comment 4 Tim Redman 2007-05-22 20:10:13 UTC
I came up with pretty much the same patch before I had seen this request.  The only difference with mine is that I added hp3900 to the SANE_BACKENDS comment at lines 35-45, since running with SANE_BACKENDS="hp3900" in make.conf seems to work just fine with this patch.

I tested this successfully on an HP ScanJet 3970.
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2008-02-07 10:49:28 UTC
Will be included in vanilla sane-backends 1.0.19 (was integrated in december), no need for a patch any more. Sorry for using the word "soon" in comment #3.