Re: r-base does not build Xcode 15.0 / Ventura ATSFONTxxx functions missing.

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
That patch looks good.  I may try to integrate it into the R-base.info patch process if that is ok with everyone?  There are already about 5 different patch files for r-base, what’s one more?  Basically the calls are identical with CG instead of ATS and the font caching is the same.  The CGFont calls should be available for MacOS 10.0+ which is back to the beginning?
https://developer.apple.com/documentation/coregraphics/cgfontref
or >= macOS 10.8 ???
https://developer.apple.com/documentation/coregraphics

So that should be fine for the whole 10.9 tree?

-Scott

> On Nov 27, 2023, at 16:14, [email protected] wrote:
> 
> On 2023-11-27 14:01, Scott Hannahs via Fink-users wrote:
>> This is another instance of ATSFONTxxxx functions are not available on
>> Ventura (MacOS 13.xx).  r-base41 calls several of them in devquartz.c.
>> Unlike the qt5 files there does not seem to be a HAVE_ATS definition
>> to work around.
>> Also include the following system information:
>> Package manager version: 0.45.99.git
>> Distribution version: selfupdate-git Mon Nov 27 09:51:04 2023, 13.0, x86_64
>> Trees: local/injected local/main stable/main
>> Xcode.app: 15.0.1
>> Xcode command-line tools: 15.0.0.0.1.1694021235
>> Max. Fink build jobs:  12
>> There are several errors such as
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1:
>> note: 'ATSFontFindFromName' has been explicitly marked unavailable
>> here
>> ATSFontFindFromName(
>> ^
>> devQuartz.c:710:35: error: 'ATSFontFindFromName' is unavailable
>>                        atsFont = ATSFontFindFromName(cfFontName,
>> kATSOptionFlagsDefault);
> 
> This is the upstream report with their patch:
> 
> https://bugs.r-project.org/show_bug.cgi?id=18426
> 
> Hanspeter

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
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.