Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Love may fail, but courtesy will previal." -- A Kurt Vonnegut fan


devel / comp.lang.ada / SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

SubjectAuthor
* SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"Kenneth Wolcott
`* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
 `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  +* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |+* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  ||`* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  || `- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |`* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttSimon Wright
  | `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |  `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttSimon Wright
  |   +* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   |+* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||`* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   || +* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   || |`* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   || | `- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   || `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||  `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||   `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||    `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||     `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttSimon Wright
  |   ||      `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||       `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||        `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||         +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||         `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||          `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||           `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||            `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||             +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||             `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||              +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||              +* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||              |`- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||              `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||               +* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKeith Thompson
  |   ||               |`- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||               `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||                +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                 `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||                  +- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                  `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   ||                   `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  |   ||                    `* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingRod Kay
  |   ||                     `- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   |`* Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttSimon Wright
  |   | `- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttKenneth Wolcott
  |   `- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missingLuke A. Guest
  `- Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttSimon Wright

Pages:123
SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9764&group=comp.lang.ada#9764

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:17ce:b0:3f9:e9e9:cf0d with SMTP id u14-20020a05622a17ce00b003f9e9e9cf0dmr11649qtk.5.1687977538769;
Wed, 28 Jun 2023 11:38:58 -0700 (PDT)
X-Received: by 2002:a05:6871:4089:b0:1b0:39e0:977e with SMTP id
kz9-20020a056871408900b001b039e0977emr3922873oab.4.1687977538568; Wed, 28 Jun
2023 11:38:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Jun 2023 11:38:58 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
Subject: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Wed, 28 Jun 2023 18:38:58 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Kenneth Wolcott - Wed, 28 Jun 2023 18:38 UTC

Hi;

Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 13.4.1...

