After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722495 - Support building printers panel without smbclient
Support building printers panel without smbclient
Status: RESOLVED WONTFIX
Product: gnome-control-center
Classification: Core
Component: Printers
git master
Other All
: Normal normal
: ---
Assigned To: Marek Kašík
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-18 15:11 UTC by Jürg Billeter
Modified: 2014-01-20 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (7.58 KB, patch)
2014-01-18 15:11 UTC, Jürg Billeter
none Details | Review

Description Jürg Billeter 2014-01-18 15:11:01 UTC
Created attachment 266611 [details] [review]
Proposed patch

Fix for bug 693923 completely disables the printers panel when smbclient is not available. The attached patch changes that to build the printers panel without Samba support.

I haven't been able to fully test it with smbclient enabled, however, the patch is simple enough.
Comment 1 Bastien Nocera 2014-01-18 16:37:05 UTC
No, I don't think that's something we want. If the printers panel is enabled, it should be fully featured. If you compile without libsmbclient, documentation is invalidated, and send people trying to add SMB printers on a wild goose chase as to why their printers aren't recognised.

If disk space is at a premium, I'd rework the packages to include the minimal dependencies for libsmbclient instead of removing smbclient support and breaking the printers panel in unexpected ways.
Comment 2 Jürg Billeter 2014-01-18 16:51:39 UTC
I can see a point in the documentation issue. However, the current situation is that the whole printers panel gets disabled if smbclient (or CUPS) is not available. The documentation mismatch is much worse if the user can't even open the printers panel as the GNOME help for 'Hardware' still includes 'Printing'.

In other words, I don't see a situation where this patch makes things worse for users.
Comment 3 Bastien Nocera 2014-01-20 11:45:23 UTC
(In reply to comment #2)
> I can see a point in the documentation issue. However, the current situation is
> that the whole printers panel gets disabled if smbclient (or CUPS) is not
> available. The documentation mismatch is much worse if the user can't even open
> the printers panel as the GNOME help for 'Hardware' still includes 'Printing'.

At least the message is clear. There's no printing panel, so no printing support. The Printers documentation can be removed all together if the distributor doesn't want to ship the Printers panel.

> In other words, I don't see a situation where this patch makes things worse for
> users.

I fail to see how it makes it better for users.