Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35572 - sane-backend patch: driver for brother scanners
Summary: sane-backend patch: driver for brother scanners
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Graphics Project
URL: http://sourceforge.net/projects/broth...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 22:11 UTC by Steven Wagner
Modified: 2008-03-20 13:56 UTC (History)
2 users (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 Steven Wagner 2003-12-10 22:11:42 UTC
Please include this patch for brother USB scanners iwith the sane-backend package.
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-11 01:20:47 UTC
The patch is for sane < .13 and will need some work. Could take a while.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-12-11 02:01:32 UTC
mr_bones: sane* is graphics@gentoo.org
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-11 02:10:37 UTC
Just working on adapting the patch. Nice to know that sane-backends has found some maintainers, but please update metadata.xml accordingly, then.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-11 02:14:19 UTC
Seems to compile now, no idea if it works - Steven, please test and remind me to give this patch upstream if it's ok, then :-)
.13-r2 should hit portage mirrors soon. 
Comment 5 Ulrich Plate (RETIRED) gentoo-dev 2003-12-11 06:37:42 UTC
You've labeled this resolved/fixed already, but I've got a problem here:

>> emerge (2 of 4) media-gfx/sane-backends-1.0.13-r2 to /
*** Adjusting cvs-src permissions for portage user...
>>> md5 src_uri ;-) sane-backends-1.0.13.tar.gz
eutils
>>> Unpacking source...
>>> Unpacking sane-backends-1.0.13.tar.gz to /var/tmp/portage/sane-backends-1.0.13-r2/work
>>> Unpacking sane-backends-1.0.13-brothermfc.patch.bz2 to /var/tmp/portage/sane-backends-1.0.13-r2/work
bzip2: Can't open input file /usr/portage/distfiles/sane-backends-1.0.13-brothermfc.patch.bz2: No such file or directory.

!!! ERROR: media-gfx/sane-backends-1.0.13-r2 failed.
!!! Function unpack, Line 314, Exitcode 1
!!! failure unpacking sane-backends-1.0.13-brothermfc.patch.bz2
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-12-11 07:13:44 UTC
Thanks, this showed a different error I made....
But it should work if you put "usb" into your USE.
Comment 7 Renato Caldas 2008-03-15 16:20:27 UTC
Please note that the patch is fetched even when you don't have a brother scanner in your SANE_BACKENDS list. I believe this is broken, since all other backends respect that variable.

Shoud I file another bug report?
Comment 8 Renato Caldas 2008-03-19 16:50:02 UTC
Please say something, or I will open another report.
Comment 9 Luca Barbato gentoo-dev 2008-03-19 17:49:52 UTC
patches are fetched and applied always if possible (and pushed through upstream)
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2008-03-20 10:42:18 UTC
(In reply to comment #7)
> Please note that the patch is fetched even when you don't have a brother
> scanner in your SANE_BACKENDS list. I believe this is broken, since all other
> backends respect that variable.

The patch is fetched, but the driver is not built if you specify something different in SANE_BACKENDS - just like any other driver. This is because the file list in SRC_URI may not depend on this variable, only the build process can and does.

> Shoud I file another bug report?

No, please don't do that.
Comment 11 Renato Caldas 2008-03-20 13:56:56 UTC
I see, thanks!