On Wed, Oct 08, 2008 at 07:15:05PM +0100, Daniel P. Berrange wrote:
But we're having to list individual directories we want there,
rather
than just pulling in all of them according to deps. eg, if we want
to include libvirt bits, we should pull in all files from $sysroot
which are part of mingw-libvirt RPM & recursively for all RPMs
the mingw-libvirt depends on. This would ensure helper tools from
depdantn apps get included - eg certtool.exe from gnutls needed for
client cert mgmt. I was thinking along lines of
nsiswrapper does dependency analysis, but based on 'root' files that
you give it. eg. specifying virsh.exe will fetch all libvirt-0.dll
and any other DLLs required (recursively).
The problem with using rpm file lists is that you'll pull in not just
tools like certtool.exe but also development files, pkgconfig etc
which probably aren't what you wanted. (If you did want them you
can't easily specify them as roots anyhow).
So we can specify the tools we need -- eg. if we want to supply
certtool.exe, list it as well, and nsiswrapper will grab any deps for
it.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my OCaml programming blog:
http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora