Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313703 - net-print/hplip -* scanner doesn't depend on dev-python/imaging correctly
Summary: net-print/hplip -* scanner doesn't depend on dev-python/imaging correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 17:00 UTC by gentoo
Modified: 2010-04-08 18:57 UTC (History)
3 users (show)

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


Attachments
hplip-3.9.12-r1.diff (hplip-3.9.12-r1.diff,437 bytes, patch)
2010-04-07 20:10 UTC, Daniel Pielmeier
Details | Diff
metadata.diff (metadata.diff,722 bytes, patch)
2010-04-07 20:10 UTC, Daniel Pielmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2010-04-07 17:00:52 UTC
hp-scan aborts with:
warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.9.12)
Scan Utility ver. 2.2

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: hp-scan requires the Python Imaging Library (PIL). Exiting.

Reproducible: Always

Steps to Reproduce:
1. emerge -C dev-python/imaging
2. USE="-* scanner" emerge net-print/hplip
3. hp-scan
Comment 1 Daniel Pielmeier gentoo-dev 2010-04-07 19:51:21 UTC
I will think about on how to rearrange the dependencies.
Comment 2 Daniel Pielmeier gentoo-dev 2010-04-07 20:10:05 UTC
Created attachment 226923 [details, diff]
hplip-3.9.12-r1.diff

I think the attached changes should be sufficient. I was under the impression sane-frontends are just cli frontends but they are gui frontends. Now sane-backends and dev-python/imaging are installed in any case, so command-line scanning will work. If the X use flag is enabled either media-gfx/xsane or media-gfx/sane-frontends are installed where media-gfx/xsane is preferred.
Comment 3 Daniel Pielmeier gentoo-dev 2010-04-07 20:10:18 UTC
Created attachment 226925 [details, diff]
metadata.diff
Comment 4 Daniel Pielmeier gentoo-dev 2010-04-08 18:57:16 UTC
+  08 Apr 2010; Daniel Pielmeier <billie@gentoo.org> hplip-3.9.12-r1.ebuild,
+  -hplip-3.10.2.ebuild, hplip-3.10.2-r4.ebuild, metadata.xml:
+  Fix scanner dependencies. Remove old.