On 09/12/2010 02:22 PM, Pascal Dormeau wrote:
I had a look to the way this problem is solved for Ubuntu in
Launchpad (make libsane-hpaio depend on hplip) and I believe this
solution will prevent users from installing libsane-hpaio in
stand-alone (without hplip), as publicized in the package description:
"This package is useful for a minimal footprint headless scanning
solution"
I may have seen only a limited part of the problem, but from my own
experience, it seems that the only thing missing is
a /etc/hp/hplip.conf containing a stanza with the path to the
data directory. Like this:
[dirs]
home=/usr/share/hplip
And of course, a little explanation in a README.Debian.
Making libsane-hpaio recommend hplip will prevent problems for most
users, and will allow minimal installation (I can use my psc1510 with
only hpijs and libsane-hpaio), even if creating the /etc/hp/hplip.conf
like above solves only a part of the problem encountered by the
original poster.
Much better this way. I have implemented it as follows now (in the
Debian SVN repo, release 3.10.6-1ubuntu7):
- libsane-hpaio recommends hplip.
- The file /etc/hp/hplip.conf moved from hplip to libsane-hpaio. This
makes libsane-hpaio work without hplip.
- As hplip needs /etc/hp/hplip.conf hplip depends on libsane-hpaio
again, as before (It was even wrong to lift this dependency as
/usr/share/hplip/data/models/models.dat was already in libsane-hpaio).
Now it is assured that libsane-hpaio always works and minimum
installations are possible.
Till
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org