Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720022 - app-text/xpdf[cups] need to enable also dev-qt/qtprintsupport[cups]:5
Summary: app-text/xpdf[cups] need to enable also dev-qt/qtprintsupport[cups]:5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 16:26 UTC by Marco Genasci
Modified: 2020-04-30 09:06 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 Marco Genasci 2020-04-29 16:26:02 UTC
When compiling app-text/xpdf with cups support this allow to print only to file.
This happens because dev-qt/qtprintsupport dependency doesn't force enable cups use flag.
So ebuild dependencies should be changed from
        cups? (
                dev-qt/qtprintsupport:5
                net-print/cups
        )
to
        cups? (
                dev-qt/qtprintsupport[cups]:5
                net-print/cups
        )

Reference:
https://forums.gentoo.org/viewtopic-t-1112246.html

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-04-30 08:41:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12add41ec6c64c8f4224154d3a69af61432e1924

commit 12add41ec6c64c8f4224154d3a69af61432e1924
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-04-30 08:32:38 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-04-30 08:36:10 +0000

    app-text/xpdf: fix dep on dev-qt/qtprintsupport
    
    Closes: https://bugs.gentoo.org/720022
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 app-text/xpdf/xpdf-4.02-r4.ebuild | 147 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 147 insertions(+)
Comment 2 Andrew Savchenko gentoo-dev 2020-04-30 08:56:23 UTC
Please note that dev-qt/qtprintsupport[cups]:5 dependency syntax is not valid, because :5 is a part for the atom specification and a slot dep should follow an atom. So the proper one is dev-qt/qtprintsupport:5[cups].
Comment 3 Marco Genasci 2020-04-30 09:06:26 UTC
(In reply to Andrew Savchenko from comment #2)
> Please note that dev-qt/qtprintsupport[cups]:5 dependency syntax is not
> valid, because :5 is a part for the atom specification and a slot dep should
> follow an atom. So the proper one is dev-qt/qtprintsupport:5[cups].

You right sorry, I'm wrong in forum and the copy and paste don't help :P