I've just installed PCBSD and noticed that support for Epson class inkjet printers are mostly lacking from the ports-tree even though drivers are available for Linux. I had an Epson WF-3520 printer/scanner fully working on Slackware, so knew that the source was available and the steps to get it going.
The good news is that my printer (Epson WF-3520) now works using the source that Epson distributes for linux with the Makefile below; It in fact builds from source so doesn't even use the linux compatibility layer. This implies that most recent Epson Inkjet printers should in fact work fine in contrast what the posts in this and other fora seem to say. List of Epson printers supported by this driver can be found here and it is long.
Bad news is that the test-requirements listed in the porters handbook still give me warnings that I can't get rid of. I think I'm missing something regarding the shared library that gets installed, but don't see how to fix it.
Any suggestions on what I should do to fix the warnings listed below the build-file as I'm out of ideas and lack experience with the ports system:
The Makefile as I have it now:
Really not sure why items should be missing from the list generated by
Other warning I see is when running
This one worries me more as it seems to indicate that something more fundamental goes wrong during the install-stage. So hopefully someone has some thoughts/suggestions on how to fix these remaining issues?
ps) I haven't yet looked at the scanner, but that was working under Linux for me as well, so think it should be possible to get it running as well.
The good news is that my printer (Epson WF-3520) now works using the source that Epson distributes for linux with the Makefile below; It in fact builds from source so doesn't even use the linux compatibility layer. This implies that most recent Epson Inkjet printers should in fact work fine in contrast what the posts in this and other fora seem to say. List of Epson printers supported by this driver can be found here and it is long.
Bad news is that the test-requirements listed in the porters handbook still give me warnings that I can't get rid of. I think I'm missing something regarding the shared library that gets installed, but don't see how to fix it.
Any suggestions on what I should do to fix the warnings listed below the build-file as I'm out of ideas and lack experience with the ports system:
The Makefile as I have it now:
Code:
# $FreeBSD$
PORTNAME= epson-inkjet-printer-escpr
PORTVERSION= 1.4.0
CATEGORIES= print
MASTER_SITES= http://download2.ebz.epson.net/dsc/f/03/00/02/71/40/d81129c2d066e3ee33b41e4dfcf2a4d414d1f22f/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1lsb3.2
MAINTAINER= spam@gmail.com
COMMENT= Epson Inkjet Printer Driver (ESC/P-R)
LICENSE= GPLv2
USES= libtool
LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client \
libcupsimage.so:${PORTSDIR}/print/cups-image
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-cupsfilterdir=${LOCALBASE}/libexec/cups/filter \
--with-cupsppddir=${LOCALBASE}/share/cups
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.mk>
Code:
[hge@dwarfstar] /home/hge/packages/epson-inkjet-printer-escpr# make check-orphans
====> Items missing from pkg-plist (check-orphans)
Really not sure why items should be missing from the list generated by
make makeplist
. Comparing with the generated package the only thing I notice is that the pkg-plist is missing the license installed triggered by setting the license. Might be intentional that it is not removed? Other warning I see is when running
make stage
with DEVELOPER=true in make.conf
Code:
====> Running Q/A tests (stage-qa)
Warning: /usr/home/hge/packages/epson-inkjet-printer-escpr/work/stage/usr/local/lib/libescpr.so.1 is not stripped consider using ${STRIP_CMD}
This one worries me more as it seems to indicate that something more fundamental goes wrong during the install-stage. So hopefully someone has some thoughts/suggestions on how to fix these remaining issues?
ps) I haven't yet looked at the scanner, but that was working under Linux for me as well, so think it should be possible to get it running as well.