>>>> "Kevin" == Kevin Oberman
<oberman(a)es.net> writes:
Kevin> Is there a way of declaring the dependencies required by some package
Kevin> or must it be trial and error?
The package interface can help you with this, although support is
rather low-level as of yet.
You may start with
M-x load-library RET package-get RET
;;; Or evaluate the following line
(load-library "package-get")
;;; Which package provides 'gnus?
(package-get-package-provider 'gnus)
(gnus "1.16")
Kevin> Some specifics: ps-print.el seems to be missing. It's not in any
;;; What package provides ps-print?
(package-get-package-provider 'ps-print)
(os-utils "1.07")
Kevin> roadmap file. Likewise term.el seems MIA. And Gnus calls sort-subr
(package-get-package-provider 'term)
nil
Hmmh! Try
M-x describe-variable package-get-base
I can find `eterm' in the *Hyper Help* buffer, and `terminal'.
Ah, yes Gnus requires the following packages:
(package-get-info-version-prop package-get-base 'gnus nil 'requires)
(gnus w3 mh-e mailcrypt rmail mail-lib xemacs-base)
The good news is:
(package-get-all 'gnus nil)
will get you the latest version of gnus and ALL required packages.
Cool, eh?
Kevin> which is not found. The jka-compr package also seems to be missing.
(package-get-package-provider 'jka-compr)
(os-utils "1.07")
Kevin> I suspect that I'll eventually find all of them, but there needs to be
Kevin> a better way of helping the user through this!
Kevin> On the other hand, tpu-edt seems happy in 21.0 once you get all of the
(package-get-package-provider 'tpu-edt)
nil
*Hyper Help* for `package-get-base' reveals the package you look for
is `tpu'.
(package-get-package-provider 'tpu)
(tpu "1.04")
Kevin> packages it calls. I have only a single bug to track down so far.
Beats UPS (no, not the power supply), doesn't it?
HTH,
Adrian
--
Adrian Aichner
Applications Engineer
Teradyne GmbH
Semiconductor Test Group Telephone +49/89/41861(0)-208
Dingolfinger Straße 2 Fax +49/89/41861-217
D-81673 MÜNCHEN E-mail aichner(a)ecf.teradyne.com