Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
readme.md | 2022-12-04 | 4.7 kB |
|
20221119-Applications-GNATStudio.dmg | 2022-11-20 | 321.8 MB | |
xnadalib-2022-quartz-x86_64-apple-darwin21.6.0.pkg | 2022-11-12 | 261.3 MB | |
20221011-Applications.dmg | 2022-10-19 | 333.7 MB | |
Totals: 4 Items | 916.7 MB | 0 |
GNATStudio 23.0wb for macOS
Here is GNATStudio as a stand alone app for macOS 12.
Build GNATStudio.app
See the instructions which have produced the application on Blady web site: Install-GS-Quartz (text in French).
Get the app
- The app doesn't run on macOS prior version 12 due to dynamic library loader changes.
- Download and open the application DMG file.
- Copy the app in a local folder with your write access (for instance
$HOME/Applications
).
Important steps before launching the app
-
The app is not codesigned, you'll perhaps need to delete quarantine attributes with xattr.
xattr -r -d com.apple.quarantine $HOME/Applications/gnatstudio.app
-
The GNAT and GPR toolchains are predefined to GNAT FSF 12.1 e.g.
/opt/gcc-12.1.0/bin
. If you have an other location you need to changeGS_GNAT_PATH
andGS_GPR_PATH
in Info.plist of the GNATStudio app. Take care that the Info.plist is cached so you have to put the Info.plist file in a dummy folder and put it back to the app folder. After running GNATStudio, verify the toolchain in menushelp->about
andbuild->settings->toolchains
. - This new GPS aka GNATStudio will create a new
.gnatstudio
folder in $HOME based on.gps
if existing, thus to avoid some troubles I recommande to rename.gps
the first time. - The first launch may take a long time before the GNATStudio window appears due to some macOS stuff. If a window popup appears asking for acknowledgement to access your Documents folder then clic on button OK.
-
In case of issues, I advise to launch the app for the first time in the Terminal to watch logs:
% $HOME/Applications/GNATStudio.app/Contents/MacOS/gnatstudio_launcher
or
% open -a $HOME/Applications/GNATStudio.app --stdout=`tty` --stderr=`tty`
Take care of you PATH contents. Keep your path list to the minimum. Avoid Python, MacPorts, Brew paths. With the first line, toolchains will be searched only in curent PATH. With the second line, toolchains will be search only in
GS_GNAT_PATH
andGS_GPR_PATH
.
Known limitations:
There could be some limitations that you might meet. Feel free to report them on MacAda list. Any help will be really appreciated.
History
- 20221119: GNATStudio 23.0wb release.
- gnatdoc and gnatstudio_cli are now aware of share folder with
XDG_DATA_DIRS
- PATH is set in the launcher in order that ada_language_server now finds gnatls
- Fix rpath of libstdc++.6.dylib in ada_language_server
- GNAT and GPR toolchains are predefined to GNAT FSF 12.1
- Transfer command line arguments from the launcher to gnatstudio.
- gnatdoc and gnatstudio_cli are now aware of share folder with
- 20221011 : Initial GNATStudio 23.0wa release.
XNAdaLib 2022
It was built on macOS 12.6 Monterey for native Quartz with GNAT FSF 12.1.
Build XNAdalib
See the instructions which have produced the libraries on Blady web site: Install-GTKAda-Quartz (text in French).
Content
It includes:
- GTKAda 22.2 with GTK+ 3.24.33 and co,
- Glade 3.40.0,
- Florist mid-2022a,
- AdaCurses 6.3 (patch 20221105),
- Gate3 0.5d,
- Components 4.64,
- AICWL 3.25.
- Zanyblue 1.4.0,
- PragmARC mid-2022,
- UXStrings 0.4.0 - NEW
- GNOGA 2.2 mid-2022,
- SparForte 2.5,
- HAC 0.21 mid-2022
and as side libraries and tools:
- Templates Parser 22.2,
- gtksourceview 4.8.1,
- GNUTLS 3.7.7,
- GMP 6.2.1,
- make 4.3.
Install
The archive xnadalib-2022-quartz-x86_64-apple-darwin21.6.0.pkg shall be installed (mandatory) at /usr/local. Download the binary .pkg. It's not signed, so don't double-click on it; instead, right-click on it and Open. Accept the warning. You will be guided through the installation.
Update your PATH to include glade, gate3.sh, spar, hac and other executables in it:
$ PATH=/usr/local/xnadalib-2022/bin:$PATH
Update your GPR_PROJECT_PATH to include gtkada.gpr, lib_aicwl.gpr and other projects in it:
$ export GPR_PROJECT_PATH=/usr/local/xnadalib-2022/share/gpr
Set XDG_DATA_DIRS for GNOME apps:
$ export XDG_DATA_DIRS=/usr/local/xnadalib-2022/share
Then see documentation and examples in /usr/local/xnadalib-2021/share folder and enjoy.
Feel free to report feedbacks on MacAda list. Any help will be really appreciated.
History
- 20221111 : Initial XNAdaLib 2022 release.