Progress UI for Phases
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Tue Oct 26 11:59:27 PDT 2010
>>> Have there been any plans to make use of a `curl -# ...` style
>>> progress bar for the download/configure/install phases? This is for
>>> the normal, non-verbose/non-debug output.
>>
>> If I remember correctly such a style is not available from libcurl, but
>> would have to be written manually using CURLOPT_PROGRESSFUNCTION.
>
> And for other phases, the problem is we have no way of knowing how long the process is expected to take. For the build phase, Makefiles generated by cmake pleasantly output each line prefixed with a percent-complete indicator, but most ports don't use cmake and don't have this convenience. So the best we could do in most cases is output a spinning "/ - \ |" indicator or something to show we're still working.
You could have make do a dry run where it doesn't build, then compare that list against where we are in the build output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6308 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20101026/64e03279/attachment-0001.bin>
More information about the macports-dev
mailing list