Package Details: scanbd 1.5.1-5

Git Clone URL: https://aur.archlinux.org/scanbd.git (read-only, click to copy)
Package Base: scanbd
Description: Scanner button daemon looking for scanner button pressed
Upstream URL: http://scanbd.sourceforge.net/
Keywords: sane
Licenses: GPL2
Submitter: None
Maintainer: None
Last Packager: khampf
Votes: 11
Popularity: 0.36
First Submitted: 2013-02-16 19:36
Last Updated: 2020-05-29 14:58

Latest Comments

1 2 3 Next › Last »

khampf commented on 2020-08-27 20:17

I realise I started working on putting the sources up on github but they are just cloned from sourceforge for now but if you think of patching stuff or doing work on scanbd this could be the new home for it: https://github.com/khampf/scanbd

If I get time for it I might get back to using the software

khampf commented on 2020-08-27 19:21

As I no longer use scanbd myself I am leaving it open for someone else to maintain

Zepman commented on 2020-08-27 17:19

ARM64 works. Just add to the 'arch' array in PKGBUILD the value 'aarch64' (including quotes).

khampf commented on 2020-06-05 09:41

I'm all for POSIX compliance, the original sources have not been touched in three years but I am currently working on a fork of scanbd where we can fix stuff ourselves. Can you verify which scripts that are wrong and check if they are still using sh in my fork of a scanbd clone?

cobaltspace commented on 2020-06-03 02:08

One issue that I have discovered is that many of the scripts in this repo are not posix compliant. When building this package, if you use dash (see https://wiki.archlinux.org/index.php/Dash) as sh, you will need to temporarily switch back to bash, otherwise build will fail.

I opened a ticket upstream, suggesting the fix of replacing #!/bin/sh with #!/bin/bash for the scripts that aren't posix compliant.

khampf commented on 2020-05-29 17:45

@emilio-r: You caught me at the right time :)

emilio-r commented on 2020-05-29 15:12

@khampf: Wow, that must have been the most immediate fix I've ever experienced to a bug report! Thanks a bunch - compiles just fine! :)

khampf commented on 2020-05-29 15:01

@emilio-r: I noticed several similar allocation bugs in addition to the detected one in the upstream source, I hope I squashed them all. Thanks!

emilio-r commented on 2020-05-29 14:24

Doesn't compile:

In file included from /usr/include/string.h:495,
                 from common.h:57,
                 from scanbd.h:36,
                 from config.c:23:
In function ‘strncpy’,
    inlined from ‘make_script_path_abs’ at config.c:159:9:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ 
specified bound 4096 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos 
 (__dest));
      |          
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:503: config.o] Error 1
make[1]: Leaving directory 
'/home/user/.cache/yay/scanbd/src/1.5.1/src/scanbd'
make: *** [Makefile:425: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

ainola commented on 2019-09-06 15:29

@khampf: Thank you for the improvements! I'll give you ownership of this package.