Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402987 - app-office/libreoffice-bin: please make the cups dependency optional (or drop it)
Summary: app-office/libreoffice-bin: please make the cups dependency optional (or drop...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-10 11:16 UTC by Michał Górny
Modified: 2012-02-28 13:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-02-10 11:16:15 UTC
$ grep cups $(qlist libreoffice)
Binary file /usr/lib64/libreoffice/basis3.4/program/libvcllx.so matches

And I don't see a single CUPS library in NEEDED. Considering that libreoffice works fine without CUPS, I don't think it should force pulling it in.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-02-26 22:46:33 UTC
Should be doable... one warning however, with libreoffice, cups=printing... there is no other print backend anymore.
Comment 2 R. David Murray 2012-02-27 20:55:11 UTC
The only reason I have libreoffice installed is to look at the brain damaged windows docs some people email me that catdoc and antiword can't handle usefully.  I don't need to print them, and I hate cups.  So yes, please please make it optional again.
Comment 3 R. David Murray 2012-02-27 20:56:23 UTC
Oh, wait, libreoffice-bin.  I'm talking about libreoffice from source.  Should I open new issue for that?
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2012-02-27 21:34:58 UTC
(In reply to comment #3)
> Oh, wait, libreoffice-bin.  I'm talking about libreoffice from source.  Should
> I open new issue for that?

Not needed... is fixed now.
Comment 5 R. David Murray 2012-02-28 12:45:13 UTC
I just did an emerge --sync (on a ~x86 system), and it is still telling me that cups is required (for libreoffice, I haven't tried libreoffic-bin).
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-28 12:55:36 UTC
(In reply to comment #5)
> I just did an emerge --sync (on a ~x86 system), and it is still telling me
> that cups is required (for libreoffice, I haven't tried libreoffic-bin).

It indeed is required for build time, but in RDEPEND it is only under cups? useflag.

If you want to have it optional you can properly ifdef the code in
 core/vcl/unx/generic/printer/
And send me patch which I will then incorporate upstream. I personaly don't have time to do that myself.
Comment 7 R. David Murray 2012-02-28 13:13:31 UTC
Considering how little I use libreoffice I don't have time either.  I'm just going to remove it from my system.  If I need to look at something catdoc doesn't handle I'll try uploading it to google docs.

Thanks for fixing the -bin, though, I'm sure a number of people will benefit from that.