Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115381 - brscan2 sane backends for brother
Summary: brscan2 sane backends for brother
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: http://solutions.brother.com/linux/so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 23:29 UTC by Patrick Kursawe (RETIRED)
Modified: 2018-06-07 18:25 UTC (History)
3 users (show)

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


Attachments
First Attempt at Ebuild (sane-backend-brother2-1.0.0-r1.ebuild,1.68 KB, text/plain)
2006-01-08 01:15 UTC, James Cassidy
Details
sane-dir-rename.diff (sane-dir-rename.diff,497 bytes, patch)
2006-01-08 01:16 UTC, James Cassidy
Details | Diff
usb-claim.diff (usb-claim.diff,1.81 KB, patch)
2006-01-08 01:18 UTC, James Cassidy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Kursawe (RETIRED) gentoo-dev 2005-12-12 23:29:35 UTC
Make this available via the ebuild
Comment 1 James Cassidy 2006-01-08 01:15:28 UTC
Created attachment 76503 [details]
First Attempt at Ebuild

Hopefully you will find this helpful.  I wasn't sure what to make the license since it is a mix of licenses. The patches needed for this ebuild will follow.
Comment 2 James Cassidy 2006-01-08 01:16:35 UTC
Created attachment 76504 [details, diff]
sane-dir-rename.diff

Move the /usr/local/Brother/sane directory to /usr/share/sane/Brother.
Comment 3 James Cassidy 2006-01-08 01:18:21 UTC
Created attachment 76505 [details, diff]
usb-claim.diff

Fixes a bug in the code where it would claim a USB device before setting a configuration.  Linux kernel 2.6.13 and above now enforces.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2006-01-10 06:11:14 UTC
Would be nice to automatically modify the dll.conf (rather easy) and to get rid of the hardcoded version numbers in the ebuild.

Mix of which licenses?
Comment 5 James Cassidy 2006-01-10 07:21:56 UTC
It's a mix of the LGPL, Brother's Open Source License, and Brother's Binary License.

An ebuild shouldn't modify a another package's configuration file on install.  Maybe add it to a pkg_config section but it seemed like such a small thing for a configuration section.

Without knowing how they are going to number things it's hard not to have a hardcoded version number in there.  I'm not even sure if 1.0.0 should be used since that's the name of the file, or 0.0.1 which is specified on their website.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2006-01-10 22:48:53 UTC
(In reply to comment #5)

> An ebuild shouldn't modify a another package's configuration file on install. 
> Maybe add it to a pkg_config section but it seemed like such a small thing for
> a configuration section.

Why do you think it shouldn't? It won't get changed unnoticed anyway since this file is config protected by default. So the user will be asked to merge the changes, and he can discard them if he wants to. Another point: Why emerge a backend that you don't want to use?
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2006-05-18 09:21:50 UTC
Licenses which aren't in portage yet have to be put there, and all licenses which apply should be listed in LICENSE. 
Comment 8 Tiziano Müller (RETIRED) gentoo-dev 2006-05-30 03:06:53 UTC
Would be nice to have it in portage, but it seems Brother changed their policy on distributing the source code: "If you require, we will send you the source file based on the GPL license."
They provide RPM and Debian packages only. Any ideas?
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2006-05-30 04:55:37 UTC
(In reply to comment #8)
> Would be nice to have it in portage, but it seems Brother changed their policy
> on distributing the source code: "If you require, we will send you the source
> file based on the GPL license."
> They provide RPM and Debian packages only. Any ideas?

Ask for the source, re-package it, maintain it :-/
I am afraid this requires more than the time I could invest in this driver. Not having the hardware doesn't make it easier.
Comment 10 Tiziano Müller (RETIRED) gentoo-dev 2006-06-07 22:40:40 UTC
Well, I have the hardware in the company I work for and I have gentoo there as well. Got the sourcecode after some mails. Now I'm trying to make a package and then check if and how I could provide the sourcecode for download.
Comment 11 Patrick Kursawe (RETIRED) gentoo-dev 2006-06-07 23:45:09 UTC
(In reply to comment #10)
> Well, I have the hardware in the company I work for and I have gentoo there as
> well. Got the sourcecode after some mails. Now I'm trying to make a package and
> then check if and how I could provide the sourcecode for download.

If you get it to work we could of course upload this to the gentoo mirrors, that's no problem. I just wonder if you will have to go begging for the source with each release from now on...
Comment 12 frank 2009-03-01 11:12:55 UTC
brscan sources are available here:
http://solutions.brother.com/linux/en_us/download_src.html#2
licence is GPL2
Comment 13 Tiziano Müller (RETIRED) gentoo-dev 2011-02-20 10:32:52 UTC
Don't have access to that hardware anymore, un-CC myself.