Port details |
- scanbuttond Daemon to monitor and configure modern scanner's buttons
- 0.2.3_2 sysutils
=2 0.2.3_2Version of this port present on the latest quarterly branch. - Maintainer: dthiele@gmx.net
 - Port Added: 2006-06-06 18:33:01
- Last Update: 2023-11-06 10:03:47
- Commit Hash: 06df180
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: GPLv2
- WWW:
- https://scanbuttond.sourceforge.net/
- 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
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- 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):
- This port has no dependencies.
- 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: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.3_2 06 Nov 2023 10:03:47
    |
Rodrigo Osorio (rodrigo)  |
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.2.3_2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.2.3_2 20 Jul 2022 14:23:05
    |
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 ) |
0.2.3_2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.2.3_2 14 Aug 2019 12:16:13
  |
mat  |
Convert to UCL & cleanup pkg-message (categories s) |
0.2.3_2 19 May 2016 11:09:14
  |
amdmi3  |
- Fix trailing whitespace in pkg-messages
Approved by: portmgr blanket |
0.2.3_2 02 Mar 2015 23:47:18
  |
bapt  |
Remove Author from pkg-descr and white space fixes |
0.2.3_2 22 Nov 2014 09:13:36
  |
antoine  |
Cleanup plist |
0.2.3_2 29 Jun 2014 14:11:04
  |
vanilla  |
1: Stagify.
2: USES=libtool, bump version.
3: use @sample
4: strip binary.
Approved by: portmgr@ (blanket approval) |
0.2.3_1 20 Sep 2013 23:06:00
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
0.2.3_1 14 Aug 2013 22:35:54
  |
ak  |
- Remove MAKE_JOBS_SAFE variable
Approved by: portmgr (bdrewery) |
0.2.3_1 29 Apr 2013 16:43:05
  |
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) |
0.2.3_1 24 Oct 2011 09:11:38
 |
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 |
0.2.3_1 23 Sep 2011 22:26:39
 |
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 |
0.2.3_1 02 Aug 2011 10:23:28
 |
zi  |
Resolve build error under 7.x
Reported by: pointyhat
Approvd by: wxs (mentor) |
0.2.3_1 28 Jul 2011 21:56:21
 |
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 |
0.2.3 19 Mar 2011 12:38:54
 |
miwi  |
- Get Rid MD5 support |
0.2.3 22 Aug 2009 00:35:32
 |
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with P,R,S |
0.2.3 25 Mar 2009 11:44:37
 |
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) |
0.2.3 09 Mar 2009 17:15:43
 |
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 |
0.2.3 21 Aug 2008 06:18:49
 |
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 ) |
0.2.3 25 Jul 2008 14:34:52
 |
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 |
0.2.3 19 Apr 2008 17:56:05
 |
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) |
0.2.3 20 Mar 2008 10:03:51
 |
pav  |
- Remove USE_GETOPT_LONG which is a no-op since March 2007 |
0.2.3 04 Oct 2007 06:10:15
 |
edwin  |
Remove always-false/true conditions based on OSVERSION 500000 |
0.2.3 06 Jun 2006 18:25:53
 |
itetcu  |
Fix build on 4.x:
- USE_GCC= 3.3+
- USE_GETOPT_LONG |
0.2.3 06 Jun 2006 18:06:50
 |
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) |