Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695896 - net-print/cndrvcups-lb should install rastertoufr2 filter
Summary: net-print/cndrvcups-lb should install rastertoufr2 filter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-30 10:46 UTC by Roman Zimmermann
Modified: 2020-01-05 10:09 UTC (History)
1 user (show)

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


Attachments
cnrdrvcups-lb-5.00.ebuild (cnrdrvcups-lb-5.00.ebuild,5.00 KB, text/plain)
2020-01-03 16:57 UTC, Joonas Niilola
Details
cnrdrvcups-lb-5.00.ebuild (cnrdrvcups-lb-5.00.ebuild,5.85 KB, text/plain)
2020-01-04 13:47 UTC, Joonas Niilola
Details
cnrdrvcups-lb-5.00.ebuild (cnrdrvcups-lb-5.00.ebuild,5.70 KB, text/plain)
2020-01-04 13:48 UTC, Joonas Niilola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Zimmermann 2019-09-30 10:46:54 UTC
Currently the package doesn’t install the rastertoufr2 filter although it is needed in some PPDs. In my case this is for Canon iR-ADV C3520i.

I was able to work around this by copying the missing file from the debian amd64 deb package.

Reproducible: Always

Steps to Reproduce:
1. Install cndrvcups-lb
2. Configure a printer which’s PPD uses rastertoufr2 (eg. Canon iR-ADV C3520i)
3. Attempt to print a page
Actual Results:  
/var/lib/cups/error_log contains:
E [30/Sep/2019:12:10:33 +0200] Canon-iR-C3520: File \"/usr/libexec/cups/filter/rastertoufr2\" not available: No such file or directory
E [30/Sep/2019:12:10:33 +0200] [Job 134] Unable to start filter "rastertoufr2" - No such file or directory.

The print job appears as stopped.

Expected Results:  
The print job is forwarded to the printer.
Comment 1 Pacho Ramos gentoo-dev 2019-10-20 10:17:13 UTC
That comes from newer major version... but it seems it will need a completely reworked ebuild for cn*r*drvcups
https://aur.archlinux.org/packages/cnrdrvcups-lb/

But I almost lost access to the unique printer that was still using it... hence, I will move this to maintainer-needed

Of course anyway can try to maintain it:
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 2 Joonas Niilola gentoo-dev 2020-01-03 16:57:18 UTC
Created attachment 602420 [details]
cnrdrvcups-lb-5.00.ebuild

Hey, 

here's my take on net-print/cnrdrvcups-lb-5.00. It includes the file you are looking for, 
  § equery f cnrdrvcups-lb | grep rastertoufr2
  /usr/lib64/cups/filter/rastertoufr2

It has one more QA warning I want to solve before pushing it, I have no idea what's causing it though. New eyes / new day could help.

Also any kind of feedback is welcome, the ebuild is a MESS but seems to work for me. Note that it's indeed renamed, from "cndrvcups-lb" to "cnrdrvcups-lb".
Comment 3 Joonas Niilola gentoo-dev 2020-01-03 17:00:54 UTC
 * QA Notice: Missing soname symlink(s):
 * 
 * 	usr/lib64/libColorGearC.so.2 -> libColorGearCufr2.so.2.0.0
 * 

Here's the QA notice I was talking about, it makes no sense to me...
Comment 4 Joonas Niilola gentoo-dev 2020-01-03 19:35:14 UTC
Still TODO in the ebuild (for another day): 
 - handle symlinking of /usr/lib64/cups/filter/* -> /usr/libexec/cups/filter/* (rastertoufr2 will only work after this, but it works with symlinking)
 - install documentation and possibly language files
 - test on x86
 - use for loops in src_install to shrink it... perhaps - need to figure which will be easier and better for long-term maintenance

I just printed few papers so it's working here, those are the notes that I need to fix before pushing this to ::gentoo.

Still, more testing and more eyes on the ebuild are welcome. I'd also welcome a co-maintainer for it since I use my home printer once in a blue moon. But when I do use it, it needs to work...
Comment 5 Joonas Niilola gentoo-dev 2020-01-04 13:47:43 UTC
Created attachment 602526 [details]
cnrdrvcups-lb-5.00.ebuild

Latest. Everything done except:
 - x86 keywording, 
 * QA Notice: Missing soname symlink(s):
 * 
 * 	usr/lib64/libColorGearC.so.2 -> libColorGearCufr2.so.2.0.0
 *
Comment 6 Joonas Niilola gentoo-dev 2020-01-04 13:48:57 UTC
Created attachment 602528 [details]
cnrdrvcups-lb-5.00.ebuild
Comment 7 Larry the Git Cow gentoo-dev 2020-01-05 10:09:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59dbb110c6cff7f6bc437073b67d2621021706fe

commit 59dbb110c6cff7f6bc437073b67d2621021706fe
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-01-05 10:08:51 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-01-05 10:09:45 +0000

    net-print/cnrdrvcups-lb: new package for Canon laser printers
    
    Anyone using cndrvcups-common-lb and cndrvcups-lb will have to
    emerge --deselect these from world file before attempting to install.
    You'll also have to reconfigure your printer/scanner after emerging
    this driver package.
    
    Closes: https://bugs.gentoo.org/695896
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-print/cnrdrvcups-lb/Manifest                  |   1 +
 net-print/cnrdrvcups-lb/cnrdrvcups-lb-5.00.ebuild | 187 ++++++++++++++++++++++
 net-print/cnrdrvcups-lb/metadata.xml              |   8 +
 3 files changed, 196 insertions(+)