Aaron Griffin wrote:
On Thu, Apr 23, 2009 at 10:45 PM, Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> wrote:
Hi,
This is a set of draft scripts that I use to find/extract some data of ELF files from packages.
<snip>
<snip>
Cheers,
Just replying so I can send this over to the pacman-dev list. This looks great
Thanks, Aaron. I updated the that "dyndeps.bash" (fixed a regexp) now list the correct depends, (Uploaded new output files) Also added a bash/awk "dyndeps-sort.bash" this sort the output generated by dyndeps.bash and do this * remove the self package from deps list * put the numbers of depends (and sort by this in reverse) * list all depends. Example: 2821 core/glibc-2.9-4 core/acl-2.2.47-2 ... 866 core/zlib-1.2.3.3-3 core/binutils-2.19.1-1 ... ... 98 core/readline-5.2.013-2 core/bash-3.2.048-3 ... ... 6 core/libelf-0.8.10-3 extra/bug-buddy-2.26.0-1 ... etc etc Excepcion in "extra", ignore deps from packages that have libs with same that other in the repo For example nxserver have a libX11, then in nxserver list all packages that depends on libX11, (the similar concept is apply to nvidia-*utils [libGL] and eclipse[libcairo]) Maybe a git repo will be much more apropiate for put the scripts... -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D