[Xquartz-dev] cairo + fat binaries on osx

Jeremy Huddleston jeremyhu at apple.com
Sat Mar 22 23:17:33 PDT 2008


I just realized I sent you the diff before I saved the file ><  Sorry  
about that.  Here's the correction

diff --git a/configure.in b/configure.in
index 6a86a33..e314115 100644
--- a/configure.in
+++ b/configure.in
@@ -67,7 +67,7 @@ AC_STDC_HEADERS
  AC_C_INLINE

  case $host_os in
-       darwin*) XORG="no" ;;
+       darwin*)
  AH_VERBATIM([X_BYTE_ORDER],[
  /* Deal with multiple architecture compiles on Mac OS X */
  #ifdef __APPLE_CC__
@@ -80,6 +80,7 @@ AH_VERBATIM([X_BYTE_ORDER],[
  #endif
  #endif
  ])
+       ;;
         *)
  AC_C_BIGENDIAN
  AX_C_FLOAT_WORDS_BIGENDIAN



On Mar 13, 2008, at 17:51, Vladimir Vukicevic wrote:
>
> Done -- just pushed out to both 1.4.x and trunk.
>
>   - Vlad
>
> On Mar 13, 2008, at 5:32 PM, Jeremy Huddleston wrote:
>
>> Could you throw it in both 1.4 stable and the devel branch?  And  
>> feel free to put my name on it.
>>
>> Thanks,
>> Jeremy
>>
>> On Mar 13, 2008, at 17:14, Vladimir Vukicevic wrote:
>>
>>>
>>> Howdy,
>>>
>>> On Mar 13, 2008, at 4:28 PM, Jeremy Huddleston wrote:
>>>
>>>> Hi,
>>>>
>>>> I noticed you're working on the quartz backend for cairo.  I'm  
>>>> maintaining X11 for Apple and am looking into including the X11  
>>>> cairo backend in the next community release of X11.
>>>
>>> Sounds great!
>>>
>>>>
>>>> As it is, cairo has compile-time tests for endianness which are  
>>>> based on the values set by configure.  This makes fat binaries  
>>>> built via '-arch i386 -arch ppc -arch ppc64 -arch x86_64' broken  
>>>> for the "other" architecture family.
>>>>
>>>> I'm using the following patch to address this, but I'd like to  
>>>> pass it to you first to make sure there isn't some adverse effect  
>>>> wrt the quartz backend that I don't see.
>>>>
>>>> If it looks fine to you, could you please commit it?
>>>
>>> Looks fine here, I'll push it upstream.  Are you interested in  
>>> getting it into the 1.4 stable branch, or the devel branch?   
>>> (Which will become 1.6 very soon.)  (Also, are you OK with me  
>>> putting your name/email address in the git commit header?)
>>>
>>> (At some point also I'd like to get Cairo building into a proper  
>>> Framework, though I haven't been able to find any docs on building  
>>> a Framework from the command line -- any pointers?  I admittedly  
>>> haven't searched very hard, though.)
>>>
>>>  - Vlad
>>>
>>
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3221 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080322/928f509c/attachment.bin 


More information about the Xquartz-dev mailing list