[Libreoffice] [MacOS] Starting dev-install is hairy

James C james.from.wellington at gmail.com
Sat Jan 7 00:07:18 PST 2012


I've had trouble working out, from the code, what a user installation path
is.  There are two classes called Bootstrap, and my one reads the details
from a map, which I assume is populated somewhere.

Is there a broad-brush guide to how the code works, for newbies?

James.

On Tue, Jan 3, 2012 at 8:51 PM, Stephan Bergmann <sbergman at redhat.com>wrote:

> On 01/03/2012 02:35 AM, James C wrote:
>
>> What now strikes me as more likely is:
>>   - each process from each version of LibreOffice cooperates with
>> other processes, so that only one LO process is running
>>   - (probably) the cooperation extends across versions
>>   - I don't recall whether I got a window, or only a change of current
>> application
>>   - I may have had a change to an already-running process from the other
>> version
>>   - (probably) closing that to retry enabled me to have the version I
>> wanted
>>
>
> Yes, that's another source of confusion.  Upon startup, an soffice
> instance tries to connect to a "named pipe" with a well-known name (and
> sets that pipe up in listening mode if it does not yet exist).  That way,
> only one instance will ever be running for a given installation. The
> well-known name contains (a hash of) the user installation path, so
> whenever two installations would share a user installation, they are
> connected in this way.  (See desktop/source/app/**officeipcthread.cxx for
> details.)
>
> Stephan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120107/ab283894/attachment.html>


More information about the LibreOffice mailing list