[Mono-list] MacOS packages.

Urs Muff umuff@QUARK.com
Wed, 25 Feb 2004 06:21:23 -0700


If you actually look at /usr/bin/javac, /usr/bin/java, those are soft links
to /System/Library/Framework/JavaVM.Framework/Version/1.4.2/Command/java.

--> We only have to create soft links for stuff main executables, but not
necessary the .exe assemblies since those are just .Net assemblies unless we
have some .exe Mono launcher in /etc/... as discussed many times on this
list.

As for the version: that is the framework version not the assembly version.
The GAC is fine and no problem, but Apple is talking about the executables
(mono,mint) dynamic libraries (libmono.dylib, ...) and the C-headers, and
that has a standard folder structure.

- URS C. MUFF

-----Original Message-----
From: Miguel de Icaza [mailto:miguel@novell.com] 
Sent: Tuesday, February 24, 2004 7:43 PM
To: Urs C Muff
Cc: Andy Satori; mono-list@ximian.com
Subject: Re: [Mono-list] MacOS packages.

Hello,

> Well actually I agree that the shell scripts 'mono' and 'mcs' might 
> live in /usr/bin, but I would create a Framework and put it in 
> /System/Library/Frameworks/MonoVM.Framework the same way as 
> /System/Library/Frameworks/JavaVM.Framework is placed (look at the 
> folder structure within the framework to see how Apple is structuring 
> such a beast).
> 
> But the .Net assemblies should live in 
> /System/Library/Frameworks/MonoVM.Framework/Versions/0.30/Assemblies 
> where there is a link pointing there @ 
> /System/Library/Frameworks/MonoVM.Framework/Assemblies.
> 
> That would conform with Apple's standard much better: I don't know how 
> we would have to build mono to include those in the assembly load 
> path...

I think you just build mono with a prefix of:

	/System/Library/Frameworks/MonoVM.Framework

And just copy anything that is installed in the bin/ subdirectory to
/usr/bin.

As for the versioning: we will be taking care of library versions in a
different way (the GAC approach)