From: Steve Youngs Date: Sun, 3 Feb 2013 02:39:46 +0000 (+1000) Subject: Add some rudimentary dependency tracking. X-Git-Url: http://cgit.sxemacs.org/?p=pkgusr;a=commitdiff_plain;h=73fc5bdd9112e16b8c681c9f5a84d0cce0710466;hp=73fc5bdd9112e16b8c681c9f5a84d0cce0710466 Add some rudimentary dependency tracking. "tracking" is probably an over-statement. What this does is to store a package's run-time so deps (gleaned from ldd) in its .project. The build script template has been updated to find/store them, and functions have been added to handy_funcs to view them. I've also gotten rid of most of the uses of pinky in the aux functions and simplified them. * etc/pkgusr/skel-package/.project (Deps): New. * etc/pkgusr/skel-package/build (update_commands): Add magic to find the run-time deps. * etc/pkgusr/handy_funcs (deps): Show the dependencies. * etc/pkgusr/handy_funcs (H-pkg): Add `deps'. * etc/pkgusr/handy_funcs (showinst,showgen,srepo,trepo,web): Remove unnecessary use of pinky. * etc/pkgusr/zsh/_zsh-pkgtools: Add `dpkg'. * etc/pkgusr/zsh/zsh-pkgtools (H-pkg): Add `dpkg'. * etc/pkgusr/zsh/zsh-pkgtools (dpkg): New. * etc/pkgusr/zsh/zsh-pkgtools (upkg,Lpkg,vpkg,ipkg,gpkg,wpkg,pkgrepo): Remove unnecessary use of pinky, sed, etc to simplify. * lisp/pkgusr.el (pkgusr-pkg-deps): New. Bind `H-c D' to it. * lisp/pkgusr.el (pkgusr-pkg-url): Remove unnecessary use of pinky. * lisp/pkgusr.el (pkgusr-pkg-repo): Ditto. * lisp/pkgusr.el (pkgusr-pkg-version): Ditto. * lisp/pkgusr.el (pkgusr-pkg-description): Ditto. Signed-off-by: Steve Youngs ---