[Mono-dev] Mono.Cairo on OSX

Christian Hergert chris at dronelabs.com
Tue Aug 4 19:02:43 EDT 2009


So it turns out that this is really defined in etc/mono/config and the  
OS X packaging scripts will munge that to create the Framework install.

So I suggest we update the config.in with a os="osx" addition and  
update the line in the release scripts to reflect the proper dylib.

Patches attached.

-- Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono-etc-config-cairo.patch
Type: application/octet-stream
Size: 624 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090804/c5de4672/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: release-macosx-cairo.patch
Type: application/octet-stream
Size: 601 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090804/c5de4672/attachment-0001.obj 
-------------- next part --------------

On Aug 4, 2009, at 1:26 AM, Christian Hergert wrote:

> Oh thats handy.  Anyone have objections to committing this?
>
> -- Christian
>
> On Aug 4, 2009, at 1:19 AM, Robert Jordan wrote:
>
>> Hi Christian,
>>
>> Christian Hergert wrote:
>>> It looks like Mono.Cairo is trying to load libcairo.so.2 on OS X.
>>> Creating the following Mono.Cairo.dll.config works for me.
>>>
>>> <configuration>
>>>  <dllmap dll="libcairo-2.dll" target="libcairo.2.dylib"/>
>>> </configuration>
>>>
>>> However, I'm not sure how to go around making a proper patch as you
>>> folks would like it.  The reason I ask is because I don't see any
>>> other dll's in mcs/class/ that have dllmaps based on platform (and
>>> maybe this will require a configure.in change).
>>>
>>> So if you provide me a little direction, I'll go ahead and submit a
>>> patch.
>>
>> No configure magic is required if the "os" attribute
>> is applied:
>>
>> <configuration>
>>   <dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>
>> </configuration>
>>
>> Robert
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list