[Bug 261891] [NEW PORT] graphics/epsonscan2: scanner engine supporting many Seiko/Epson scanners

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 12 Feb 2022 17:59:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261891

--- Comment #5 from Rainer Hurling <rhurlin@FreeBSD.org> ---
I tried your patch with a 'Perfection V600/GT-X820' on USB. 

To use it as a non-root user, I had to add the following lines in
/etc/devfs.rules and restart the service (perhaps a hint in
'Read_me.FreeBSD'?):

[system=5]
add path 'ugen2.2' mode 0660 group usb
add path 'usb/2.2.0' mode 0666 group usb



While 'epsonscan2 -l' works as expected, other commands (on command line and in
gui) core dump:

#epsonscan2 -c
Assertion failed: (un32BasicResolution > 0), function GetMaxScanSize, file
/usr/ports/graphics/epsonscan2/work/epsonscan2-6.6.40.0-1/src/ES2Command/Src/Command/ESCI/ESCIAccessor.cpp,
line 1128.



BTW, it seems devel/boost-libs should also be a dependency:

--- Makefile    2022-02-12 17:40:51.185262000 +0100
+++ /usr/ports/graphics/epsonscan2/Makefile     2022-02-12 17:45:35.026525000
+0100
@@ -12,7 +12,8 @@
 LICENSE=       GPLv3

 BUILD_DEPENDS= sane-config:graphics/sane-backends
-LIB_DEPENDS=   libdouble-conversion.so:devel/double-conversion \
+LIB_DEPENDS=   libboost_serialization.so:devel/boost-libs \
+               libdouble-conversion.so:devel/double-conversion \
                libfreetype.so:print/freetype2 \
                libglib-2.0.so:devel/glib20 \
                libGL.so:graphics/libglvnd \

-- 
You are receiving this mail because:
You are the assignee for the bug.