From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
ip-172-31-74-118.ec2.internal
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM
autolearn=ham autolearn_force=no version=3.4.6
Path: eternal-september.org!reader02.eternal-september.org!aioe.org!IkfqUyAAQ1a/9O52ootEvg.user.46.165.242.75.POSTED!not-for-mail
From: Blady
Newsgroups: comp.lang.ada
Subject: Re: GtkAda on macOS Big Sur
Date: Sat, 28 Aug 2021 15:42:52 +0200
Organization: Aioe.org NNTP Server
Message-ID:
References: <1611e861-1ba8-4004-95bd-f02669061a76n@googlegroups.com>
<80a76693-4850-469e-9e37-8a3c12cc6128n@googlegroups.com>
<58753498-d2c7-4a24-8604-59c9d950faf8n@googlegroups.com>
<3d2856ef-b019-4574-b05e-d4a92e483caen@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="47128"; posting-host="IkfqUyAAQ1a/9O52ootEvg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
Gecko/20100101 Thunderbird/78.13.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
Xref: reader02.eternal-september.org comp.lang.ada:62569
List-Id:
Le 27/08/2021 à 19:12, Simon Wright a écrit :
> Gareth Baker writes:
>
>> Pascal,
>>
>> Okay - thanks for replying.
>>
>> The testgtk program does the same thing, a window opens up with the
>> program shrunk to 1/4 size against a black background.
>>
>> The gtk3-demo is slightly different in that it opens up on its own but
>> I think again it is 1/4 of the size it should be and the mouse clicks
>> do not work where they should.
>
> Same here.
>
>> I’m on macOS 15.5.2.
>
> 11.5.2 I think!
macOS 11.5.2 too.
> I had to run "sudo xattr -d com.apple.quarantine" on bin/*, lib/*.dylib,
> lib/*.so, and the testgtk program.
I forgot to mention that in Readme, I'll change it on SF.
I should package the whole as you do for GNAT.
> Also, on page 2 of
> https://blady.pagesperso-orange.fr/telechargements/gtkada/gtk-ada.pdf,
> it should say
> $ PATH=/opt/gnat-ce-2021/bin:$PATH
> not
> $ PATH=/opt/gnat-ce-2021:$PATH
Thanks for the typo, fixed in source text.
The reported behavior by Gareth and you is quite puzzling.
Maybe one configuration difference could be Xcode.
I installed only Xcode (no CL tools):
% xcodebuild -version
Xcode 12.5.1
Build version 12E507
% pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
% xcode-select -p
/Applications/Xcode.app/Contents/Developer
I guess nothing relevant was printed in the Terminal.
However, could you check the dylib loading with DYLD_PRINT_LIBRARIES?
For instance:
% DYLD_PRINT_LIBRARIES=1 ./gtk3-demo
Other ideas are welcome :-)
Pascal.