Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61955 - Canon i560 printer driver for cups (new package)
Summary: Canon i560 printer driver for cups (new package)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-08-27 10:57 UTC by Dietrich Heise
Modified: 2010-07-05 14:21 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
canon_i560-2.2.ebuild (canon_i560-2.2.ebuild,1.52 KB, application/octet-stream)
2004-08-27 10:58 UTC, Dietrich Heise
Details
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild (pixus560i-libs-2.4.ebuild,1.10 KB, application/octet-stream)
2004-12-30 15:00 UTC, tuXXer
Details
net-print/bjfilterpixus560i/bjfilterpixus560i-2.4.ebuild (bjfilterpixus560i-2.4.ebuild,3.02 KB, application/octet-stream)
2004-12-30 15:00 UTC, tuXXer
Details
net-print/bjfilterpixus560i/files/bjcups-2.4-0_gentoo.patch (bjcups-2.4-0_gentoo.patch,3.41 KB, text/x-patch)
2004-12-30 15:01 UTC, tuXXer
Details
net-print/bjfilterpixus560i/files/bjcupsmon-2.4-0_gentoo.patch (bjcupsmon-2.4-0_gentoo.patch,1.71 KB, text/x-patch)
2004-12-30 15:02 UTC, tuXXer
Details
net-print/bjfilterpixus560i/files/bjfilter-2.4-0_gentoo.patch (bjfilter-2.4-0_gentoo.patch,511 bytes, text/x-patch)
2004-12-30 15:03 UTC, tuXXer
Details
net-print/bjfilterpixus560i/files/printui-2.4-0_gentoo.patch (printui-2.4-0_gentoo.patch,2.65 KB, text/x-patch)
2004-12-30 15:03 UTC, tuXXer
Details
net-print/bjfilterpixus560i/files/stsmon-2.4-0_gentoo.patch (stsmon-2.4-0_gentoo.patch,880 bytes, text/x-patch)
2004-12-30 15:04 UTC, tuXXer
Details
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild (pixus560i-libs-2.4.ebuild,1.14 KB, text/plain)
2005-01-02 14:19 UTC, tuXXer
Details
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild (pixus560i-libs-2.4.ebuild,891 bytes, text/plain)
2005-01-02 14:46 UTC, tuXXer
Details
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild (pixus560i-libs-2.4.ebuild,893 bytes, text/plain)
2005-01-02 14:49 UTC, tuXXer
Details
net-print/bjfilterpixus560i/bjfilterpixus560i-2.4.ebuild (bjfilterpixus560i-2.4.ebuild,3.00 KB, text/plain)
2005-01-02 14:50 UTC, tuXXer
Details
net-print/bjfilter/bjfilter-2.4.ebuild (bjfilter-2.4.ebuild,4.02 KB, text/plain)
2005-08-06 20:31 UTC, tuXXer
Details
net-print/bjfilter/files/bjfilter-2.4_patches.tar.bz2 (bjfilter-2.4_patches.tar.bz2,23.95 KB, application/octet-stream)
2005-08-06 20:38 UTC, tuXXer
Details
#1 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2 (bjfilter-2.4_libs.tar.bz2_001,984.00 KB, application/octet-stream)
2005-08-06 20:42 UTC, tuXXer
Details
#2 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2 (bjfilter-2.4_libs.tar.bz2_002,858.39 KB, application/octet-stream)
2005-08-06 20:45 UTC, tuXXer
Details
#3 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2 (bjfilter-2.4_libs.tar.bz2_003,939.00 KB, application/octet-stream)
2005-08-06 20:47 UTC, tuXXer
Details
net-print/bjfilter/bjfilter-2.4.ebuild (bjfilter-2.4.ebuild,4.02 KB, text/plain)
2005-08-07 09:28 UTC, tuXXer
Details
net-print/bjfilter/files/bjfilter-2.4_patches.tar.bz2 (bjfilter-2.4_patches.tar.bz2,18.14 KB, application/octet-stream)
2005-08-07 09:29 UTC, tuXXer
Details
net-print/bjfilter/bjfilter-2.4.ebuild (bjfilter-2.4.ebuild,4.32 KB, text/plain)
2005-08-07 14:33 UTC, tuXXer
Details
net-print/bjfilter/files/bjfilter-2.4.patch (bjfilter-2.4.patch,93.49 KB, text/plain)
2005-08-07 14:34 UTC, tuXXer
Details
rewritten bjfilter-2.4.0.ebuild, supporting i250 and i255, too. (bjfilter-2.4.0.ebuild,6.91 KB, text/plain)
2006-03-27 17:19 UTC, Elias Probst
Details
The patch belonging to net-print/bjfilter-2.4.0-r1.ebuild (bjfilter-2.4.0-r1.patch,166.74 KB, patch)
2006-03-27 17:20 UTC, Elias Probst
Details | Diff
net-print/bjfilter-2.4.0-r1.ebuild (bjfilter-2.4.0-r1.ebuild,7.32 KB, text/plain)
2006-04-02 14:17 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dietrich Heise 2004-08-27 10:57:03 UTC
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:
Comment 1 Dietrich Heise 2004-08-27 10:58:01 UTC
Created attachment 38313 [details]
canon_i560-2.2.ebuild
Comment 2 tuXXer 2004-09-07 15:31:47 UTC
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.
Comment 3 Dietrich Heise 2004-11-16 10:33:34 UTC
sorry,
seem's that this ebuild does not works.
I have tested it now again...
Comment 4 tuXXer 2004-12-30 14:17:56 UTC
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
Comment 5 tuXXer 2004-12-30 15:00:01 UTC
Created attachment 47243 [details]
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild

