Bug 16513 - system-config-printer should require/recommend python3-smbc package
Summary: system-config-printer should require/recommend python3-smbc package
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18367
  Show dependency treegraph
 
Reported: 2015-07-31 21:40 CEST by Oleg Bosis
Modified: 2017-12-31 21:46 CET (History)
5 users (show)

See Also:
Source RPM: system-config-printer-1.5.5-5.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Oleg Bosis 2015-07-31 21:40:58 CEST
Description of problem:
system-config-printer does not allow browsing for samba printers if python3-smbc package is not installed. The 'Browse' button in samba printer config dialog is disabled if python-3-smbc package is missing.

Also system-config-printer wrongly reports that is requires 'pysmbc' package instead of python3-smbc (see the tooltip on the 'Browse' button when it is disabled).

Version-Release number of selected component (if applicable):
1.5.5-5

How reproducible:
always

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
David GEIGER 2015-08-01 22:55:54 CEST

CC: (none) => geiger.david68210, makowski.mageia

Comment 1 David Walser 2015-08-20 19:17:00 CEST
Fedora has just added python3-smbc as a Suggests to the libs subpackage, so we can do the same.  pysmbc is the name of the software, so it's actually not wrong; it's not meant to match the package name.
Comment 2 Oleg Bosis 2015-08-20 19:52:37 CEST
(In reply to David Walser from comment #1)
> pysmbc is the name of the software, so it's actually
> not wrong; it's not meant to match the package name.

But this name would completely confuse users. Mageia is a user friendly linux distribution, right? I think it should match the package name. This would allow users to find the required package with rpmdrake easily.
Comment 3 Florian Hubold 2015-08-21 18:48:12 CEST
That would be the matter for a separate bug report, but will probably not happen, see our naming conventions: https://wiki.mageia.org/en/Python_policy#Naming_Conventions


FWIW, this issue was also reported via forums:
https://forums.mageia.org/de/viewtopic.php?f=7&t=2569

CC: (none) => doktor5000

Comment 4 David Walser 2015-08-25 23:11:16 CEST
(In reply to Oleg Bosis from comment #2)
> (In reply to David Walser from comment #1)
> > pysmbc is the name of the software, so it's actually
> > not wrong; it's not meant to match the package name.
> 
> But this name would completely confuse users. Mageia is a user friendly
> linux distribution, right? I think it should match the package name. This
> would allow users to find the required package with rpmdrake easily.

No, that message is the program saying which Python module it failed to find.  It is from upstream and they have no way of knowing for sure what downstream is going to call the package that contains it.  It should be a non-issue once the suggests is added and I don't see any value in patching that.
Comment 5 Philippe Makowski 2015-08-31 13:38:52 CEST
I will add python3-smbc as a Suggests

Assignee: bugsquad => makowski.mageia

Comment 6 Philippe Makowski 2015-09-01 19:25:25 CEST
Done in Cauldron, is an update in Mageia 5 really necessary ?

Assignee: makowski.mageia => bugsquad

Comment 7 Florian Hubold 2015-09-01 21:07:07 CEST
I don't think so. You could commit it there, and it can be pushed along with the next regular update.
Marja Van Waes 2016-05-05 10:22:15 CEST

Blocks: (none) => 18367

Comment 8 Marja Van Waes 2016-08-10 19:41:34 CEST
On the 25th of July, Phillipem uploaded the following packages to 
Cauldron's core/updates_testing:

    system-config-printer-1.5.7-5.mga6.i586
    system-config-printer-applet-1.5.7-5.mga6.i586
    system-config-printer-udev-1.5.7-5.mga6.i586

    system-config-printer-libs-1.5.7-5.mga6.noarch

    system-config-printer-1.5.7-5.mga6.x86_64
    system-config-printer-applet-1.5.7-5.mga6.x86_64
    system-config-printer-udev-1.5.7-5.mga6.x86_64


@ Anyone reading this:

* If this bug is valid for you in cauldron, then please test whether updating your system-config-printer packages to version 1.5.7-5.mga6 fixes the problem and report back in this bug report.

* If you do not have this bug in cauldron, but you do run cauldron, then please update those packages, too, and report in bug 18367 whether they work as expected.

CC: (none) => marja11

Comment 9 Nicolas Lécureuil 2016-10-25 09:43:01 CEST
Fixed on 5 and cauldron.

Status: NEW => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED

Comment 10 David Walser 2017-12-31 21:46:30 CET
Actually this wasn't fixed for 5 because we never pushed it, but that's OK.

Version: 5 => Cauldron


Note You need to log in before you can comment on or make changes to this bug.