Summary: | net-print/cnijfilter-2.90 - Canon Pixma iP100 driver | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marek Kozlowski <kozlowsm> |
Component: | [OLD] Printing | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | dschridde+gentoobugs, HolgerMotzkau, pacho, printing |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 399013 | ||
Attachments: | new ebuild |
Description
Marek Kozlowski
2008-12-30 16:36:11 UTC
Duplicate of bug #130645 ? (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 Created attachment 210327 [details]
new ebuild
The ebuild still uninstalls other versions of the package, i.e. drivers for other canon printers.
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. No comment for over a year - is anyone still interested in this? 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 No reply 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. |