Bug 203776 - [patch] editors/libreoffice: Unbreak printing without CUPS
Summary: [patch] editors/libreoffice: Unbreak printing without CUPS
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-10-14 18:57 UTC by Peter Jeremy
Modified: 2024-05-12 23:20 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
Build Unix printer management even when CUPS isn't enabled (495 bytes, patch)
2015-10-14 18:57 UTC, Peter Jeremy
no flags Details | Diff
Make the Unix printer manager work without CUPS (727 bytes, patch)
2015-10-14 18:58 UTC, Peter Jeremy
no flags Details | Diff
Enable preceeding patches when CUPS not enabled. (515 bytes, patch)
2015-10-14 19:02 UTC, Peter Jeremy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 2018-01-17 07:19:06 UTC
Is this still relevant?
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 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 freebsd_triage 2020-06-16 22:17:52 UTC
peterj: ping?