Port details |
- scanbuttond Daemon to monitor and configure modern scanner's buttons
- 0.2.3_2 sysutils
=0 Version of this port present on the latest quarterly branch. - Maintainer: dthiele@gmx.net
 - Port Added: 2006-06-06 18:33:01
- Last Update: 2022-07-20 14:23:05
- Commit Hash: ea71236
- License: GPLv2
- Description:
- This is the port of scanbuttond, an utility to monitor the various buttons
found on many modern scanners which are intended to trigger certain actions
like copying, faxing or mailing the scanned document.
This daemon queries the scanner button state several times per second via
libusb and if it detects that a button is pressed it runs a shell script with
the button number as an argument.
The supported scanner backends currently are: epson, niash, plustek, snapscan
WWW: http://scanbuttond.sourceforge.net/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- scanbuttond>0:sysutils/scanbuttond
- To install the port:
- cd /usr/ports/sysutils/scanbuttond/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/scanbuttond
- pkg install scanbuttond
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: scanbuttond
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (scanbuttond-0.2.3.tar.gz) = 93b060a363fef069548a49cb151da53ac6071dc0569f9a07d68751a28dffebee
SIZE (scanbuttond-0.2.3.tar.gz) = 333743
- Packages (timestamps in pop-ups are UTC):
- There are no ports dependent upon this port
- Configuration Options:
- No options to configure
- Options name:
- sysutils_scanbuttond
- USES:
- libtool
- pkg-message:
- For install:
- scanbuttond has been installed, but is not quite ready to be used yet.
To make scanbuttond actually do something you have to edit
/usr/local/etc/scanbuttond/buttonpressed.sh and change it to your needs.
If you are having trouble getting your scanner detected try uncommenting one
of the following lines in /usr/local/etc/scanbuttond/initscanner.sh:
scanimage -n
or
sane-find-scanner > /dev/null 2> /dev/null
If your scanner is connected via a hot-plug capable technology (e.g. USB)
you can conveniently enable scanbuttond every time you attach you scanner by
using devd. In order to do so you may add the following lines to your
/etc/devd.conf and restart devd after you are done.
(Make sure to replace device-name, vendor, product and back-end name to
something that matches your environment)
attach 20 {
device-name "ugen[0-9]+";
match "vendor" "0x04a9";
match "product" "0x220e";
action "/usr/local/bin/scanbuttond \
-s /usr/local/etc/scanbuttond/buttonpressed.sh \
-S /usr/local/etc/scanbuttond/initscanner.sh \
-b /usr/local/lib/libscanbtnd-backend_plustek.so";
};
detach 20 {
device-name "ugen[0-9]+";
match "vendor" "0x04a9";
match "product" "0x220e";
action "/usr/bin/killall scanbuttond";
};
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
20 Jul 2022 14:23:05 0.2.3_2 |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
06 Apr 2021 14:31:07 0.2.3_2 |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
14 Aug 2019 12:16:13
0.2.3_2 |
mat  |
Convert to UCL & cleanup pkg-message (categories s) |
19 May 2016 11:09:14
0.2.3_2 |
amdmi3  |
- Fix trailing whitespace in pkg-messages
Approved by: portmgr blanket |
02 Mar 2015 23:47:18
0.2.3_2 |
bapt  |
Remove Author from pkg-descr and white space fixes |
22 Nov 2014 09:13:36
0.2.3_2 |
antoine  |
Cleanup plist |
29 Jun 2014 14:11:04
0.2.3_2 |
vanilla  |
1: Stagify.
2: USES=libtool, bump version.
3: use @sample
4: strip binary.
Approved by: portmgr@ (blanket approval) |
20 Sep 2013 23:06:00
0.2.3_1 |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
14 Aug 2013 22:35:54
0.2.3_1  |
ak  |
- Remove MAKE_JOBS_SAFE variable
Approved by: portmgr (bdrewery) |
29 Apr 2013 16:43:05
0.2.3_1 |
rene  |
In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports.
Other changes:
- convert Makefile header
- convert to optionsNG
- remove indefinite article from comment
- drop support for FreeBSD < 8.0
- pet portlint (leave library ABI versions in LIB_DEPENDS)
- net-mgmt/spectools: change option name from GTK to GTK2 to use default
description from bsd.options.desc.mk
Approved by: portmgr (bapt) |
24 Oct 2011 09:11:38
0.2.3_1 |
dougb  |
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues |
23 Sep 2011 22:26:39
0.2.3_1 |
amdmi3  |
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav |
02 Aug 2011 10:23:28
0.2.3_1 |
zi  |
Resolve build error under 7.x
Reported by: pointyhat
Approvd by: wxs (mentor) |
28 Jul 2011 21:56:21
0.2.3_1 |
zi  |
Do not overwrite user-edited config files in ETCDIR [1]
Bump PORTREVISION
Add LICENSE
PR: ports/159183
Submitted by: Warren Block <wblock@wonkity.com> [1]
Approvd by: tabthorpe (mentor), maintainer |
19 Mar 2011 12:38:54
0.2.3 |
miwi  |
- Get Rid MD5 support |
22 Aug 2009 00:35:32
0.2.3  |
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with P,R,S |
25 Mar 2009 11:44:37
0.2.3 |
amdmi3  |
- Mark MAKE_JOBS_SAFE
- Change CFLAGS to CPPFLAGS in CONFIGURE_ENV, as suggested by portlint(1).
PR: 133035
Submitted by: Daniel Thiele <dthiele at gmx dot net> (maintainer) |
09 Mar 2009 17:15:43
0.2.3  |
stas  |
- Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
in USB stack.
Reviewed by: thompsa (old version), miwi
Tested by: miwi |
21 Aug 2008 06:18:49
0.2.3 |
rafan  |
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk (Only the first 15 lines of the commit message are shown above ) |
25 Jul 2008 14:34:52
0.2.3 |
pav  |
- Remove USE_GCC where it can be satisfied with base compiler on following
FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT |
19 Apr 2008 17:56:05
0.2.3  |
miwi  |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav) |
20 Mar 2008 10:03:51
0.2.3 |
pav  |
- Remove USE_GETOPT_LONG which is a no-op since March 2007 |
04 Oct 2007 06:10:15
0.2.3 |
edwin  |
Remove always-false/true conditions based on OSVERSION 500000 |
06 Jun 2006 18:25:53
0.2.3 |
itetcu  |
Fix build on 4.x:
- USE_GCC= 3.3+
- USE_GETOPT_LONG |
06 Jun 2006 18:06:50
0.2.3 |
itetcu  |
This is the port of scanbuttond, an utility to monitor the various buttons
found on many modern scanners which are intended to trigger certain actions
like copying, faxing or mailing the scanned document.
This daemon queries the scanner button state several times per second via
libusb and if it detects that a button is pressed it runs a shell script with
the button number as an argument.
The supported scanner backends currently are: epson, niash, plustek, snapscan
Author: Bernhard Stiftner <root84@users.sourceforge.net>
WWW: http://scanbuttond.sourceforge.net/
PR: ports/95386
Submitted by: Daniel Thiele
Approvel by: lawrance (mentor, implicit) |