Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19871 - [sane] make avahi an optional dependency

Attached to Project: Arch Linux
Opened by Leonid Isaev (lisaev) - Sunday, 20 June 2010, 14:34 GMT
Last edited by Ionut Biru (wonder) - Sunday, 12 September 2010, 16:58 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Is it possible to make avahi an optional dependency (currently it is just a dependency) for sane from /extra? It is not needed for using scanners, connected directly via usb, which I guess, is the case for most users...

Thanks.
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 12 September 2010, 16:58 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Sunday, 29 August 2010, 12:49 GMT
$ scan sane | grep avahi
/usr/lib/libsane.so.1.0.21 -- libavahi-common.so.3
/usr/lib/libsane.so.1.0.21 -- libavahi-client.so.3
/usr/lib/sane/libsane-net.so.1.0.21 -- libavahi-common.so.3
/usr/lib/sane/libsane-net.so.1.0.21 -- libavahi-client.so.3
/usr/sbin/saned -- libavahi-common.so.3
/usr/sbin/saned -- libavahi-client.so.3


cannot be an optional dependency. is linking directory to libsane.so
Comment by Leonid Isaev (lisaev) - Sunday, 12 September 2010, 16:32 GMT
OK, my bad. I never checked this, just kept recompiling sane...

This task can be closed then, I guess.

As a side note, what is "scan"? Is it an alias for "ldd"?

Comment by Ionut Biru (wonder) - Sunday, 12 September 2010, 16:58 GMT
is a bash function

scan () {
pacman -Qlq $1 | xargs file | grep ELF | awk -F: '{print $1}' |
while read elfobj;
do readelf -d $elfobj | sed -n 's|.*NEEDED.*\[\(.*\)\].*|'$elfobj' -- \1|p'
done

Loading...