[kde-freebsd] [RFC] fix okular printing

David Naylor naylor.b.david at gmail.com
Tue Jan 25 13:26:40 CET 2011


Hi,

I have found that okular fails to print in FreeBSD.  The problem is that 
okular requires the cups version of lpr but it finds the FreeBSD version (at 
/usr/bin/lpr).  One work around is the CUPS_OVERWRITE_BASE knob however that 
is not a default option.  

The attached patch gets okular to try and find an alternative lpr.  The patch 
has been tested successfully.  

Could someone please add this patch to graphics/kdegraphics4.  

Regards,

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-okular__core__fileprinter.cpp
Type: text/x-c++src
Size: 1074 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20110125/8e77c936/attachment.cpp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20110125/8e77c936/attachment.sig 


More information about the kde-freebsd mailing list