On Sunday 26 July 2009 20:10:26 Marc Fonvieille wrote: > On Sun, Jul 26, 2009 at 03:27:36PM +0200, Hans Petter Selasky wrote: > > On Sunday 26 July 2009 15:12:24 Marc Fonvieille wrote: > > > On Sun, Jul 26, 2009 at 02:55:42PM +0200, Marc Fonvieille wrote: > > > > Then I read the CVS logs about SANE's ports and > > > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/sane-backends/Ma > > > >kefi le seems to say that SANE is broken since removal of uscanner(8), > > > > am I right? > > > > > > Ok, I read the Makefile, SANE is by default w/o libusb support cause > > > it's broken with libusb coming with 8.X so it's normal that the scanner > > > is not found. > > > Is there any plan in fixing that problem before 8.0-RELEASE? > > > > I think this is an old error. Have you tried compiling SANE from ports > > with libusb support enabled? > > It's impossible cause of this Makefile part: > > .if (defined(WITHOUT_USB) || ${OSVERSION} > 800000) > CONFIGURE_ARGS+= --disable-libusb > .else > .if ${OSVERSION} < 800069 > LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb > .endif > .endif > > So SANE is built w/o libusb support even if you check the option. I > tried to comment this part but the build failed on sanei_usb.c etc. > > I think someone with USB foo should have a look to the port.
Patch: /usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/sanei/sanei_usb.c At beginning of file change: #if defined (__FreeBSD__) #include <sys/param.h> #include <dev/usb/usb.h> #endif /* __FreeBSD__ */ To: #if (defined (__FreeBSD__) && (__FreeBSD_version < 800064)) #include <sys/param.h> #include <dev/usb/usb.h> #endif /* __FreeBSD__ */ That's all. ... Making all in po gmake[1]: Entering directory `/usr/ports/graphics/sane-backends/work/sane- backends-1.0.20/po' generating sane-backends.bg.mo from sane-backends.bg.po generating sane-backends.cs.mo from sane-backends.cs.po generating sane-backends.da.mo from sane-backends.da.po generating sane-backends.de.mo from sane-backends.de.po generating sane-backends.en_GB.mo from sane-backends.en_GB.po generating sane-backends.eo.mo from sane-backends.eo.po generating sane-backends.es.mo from sane-backends.es.po generating sane-backends.fi.mo from sane-backends.fi.po generating sane-backends.fr.mo from sane-backends.fr.po generating sane-backends.it.mo from sane-backends.it.po generating sane-backends.nb.mo from sane-backends.nb.po generating sane-backends.nl.mo from sane-backends.nl.po generating sane-backends.pl.mo from sane-backends.pl.po generating sane-backends.pt.mo from sane-backends.pt.po generating sane-backends.ru.mo from sane-backends.ru.po generating sane-backends.sv.mo from sane-backends.sv.po gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane- backends-1.0.20/po' gmake[1]: Entering directory `/usr/ports/graphics/sane-backends/work/sane- backends-1.0.20' gmake[1]: Nothing to be done for `all-am'. gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane- backends-1.0.20' --HPS _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"