Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616960 - kde-apps/*:5 with dev-qt/qtprintsupport[-cups] - No Printers besides PDF
Summary: kde-apps/*:5 with dev-qt/qtprintsupport[-cups] - No Printers besides PDF
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-29 09:19 UTC by Manfred Knick
Modified: 2017-05-07 07:59 UTC (History)
0 users

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


Attachments
[ e.g. ] emerge --info kate >> emerge--info--kate.txt (emerge--info--kate.txt,5.82 KB, text/plain)
2017-04-29 09:19 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2017-04-29 09:19:27 UTC
Created attachment 471254 [details]
[ e.g. ]    emerge --info kate >> emerge--info--kate.txt

Since upgrade of QT -> 5.7.1 and KDE-Apps -> 17.04,
KDE applications only show "Print to PDF",
albeit other ( Laser | Ink | FAX) printers are still configured in CUPS
and work perfectly for non-KDE applications.

Please, let me know which addition information would be helpful.
Comment 1 Manfred Knick 2017-04-29 09:26:04 UTC
Additional Information:

I'm working    x11-wm/awesome-4.1:0  .
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-04-29 10:21:01 UTC
I've had the same problem too since at least 16.12.x
Comment 3 Manfred Knick 2017-05-04 21:47:50 UTC
# kcmshell5 --list  |   grep  kcm_printer_manager
#

# equery depends =kde-apps/print-manager-17.04.0
#

# grep -R -i "print-manager" /usr/portage/kde-apps/*/*.ebuild  |  grep "17.04"

/usr/portage/kde-apps/kdeutils-meta/kdeutils-meta-17.04.0.ebuild:
       cups? ( $(add_kdeapps_dep print-manager) )


. . . SOLUTION :

. . . Adding "cups" to USE="..." in /etc/portage/make.conf

. . . WORKSFORME.
Comment 4 Manfred Knick 2017-05-05 06:50:59 UTC
CAUSATION:

. . . I'm running on profile default/linux/amd64/13.0 .
. . . This problem probably will not occur on "desktop" profiles
. . . ( --> /usr/portage/profiles/targets/desktop/make.defaults:
. . . ( --> USE="... cups ...")

Amongst others, affected packages were:
. . . x11-libs/gtk+
. . . dev-qt/qtgui
. . . dev-qt/qtprintsupport

In order to turn on CUPS printing support, e.g. changing to IUSE="+cups ..." in /usr/portage/kde-apps/kdeutils-meta/kdeutils-meta-17.04.0.ebuild etc. seems not to be sufficient: without the global USE="cups" in make.conf, dev-qt/qtprintsupport would still be built with USE="-cups".


@ Gentoo KDE team :

Leaving this open for you
a) to avoid duplicates in near future
b) for you to decide
   if any additional dependency or warning should be applied.

Please, feel free to close as soon as you see fit.

Thanks.
Comment 5 Andreas Sturmlechner gentoo-dev 2017-05-05 10:12:42 UTC
If you disable cups, you don't have printing support. Not really anything to do here.

@kensington: You don't have a different issue than disabled cups, by chance?
Comment 6 Manfred Knick 2017-05-05 11:36:37 UTC
(In reply to Andreas Sturmlechner from comment #5)

> If you disable cups,

. . . . .^^^^^^^ . . ?    I did not disable anything at all.


(In reply to Manfred Knick from comment #0)

> albeit other ( Laser | Ink | FAX) printers are still configured in CUPS
> and work perfectly for non-KDE applications.


POINT:

KDE printer selection and printing _had_ worked
_without_ explicitly setting USE=cups" before:

(In reply to Manfred Knick from comment #0)
> Since upgrade of QT -> 5.7.1 and KDE-Apps -> 17.04, ...


From [ https://wiki.gentoo.org/wiki/KDE/de#Profil ] :

"Choosing an appropriate profile, although _not_ required, ..."

Deliberately I avoided to call this a regression.


(In reply to Andreas Sturmlechner from comment #5)
> ... Not really anything to
> do here. ...

Well ... Closing, then.
Comment 7 Andreas Sturmlechner gentoo-dev 2017-05-05 12:33:03 UTC
(In reply to Manfred Knick from comment #6)
> (In reply to Andreas Sturmlechner from comment #5)
> 
> > If you disable cups,
> 
> . . . . .^^^^^^^ . . ?    I did not disable anything at all.
Sorry, wording: If it is not enabled. The whole point of not using a desktop profile is that you figure that stuff out for yourself.

(In reply to Manfred Knick from comment #6)
> (In reply to Andreas Sturmlechner from comment #5)
> KDE printer selection and printing _had_ worked
> _without_ explicitly setting USE=cups" before:
> 
> (In reply to Manfred Knick from comment #0)
> > Since upgrade of QT -> 5.7.1 and KDE-Apps -> 17.04, ...
Nothing has changed between those versions.


> (In reply to Andreas Sturmlechner from comment #5)
> > ... Not really anything to
> > do here. ...
> 
> Well ... Closing, then.
You are not the only person involved in this bug.
Comment 8 Manfred Knick 2017-05-05 18:44:35 UTC
(In reply to Andreas Sturmlechner from comment #7)

> > > Since upgrade of QT -> 5.7.1 and KDE-Apps -> 17.04, ...

> Nothing has changed between those versions.

  Sure. Without question.

  I'm really deeply sorry -
  be assured I will never ever bother Gentoo_KDE again.
Comment 9 Andreas Sturmlechner gentoo-dev 2017-05-05 19:10:04 UTC
(In reply to Manfred Knick from comment #8)
>   I'm really deeply sorry -
>   be assured I will never ever bother Gentoo_KDE again.
I don't understand that response. Sometimes the cause of a bug is on your end, pointing that out is not meant as any kind of humiliation. It is not like your bug was shot down without explanation, so please appreciate the time we *do* take to look into your issue. It is a simple fact that there has been no change with regards to the cups USE flag in KDE meta ebuilds. You have shown to know how to grep through ebuilds, so you have all the power to compare the content of kdeutils-meta-16.12.3 with kdeutils-meta-17.04.0, and additionally all the history is laid out in git.

Please continue to report bugs, your perseverance to analyze and find patterns with them is much appreciated, but also accept that my responses are short and to the point.
Comment 10 Andreas Sturmlechner gentoo-dev 2017-05-07 07:59:00 UTC
Closing this bug after checking back that comment #2 was caused by the same issue.