Don't know if this works, I have to much cups files on my system. But feel free to test this driver and inform me ;) mfg Dietrich Reproducible: Always Steps to Reproduce:
Created attachment 38313 [details] canon_i560-2.2.ebuild
The Driver doesn't work with gtk2 because of wrong libraries. Therefore the ink filling and further options aren't available. The driver is build against libglade.so.0 (gtk) instead of libglade-2.0.so.0 (gtk2), so gtk2 doesn't work (=>/usr/local/bin/bjfilterpixus560i --display :0 --gui >/dev/usb/lp0). The only way, in my opinion, is to get the driver build from source. But this doesn't work with printui and stsmon because they are programmed with gtk support, but not gtk2. A bigger problem is, that the needed library files (beginning with libcn... the number is a unique ID for the printer model) aren't in the source files, so we need to extract the printer library files out of the RPM files. That means mixing of closed and compiled binaries. I think the main problem is that Canon develop this drivers for TurboLinux and RedHat 6 (which are based on GTK 1). Well the filter driver ebuild could I write (including the library extractions), but for the gtk2 adoptations I need some help, because I'm not firm with this.
sorry, seem's that this ebuild does not works. I have tested it now again...
Here an source ebuild. Splitting of binary and source libraries are need. Binary libraries couldn't be moved to /opt because hard links in binary libraries towards /usr/lib
Created attachment 47243 [details] net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild Canon binary libraries (closed source) ebuild
Created attachment 47244 [details] net-print/bjfilterpixus560i/bjfilterpixus560i-2.4.ebuild Driver ebuild for Canon PIXUS 560i printer (in Europe: Canon i560)
Created attachment 47245 [details] net-print/bjfilterpixus560i/files/bjcups-2.4-0_gentoo.patch Gentoo patches for bjcups
Created attachment 47246 [details] net-print/bjfilterpixus560i/files/bjcupsmon-2.4-0_gentoo.patch Gentoo patches for bjcupsmon
Created attachment 47247 [details] net-print/bjfilterpixus560i/files/bjfilter-2.4-0_gentoo.patch Gentoo patches for bjfilter
Created attachment 47248 [details] net-print/bjfilterpixus560i/files/printui-2.4-0_gentoo.patch Gentoo patches for printui
Created attachment 47249 [details] net-print/bjfilterpixus560i/files/stsmon-2.4-0_gentoo.patch Gentoo patches for stsmon
ok, let's test it :) Thanks for the work!
Created attachment 47399 [details] net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild Fixing wrong symlinks (symlinks in / instead of /usr/lib). Sorry...
Created attachment 47402 [details] net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild Switching to rpm-eclass
Created attachment 47404 [details] net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild Now, with corrected header
Created attachment 47405 [details] net-print/bjfilterpixus560i/bjfilterpixus560i-2.4.ebuild Removing not need dependency rpm2targz
Created attachment 65277 [details] net-print/bjfilter/bjfilter-2.4.ebuild Adding german language support some fixes from version 2.50 (PIXUS iP-Series) backported. Display defaults to :0.
Created attachment 65278 [details] net-print/bjfilter/files/bjfilter-2.4_patches.tar.bz2 Build patches
Created attachment 65280 [details] #1 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2 Canon libraries files
Created attachment 65281 [details] #2 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2 Canon libraries files
Created attachment 65282 [details] #3 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2 Canon libraries files
Created attachment 65322 [details] net-print/bjfilter/bjfilter-2.4.ebuild Fixing dependencies
Created attachment 65323 [details] net-print/bjfilter/files/bjfilter-2.4_patches.tar.bz2 Revert some patches...
Created attachment 65349 [details] net-print/bjfilter/bjfilter-2.4.ebuild - Changing libraries: pointing now to the RPM packages delivered by Canon - Now, only install PPD files for the choosed printers
Created attachment 65350 [details] net-print/bjfilter/files/bjfilter-2.4.patch Patch for new ebuild
Hi, worked for me until recently, now I get a | emerge: there are no ebuilds to satisfy ">=app-text/ghostscript-5.50". | (dependency required by "net-print/bjfilter-2.4" [ebuild]) whenever I try to emerge -pvuD world. Is it possible that this is connected to a recent portage update? As a quick & dirty fix I removed the ghostscript-dependency from the ebuild since one or the other ghostscript-version is installed anyway on my system.
Yes, ghostscript was removed. The dependency should read >=app-text/ghostscript-esp-5.50 or virtual/ghostscript
You need to become a developer and maintain some ebuilds or get a developer to add and maintain this.
I've had this idea, too (to become a developer). The problem is that I haven't much spare time. So I develop ebuilds which I need and aren't in portage and share they with the community...
Created attachment 83271 [details] rewritten bjfilter-2.4.0.ebuild, supporting i250 and i255, too. Hi I've rewritten the ebuild from scratch (but used a lot of the existing code and the patch). The following things are now better IMHO: - It respects the "gtk"-USE flag and builds printui/stsmon only, when gtk is available - It uses a more static SRC_URI then the ebuild before, so it doesn't hurt the QA checks. - It supports now additionally the i250/i255 printers. - The patch has got some more additions. Didn't test this ebuild yet, using USE="gtk". Greetings, Elias P.
Created attachment 83272 [details, diff] The patch belonging to net-print/bjfilter-2.4.0-r1.ebuild
Created attachment 83760 [details] net-print/bjfilter-2.4.0-r1.ebuild Another update of the bjfilter-2.4.0 ebuild. -It installs now the needed bjfilter${PRINTERMODEL} executables. -Moved the patch out of the portage tree to the gentoo mirrors, because of it's size (~170KB) - The ebuild works now really, could test it using a Canon i250 printer. TODO (I need your help!): -Find a better source, for "bjfilteri255-2.3-0.i386.rpm" -Try to find out, why the above mentioned executables (bjfilter{i250,i255,pixus560i,pixus860i,pixus990i}) are installed into /usr/local/bin/ and not to /usr/bin. ATM I install copies of them to /usr/bin, because symlinking didn't work as expected. Maybe, somebody can do this in a better way
Comment on attachment 83272 [details, diff] The patch belonging to net-print/bjfilter-2.4.0-r1.ebuild The patch itself didn't change, just the name to ..-r1
thanks everybody ! using the attached ebuild i finally succeeded in using my canon i865 (configured as Canon PIXUS 860i ver.2.4) without turboprint.
The build failed for me because bjcuspmon is extracted as "bjcuspmon-2.4" instead of "bjcuspmon-2.4.0". Adding a simple "mv ..." to the ebuild solved this. In the ebuild bjfilter-2.4.0-r1 is an extra "{" character in line 123. Removing it solved the problem. Automatic download of the patch failes. Downloading it from here solved the problem. The patch has some bugs: Lines 2870,2881,5488,5499: a %s is missing, changed to: +"Setzen Sie die richtige BJ-Patrone '%s' in den Drucker ein.\n" All other worked fine. Great work, thanks a lot!!
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Is this bug still current? The gutenprint drivers for the Canon i560 work just fine for me and did so for more than a year. Can this be closed?
(In reply to comment #37) > Is this bug still current? > The gutenprint drivers for the Canon i560 work just fine for me and did so for > more than a year. > Can this be closed? > Thanks Fabian, always nice to close an old bug :)