Allow build without cups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Hello,
I maintain hplip for OpenWrt. Normally CUPS is too much for a router hardware. However, it can nicely handle scan jobs (SANE). Scanning code is mostly independent of CUPS, except for network discovery code in scan/sane/hpaio.c. If you want to expose a printer using a router, it is probably because that printer does not have network support (and you are using USB anyway). So, that code is not necessary.
I maintain a patch to remove CUPS requirements for SANE driver:
https:/
There is a build option for building without scanner drivers but not an option for building without CUPS drivers. I tried to add that option that myself but I got lost inside autoconf black magic. It would be much easier to someone familiar with the code.
I would like to have two new build options:
1) build only scanner driver (SANE)
2) build without CUPS (probably implies 1)
Changed in hplip: | |
status: | New → In Progress |
Hi,
You can install required module when you are installing hplip
./hplip*
Please choose the installation mode as custom
Select Driver Options as 'Discrete Drivers'
Then choose HPLIP options
for example
Enable 'Scanning Support' as 'y' so that you can install scanning support package only
Thanks,
Umesh