Opened 8 months ago

Closed 7 months ago

#18532 closed enhancement (fixed)

Add simple-scan and archive sane-frontends/xsane

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

This would remove the GTK+-2 dependency for scanning from the book towards the goals of #18531. This would go over in the Scanning chapter.

While doing some research on this, I found that there is a GTK+-3 pull request in sane-frontends, but it's been untouched for 6 months and continues to have some problems. https://gitlab.com/sane-project/frontends/-/merge_requests/6

Archiving sane-frontends and xsane also removes the GIMP plugin, which could be problematic for GIMP-3 since the Plugin API is completely different, and both packages are no longer maintained (sane-frontends last had a release in 2005).

Simple Scan has a very limited set of dependencies - sane-backends, vala, libhandy, gtk3, libgusb, and colord-sane. We'd need to add -Dsane=true to colord in order to get that colord-sane though, it does not autodetect.

Note that there is a new version of sane-backends as well - 1.2.1. We can find that at https://gitlab.com/sane-project/backends/-/releases. I'll create a separate ticket for that

Change History (4)

comment:1 by Douglas R. Reno, 8 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 8 months ago

Note that there are still some concerns from #12251 that may need to be addressed, e.g. network scanning support. That was back around BLFS 9.0 though

comment:3 by Douglas R. Reno, 7 months ago

Simple-scan has been added at 4e7dc93e8b4f7c1dd2fb2b29b8d6fd153c6d4ec5

It works very well for me using my Brother MFC-8900CDW multi-function printer. I've done network scanning now as well as local scanning, and no problems have seemed to occur. It even supports the automated document feeder, which XSane has always had issues with.

I'm now requesting feedback. I'd like to remove XSane and sane-frontends from the book soon so we can mark two more off the list for archiving GTK+-2. At the end of that adventure, we may just be left with GIMP being a blocker - but it's worth noting that GIMP-3 will require plugins to be rewritten, and getting rid of XSane and sane-frontends will make that process easier when we can upgrade to GIMP-3.

comment:4 by Douglas R. Reno, 7 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.