Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605784

Summary: net-print/hplip-3.16.11-r2: clarify dependency on obsolete reportlab-2
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Daniel Pielmeier <billie>
Status: RESOLVED FIXED    
Severity: normal CC: printing
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 282754    
Attachments: hplip-3.16.11-r2.ebuild.diff

Description Pacho Ramos gentoo-dev 2017-01-15 15:33:13 UTC
After a long long time, all reverse deps of old reportlab2 were finally ported, helping also with the cleaning of old bitstream-vera-sans fontset

But it seems that hplip started to depend on it after this change:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f570c20cc58cc92c9ebdfdf8f6f5b618e8f75d4

with the USE "fax"

But at least on Fedora, they are able to run the fax support with current reportlab, what is failing in our case?

Thanks
Comment 1 Daniel Pielmeier gentoo-dev 2017-01-15 16:23:39 UTC
I did not author this commit but while verifying it I found a page [1] listing the python 3 limitations of hplip. It seems that fax cover pages do not work with python 3. I suppose this was the reason for changing the dependency.

I can not check myself as my printer is not able to send a fax.

Maybe Fedora just lives with this shortcoming or applies a fix for it.

[1] http://hplipopensource.com/node/369
Comment 2 Andreas Sturmlechner gentoo-dev 2017-01-15 16:30:13 UTC
Created attachment 460204 [details, diff]
hplip-3.16.11-r2.ebuild.diff

I was under the (perhaps wrong) impression that fax cover pages feature did not work with reportlab3. However, I do see now that at least relevant files are installed even with reportlab3, it's just that I cannot runtime test. I would be more than happy to remove the REQUIRED_USE for fax.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-01-15 17:26:36 UTC
Since no one really complained with 3.16.11 I think, we may as well give it the benefit of the doubt. What's good enough for Fedora... (I don't see a specific patch for it)
Comment 4 Daniel Pielmeier gentoo-dev 2017-01-17 17:36:45 UTC
Fixed in GIT. Lets see if if anybody complains.

Thank you for the patch Andreas.
Comment 5 Pacho Ramos gentoo-dev 2017-01-21 11:34:02 UTC
Thanks a lot!