Re: patches for configure errors under MinGW, OS X deprecation warnings

suzuki toshiya <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Still I have Mac OS X 10.4 environment (but for PowerPC).
If a volunteer is needed for a regression test, I raise
my hand. Also I note that I agree with Schmidt's position
to keep the compatibility with earlier Mac OS X.

Regards,
mpsuzuki

Andrea Canciani wrote:
> On Sun, Feb 8, 2015 at 11:17 AM, Ryan Schmidt <[email protected]>
> wrote:
> 
>> On Feb 5, 2015, at 10:42 AM, Andrea Canciani wrote:
>>
>>>> 2) the following patch fixes runtime warnings about CGFontGetGlyphPath
>> deprecation under OS X 10.10 (Yosemite):
>>>>    (discussion at http://comments.gmane.org/gmane.comp.lib.cairo/24875)
>>> I pushed the patch available in the associated bugreport to master:
>>> commit 70cc8f250b5669e757b4f044571ba0f71e3dea9e
>>> Author: Andrea Canciani <[email protected]>
>>> Date:   Tue Dec 9 16:13:00 2014 +0100
>>>
>>>     quartz: Remove call to obsolete CGFontGetGlyphPath
>>>
>>>     CGFontGetGlyphPath was not public and is not available anymore on
>>>     modern OSX/iOS systems. The same functionality is available through
>>>     the CoreText API since OSX 10.5.
>>>
>>>     Based on a patch by Simon Cozens.
>>>
>>>     Fixes https://bugs.freedesktop.org/show_bug.cgi?id=84324
>> With this change, cairo now cannot be built on OS X 10.4 with the
>> --enable-quartz-font flag, whereas this worked before:
>>
> 
> This is expected, in fact it is one of the issues I had pointed out on the
> original patch:
> http://permalink.gmane.org/gmane.comp.lib.cairo/24905
> 
> (I also sketched an alternative patch that should/might also work on 10.4)
> 
> 
>>
>> :info:build cairo-quartz-font.c: In function
>> '_cairo_quartz_init_glyph_path':
>> :info:build cairo-quartz-font.c:548: error: 'CTFontRef' undeclared (first
>> use in this function)
>> :info:build cairo-quartz-font.c:548: error: (Each undeclared identifier is
>> reported only once
>> :info:build cairo-quartz-font.c:548: error: for each function it appears
>> in.)
>> :info:build cairo-quartz-font.c:548: error: expected ';' before 'ctFont'
>> :info:build cairo-quartz-font.c:563: error: 'ctFont' undeclared (first use
>> in this function)
>> :info:build cairo-quartz-font.c:563: error: implicit declaration of
>> function 'CTFontCreateWithGraphicsFont'
>> :info:build cairo-quartz-font.c:564: error: implicit declaration of
>> function 'CTFontCreatePathForGlyph'
>> :info:build cairo-quartz-font.c:564: warning: assignment makes pointer
>> from integer without a cast
>> :info:build make[3]: *** [cairo-quartz-font.lo] Error 1
>>
>>
>> Would it be possible to keep the previous code for OS X 10.4 and use the
>> new code on OS X 10.5 and newer?
>>
> 
> It is possible to do that, but testing on 10.4 is becoming pretty hard (I
> have no such environment and I'm afraid that Mozilla is not testing anymore
> on such an old OS). In the bugreport the agreement seemed to be that 10.4
> is too old to be supported. Its removal would also allow for a significant
> cleanup, as 10.4 is missing blend operators.
> 
> I am unsure what the best course is... Chris, Bryce, what are your opinions
> on this?
> 
> Andrea
> 
> 

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.