On Saturday, June 7, 2003, at 08:16 AM, David R. Morrison wrote:


1) Proposed New Policy: You must declare any needed Depends or BuildDepends
of your package on essential packages. (This will allow us in the future
to change which packages are essential, without destroying the entire
Fink setup.)

I was afraid of this when we were actively removing those a few months back.


Anyway, I think we can partially script this as well. I think we already have a script that can run otool on fink binaries and tell you which packages it needs, that can be extended to just email the maintainers with a list of all their packages, and what libraries they 'appear' to depend on based on otool -L'ing every file in the package. (highlighting ones that are not currently listed) That could also be added to an advanced fink validate for .deb files, perhaps.

Anyone want to have a hack at it? :)


to get you started:


% dlocate -L tar | xargs otool -L
...
/sw/bin/tar:
/sw/lib/libintl.1.dylib (compatibility version 2.0.0, current version 2.1.0)


% dlocate -S /sw/lib/libintl.1.dylib
gettext: /sw/lib/libintl.1.dylib

(you can also use dpkg instead of dlocate, but dlocate is much faster)

:)


-Ben




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to