sudo make DESTDIR=/opt/ext_ada_lib/sdlada SDL_PLATFORM=macosx SDL_MODE=release
mkdir -p gen/src/
gprbuild -p -gnat2012 -XSDL_MODE=release -XSDL_PLATFORM=macosx \
-Psdlada.gpr
Compile
[C] version_ttf.c
[redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18: fatal error: SDL2_ttf/SDL_ttf.h: No such file or directory
27 | #include <SDL2_ttf/SDL_ttf.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
gprbuild: *** compilation phase failed
make: *** [lib/libadasdl.a] Error 4

Thanks,
Ken Wolcott

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7i7ql$1sa0a$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9767&group=comp.lang.ada#9767

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Wed, 28 Jun 2023 22:13:57 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u7i7ql$1sa0a$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Jun 2023 21:13:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4777841efce09a1ddfcf776c4e845731";
logging-data="1976330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196drvGpimXh6GWpEUX4Retuf3t+rb6dIU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:lKpjb81yHCkmDez+yY/i6yiIm9k=
Content-Language: en-GB
In-Reply-To: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
 by: Luke A. Guest - Wed, 28 Jun 2023 21:13 UTC

On 28/06/2023 19:38, Kenneth Wolcott wrote:
> Hi;
>
> Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 13.4.1...
>
> sudo make DESTDIR=/opt/ext_ada_lib/sdlada SDL_PLATFORM=macosx SDL_MODE=release
> mkdir -p gen/src/
> gprbuild -p -gnat2012 -XSDL_MODE=release -XSDL_PLATFORM=macosx \
> -Psdlada.gpr
> Compile
> [C] version_ttf.c
> [redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18: fatal error: SDL2_ttf/SDL_ttf.h: No such file or directory
> 27 | #include <SDL2_ttf/SDL_ttf.h>
> | ^~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> gprbuild: *** compilation phase failed
> make: *** [lib/libadasdl.a] Error 4

Have you installed sdl ttf with brew? I cannot confirm this all works
without brew.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9768&group=comp.lang.ada#9768

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:1aa5:b0:3ff:2517:172 with SMTP id s37-20020a05622a1aa500b003ff25170172mr13313qtc.0.1687987114895;
Wed, 28 Jun 2023 14:18:34 -0700 (PDT)
X-Received: by 2002:a05:6808:1898:b0:3a1:d419:9c64 with SMTP id
bi24-20020a056808189800b003a1d4199c64mr3247551oib.5.1687987114602; Wed, 28
Jun 2023 14:18:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Jun 2023 14:18:34 -0700 (PDT)
In-Reply-To: <u7i7ql$1sa0a$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <u7i7ql$1sa0a$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Wed, 28 Jun 2023 21:18:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2545
 by: Kenneth Wolcott - Wed, 28 Jun 2023 21:18 UTC

On Wednesday, June 28, 2023 at 2:14:00 PM UTC-7, Luke A. Guest wrote:
> On 28/06/2023 19:38, Kenneth Wolcott wrote:
> > Hi;
> >
> > Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 13.4.1...
> >
> > sudo make DESTDIR=/opt/ext_ada_lib/sdlada SDL_PLATFORM=macosx SDL_MODE=release
> > mkdir -p gen/src/
> > gprbuild -p -gnat2012 -XSDL_MODE=release -XSDL_PLATFORM=macosx \
> > -Psdlada.gpr
> > Compile
> > [C] version_ttf.c
> > [redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18: fatal error: SDL2_ttf/SDL_ttf.h: No such file or directory
> > 27 | #include <SDL2_ttf/SDL_ttf.h>
> > | ^~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
> > gprbuild: *** compilation phase failed
> > make: *** [lib/libadasdl.a] Error 4
> Have you installed sdl ttf with brew? I cannot confirm this all works
> without brew.

Hi Luke;

I heavily use MacPorts. I keep hearing that it is a very bad idea to have MacPorts and HomeBrew concurrently installed on the same machine. Is it at all possible to do this without HomeBrew? Apparently I did not read your documentation carefully enough...I thought that having SDL installed via HomeBrew was optional, not required.

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9769&group=comp.lang.ada#9769

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:4724:b0:765:a23d:e023 with SMTP id bs36-20020a05620a472400b00765a23de023mr377745qkb.4.1687989190905;
Wed, 28 Jun 2023 14:53:10 -0700 (PDT)
X-Received: by 2002:a05:6870:1f8b:b0:1b0:393d:59fa with SMTP id
go11-20020a0568701f8b00b001b0393d59famr4367278oac.9.1687989190722; Wed, 28
Jun 2023 14:53:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Jun 2023 14:53:10 -0700 (PDT)
In-Reply-To: <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Wed, 28 Jun 2023 21:53:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3138
 by: Kenneth Wolcott - Wed, 28 Jun 2023 21:53 UTC

On Wednesday, June 28, 2023 at 2:18:36 PM UTC-7, Kenneth Wolcott wrote:
> On Wednesday, June 28, 2023 at 2:14:00 PM UTC-7, Luke A. Guest wrote:
> > On 28/06/2023 19:38, Kenneth Wolcott wrote:
> > > Hi;
> > >
> > > Trying to build SDL Ada on a Mac Mini with M1 chip, running Ventura 13.4.1...
> > >
> > > sudo make DESTDIR=/opt/ext_ada_lib/sdlada SDL_PLATFORM=macosx SDL_MODE=release
> > > mkdir -p gen/src/
> > > gprbuild -p -gnat2012 -XSDL_MODE=release -XSDL_PLATFORM=macosx \
> > > -Psdlada.gpr
> > > Compile
> > > [C] version_ttf.c
> > > [redacted]/Ada/from_GitHub/sdlada-master/src/ttf/version_ttf.c:27:18: fatal error: SDL2_ttf/SDL_ttf.h: No such file or directory
> > > 27 | #include <SDL2_ttf/SDL_ttf.h>
> > > | ^~~~~~~~~~~~~~~~~~~~
> > > compilation terminated.
> > > gprbuild: *** compilation phase failed
> > > make: *** [lib/libadasdl.a] Error 4
> > Have you installed sdl ttf with brew? I cannot confirm this all works
> > without brew.
> Hi Luke;
>
> I heavily use MacPorts. I keep hearing that it is a very bad idea to have MacPorts and HomeBrew concurrently installed on the same machine. Is it at all possible to do this without HomeBrew? Apparently I did not read your documentation carefully enough...I thought that having SDL installed via HomeBrew was optional, not required.
>
> Thanks,
> Ken

Since I'm not using ALIRE (ALR), but using gnatmake (I'm on a Mac mini with an M1 chip, ALR refuses to get most packages because I don't have a native Ada compiler), I thought that the HomeBrew mention was in regards to using the SDLAda package via ALIRE.

So that's a different problem requiring a different post :-)

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7id6j$1spf9$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9770&group=comp.lang.ada#9770

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Wed, 28 Jun 2023 23:45:38 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <u7id6j$1spf9$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Jun 2023 22:45:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea";
logging-data="1992169"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GPm6b/3v62vDfr9fWk8ve5Oqf+N7RNJg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:Bbaadz+QuyVVJR3hkxeMZ1hLN2w=
In-Reply-To: <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
Content-Language: en-GB
 by: Luke A. Guest - Wed, 28 Jun 2023 22:45 UTC

On 28/06/2023 22:53, Kenneth Wolcott wrote:

>> I heavily use MacPorts. I keep hearing that it is a very bad idea to have MacPorts and HomeBrew concurrently installed on the same machine. Is it at all possible to do this without HomeBrew? Apparently I did not read your documentation carefully enough...I thought that having SDL installed via HomeBrew was optional, not required.

I didn't get it working on Mac myself, I originally started to get it
going using the downloadable binaries you can just drag n drop.

Others got it working with brew, afaik.

> Since I'm not using ALIRE (ALR), but using gnatmake (I'm on a Mac mini with an M1 chip, ALR refuses to get most packages because I don't have a native Ada compiler), I thought that the HomeBrew mention was in regards to using the SDLAda package via ALIRE.
>
> So that's a different problem requiring a different post :-)

You're probably better off using git to grab it, then modify the
makefile and gpr's for a specific macos macports port, add a new
Platform_Type, macosx_macports and add what you need inside the sdlada.gpr.

Then you can call make SDL_PLATFORM=macosx_macports SDL_MODE=release to
build it.

Check whatever sdl2-config --cflags produces on that port.

If the headers are in different directories, you'll need to modify the
version*.c files with extra #ifdef's for macports.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<71cb7cd8-4c03-4eac-aaa6-0b32ddf14b81n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9771&group=comp.lang.ada#9771

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:57a7:0:b0:634:dbb5:a34c with SMTP id g7-20020ad457a7000000b00634dbb5a34cmr310530qvx.8.1687997862153;
Wed, 28 Jun 2023 17:17:42 -0700 (PDT)
X-Received: by 2002:aca:620a:0:b0:39e:985f:26ab with SMTP id
w10-20020aca620a000000b0039e985f26abmr8345746oib.6.1687997861883; Wed, 28 Jun
2023 17:17:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Jun 2023 17:17:41 -0700 (PDT)
In-Reply-To: <u7id6j$1spf9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <u7id6j$1spf9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <71cb7cd8-4c03-4eac-aaa6-0b32ddf14b81n@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Thu, 29 Jun 2023 00:17:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3193
 by: Kenneth Wolcott - Thu, 29 Jun 2023 00:17 UTC

On Wednesday, June 28, 2023 at 3:45:41 PM UTC-7, Luke A. Guest wrote:
> On 28/06/2023 22:53, Kenneth Wolcott wrote:
>
> >> I heavily use MacPorts. I keep hearing that it is a very bad idea to have MacPorts and HomeBrew concurrently installed on the same machine. Is it at all possible to do this without HomeBrew? Apparently I did not read your documentation carefully enough...I thought that having SDL installed via HomeBrew was optional, not required.
> I didn't get it working on Mac myself, I originally started to get it
> going using the downloadable binaries you can just drag n drop.
>
> Others got it working with brew, afaik.
> > Since I'm not using ALIRE (ALR), but using gnatmake (I'm on a Mac mini with an M1 chip, ALR refuses to get most packages because I don't have a native Ada compiler), I thought that the HomeBrew mention was in regards to using the SDLAda package via ALIRE.
> >
> > So that's a different problem requiring a different post :-)
> You're probably better off using git to grab it, then modify the
> makefile and gpr's for a specific macos macports port, add a new
> Platform_Type, macosx_macports and add what you need inside the sdlada.gpr.
>
> Then you can call make SDL_PLATFORM=macosx_macports SDL_MODE=release to
> build it.
>
> Check whatever sdl2-config --cflags produces on that port.
>
> If the headers are in different directories, you'll need to modify the
> version*.c files with extra #ifdef's for macports.

Hi Luke;

Thank you for more information.

This looks a little bit deeper than I feel comfortable :-(

I'll think about this a bit more and experiment further, but this is definitely in uncharted territory for me.

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7jk4n$24cg3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9773&group=comp.lang.ada#9773

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 10:50:15 +0100
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <u7jk4n$24cg3$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<u7id6j$1spf9$1@dont-email.me>
<71cb7cd8-4c03-4eac-aaa6-0b32ddf14b81n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Jun 2023 09:50:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea";
logging-data="2241027"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18g2yhUSYFfPBt3/EuQHeoGOSKio0zAjaw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:KFbjPKTz5zrZUnBvqfYPviuOIK0=
In-Reply-To: <71cb7cd8-4c03-4eac-aaa6-0b32ddf14b81n@googlegroups.com>
Content-Language: en-GB
 by: Luke A. Guest - Thu, 29 Jun 2023 09:50 UTC

On 29/06/2023 01:17, Kenneth Wolcott wrote:
> Hi Luke;
>
> Thank you for more information.
>
> This looks a little bit deeper than I feel comfortable :-(
>
> I'll think about this a bit more and experiment further, but this is definitely in uncharted territory for me.
>

It';s really not, you need to run sdl2-config --cflags and --libs to get
the set of flags, do that and report back here with the results.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<lyilb6qz8n.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9774&group=comp.lang.ada#9774

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 12:33:44 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <lyilb6qz8n.fsf@pushface.org>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="01bc129a055bf06d3ed09199f4a59a8c";
logging-data="2263928"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/a1wgi7RApELeU9vhZuFsEPqIkc/aFubA="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:WMzfPleeqEH0yFwMN4kXz2+nMgo=
sha1:xxJzTBlLMc3Bx0J/0sGAnbPnnBY=
 by: Simon Wright - Thu, 29 Jun 2023 11:33 UTC

Kenneth Wolcott <kennethwolcott@gmail.com> writes:

> I heavily use MacPorts. I keep hearing that it is a very bad idea to
> have MacPorts and HomeBrew concurrently installed on the same machine.
> Is it at all possible to do this without HomeBrew? Apparently I did
> not read your documentation carefully enough...I thought that having
> SDL installed via HomeBrew was optional, not required.

It's quite tricky to get the C includes and library directories working;
using Homebrew doesn't make it any easier, and the fact that the Mac
compilers (both the ones I've provided and the ones you get via Alire)
don't look in /usr/local by default doesn't help.

Having the external SDL2/SDL2_images/SDL22_ttf installed via Homebrew
isn't mandatory, but they do have to be installed! I expect that
MacPorts can do this.

With HomeBrew, installed packages are(almost always) under
$HOMEBREW_PREFIX, and I've defined these environment variables globally:

export C_INCLUDE_PATH=$HOMEBREW_PREFIX/include
export LIBRARY_PATH=$HOMEBREW_PREFIX/lib

I'd be surprised if MacPorts doesn't do similar
(e.g. MACPORTS_PREFIX=/opt/local ??).

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<ly7crmquni.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9775&group=comp.lang.ada#9775

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 14:12:49 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <ly7crmquni.fsf@pushface.org>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="01bc129a055bf06d3ed09199f4a59a8c";
logging-data="2286884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N3gXb9nj61FnLxzaoo0olvkRuyvw5mCM="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:Tgk36mBFQw4EQQL33XjJHe138G8=
sha1:A/UtWm86p3ZhJ8TmhC5FfEXF31s=
 by: Simon Wright - Thu, 29 Jun 2023 13:12 UTC

Kenneth Wolcott <kennethwolcott@gmail.com> writes:

> Since I'm [...] using gnatmake

I don't understand why you'd want to use gnatmake? Most people who
provide packaged libraries (e.g. sdlada) include a GPR file which saves
you a raft of pain if you use it. OK, you have to learn something about
gprbuild, but then you have to learn how to drive gnatmake (e.g. the
previous discussion about -I). Also, sdlada includes 3 C source files,
and so far as I know gnatmake doesn't know how to build C files, whereas
gprbuild does and build/gnat/sdlada.gpr drives the needed compilations.

> I'm on a Mac mini
> with an M1 chip, ALR refuses to get most packages because I don't have
> a native Ada compiler

Can you give us an example of a package that alr refuses to get?

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7k1ip$25tu0$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9776&group=comp.lang.ada#9776

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 14:39:37 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <u7k1ip$25tu0$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Jun 2023 13:39:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea";
logging-data="2291648"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18X9J5HvRdPCKb0Agk/3o7TJGPcKy7evqw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:t1OATIG84s18aEVDX2JbAYO9Auo=
Content-Language: en-GB
In-Reply-To: <ly7crmquni.fsf@pushface.org>
 by: Luke A. Guest - Thu, 29 Jun 2023 13:39 UTC

On 29/06/2023 14:12, Simon Wright wrote:
> Kenneth Wolcott <kennethwolcott@gmail.com> writes:
>
>> Since I'm [...] using gnatmake
>
> I don't understand why you'd want to use gnatmake? Most people who
> provide packaged libraries (e.g. sdlada) include a GPR file which saves
> you a raft of pain if you use it. OK, you have to learn something about
> gprbuild, but then you have to learn how to drive gnatmake (e.g. the
> previous discussion about -I). Also, sdlada includes 3 C source files,
> and so far as I know gnatmake doesn't know how to build C files, whereas
> gprbuild does and build/gnat/sdlada.gpr drives the needed compilations.

Yeah, unfortunately I cannot remove the C files as they turn C macros
into variables and are useful at runtime, see the sdlada repo for
someone who wants to get rid of them.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<ly352aqmlg.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9777&group=comp.lang.ada#9777

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 17:06:51 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <ly352aqmlg.fsf@pushface.org>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="01bc129a055bf06d3ed09199f4a59a8c";
logging-data="2319727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uJ/dqv0KMYVBfJsmnAzzAwGwdvDH0ef4="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:ZbgW+VltZe5jKElVREbHvxVbOqM=
sha1:S7yUaYPi97PYLPCWGkaMHgpa3gI=
 by: Simon Wright - Thu, 29 Jun 2023 16:06 UTC

"Luke A. Guest" <laguest@archeia.com> writes:

> Yeah, unfortunately I cannot remove the C files as they turn C macros
> into variables and are useful at runtime, see the sdlada repo for
> someone who wants to get rid of them.

I had exactly this in tcladashell; even better, a Tcl script to generate
a C source, compiled against the Tcl/Tk libraries and run to generate
Ada source specifying record sizes/alignments.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9778&group=comp.lang.ada#9778

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:14f0:b0:635:f068:9739 with SMTP id k16-20020a05621414f000b00635f0689739mr702qvw.9.1688060044042;
Thu, 29 Jun 2023 10:34:04 -0700 (PDT)
X-Received: by 2002:a05:6870:2a49:b0:1b0:7f56:47d4 with SMTP id
jd9-20020a0568702a4900b001b07f5647d4mr486381oab.8.1688060043809; Thu, 29 Jun
2023 10:34:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 29 Jun 2023 10:34:03 -0700 (PDT)
In-Reply-To: <ly352aqmlg.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <ly7crmquni.fsf@pushface.org>
<u7k1ip$25tu0$1@dont-email.me> <ly352aqmlg.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Thu, 29 Jun 2023 17:34:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4404
 by: Kenneth Wolcott - Thu, 29 Jun 2023 17:34 UTC

On Thursday, June 29, 2023 at 9:06:56 AM UTC-7, Simon Wright wrote:
> "Luke A. Guest" writes:
>
> > Yeah, unfortunately I cannot remove the C files as they turn C macros
> > into variables and are useful at runtime, see the sdlada repo for
> > someone who wants to get rid of them.
> I had exactly this in tcladashell; even better, a Tcl script to generate
> a C source, compiled against the Tcl/Tk libraries and run to generate
> Ada source specifying record sizes/alignments.

Hi Luke & Simon;

Let's see if I can properly address all of the wonderful responses in a summarized fashion.

1. I'm using gnatmake versus gprbuild because I just haven't gotten used to it yet, not avoiding it specifically. Of course it looks like it makes things easier...

2. I stopped using Alire because I wanted a native gnat compiler and Alire didn't provide one and now that I installed and am using Simon's (again, thank you) build, Alire refuses to "get" some interesting packages. I'll respond later with some specific examples. Perhaps I have Alire improperly installed or configured...

3. I have installed libsdl2 via MacPorts:
port list | grep sdl2
libsdl2_mixer @2.6.3 audio/libsdl2_mixer
libsdl2 @2.28.0 devel/libsdl2
libsdl2-snowleopard @2.0.22 devel/libsdl2-snowleopard
libsdl2_gfx @1.0.4 devel/libsdl2_gfx
libsdl2_image @2.6.3 devel/libsdl2_image
libsdl2_net @2.2.0 devel/libsdl2_net
libsdl2_ttf @2.20.2 devel/libsdl2_ttf

4. Examples of Alire's "get" failure:
alr --no-color search --crates sdl
labs_solar_system A set of SDL-based exercises to learn Ada
libsdl2 Simple DirectMedia Layer development files
libsdl2_image Simple DirectMedia Layer development files - Image
libsdl2_ttf Simple DirectMedia Layer development files - TTF
pygamer_simulator SDL simulator of the AdaFruit PyGamer console
sdlada Ada 2012 SDL 2.x bindings.

alr --no-color get sdlada
Warning:
Warning: New solution is incomplete.
Warning: +~ libsdl2 ^2.0.0 (new,external)
Warning: +~ libsdl2_image ^2.0.0 (new,external)
Warning: +~ libsdl2_ttf ^2.0.0 (new,external)
Warning: + make 3.81.0 (new)
Warning:
Warning: Could not find a complete solution for sdlada=2.5.5
Build will fail unless externals are made available, do you want to continue?
[Y] Yes [N] No (default is No) n
ERROR: Crate retrieval abandoned.

alr --no-color get libsdl2_ttf
ERROR: No source release indexed for the requested crate, and cannot use system packages in unknown distribution

alr --no-color get libsdl2
ERROR: No source release indexed for the requested crate, and cannot use system packages in unknown distribution

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7km23$286ku$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9779&group=comp.lang.ada#9779

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 20:29:07 +0100
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <u7km23$286ku$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Jun 2023 19:29:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea";
logging-data="2366110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WN8D48MPg2VCe0twe9mhSrcSNe0KEqDc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:yzzNO7fdlBtAGPZOeh1WKCZwg6U=
In-Reply-To: <ly352aqmlg.fsf@pushface.org>
Content-Language: en-GB
 by: Luke A. Guest - Thu, 29 Jun 2023 19:29 UTC

On 29/06/2023 17:06, Simon Wright wrote:
> "Luke A. Guest" <laguest@archeia.com> writes:
>
>> Yeah, unfortunately I cannot remove the C files as they turn C macros
>> into variables and are useful at runtime, see the sdlada repo for
>> someone who wants to get rid of them.
>
> I had exactly this in tcladashell; even better, a Tcl script to generate
> a C source, compiled against the Tcl/Tk libraries and run to generate
> Ada source specifying record sizes/alignments.

I bet you never had someone try to remove the C file though.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7kmd8$286ku$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9780&group=comp.lang.ada#9780

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 20:35:04 +0100
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <u7kmd8$286ku$2@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Jun 2023 19:35:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea";
logging-data="2366110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6/Qno+s3nih7EOdyZsajigFn05cfe0UA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:gf3jrCvBDY74UUI5s+Xg6C8Bf6Y=
In-Reply-To: <b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
Content-Language: en-GB
 by: Luke A. Guest - Thu, 29 Jun 2023 19:35 UTC

On 29/06/2023 18:34, Kenneth Wolcott wrote:

> 1. I'm using gnatmake versus gprbuild because I just haven't gotten used to it yet, not avoiding it specifically. Of course it looks like it makes things easier...

gnatmake cannot handle project files anymore, it is for building single
applications, e.g. gnatmake my_app.adb, nothing more. You need to use
gprbuild with sdlada.

> 3. I have installed libsdl2 via MacPorts:
> port list | grep sdl2
> libsdl2_mixer @2.6.3 audio/libsdl2_mixer
> libsdl2 @2.28.0 devel/libsdl2
> libsdl2-snowleopard @2.0.22 devel/libsdl2-snowleopard
> libsdl2_gfx @1.0.4 devel/libsdl2_gfx
> libsdl2_image @2.6.3 devel/libsdl2_image
> libsdl2_net @2.2.0 devel/libsdl2_net
> libsdl2_ttf @2.20.2 devel/libsdl2_ttf

Right, so the other SDL libs usually install to the same place SDL is,
so what are the locations? Run these commands and tell me the results:

$ sdl2-config --cflags
$ sdl2-config --libs

> 4. Examples of Alire's "get" failure:

Forget about alire for now, I can update the main repo and you can grab
the source from there and use GPR_PROJECT_PATH=<path to
sdlada>/build/gnat:$GPR_PROJECT_PATH to build.

> alr --no-color get libsdl2_ttf
> ERROR: No source release indexed for the requested crate, and cannot use system packages in unknown distribution
>
> alr --no-color get libsdl2
> ERROR: No source release indexed for the requested crate, and cannot use system packages in unknown distribution

They're probably missing from the mac m1 specific index.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<lyy1k2otf2.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9781&group=comp.lang.ada#9781

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
Date: Thu, 29 Jun 2023 22:22:25 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <lyy1k2otf2.fsf@pushface.org>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="01bc129a055bf06d3ed09199f4a59a8c";
logging-data="2389187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ED7c/GXqn5xw7KafoscxOXsvKr3HCY/A="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:dBHSo5tHyc0gJSKh4AIeP4aGGLc=
sha1:csxK49min70FK8Z7memSXcdSXZw=
 by: Simon Wright - Thu, 29 Jun 2023 21:22 UTC

Kenneth Wolcott <kennethwolcott@gmail.com> writes:

> 2. I stopped using Alire because I wanted a native gnat compiler and
> Alire didn't provide one and now that I installed and am using Simon's
> (again, thank you) build, Alire refuses to "get" some interesting
> packages. I'll respond later with some specific examples. Perhaps I
> have Alire improperly installed or configured...

I wrote up something about this[1].

Alire will download and install external packages (e.g. SDL2) if it
knows how to use the host system's package manager. The "nightly"
builds[2] for macOS know how to install via Homebrew, provided that the
external manifest has been updated[3].

If someone wants to upgrade Alire to use MacPorts, I'm sure that would
be welcomed.

Adding aarch64 compilers to the mix makes things somewhat more
complicated.

Does MacPorts provide aarch64 (aka arm64) binary libraries? the object
code and libraries that are linked to produce an executable must be
consistent, all x86_64 or all aarch64.

[1]
https://forward-in-code.blogspot.com/2023/06/alire-on-macos-revisited.html
[2] https://github.com/alire-project/alire/releases
[3] https://github.com/alire-project/alire-index/pull/832

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9782&group=comp.lang.ada#9782

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:469f:b0:765:aafa:5be5 with SMTP id bq31-20020a05620a469f00b00765aafa5be5mr1575qkb.4.1688076259504;
Thu, 29 Jun 2023 15:04:19 -0700 (PDT)
X-Received: by 2002:a63:2b02:0:b0:557:a2ae:9310 with SMTP id
r2-20020a632b02000000b00557a2ae9310mr49188pgr.1.1688076259246; Thu, 29 Jun
2023 15:04:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 29 Jun 2023 15:04:18 -0700 (PDT)
In-Reply-To: <u7kmd8$286ku$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <ly7crmquni.fsf@pushface.org>
<u7k1ip$25tu0$1@dont-email.me> <ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com> <u7kmd8$286ku$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Thu, 29 Jun 2023 22:04:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 65
 by: Kenneth Wolcott - Thu, 29 Jun 2023 22:04 UTC

On Thursday, June 29, 2023 at 12:35:08 PM UTC-7, Luke A. Guest wrote:
> On 29/06/2023 18:34, Kenneth Wolcott wrote:
>
> > 1. I'm using gnatmake versus gprbuild because I just haven't gotten used to it yet, not avoiding it specifically. Of course it looks like it makes things easier...
> gnatmake cannot handle project files anymore, it is for building single
> applications, e.g. gnatmake my_app.adb, nothing more. You need to use
> gprbuild with sdlada.
> > 3. I have installed libsdl2 via MacPorts:
> > port list | grep sdl2
> > libsdl2_mixer @2.6.3 audio/libsdl2_mixer
> > libsdl2 @2.28.0 devel/libsdl2
> > libsdl2-snowleopard @2.0.22 devel/libsdl2-snowleopard
> > libsdl2_gfx @1.0.4 devel/libsdl2_gfx
> > libsdl2_image @2.6.3 devel/libsdl2_image
> > libsdl2_net @2.2.0 devel/libsdl2_net
> > libsdl2_ttf @2.20.2 devel/libsdl2_ttf
> Right, so the other SDL libs usually install to the same place SDL is,
> so what are the locations? Run these commands and tell me the results:

Actually, me the dummy, provided for you all what MacPorts has, not what I have :-)

This is what I have installed via MacPorts:
port installed | grep sdl
libsdl2 @2.24.2_0
libsdl2 @2.26.1_0
libsdl2 @2.26.2_0
libsdl2 @2.26.3_0
libsdl2 @2.26.4_0
libsdl2 @2.26.5_0
libsdl2 @2.28.0_0 (active)

> $ sdl2-config --cflags
> $ sdl2-config --libs

sdl2-config --cflags
-I/opt/local/include/SDL2 -D_THREAD_SAFE

sdl2-config --libs
-L/opt/local/lib -lSDL2

> > 4. Examples of Alire's "get" failure:
> Forget about alire for now, I can update the main repo and you can grab
> the source from there and use GPR_PROJECT_PATH=<path to
> sdlada>/build/gnat:$GPR_PROJECT_PATH to build.

Ok, cool.

> > alr --no-color get libsdl2_ttf
> > ERROR: No source release indexed for the requested crate, and cannot use system packages in unknown distribution
> >
> > alr --no-color get libsdl2
> > ERROR: No source release indexed for the requested crate, and cannot use system packages in unknown distribution
> They're probably missing from the mac m1 specific index.

Well, that would probably explain the problem :-)

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<276116c1-7164-46af-9eeb-44f6c35d76aan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9783&group=comp.lang.ada#9783

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:24cc:b0:762:1b2f:ec53 with SMTP id m12-20020a05620a24cc00b007621b2fec53mr4778qkn.7.1688076778447;
Thu, 29 Jun 2023 15:12:58 -0700 (PDT)
X-Received: by 2002:a17:903:100b:b0:1b8:3ec9:29a0 with SMTP id
a11-20020a170903100b00b001b83ec929a0mr68936plb.10.1688076777687; Thu, 29 Jun
2023 15:12:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 29 Jun 2023 15:12:57 -0700 (PDT)
In-Reply-To: <lyy1k2otf2.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <ly7crmquni.fsf@pushface.org>
<u7k1ip$25tu0$1@dont-email.me> <ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com> <lyy1k2otf2.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <276116c1-7164-46af-9eeb-44f6c35d76aan@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Thu, 29 Jun 2023 22:12:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3743
 by: Kenneth Wolcott - Thu, 29 Jun 2023 22:12 UTC

On Thursday, June 29, 2023 at 2:22:30 PM UTC-7, Simon Wright wrote:
> Kenneth Wolcott writes:
>
> > 2. I stopped using Alire because I wanted a native gnat compiler and
> > Alire didn't provide one and now that I installed and am using Simon's
> > (again, thank you) build, Alire refuses to "get" some interesting
> > packages. I'll respond later with some specific examples. Perhaps I
> > have Alire improperly installed or configured...
> I wrote up something about this[1].
>
> Alire will download and install external packages (e.g. SDL2) if it
> knows how to use the host system's package manager. The "nightly"
> builds[2] for macOS know how to install via Homebrew, provided that the
> external manifest has been updated[3].
>
> If someone wants to upgrade Alire to use MacPorts, I'm sure that would
> be welcomed.
>
> Adding aarch64 compilers to the mix makes things somewhat more
> complicated.
>
> Does MacPorts provide aarch64 (aka arm64) binary libraries? the object
> code and libraries that are linked to produce an executable must be
> consistent, all x86_64 or all aarch64.

I have no configured MacPorts to not accept any binaries that aren't aarch64
and I do almost all of my upgrade+updates using the source flag so that I build from source. There's only one issue that I've experienced after making that change:

port outdated
sbcl-bootstrap 2.1.2_0 < 2.2.9_0

The following are two lines from the failed upgrade to MacPorts, but they don't really adversely affect me because I have a prior version (I don't recall what I have that requires this package :-) )

Error: Cannot install qt4-mac for the arch 'x86_64' because
Error: its dependency dbus does not build for the required arch by default

port installed | grep sbcl-bootstrap
sbcl-bootstrap @2.1.2_0 (active)

> [1]
> https://forward-in-code.blogspot.com/2023/06/alire-on-macos-revisited.html
> [2] https://github.com/alire-project/alire/releases
> [3] https://github.com/alire-project/alire-index/pull/832

I'll take a look at those references...

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7m2ae$2g78q$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9784&group=comp.lang.ada#9784

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Fri, 30 Jun 2023 09:04:30 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <u7m2ae$2g78q$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
<u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 30 Jun 2023 08:04:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="348613576123a579d7207246ecdbf1b4";
logging-data="2628890"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+icICUsbx7zSNBWDUqFjSImPt9S9YMEx8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:Z0Wk1mBKntpNiMdS05fKxrPZdqc=
In-Reply-To: <ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
Content-Language: en-GB
 by: Luke A. Guest - Fri, 30 Jun 2023 08:04 UTC

On 29/06/2023 23:04, Kenneth Wolcott wrote:

>> $ sdl2-config --cflags
>> $ sdl2-config --libs
>
> sdl2-config --cflags
> -I/opt/local/include/SDL2 -D_THREAD_SAFE

That's odd. Can you show me the output of this?

$ ls /opt/local/include/SDL2

>
> sdl2-config --libs
> -L/opt/local/lib -lSDL2

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7med9$2hdm3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9785&group=comp.lang.ada#9785

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Fri, 30 Jun 2023 12:30:48 +0100
Organization: A noiseless patient Spider
Lines: 121
Message-ID: <u7med9$2hdm3$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
<u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------ajSiQgQ0vYEaFgMTGmqMVe0C"
Injection-Date: Fri, 30 Jun 2023 11:30:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="348613576123a579d7207246ecdbf1b4";
logging-data="2668227"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jLaiZXN0I6J9McIjeN/lUOzBBizxOJz0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:ynHkWS2Bv+tbggbIcjQroC6yNJc=
In-Reply-To: <ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
Content-Language: en-GB
 by: Luke A. Guest - Fri, 30 Jun 2023 11:30 UTC
Attachments: "test.patch" (text/x-patch)

The /build/gnat gpr's have got a bit confused by the looks of things.

Can you try this patch, it's made from a stash from a diff branch, if it
works I'll apply it and push it.

Luke.

Attachments: "test.patch" (text/x-patch)
Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7ml5o$2i3mc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9786&group=comp.lang.ada#9786

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Fri, 30 Jun 2023 14:26:16 +0100
Organization: A noiseless patient Spider
Lines: 141
Message-ID: <u7ml5o$2i3mc$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
<u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
<u7med9$2hdm3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------IX7snSySAXnN0KfNZfhdAnIH"
Injection-Date: Fri, 30 Jun 2023 13:26:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="348613576123a579d7207246ecdbf1b4";
logging-data="2690764"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+V+p4DLEHrJPE3DWlWLlzhNhcM7q76hCE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:hSWEsQYfDm/Ze07mIYafisbm7os=
Content-Language: en-GB
In-Reply-To: <u7med9$2hdm3$1@dont-email.me>
 by: Luke A. Guest - Fri, 30 Jun 2023 13:26 UTC
Attachments: "test.patch" (text/x-patch)

On 30/06/2023 12:30, Luke A. Guest wrote:
> The /build/gnat gpr's have got a bit confused by the looks of things.
>
> Can you try this patch, it's made from a stash from a diff branch, if it
> works I'll apply it and push it.

Ignore that, I forgot something, try this one instead.

Attachments: "test.patch" (text/x-patch)
Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<c6a41600-7518-460b-85c7-49079c7af9b8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9787&group=comp.lang.ada#9787

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:4687:b0:765:a9f8:959b with SMTP id bq7-20020a05620a468700b00765a9f8959bmr7991qkb.13.1688139661915;
Fri, 30 Jun 2023 08:41:01 -0700 (PDT)
X-Received: by 2002:a17:90a:ce8e:b0:262:ef07:f30a with SMTP id
g14-20020a17090ace8e00b00262ef07f30amr1668757pju.7.1688139661337; Fri, 30 Jun
2023 08:41:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 30 Jun 2023 08:41:00 -0700 (PDT)
In-Reply-To: <u7m2ae$2g78q$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <ly7crmquni.fsf@pushface.org>
<u7k1ip$25tu0$1@dont-email.me> <ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com> <u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com> <u7m2ae$2g78q$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c6a41600-7518-460b-85c7-49079c7af9b8n@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Fri, 30 Jun 2023 15:41:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3327
 by: Kenneth Wolcott - Fri, 30 Jun 2023 15:41 UTC

On Friday, June 30, 2023 at 1:04:34 AM UTC-7, Luke A. Guest wrote:
> On 29/06/2023 23:04, Kenneth Wolcott wrote:
>
> >> $ sdl2-config --cflags
> >> $ sdl2-config --libs
> >
> > sdl2-config --cflags
> > -I/opt/local/include/SDL2 -D_THREAD_SAFE
> That's odd. Can you show me the output of this?
>
> $ ls /opt/local/include/SDL2

ls /opt/local/include/SDL2

SDL.h SDL_joystick.h SDL_opengles2_khrplatform.h SDL_test_crc32.h
SDL_assert.h SDL_keyboard.h SDL_pixels.h SDL_test_font.h
SDL_atomic.h SDL_keycode.h SDL_platform.h SDL_test_fuzzer.h
SDL_audio.h SDL_loadso.h SDL_power.h SDL_test_harness.h
SDL_bits.h SDL_locale.h SDL_quit.h SDL_test_images.h
SDL_blendmode.h SDL_log.h SDL_rect.h SDL_test_log.h
SDL_clipboard.h SDL_main.h SDL_render.h SDL_test_md5.h
SDL_config.h SDL_messagebox.h SDL_revision.h SDL_test_memory.h
SDL_cpuinfo.h SDL_metal.h SDL_rwops.h SDL_test_random.h
SDL_egl.h SDL_misc.h SDL_scancode.h SDL_thread.h
SDL_endian.h SDL_mouse.h SDL_sensor.h SDL_timer.h
SDL_error.h SDL_mutex.h SDL_shape.h SDL_touch.h
SDL_events.h SDL_name.h SDL_stdinc.h SDL_types.h
SDL_filesystem.h SDL_opengl.h SDL_surface.h SDL_version.h
SDL_gamecontroller.h SDL_opengl_glext.h SDL_system.h SDL_video.h
SDL_gesture.h SDL_opengles.h SDL_syswm.h SDL_vulkan.h
SDL_guid.h SDL_opengles2.h SDL_test.h begin_code.h
SDL_haptic.h SDL_opengles2_gl2.h SDL_test_assert.h close_code.h
SDL_hidapi.h SDL_opengles2_gl2ext.h SDL_test_common.h
SDL_hints.h SDL_opengles2_gl2platform.h SDL_test_compare.h

> > sdl2-config --libs
> > -L/opt/local/lib -lSDL2

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7mt6h$2j0pp$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9788&group=comp.lang.ada#9788

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Fri, 30 Jun 2023 16:43:13 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u7mt6h$2j0pp$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
<u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
<u7m2ae$2g78q$1@dont-email.me>
<c6a41600-7518-460b-85c7-49079c7af9b8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 30 Jun 2023 15:43:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="348613576123a579d7207246ecdbf1b4";
logging-data="2720569"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mZuo0RH/S+YJH7pO5/mEUFAFELaQy1JU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:/pJu34nUgxnaXsGUAdMv5QfayHI=
In-Reply-To: <c6a41600-7518-460b-85c7-49079c7af9b8n@googlegroups.com>
Content-Language: en-GB
 by: Luke A. Guest - Fri, 30 Jun 2023 15:43 UTC

On 30/06/2023 16:41, Kenneth Wolcott wrote:
> On Friday, June 30, 2023 at 1:04:34 AM UTC-7, Luke A. Guest wrote:
>> On 29/06/2023 23:04, Kenneth Wolcott wrote:
>>
>>>> $ sdl2-config --cflags
>>>> $ sdl2-config --libs
>>>
>>> sdl2-config --cflags
>>> -I/opt/local/include/SDL2 -D_THREAD_SAFE
>> That's odd. Can you show me the output of this?
>>
>> $ ls /opt/local/include/SDL2
>
> ls /opt/local/include/SDL2
>
> SDL.h SDL_joystick.h SDL_opengles2_khrplatform.h SDL_test_crc32.h
....

As I thought, means, these things can be normalised a bit in my source.

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<u7r7ck$38j9e$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9801&group=comp.lang.ada#9801

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: laguest@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing
"SDL2_ttf/SDL_ttf.h"
Date: Sun, 2 Jul 2023 08:01:40 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <u7r7ck$38j9e$1@dont-email.me>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
<u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
<u7med9$2hdm3$1@dont-email.me> <u7ml5o$2i3mc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 2 Jul 2023 07:01:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3d2e373835969da469cdae163b3cb584";
logging-data="3427630"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IwdvzovXc9afhujHJHO42VCGQQDwy4gE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:IkT5paW/198zRwCLkrXFIYqU7wI=
In-Reply-To: <u7ml5o$2i3mc$1@dont-email.me>
Content-Language: en-GB
 by: Luke A. Guest - Sun, 2 Jul 2023 07:01 UTC

On 30/06/2023 14:26, Luke A. Guest wrote:
> On 30/06/2023 12:30, Luke A. Guest wrote:
>> The /build/gnat gpr's have got a bit confused by the looks of things.
>>
>> Can you try this patch, it's made from a stash from a diff branch, if
>> it works I'll apply it and push it.
>
> Ignore that, I forgot something, try this one instead.
>

Hello? Did this work for you?

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<f5bded97-a764-4647-96b9-8a9b8abffa8an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9802&group=comp.lang.ada#9802

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:4c09:b0:635:cbc7:95da with SMTP id qh9-20020a0562144c0900b00635cbc795damr46187qvb.0.1688317553530;
Sun, 02 Jul 2023 10:05:53 -0700 (PDT)
X-Received: by 2002:a17:90a:db87:b0:263:6e49:4b60 with SMTP id
h7-20020a17090adb8700b002636e494b60mr5742074pjv.5.1688317552975; Sun, 02 Jul
2023 10:05:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sun, 2 Jul 2023 10:05:52 -0700 (PDT)
In-Reply-To: <u7r7ck$38j9e$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns
NNTP-Posting-Host: 98.59.238.112
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <ly7crmquni.fsf@pushface.org>
<u7k1ip$25tu0$1@dont-email.me> <ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com> <u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com> <u7med9$2hdm3$1@dont-email.me>
<u7ml5o$2i3mc$1@dont-email.me> <u7r7ck$38j9e$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f5bded97-a764-4647-96b9-8a9b8abffa8an@googlegroups.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
From: kennethwolcott@gmail.com (Kenneth Wolcott)
Injection-Date: Sun, 02 Jul 2023 17:05:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2443
 by: Kenneth Wolcott - Sun, 2 Jul 2023 17:05 UTC

On Sunday, July 2, 2023 at 12:01:44 AM UTC-7, Luke A. Guest wrote:
> On 30/06/2023 14:26, Luke A. Guest wrote:
> > On 30/06/2023 12:30, Luke A. Guest wrote:
> >> The /build/gnat gpr's have got a bit confused by the looks of things.
> >>
> >> Can you try this patch, it's made from a stash from a diff branch, if
> >> it works I'll apply it and push it.
> >
> > Ignore that, I forgot something, try this one instead.
> >
>
> Hello? Did this work for you?

Hi Luke;

I'm not sure what you want me to try.

I don't see an attachment. I don't see a URL. I don't see a specific mention of a "patch"? on GitHub. Obviously I'm missing something. Sorry I appear quite daft :-(

Thanks,
Ken

Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"

<lyr0pq2k4i.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9803&group=comp.lang.ada#9803

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
Date: Sun, 02 Jul 2023 20:23:09 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <lyr0pq2k4i.fsf@pushface.org>
References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com>
<u7i7ql$1sa0a$1@dont-email.me>
<5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com>
<21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com>
<ly7crmquni.fsf@pushface.org> <u7k1ip$25tu0$1@dont-email.me>
<ly352aqmlg.fsf@pushface.org>
<b77a6872-1947-4837-acd3-aabe99ba8501n@googlegroups.com>
<u7kmd8$286ku$2@dont-email.me>
<ce671bd0-681d-420a-a2c6-2b8f23b5d798n@googlegroups.com>
<u7med9$2hdm3$1@dont-email.me> <u7ml5o$2i3mc$1@dont-email.me>
<u7r7ck$38j9e$1@dont-email.me>
<f5bded97-a764-4647-96b9-8a9b8abffa8an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="6bbd6aaf6e3fa567180c1a384e3aab5a";
logging-data="3574286"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18F7l5HQnq/CHKY50R7xTul0LIpUGJD/8w="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Cancel-Lock: sha1:lS/HglzbWAvTPz/7zcTsFWunyN4=
sha1:3iywT8WVndpnQxEF+tHyQf9f3sY=
 by: Simon Wright - Sun, 2 Jul 2023 19:23 UTC

Kenneth Wolcott <kennethwolcott@gmail.com> writes:

> On Sunday, July 2, 2023 at 12:01:44 AM UTC-7, Luke A. Guest wrote:
>> On 30/06/2023 14:26, Luke A. Guest wrote:
>> > On 30/06/2023 12:30, Luke A. Guest wrote:
>> >> The /build/gnat gpr's have got a bit confused by the looks of things.
>> >>
>> >> Can you try this patch, it's made from a stash from a diff branch, if
>> >> it works I'll apply it and push it.
>> >
>> > Ignore that, I forgot something, try this one instead.
>> >
>>
>> Hello? Did this work for you?
>
> Hi Luke;
>
> I'm not sure what you want me to try.
>
> I don't see an attachment. I don't see a URL. I don't see a
> specific mention of a "patch"? on GitHub. Obviously I'm missing
> something. Sorry I appear quite daft :-(
>
> Thanks,
> Ken

Google Groups has suppressed Luke's two posts with attached patches.

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor