Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111272

Summary: enhancement for version 6 of cups drivers
Product: Gentoo Linux Reporter: Chris Smith <chris>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to update cupsaddsmb.c
updates cups-1.1.23-r4.ebuild to apply the cupsaddsmb.patch

Description Chris Smith 2005-11-02 10:02:03 UTC
Patches to build the updated cupsaddsmb in order to facilitate use of the new
cups version 6 drivers.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Smith 2005-11-02 10:04:02 UTC
Created attachment 71941 [details, diff]
patch to update cupsaddsmb.c

updates cupsaddsmb.c to enable cups version 6 driver support with cupsaddsmb
Comment 2 Chris Smith 2005-11-02 10:06:52 UTC
Created attachment 71943 [details, diff]
updates cups-1.1.23-r4.ebuild to apply the cupsaddsmb.patch

The ebuild looks for the cupsaddsmb.patch in $FILESDIR
(/usr/portage/net-print/cups/files).
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-11-02 12:28:56 UTC
Please attach unified diffs (diff -u old new) when you change an ebuild.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-25 06:11:02 UTC
Where did you get this patch from? Is it something that upstream recommends? What driver do you use?
Comment 5 Chris Smith 2005-12-25 09:39:52 UTC
Created the patch from a diff of the current cupsaddsmb.c and the one found at: http://svn.easysw.com/public/windows/trunk/

Mike Sweet has written that he believes the version 6 Windows drivers to be stable. Apparently they will make into the 1.2 CUPS release. They can be downloaded and used as is from the same link as above.
The cupsaddsmb utility is not the only way to initialize Samba for the drivers use but it is the easiest. But the new cupsaddsmb found at the link above is needed for the version 6 drivers.

I have been using this ebuild and patch on production systems with the version 6 drivers installed on various Win2k and XP systems printing via Samba/CUPS since I opened this issue. All works excellent.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-25 10:54:41 UTC
That is certainly desirable to have, I will add the patch.
Comment 7 Chris Smith 2005-12-25 10:59:24 UTC
Super. Thanks!
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-25 11:24:32 UTC
Thanks, fixed