Summary: | Add cups driver for Canon (UFR II), e.g. for imageCLASS MF4320d/MF4350d/MF4370dn | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | aditsu <aditsu> |
Component: | [OLD] Printing | Assignee: | Pacho Ramos <pacho> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | licenses, marshall.mcmullen, pacho, printing, thomas.kreuzer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://support-au.canon.com.au/contents/AU/EN/0100093001.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 399013 | ||
Attachments: |
Canon license
cndrvcups-common-lb-2.70.ebuild cndrvcups-lb-2.70.ebuild |
Description
aditsu
2010-01-30 15:00:03 UTC
An update: I reinstalled the driver (rpm) in the meantime; I'm still getting the "lslim" message from revdep-rebuild. I can print some documents now, but some pdfs won't print. There seems to be an even newer version of UFR2. The cndrvcups-ufr2 (rpm/deb) package is version 2.00-2, however, I couldn't find the source code for this version. Anyhow, is there also the source code for the cndrvcups-common out there? I mean in a recent version? That's needed as well, right? I just found this: http://bugs.gentoo.org/130612 The common files already exist in form of an ebuild (at least vor version 1.90-1) The Linux driver is no longer available on the HK site but there seem to be 2 drivers on the SG site: - UFR II - http://support-sg.canon-asia.com/contents/SG/EN/0100270807.html - CAPT (found on the other bug report) - http://support-sg.canon-asia.com/contents/SG/EN/0900772407.html I wonder what's the difference Oh wait, the CAPT one may be for different models. I was only offered the UFR II for <subject>. Canon UFR II driver for cups... it's a binary blob :| Are you interested in maintaning this driver directly yourself in the new printer-drivers overlay [1]? If yes, just send me via personal e-mail at dilfridge@gentoo.org the following data, so we can give you git push access to the overlay: * the user name that you'd like to have * your public ssh key [2], so we can give you git push access to the overlay * your e-mail address * and your full name If you have a gnupg key, you should sign that e-mail [3]. Just a few rules: * Initially, the ebuilds should work for you, and not break anything else. * You enter yourself as maintainer in metadata.xml (together with the printing herd), and are then automatically cc'ed in bug reports on bugzilla. * We will guide you towards improving the ebuilds over the next months so they follow the rules and qa guidelines of the Gentoo main portage tree. In particular this means also using a recent EAPI (3 or perferably 4), and fixing repoman warnings [4]. Don't worry, we'll help you with that. * I hope this is never going to happen, but... ebuilds that "work but go against the guidelines" and do not see any improvement will be removed again one year after initial addition. There are many ways to get help. * You can directly ask me by personal e-mail (my time is limited, but I'll try), * you can ask on freenode, channel #gentoo-dev-help, * you can read the documentation (ebuild howto [5], devmanual [6]), * ... [1] http://git.overlays.gentoo.org/gitweb/?p=proj/printer-drivers.git;a=summary [2] http://www.gentoo.org/doc/en/articles/openssh-key-management-p1.xml [3] http://www.gentoo.org/doc/en/gnupg-user.xml [4] http://dev.gentoo.org/~zmedico/portage/doc/man/repoman.1.html [5] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2 [6] http://devmanual.gentoo.org/ (In reply to comment #7) > Are you interested in maintaning this driver directly yourself in the new > printer-drivers overlay [1]? I am potentially interested, but have no idea how to go about it. Assuming I successfully get access to the overlay, I don't know what to do next. I'll probably need assistance to the extent that somebody else will be practically doing all the work. > Just a few rules: > * Initially, the ebuilds should work for you That's the most difficult part. I still don't have it working reliably, and revdep-rebuild always complains about lslim. If you think these points are not "blockers", then I'll try to get the required info and email you. P.S. There's a "cups-bjnp" in portage, I'm not sure if it works for my printer and how to test it A little update: I set up the printer on a new laptop, and for that I downloaded newer drivers from http://www.usa.canon.com/cusa/support/consumer/printers_multifunction/imageclass_series/imageclass_mf4370dn#DriversAndSoftware (Linux_UFRII_PrinterDriver_V250_us_EN.tar.gz) It has 32 and 64-bit drivers (in RPM form), documents and source code. I installed the RPMs using rpm -ivh --nodeps I got an error that /usr/libexec/cups/filter/pstoufr2cpca was not found, so I symlinked it from /usr/lib64/cups/filter/pstoufr2cpca, then I was able to print a test page. revdep-rebuild finds these problems: * broken /usr/lib64/libcanonufr2.la (requires -lslim) * broken /usr/lib64/libcanonufr2.la (requires /usr/lib/gcc/i386-redhat-linux/3.4.3/../../..//libxml2.la) * broken /usr/local/lib64/libuictlufr2.la (requires /usr/lib64/libxml2.la) I suspect I can fix the libxml2 errors by reinstalling libxml2 with USE=static-libs; still not sure what to do about lslim USE=static-libs didn't fix it, but lafilefixer did. As for -slim, I googled for libslim and ended up downloading and installing slimdata-2.6.4-4.fc18.x86_64.rpm and slimdata-devel-2.6.4-4.fc18.x86_64.rpm (Fedora packages). Now revdep-rebuild doesn't find any more problems :) During my research, I also found this discussion: http://forums.gentoo.org/viewtopic-t-817262.html - it looks like somebody already worked on an ebuild. Updated version at: http://software.canon-europe.com/software/0043778.asp I am trying to get that .exe file (that contains RPMs) :S Created attachment 352208 [details]
Canon license
(In reply to Pacho Ramos from comment #12) > Created attachment 352208 [details] > Canon license Licenses, can you take a look to Canon license to see if you are ok? (or we already have it with a different name...) Thanks Created attachment 352214 [details]
cndrvcups-common-lb-2.70.ebuild
Created attachment 352216 [details]
cndrvcups-lb-2.70.ebuild
Done Hi, I installed the new driver and it doesn't seem to work - the printer is not doing anything when I print but cups says the job is completed. Open a separate bug then (that should also contain cups logs, /var/log/syslog and journalctl outputs) |