Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253153 - net-print/cnijfilter-2.90 - Canon Pixma iP100 driver
Summary: net-print/cnijfilter-2.90 - Canon Pixma iP100 driver
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: printer-drivers
  Show dependency tree
 
Reported: 2008-12-30 16:36 UTC by Marek Kozlowski
Modified: 2017-09-26 17:42 UTC (History)
4 users (show)

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


Attachments
new ebuild (cnijfilter-2.90.ebuild,6.79 KB, text/plain)
2009-11-15 17:30 UTC, HolgerMotzkau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Kozlowski 2008-12-30 16:36:11 UTC
The new 2.90 driver from Canon for iP100 PIXMA printers is available at http://software.canon-europe.com/products/0010626.asp Anyone that couls turn it into an ebuild is welcome :-) I can test it (just bought that printer ;-) )

Reproducible: Always
Comment 1 Dennis Schridde 2009-04-21 09:29:53 UTC
Duplicate of bug #130645 ?
Comment 2 Marek Kozlowski 2009-04-21 09:42:07 UTC
(In reply to comment #1)
> Duplicate of bug #130645 ?

I don't think so. Cnijfilter drivers are not backward compatible. That means:
2.60 is for some printers,
2.70 is for other printers,
2.80 is just for another ones
etc.
See: http://www.canon-europe.com/Support/Software/Linux/PIXMA/index.asp

Comment 3 HolgerMotzkau 2009-11-15 17:30:24 UTC
Created attachment 210327 [details]
new ebuild

The ebuild still uninstalls other versions of the package, i.e. drivers for other canon printers.
Comment 4 HolgerMotzkau 2009-11-15 18:33:31 UTC
A dirty solution to install several Canon drivers at the same time:
- change SLOT="2" to SLOT="2.90" in ebuild, emerge package
- you get two file collisions
- append the suffix "-2.90" to /var/tmp/portage/net-print/cnijfilter-2.90/image/usr/local/bin/cngpij and /var/tmp/portage/net-print/cnijfilter-2.90/image/usr/libexec/cups/filter/pstocanonij
- edit /var/tmp/portage/net-print/cnijfilter-2.90/image/usr/share/cups/model/canonip2600.ppd: change *cupsFilter: "application/vnd.cups-postscript 0 pstocanonij" to *cupsFilter: "application/vnd.cups-postscript 0 pstocanonij-2.90"
- copy /var/tmp/portage/net-print/cnijfilter-2.90/image/ into your root
- restart cups, install printer in cups
This seems to work fine for me.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-06-05 14:53:02 UTC
No comment for over a year - is anyone still interested in this?
Comment 6 Pacho Ramos gentoo-dev 2011-08-28 13:14:42 UTC
Is 2.90 the latest version supporting your printers? If not, better try to bump
ebuild to latest one.

More suggestions:
- Isn't your printed supported by opensource alternatives like
gutenprint/sane-backends?

- Try to bump ebuild to EAPI=4. Look at:
http://devmanual.gentoo.org/ebuild-writing/eapi/index.html

for that.

- License should be "GPL-2" and we would need to commit a "Canon" license to
the tree per I can read in:
http://support-asia.canon-asia.com/contents/ASIA/EN/0100084101.html

- Try to use a SLOT for it -> 2.90 , that way we try to allow parallel
installation with other driver versions. Other option would be to have a
different package for each version, probably this needs more discussion (how
would be better to handle this, slotting or separate packages?)

- IUSE contents look to be wrong: most listed flags are not used in ebuild and,
then, should be dropped from IUSE

- DEPEND mixes runtime deps with buildtime ones, split them please listing
buildtime only deps only under DEPEND and remaning ones under RDEPEND.

- pkg_setup:

* Drop LINGUAS checking, it doesn't look to be needed
* servicetools looks to need gtk+1 and libxml, both are deprecated (libxml was
removed), please recheck if that dependencies are ok (updated) and, if still
needing that old stuff, simply remove its support always.
* Are you setting /usr/local as prefix? It's wrong, it should use /usr or /opt
if it's a binary only application:
http://devmanual.gentoo.org/general-concepts/filesystem/index.html
* /usr/lib/cups should also use get_libdir instead of plain "lib"
* Drop "einfo" statements about USE flags, descriptions must go in metadata.xml
files.
* Is "nocupsdetection" really need for Gentoo? Maybe it could be renamed to
"bindist" :-/

- src_compile:
* Split commands to complaint src_configure and src_compile phases. Also think
about src_prepare phase for other tasks.
* Change all "make" invocations to use "emake" instead

- src_install:
* Use "emake" instead of "make"

- pkg_postinst:
* Use "elog" instead of "einfo":
http://devmanual.gentoo.org/ebuild-writing/messages/index.html

- src_compile_pr:
* Drop sleep command if not really required


Thanks a lot for taking care
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-05-25 23:53:36 UTC
No reply
Comment 8 mfld.fr 2017-09-26 17:42:20 UTC
If you are still interested in the 2.90 version, please request again the package for your printer series as explained in https://wiki.gentoo.org/wiki/Canon_Pixma_Printer. This way to sort between "no more needed" / "still needed" ones, and to avoid wasting time on obsolete / unused series.