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

Bug 617460

Summary: <dev-qt/qtprintsupport-5.11.0: PPD printer options no longer accessible
Product: Gentoo Linux Reporter: Stephen Bosch <posting>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED UPSTREAM    
Severity: normal CC: expert-judiciaire, josef64, kde, shuber
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-54464
Whiteboard: tracking upstream
Package list:
Runtime testing required: ---
Attachments: qtprintsupport-5.9.3-advancedprint.tar.xz

Description Stephen Bosch 2017-05-04 13:45:10 UTC
The KDE print manager has made PPD options disappear, so device-specific settings such as duplexing and econo-mode cannot be accessed from a print dialog for applications which depend on it, such as kde-apps/okular.

Is there a Gentoo workaround for this problem? Because this worked in KDE 4. Upstream appears to be wholly uninterested in fixing this. See https://bugreports.qt.io/browse/QTBUG-54464 for an example.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-01-03 17:09:03 UTC
*** Bug 643276 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Sturmlechner gentoo-dev 2018-01-03 22:45:24 UTC
Created attachment 513132 [details]
qtprintsupport-5.9.3-advancedprint.tar.xz

Untested with a real print job, but the advanced tab is there.
Comment 3 Stephen Bosch 2018-01-24 12:45:28 UTC
Hi there. Thanks for file. Are these patches that have already been applied in qtprintsupport-5.9.3, or which need to be applied?
Comment 4 Andreas Sturmlechner gentoo-dev 2018-01-25 22:16:07 UTC
They're almost certainly too big to be part of an ebuild, you'll have to apply them yourself.
Comment 5 Stephen Bosch 2018-01-27 17:47:02 UTC
(In reply to Andreas Sturmlechner from comment #4)
> They're almost certainly too big to be part of an ebuild, you'll have to
> apply them yourself.

How would that be handled in Gentoo, then, if they are too big to be part of an ebuild? Do we wait until upstream integrates them in a release? We might be waiting a long time...
Comment 6 Andreas Sturmlechner gentoo-dev 2018-01-27 18:01:43 UTC
See also $summary... these patches are taken from 5.11 branch.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2018-03-13 10:52:31 UTC
This is fixed in 5.11 which is currently scheduled for release by upstream at the end of May. The patchset is too significant IMO to backport.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2018-03-28 09:25:55 UTC
*** Bug 651764 has been marked as a duplicate of this bug. ***
Comment 9 Pierre-Yves Bonnetain-Nesterenko 2018-03-28 12:29:55 UTC
(In reply to Stephen Bosch from comment #5)
> How would that be handled in Gentoo, then, if they are too big to be part of
> an ebuild? Do we wait until upstream integrates them in a release? We might
> be waiting a long time...
Since other people may look for this information, taking the tar.xz' content (thanks to M. Sturmlechner) and using it as user-applied patches (in directory /etc/portage/patches/dev-qt/qtprintsupport) works as a charm (at least with latest version 5.9.4).