Bug 203776

Summary: [patch] editors/libreoffice: Unbreak printing without CUPS
Product: Ports & Packages Reporter: Peter Jeremy <peterj>
Component: Individual Port(s)Assignee: freebsd-office (Nobody) <office>
Status: New ---    
Severity: Affects Only Me CC: lwhsu, w.schwarzenfeld
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (office)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Build Unix printer management even when CUPS isn't enabled
none
Make the Unix printer manager work without CUPS
none
Enable preceeding patches when CUPS not enabled. none

Description Peter Jeremy freebsd_committer 2015-10-14 18:57:23 UTC
Created attachment 162048 [details]
Build Unix printer management even when CUPS isn't enabled

Whilst it is possible to build libreoffice without CUPS, doing so breaks printing - the print menu is still displayed but there is no underlying printer manager.  This is a regression from previous libreoffice versions.

The attached 3 patches restore normal print operation.

Note that the spadmin program, that does printer administration (adding and removing printers) has been deleted upstream so it's now necessary to manually edit ${LOCALBASE}/lib/libreoffice/share/psprint/psprint.conf and add PPD files to the drivers subdirectory.
Comment 1 Peter Jeremy freebsd_committer 2015-10-14 18:58:29 UTC
Created attachment 162049 [details]
Make the Unix printer manager work without CUPS
Comment 2 Peter Jeremy freebsd_committer 2015-10-14 19:02:36 UTC
Created attachment 162050 [details]
Enable preceeding patches when CUPS not enabled.

Note that the first two (xpatch-*) attachments are new patches to add to editors/libreoffice/files, rather that patches to the ports tree.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-01-17 07:19:06 UTC
Is this still relevant?
Comment 4 Li-Wen Hsu freebsd_committer 2018-03-17 09:49:29 UTC
Hi Peter, cloud you check if this is still working for 6.0.2 and I somehow feel that this might need to be changed in upstream.
Comment 5 Li-Wen Hsu freebsd_committer 2020-06-16 22:17:52 UTC
peterj: ping?