On Mon, 2019-08-26 at 17:01 +0200, Ludwig Nussel wrote:
Martin Wilck schrieb:
[...] I'm now wondering if I should add this requirement to hplip as "Requires" or "Recommends". I wouldn't normally classify it as a hard requirement, as it's only needed for special functionality provided only with special HP ScanJet models (e.g. "punchhole removal"). From that point of view, it's clearly a "recommends" or even a "suggests". [...] Another option would be to separate out these new scanning tools "hp- scan" and "hp-uiscan" into an extra package and add the requirements there.
For hardware specific packages there are special modalias Supplements. So if libzypp detects matching hardware it would automatically pull in those packages. There are also special tags for printer drivers¹ (in case there are such scanners attached to printers). Support for that was never properly implemented in openSUSE though AFAIK.
That would certainly be nice if we could get it right, but that won't be easy (in particular with very limited testing opportunities). The way I read the code, it's just certain ScanJet models (not the common all-in-one models). https://sourceforge.net/p/hplip/news/2018/12/hplip-31812-release-notes/ says:
User can use ScanJet feature by using hp-uiscan tool Following features are introduced for ScanJet: - PunchHole Removal - ColorDropOut/ColorRemoval - Background Noise Removal - Background Color Removal - BMP File format Support - Searchable PDF - Smaller file size for PDF and JPEG
So it's for certain _scanners_ only (not printers), and also only if people want these extra features. I'd rather postpone this HW-detection feature to some later time. Currently I my focus is to create a package that is suitable for Leap 15.2 submission. Thanks, Martin -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org