Compilation of Gabedit under MacOSX11
You can compite Gabedit using macPorts
Using macports :
To compile Gabedit under macosx :
1- install X11 if this is not already installed on your mac (see http://guide.macports.org/#installing.x11)
2- install macports (http://www.macports.org/)
3- install gtk2 using macports. Under an unix terminal(Applications:Utilities:Terminal), type :
sudo port install gtk2
4- install gtkglext using macports. Under an unix terminal, type :
sudo port install gtkglext
For recents macOS, you will most likely have problems installing gtkglext. In this case, use the procedure given in this page : https://github.com/allouchear/gabedit/tree/main/MacOS
5- Copy the platforms/CONFIG.MacPorts file at CONFIG in the Gabedit directory and type make (under an unix terminal):
cp platforms/CONFIG.MacPorts CONFIG
make
If you have a problem with gdkglext-config.h, do this :
sudo cp -r /opt/local/include/gtkglext-1.0/gdk/* /opt/local/include/gtk-2.0/gdk/
sudo cp -r /opt/local/include/gtkglext-1.0/gtk/* /opt/local/include/gtk-2.0/gtk/
If you have a problem with gdk-pixbuf, do this : $sudo cp -r /opt/local/include/gdk-pixbuf-2.0/gdk-pixbuf /opt/local/include
If you have a problem with the libintl library, edit the CONFIG file , add -lintl to the GTKLIB variable.
If you have a problem with the libpangoft2 library, edit the CONFIG file, add -lpangoft2-1.0 to the GTKLIB variable.
If you want to use Gabedit with firefly, download the submitFF script and put it in Gabedit directory.
Use submitFF for run firefly via Gabedit