Package Details: brscan2 0.2.5_1-1

Git Clone URL: https://aur.archlinux.org/brscan2.git (read-only, click to copy)
Package Base: brscan2
Description: SANE driver from Brother for brscan2 models
Upstream URL: http://support.brother.com
Licenses: GPL, custom:brother
Submitter: leidola
Maintainer: pmattern
Last Packager: pmattern
Votes: 38
Popularity: 0.000000
First Submitted: 2008-08-15 02:08 (UTC)
Last Updated: 2015-08-04 22:29 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

AJSlye commented on 2015-02-25 22:25 (UTC)

This seems to be still broken, here is what I'm getting: # scanimage -L bugchk_free(ptr=(nil))@brother_modelinf.c(482) Aborted (core dumped) But It works as root: # scanimage -L bugchk_free(ptr=(nil))@brother_modelinf.c(482) What Am I doing Wrong?

sampurna commented on 2015-01-11 06:11 (UTC)

/usr/local/Brother is referenced in libsane-brother2.so.1.0.7 the PKGBUILD tries to relocate the files in the RPM package from /usr/local/Brother to /usr/share/brother, but does an incomplete job. This seems contrary to KISS, and the renaming of lib64 to lib seemed inelegant too, so I found a way to do that while extracting from the RPM: if [ "$CARCH" == "i686" ]; then source="http://www.brother.com/pub/bsc/linux/dlf/$pkgname-$pkgver-$pkgrel.i386.rpm" md5sums='944432983dcb918704862147b2a27977' else source="http://www.brother.com/pub/bsc/linux/dlf/$pkgname-$pkgver-$pkgrel.x86_64.rpm" md5sums='88ab217b814ba87ac855b21dc037e0ac' fi rpm=`basename ${source[0]}` noextract=($rpm) # we'll extract manually in prepare() source+=('scanner-license.txt') md5sums+=('SKIP') prepare() { # change "lib64" to "lib" in paths and symlinks rpm2cpio $rpm | bsdtar -xpf - -s @/lib64/@/lib/@ } package() { cp -pR "$srcdir/usr" "$pkgdir" install -m 644 -D scanner-license.txt \ "${pkgdir}/usr/share/licenses/${pkgname}/scanner-license.txt" } And finally, a suggestion for updating /etc/sane.d/dll.conf from brscan2.install: post_install() { echo 'brother2 #brscan2#' >> /etc/sane.d/dll.conf } post_remove() { sed -i '/#brscan2#/d' /etc/sane.d/dll.conf }

ams1 commented on 2014-12-04 17:05 (UTC)

I added that info to the wiki page for dcp150c.

robtaylor commented on 2014-09-17 20:15 (UTC)

I can confirm that to stop the crash on x86_64 you need sudo ln -s /usr/share/brother/sane/ /usr/local/Brother/sane However I can see no reason that it's trying to open /usr/local/Brother/sane/Brsane2.ini. strace confirms that it is, but I can find no occurance of /usr/local in any of the installed files! May break out a debug build of glibc and see if I can figure what's going on...

Evilandi666 commented on 2014-07-29 11:57 (UTC)

I try to fix those bugs on x86_64

<deleted-account> commented on 2014-07-23 12:33 (UTC)

As the problem only seems to occur on 64-bit and I cannot test this myself, I will disown the package so that someone else can pick this up.

<deleted-account> commented on 2014-07-23 12:26 (UTC)

@pavbaranov: thx, great tip! as this PKGBUILD didnt work on x86_64 (only i686) used this PKGBUILD according to the wiki: pkgname=brscan2 pkgver=0.2.5 pkgrel=1 pkgdesc="SANE drivers from Brother for model-2 scanners" arch=('i686' 'x86_64') url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html" license=('custom') depends=('libusb-compat') makedepends=('rpmextract') source=("http://download.brother.com/welcome/dlf006639/brscan2-0.2.5-1.i386.rpm" "http://download.brother.com/welcome/dlf006640/brscan2-0.2.5-1.x86_64.rpm" 'LICENSE') sha256sums=('f9c12f8467288c48cd00b532b2c64f53764a001f4b193f1c5f1ac746a1bd7c9c' 'ab02c4e2292e9847a0338a225973735ccaec49c3d443f584004c8f91f5d6a8c9' '52d228e8cf2f8b0b25d7c86f8ecb2151bbd7cbe6ec322c26471ae6d7276ecc99') noextract=('brscan2-0.2.5-1.i386.rpm' 'brscan2-0.2.5-1.x86_64.rpm') build() { cd "${srcdir}" if [[ $CARCH = "i686" ]]; then echo "using: brscan2-0.2.5-1.i386.rpm" rpmextract.sh brscan2-0.2.5-1.i386.rpm else echo "using: brscan2-0.2.5-1.x86_64.rpm" rpmextract.sh brscan2-0.2.5-1.x86_64.rpm fi } package() { mv -v "${srcdir}/usr" "${pkgdir}/" # install LICENSE install -Dm0644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }