Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715420 - media-gfx/iscan-2 and -3 should be slotted or separate packages.
Summary: media-gfx/iscan-2 and -3 should be slotted or separate packages.
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Schultz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 09:33 UTC by Hector Martin
Modified: 2021-02-17 12:05 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2020-03-30 09:33:31 UTC
It seems iscan-3 was packaged as a simple version upgrade over iscan-2. This is incorrect, as it is not a direct replacement. iscan-2 is the SANE epkowa backend, and iscan-3 is the SANE utsushi backend. They support different scanners and are not interchangeable.

E.g. media-gfx/iscan-plugin-perfection-v370 does not work with iscan-3, only iscan-2. The upgrade broke my scanner.

Arch Linux packages these as two distinct packages (iscan and imagescan):
https://wiki.archlinux.org/index.php/SANE/Scanner-specific_problems#Epson

Gentoo needs to either do the same, or slot the package and make it clear that users need to explicitly install iscan:2 or iscan:3 depending on what they need, and change the deps for the iscan plugins to depend on the right slot.

Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/iscan media-gfx/iscan-plugin-perfection-v370
2. Try to use an Epson GT-S640 scanner
Actual Results:  
Scanner does not work

Expected Results:  
Scanner works
Comment 1 Hector Martin 2020-03-30 09:36:35 UTC
CCing dilfridge, who packaged iscan-3.
Comment 2 Matthew Schultz 2020-04-03 04:15:51 UTC
I have a better idea.  I think iscan-3 should be renamed to utsushi.  That is the name of the backend it installs as well as its binary name.  For all intents and purposes, it's a completely different piece of software.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2020-05-06 19:58:48 UTC
(In reply to Matthew Schultz from comment #2)
> I have a better idea.  I think iscan-3 should be renamed to utsushi.  That
> is the name of the backend it installs as well as its binary name.  For all
> intents and purposes, it's a completely different piece of software.

We can do this, but atm I have no way to test. (The scanner is 2000km away in a different country.)
Comment 4 Matthew Schultz 2020-05-06 20:16:26 UTC
(In reply to Andreas K. Hüttel from comment #3)
> (In reply to Matthew Schultz from comment #2)
> > I have a better idea.  I think iscan-3 should be renamed to utsushi.  That
> > is the name of the backend it installs as well as its binary name.  For all
> > intents and purposes, it's a completely different piece of software.
> 
> We can do this, but atm I have no way to test. (The scanner is 2000km away
> in a different country.)

Well I look forward to when you can rename it then.  Unfortunately I can't help with the testing since I only have an Epson V500 which only works with iscan 2.
Comment 5 Hector Martin 2020-06-21 05:55:17 UTC
Just pinging to make sure this doesn't fall by the wayside too badly. Let me know if there's anything I can do to help out here.
Comment 6 Matthew Schultz 2020-06-21 06:10:44 UTC
(In reply to Hector Martin from comment #5)
> Just pinging to make sure this doesn't fall by the wayside too badly. Let me
> know if there's anything I can do to help out here.

First off, this should be reassigned.  iscan-3 is completely different piece of software from iscan-2 and likely should have been named differently when it was created (utsushi perhaps).  I have been maintaining iscan-2 for a while and I only have a scanner compatible with iscan-2 so I wouldn't have any way to test it.  I'm also not the one who wrote and committed the iscan-3 ebuild in the first place.  So I think there's probably a more appropriate person to assign this to.
Comment 7 Hector Martin 2020-06-21 06:13:32 UTC
I assume dilfridge@ is probably a better assignee here?
Comment 8 Joel Parthemore 2020-07-24 18:26:29 UTC
I just want to add my two cents that this *is* a real problem and that iscan-3 really *should* be renamed.  My Epson Perfection V600 stopped working when I did what seemed to be a simple upgrade to iscan.  Took some searching to find out that iscan-3's utsushi driver does not support the V600.
Comment 9 Andreas Sturmlechner gentoo-dev 2020-11-20 20:51:48 UTC
Indeed the only reference installed bits are making to 'iscan' at least by filename are produced by the ebuild.

There's some precedence wrt 'utsushi' package name: https://repology.org/project/utsushi/versions
Comment 10 Hector Martin 2021-01-04 08:05:03 UTC
CCing marcin.deranek@slonko.net who is listed as the overall package maintaier.
Comment 11 Marcin Deranek 2021-01-13 17:28:38 UTC
I believe imagescan for iscan-3* would be more appropriate if we decide to rename it.
Comment 12 Marcin Deranek 2021-02-17 12:05:20 UTC
Does anyone know what else does it take to rename iscan-3 to imagescan except moving ebuilds/files around?