Canon binary libraries (closed source) ebuild
Comment 6 tuXXer 2004-12-30 15:00:56 UTC
Created attachment 47244 [details]
net-print/bjfilterpixus560i/bjfilterpixus560i-2.4.ebuild

Driver ebuild for Canon PIXUS 560i printer (in Europe: Canon i560)
Comment 7 tuXXer 2004-12-30 15:01:45 UTC
Created attachment 47245 [details]
net-print/bjfilterpixus560i/files/bjcups-2.4-0_gentoo.patch

Gentoo patches for bjcups
Comment 8 tuXXer 2004-12-30 15:02:16 UTC
Created attachment 47246 [details]
net-print/bjfilterpixus560i/files/bjcupsmon-2.4-0_gentoo.patch

Gentoo patches for bjcupsmon
Comment 9 tuXXer 2004-12-30 15:03:07 UTC
Created attachment 47247 [details]
net-print/bjfilterpixus560i/files/bjfilter-2.4-0_gentoo.patch

Gentoo patches for bjfilter
Comment 10 tuXXer 2004-12-30 15:03:37 UTC
Created attachment 47248 [details]
net-print/bjfilterpixus560i/files/printui-2.4-0_gentoo.patch

Gentoo patches for printui
Comment 11 tuXXer 2004-12-30 15:04:02 UTC
Created attachment 47249 [details]
net-print/bjfilterpixus560i/files/stsmon-2.4-0_gentoo.patch

Gentoo patches for stsmon
Comment 12 Dietrich Heise 2004-12-30 15:50:17 UTC
ok, let's test it :)
Thanks for the work! 
Comment 13 tuXXer 2005-01-02 14:19:19 UTC
Created attachment 47399 [details]
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild

Fixing wrong symlinks (symlinks in / instead of /usr/lib). Sorry...
Comment 14 tuXXer 2005-01-02 14:46:25 UTC
Created attachment 47402 [details]
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild

Switching to rpm-eclass
Comment 15 tuXXer 2005-01-02 14:49:43 UTC
Created attachment 47404 [details]
net-print/pixus560i-libs/pixus560i-libs-2.4.ebuild

Now, with corrected header
Comment 16 tuXXer 2005-01-02 14:50:29 UTC
Created attachment 47405 [details]
net-print/bjfilterpixus560i/bjfilterpixus560i-2.4.ebuild

Removing not need dependency rpm2targz
Comment 17 tuXXer 2005-08-06 20:31:27 UTC
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.
Comment 18 tuXXer 2005-08-06 20:38:37 UTC
Created attachment 65278 [details]
net-print/bjfilter/files/bjfilter-2.4_patches.tar.bz2

Build patches
Comment 19 tuXXer 2005-08-06 20:42:48 UTC
Created attachment 65280 [details]
#1 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2

Canon libraries files
Comment 20 tuXXer 2005-08-06 20:45:37 UTC
Created attachment 65281 [details]
#2 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2

Canon libraries files
Comment 21 tuXXer 2005-08-06 20:47:08 UTC
Created attachment 65282 [details]
#3 of net-print/bjfilter/files/bjfilter-2.4_libs.tar.bz2

Canon libraries files
Comment 22 tuXXer 2005-08-07 09:28:48 UTC
Created attachment 65322 [details]
net-print/bjfilter/bjfilter-2.4.ebuild

Fixing dependencies
Comment 23 tuXXer 2005-08-07 09:29:35 UTC
Created attachment 65323 [details]
net-print/bjfilter/files/bjfilter-2.4_patches.tar.bz2

Revert some patches...
Comment 24 tuXXer 2005-08-07 14:33:45 UTC
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
Comment 25 tuXXer 2005-08-07 14:34:47 UTC
Created attachment 65350 [details]
net-print/bjfilter/files/bjfilter-2.4.patch

Patch for new ebuild
Comment 26 Jan Beinersdorf 2006-01-14 10:15:46 UTC
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.
Comment 27 tuXXer 2006-01-14 11:37:42 UTC
Yes, ghostscript was removed.

The dependency should read >=app-text/ghostscript-esp-5.50 or virtual/ghostscript
Comment 28 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-14 11:40:36 UTC
You need to become a developer and maintain some ebuilds or get a developer to add and maintain this.
Comment 29 tuXXer 2006-01-14 12:24:02 UTC
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...
Comment 30 Elias Probst 2006-03-27 17:19:32 UTC
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.
Comment 31 Elias Probst 2006-03-27 17:20:43 UTC
Created attachment 83272 [details, diff]
The patch belonging to net-print/bjfilter-2.4.0-r1.ebuild
Comment 32 Elias Probst 2006-04-02 14:17:40 UTC
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 33 Elias Probst 2006-04-02 14:19:39 UTC
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
Comment 34 Matthias Langer 2006-12-19 08:19:12 UTC
thanks everybody ! using the attached ebuild i finally succeeded in using my canon i865 (configured as Canon PIXUS 860i ver.2.4) without turboprint.
Comment 35 Michael Wyraz 2006-12-23 14:18:14 UTC
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!!
Comment 36 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-13 20:51:40 UTC
(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
Comment 37 Fabian Henze 2010-07-05 14:17:03 UTC
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?
Comment 38 David Abbott (RETIRED) gentoo-dev 2010-07-05 14:21:15 UTC
(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 :)