FS#46209 - [hplip] Missing optional dependency of xsane

Attached to Project: Arch Linux
Opened by Emil (xexaxo) - Saturday, 05 September 2015, 19:09 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 November 2015, 18:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Seems that hplip depends on xsane (as opposed to sane), for scanner support.

Additional info:
* package version(s)
hplip 3.15.7-2

* config and/or log files etc.
N/A

Steps to reproduce:
1. install hplip and sane
2. ensure that xsane package is not installed
3. fire up the GUI and select 'Scan' with your favourite printer/scanner
4. wait until the end of time (nothing happens)
5. install xsane, repeat step 3 and admire the wonderful (yet working) scanner app.

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 10 November 2015, 18:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  fix commited to trunk for future builds
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 November 2015, 13:59 GMT
How about simple-scan or skanlite or other sane UIs? I guess xsane is only one option. Sure you will need a Scan GUI of your choice. Arch doesn't allow "suggested packages".

So is xsane the only supported gui or will a different one also work?
Comment by Emil (xexaxo) - Tuesday, 10 November 2015, 14:18 GMT
Seems like the xsane string is hardcoded in hplip. Quick grep lists the following files:

/usr/share/doc/hplip-3.15.9/index.html
/usr/share/doc/hplip-3.15.9/scanning.html
/usr/share/hplip/base/utils.py
/usr/share/hplip/installer/core_install.py
/usr/share/hplip/installer/dcheck.py
/usr/share/hplip/installer/distros.dat
/usr/share/hplip/ui4/ui_utils.py

If one can get rid of this nasty dependency and allow some flexibility I'm all for it. Shame I don't have the time to purse it atm :(
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 November 2015, 18:03 GMT
I'll add xsane as another optional dep to trunk for the next build.

Loading...