<div dir="ltr"><div dir="ltr">Given we support all the way back to 10.12, I'm worried about trying to get that version of macos up and running reliably with the build tools. Homebrew also doesn't go back that far, which is one of the main reasons I'm looking at macports. It seems I've now got the bare bones working (thought it's hard to tell if the right SDK was linked). In any case, thanks for your help!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 2 Jul 2022 at 15:10, Friedrich Beckmann <<a href="mailto:friedrich.beckmann@gmx.de">friedrich.beckmann@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Lukas,<br>
<br>
i do the macos builds for pspp - a statistics package based on gtk. I also build bundles based on macports and as you figured out you have recompile everything to use the quartz version of all libraries. I also tried to create macos bundles which run on several macos versions. Ryan helped a lot however now I moved to homebrew because it uses quartz directly. A discussion about using MACOSX_DEPLOYMENT_TARGET and strategy:<br>
<br>
<a href="https://lists.macports.org/pipermail/macports-users/2020-September/048753.html" rel="noreferrer" target="_blank">https://lists.macports.org/pipermail/macports-users/2020-September/048753.html</a><br>
<br>
I think the easiest way is to build on an older version of MacOS. However I only had my laptop...<br>
<br>
Regards<br>
<br>
Friedrich<br>
<br>
> Am 02.07.2022 um 15:57 schrieb Lukas Oberhuber <<a href="mailto:lukaso@gmail.com" target="_blank">lukaso@gmail.com</a>>:<br>
> <br>
> Hi,<br>
> <br>
> I'm the Macos maintainer/packager for Gimp and one of the problems I have is keeping all the packages up to date, and then packaging them for distribution as a simple installer.<br>
> <br>
> I was wondering what it would take to use MacPorts as a basis for all these packages rather than having to roll my own.<br>
> <br>
> It looks like this would work very well (at least in theory), except for 1 problem.<br>
> <br>
> I need packages that are compiled to be backward compatible with the 10.12 Macos SDK on intel and the 11.x SDK for Arm.<br>
> <br>
> Is it possible to specify the SDK version/macos version without building on that OS? Or am I thinking about this wrong?<br>
> <br>
> Also, I would need the +quartz versions of all the packages. If those aren't available pre-compiled, then I would need to be able to compile them on the monterey CI server.<br>
> <br>
> All builds are on a current version of MacOS but compiled against an older version of the SDK and setting the minimum mac version to 10.12<br>
> <br>
> It looks something like this:<br>
> <br>
> sudo curl -L '<a href="https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.12.sdk.tar.xz" rel="noreferrer" target="_blank">https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.12.sdk.tar.xz</a>' | sudo tar -xzf -<br>
> echo 'export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk' > ~/.profile<br>
> echo 'export MACOSX_DEPLOYMENT_TARGET=10.12' >> ~/.profile<br>
> <br>
> Thanks so much for any help!<br>
> <br>
> Lukas<br>
<br>
</blockquote></div></div>