Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542616 - net-misc/electrum-2.0.0: -qrcode depends on dev-python/qrcode
Summary: net-misc/electrum-2.0.0: -qrcode depends on dev-python/qrcode
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 01:15 UTC by tot-to
Modified: 2015-03-10 20:03 UTC (History)
4 users (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 tot-to 2015-03-09 01:15:40 UTC
net-misc/electrum emerged without QR-code support still causes dev-python/qrcode to be pulled and in the running software QR-codes are still shown.

Reproducible: Always

Steps to Reproduce:
1. USE=qrcode emerge electrum
Actual Results:  
pulls dev-python/qrcode, 
QR-codes are drawn in the "Recieve" tab of the running electrum.

Expected Results:  
No QR-codes in GUI, no qrcode library.
Comment 1 Luke-Jr 2015-03-10 18:50:06 UTC
This is correct, only scanning QR codes is optional. Please ask upstream to make generating them optional if you want the USE flag to control it.

(bug should be closed as UPSTREAM, but bugzilla doesn't let me)
Comment 2 tot-to 2015-03-10 19:11:50 UTC
Thanks for clarification.

If it's about scanning, but not generating QR-codes, then...

1) why it doesn't cause the dependency on media-libs/libv4l or something in order to catch codes from camera?

2) I think the USE-flag name is ambiguous. May be it would be better to use something like "qrscan" instead?
Comment 3 Luke-Jr 2015-03-10 19:19:01 UTC
(In reply to tot-to from comment #2)
> 1) why it doesn't cause the dependency on media-libs/libv4l or something in
> order to catch codes from camera?

It does, the dependency is on media-gfx/zbar[v4l]

> 2) I think the USE-flag name is ambiguous. May be it would be better to use
> something like "qrscan" instead?

I have no opinion. Does anything else treat scanning separately from generation?
Comment 4 tot-to 2015-03-10 20:03:41 UTC
> It does, the dependency is on media-gfx/zbar[v4l]
Oh, you right, my mistake.
> Does anything else treat scanning separately from generation?
I think scanning and generation are always two separate features. They just rarely needed to be in the same software, but cryptocurrency software looks like the case.

I've never seen qr-scanning in the desktop application before and apparently created this report by mistake, so I'm closing it. But qr-scanning seems to be something logically distinct from the generation. Although it looks like electrum is the only software in portage with such function, I still suggest to use other flag name in this case.