Closed
Bug 158454
Opened 24 years ago
Closed 23 years ago
GRE: MacOS 9.x Installer
Categories
(Core Graveyard :: Installer: GRE, defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
mozilla1.2alpha
People
(Reporter: slogan, Assigned: slogan)
References
Details
This bug tracks the MacOS 9.x portion of the MRE Installer
Updated•24 years ago
|
QA Contact: bugzilla → ktrina
Comment 1•24 years ago
|
||
ccing myself and Jud
Updated•24 years ago
|
QA Contact: ktrina → gbush
Updated•24 years ago
|
QA Contact: gbush → jimmylee
Comment 2•24 years ago
|
||
It is my understanding that there is currently no plan to have the MRE on
Mac OS 9. I need it and may be available to help make it happen
depending on the amount of work involved.
Per smfr, one obstacle is lack of shared memory routines on Mac OS 9
(http://lxr.mozilla.org/seamonkey/source/nsprpub/pr/src/memory/prshm.c).
However, all memory is shared on that platform, so it should be easy to
set up stub routines. Are there other obstacles?
Comment 3•24 years ago
|
||
The above information on shared memory was incorrect. Shared memory is not used
in the MRE or in Mozilla at present.
Per email from Chak Nanga, two obstacles are that (1) packaging work has not
been done for any platform but Windows and (2) there is a need for some sort of
registry or search path to say where the files live.
(1) MRE packaging is done at
http://lxr.mozilla.org/seamonkey/source/embedding/config/Makefile.in#93 but I do
not understand what it's supposed to do; the code is cryptic and uncommented.
It's short enough that it doesn't seem it should be an obstacle, but I'll need a
description of what it's supposed to do before I can proceed with it.
(2) Shared libraries (aka DLLs) can only live at certain places in Mac OS 9. The
right place for something that may be shared by multiple applications is the
Extensions folder. This is not compatible with having multiple versions
installed, as described for Windows, and instead we should use a fixed location
as on Solaris. (http://www.mozilla.org/projects/embedding/MRE.html) This
location would be a folder in Extensions. This means that applications may
simply link with the libraries without doing any extra work to find them. See
IM: PowerPC Software, pp. 3-5 to 3-7.
There are other alternatives, such as putting a directory alias in the
Extensions folder, requiring applications to create a library directory for
themselves, and reverse engineering the undocumented library search path API.
However, these seem problematic.
Another problem mentioned by bryner on IRC #mozilla that he had heard was that
(3) shared profile access required file synchronization primtives of some type.
The Mac has had both file and range locking since HFS came out, so this should
not present a problem, but I don't know where in the Mozilla code to look for
more information on this.
Comment 4•24 years ago
|
||
Here's another file of interest:
http://lxr.mozilla.org/seamonkey/source/xpinstall/wizard/windows/builder/build_mre.pl
That is a platform-specific installer building script for Windows.
(4) Something like this would have to be created for Mac OS 9.
Comment 5•24 years ago
|
||
Links on profile sharing issues:
http://www.mozilla.org/projects/embedding/shared_profiles.html
http://bugzilla.mozilla.org/show_bug.cgi?id=135137
Depends on: 135137
Comment 6•24 years ago
|
||
Re comment #4, that windows perl script is just a clone of the build script for
the browser. JJ is the mac installer expert around here. He can probably point
to you to something that would be a good pattern for creating the Windows MRE
installer build script.
Comment 7•24 years ago
|
||
Thanks, Curt. JJ?
I am still awaiting feedback on my proposal on file location (comment 3,
point 2) and I am still waiting for pointers on what is being considered for
shared profile access.
On shared profiles, I am concerned that a solution is being implemented
without being reviewed, and that the design is not taking the needs of Mac
OS 9 into account. Mac OS has had a robust IPC mechanism since
System 7, so I doubt there would be a problem working out how to use it
for this problem, but without more information I am unable to assist in that
solution process.
Comment 8•24 years ago
|
||
John, can you give Lummox an idea of what's needed to support shared profile access?
Comment 9•24 years ago
|
||
Note on comment 4: This MRE build script is nearly a clone of
http://lxr.mozilla.org/seamonkey/source/xpinstall/wizard/windows/builder/build.pl
, which appear to be the ordinary Windows build script. It should not be a
separate file but a different set of variable and option settings in the same
file, since copy-and-paste coding like this invariably creates maintenance
nightmares down the road. In any case, the extreme similarity of the Windows
installer files suggests that the changes needed to the Mac installer are
probably also small.
Comment 10•24 years ago
|
||
Lummox (et al). You are correct in saying that shared profiles are not being
worked on for Mac9. The NSPR shared memory and semaphore implementation is
written to the UNIX (and Win32) calls. We are actually only looking at shared
profiles on MacOSX in the mach-o builds currently. As you can fit my Mac
knowledge into a small hat, I'm not sure what it would take to hook up a
solution to the Mac OSX CFM build and the Mac OS9 build.
With the architecture we are putting together the only real hurdles are a
workable implementation of the NSPR shared memory and semaphore routines, since
we are desingning it to use those APIs.
If you want to help out in that area and help with a mac solution for shared
profiles, in particular knowledge about semaphores and shared memory on MacOS9
that would be great. http://bugzilla.mozilla.org/show_bug.cgi?id=135137 would be
a great place for you to further request Mac OS9 support for prof sharing.
Comment 11•24 years ago
|
||
Thanks, John. I'm already CCed on bug 135137 as well as a number of other
related bugs. None of them says what solution is being planned, just that its
implementation will have something to do with shared memory and semaphores. I
need a description of the proposed profile sharing architecture.
Updated•24 years ago
|
Component: Installer → Installer: GRE
Comment 12•24 years ago
|
||
I don't believe we are even supporting MacOS 9.x for nsbeta1, are we?
Comment 13•24 years ago
|
||
Cc:ing Conrad and Pink since we're talking about the Mac
Comment 14•24 years ago
|
||
Lummox,
Your proposal in comment 3 seems fine to me. 2 things:
1. Shared lib search paths only apply to libs in "Essential Files." The others,
in "Components", are loaded by XPCOM, not directly by CFM. Reason I make this
obvious point is that the contents of "Components" could be located really
anywhere. And, multiple versions could exist.
2. The current profile sharing idea is to use IPC - which of course can be done
on OS9.
As far as proposals for the implementation of this on OS9, it's up to you and
other OS9 contributors :-)
Updated•24 years ago
|
Summary: MRE: MacOS 9.x Installer → GRE: MacOS 9.x Installer
Comment 15•23 years ago
|
||
can this bug be marked WONTFIX now that Mozilla support for MacOS 9x is
effectively dead?
| Assignee | ||
Comment 16•23 years ago
|
||
No support going forward for OS 9. Marking wontfix.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Updated•18 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•