FS#46736 - [simple-scan] Is packagekit dep is really needed?

Attached to Project: Community Packages
Opened by Sergey Kolesov (cucullus) - Thursday, 15 October 2015, 14:30 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 17 March 2017, 18:06 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Packagekit dependence was introduced with latest (3.18.0-1) simple-scan.
Usage of packagekit is not arch-way friendly. I wonder, is it really works with pacman/alpm?
According to sources (as I understand) dependence should be optional or even simple-scan should be built without packagekit at all.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 17 March 2017, 18:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.22.0.1-2
Comment by Jan Alexander Steffens (heftig) - Thursday, 15 October 2015, 14:45 GMT
packagekit is not optional.
Comment by x33a (x33a) - Tuesday, 12 January 2016, 06:16 GMT
  • Field changed: Percent Complete (100% → 0%)
packagekit has <strike>not</strike> now been made optional: https://bugs.launchpad.net/simple-scan/+bug/1517184

Edit: Thanks Scimmia! Yes, I meant now.
Comment by Doug Newgard (Scimmia) - Tuesday, 12 January 2016, 06:16 GMT
From the linked report, I'm assuming s/not/now/
Comment by Tamaskan (Tamaskan) - Friday, 03 June 2016, 14:08 GMT
As far as I understood from the bug reports, the upstream developers added the PackageKit dependency on accident, because they use some auto-detect tool in their build system. It seems to be fixed now, so we just need to rebuild.
Comment by Philipp Wolfer (phw) - Friday, 17 March 2017, 14:34 GMT
PackageKit dependency was not an accident, but it is only used to install HP drivers. Obviously it tries to install the package "libsane-hpaio" if it detects missing HP drivers [1], which is useless for Arch anyway (there is no such package, it is all part of the "sane" package, which is already a dependency). And packagekit can be disabled in ./configure with --enable-packagekit=no. So yes, please disable the packagekit dependency for Arch :)

[1] http://bazaar.launchpad.net/~simple-scan-team/simple-scan/trunk/view/head:/src/ui.vala#L1568
Comment by Jan Alexander Steffens (heftig) - Friday, 17 March 2017, 15:21 GMT
Unfortunately, disabling packagekit causes build errors.
Comment by Philipp Wolfer (phw) - Friday, 17 March 2017, 16:00 GMT
Indeed. Disabling it makes the code not use it, but it still links against it. That's a bit stupid :(
Comment by Philipp Wolfer (phw) - Friday, 17 March 2017, 16:41 GMT

Loading...