Package Details: scanbd 1.4.4-1

Git Clone URL: https://aur.archlinux.org/scanbd.git (read-only)
Package Base: scanbd
Description: Scanner button daemon looking for scanner button pressed
Upstream URL: http://scanbd.sourceforge.net/
Keywords: sane
Licenses: GPL2
Submitter: MilanKnizek
Maintainer: ainola
Last Packager: ainola
Votes: 8
Popularity: 0.066004
First Submitted: 2013-02-16 19:36
Last Updated: 2015-10-07 00:55

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

ainola commented on 2015-09-11 17:05

Thanks for your comment, Zepman.

PKGBUILDs should never be interactive, so scanbuttond support won't be enabled, sorry. The proper method of dealing with your particular itch would be to create a separate package (for instance, scanbd-scanbuttond-backend) with the options enabled. Further, yet another package could be created for your Epson perfection (scanbuttond-epson-perfection, maybe? Those are long names...). Support should absolutely be pushed upstream in the meantime, I'm sure the author would appreciate your work.

Let me know if this didn't address your questions, and if you do create packages be sure to have them conflict with scanbd and ping me again so I can update my PKGBUILD to conflict with yours.

Zepman commented on 2015-09-11 16:58

I used this package to build and install scanbd with scanbuttond support. An old scanner I use (Epson Perfection V10) requires the scanbuttond support and an additional patch to make the buttons usable. While creating this package, I noticed several issues:

1.
There is no option to enable scanbuttond support, aside from manually editing PKGBUILD and adding the relevant option to the ./configure line. SANE or scanbuttond support is mutually exclusive. Would it be possible to include a switch which asks which kind of backends should be supported? The default option should be SANE.

2.
scanbuttond support requires libusb0 (available in AUR), yet it is not a dependency.

3.
Not really an issue, but I do have a patch which includes support for the Epson Perfection V10. All it does is change 1 line and add 2 lines to the epson_vphoto.c scanbuttond backend to include the scanner's Plug & Play ID. Adding this patch would be nice, but I guess it would be better if it was applied upstream.

Anyway, thanks for this package.

ainola commented on 2015-07-17 12:23

@cdannebe, you seem to have just discovered that Sourceforge is currently in Disaster Recovery mode - it appears that other PKGBUILDs are screwed up because of this. So we must just wait and see what happens.

cdannebe commented on 2015-07-17 05:25

Please URL to the source package must the changed to http://downloads.sourceforge.net/scanbd/releases/scanbd-1.4.3.tgz

and in the PKGBUILD as well.

Furthermore the sha256sum seems to be wrong!

Kind regards, Christian

ainola commented on 2015-06-25 15:13

Thanks for the heads up, yrns. It turns out the PKGBUILD did mean to set it to /etc/scanbd/sane.d but the pattern to match was not hitting (it appears to be due to a change in upstream's path). It's fixed now.

MilanKnizek commented on 2015-06-23 07:04

@yrns: In /usr/lib/systemd/system/scanbd.service, the SANE prefix is correct as per wiki. I would think it does have a precedence over /etc/scanbd/scanbd.conf. (I cannot test now.)

In either case, it would of course be better to have it correctly in both locations to avoid confusion.

yrns commented on 2015-06-23 06:52

If anyone out there is following the Arch wiki article, you'll need to set "SANE_CONFIG_DIR=/etc/scanbd/sane.d" in scanbd.conf. The install script leaves it at /etc/scanbd.

ainola commented on 2015-05-23 17:29

-updated to latest version
-updated license to GPLv2
-fixed quoting issues
-removed useless dependencies
-switched to sha256sum

arneko commented on 2015-05-08 11:12

This wouldn't compile for me (at least not on armv7h), so I added --disable-Werror to the configure arguments.

The error I got was:
In file included from common.h:76:0,
from scanbd.h:36,
from sane.c:23:
sane.c: In Funktion »sane_poll«:
sane.c:613:5: Fehler: Variable »__cancel_routine« könnte von »longjmp« oder »vfork« zerstört werden [-Werror=clobbered]
pthread_cleanup_push(sane_thread_cleanup_mutex, ((void*)&st->mutex));
^
sane.c:771:13: Fehler: Variable »__cancel_routine« könnte von »longjmp« oder »vfork« zerstört werden [-Werror=clobbered]
pthread_cleanup_push(sane_thread_cleanup_value, &value);
^