I am going to commit the work I have done so far and hopefully other people will come along and help us find a nice way of building this mess.
Created attachment 15820 [details] dev-ada/gps-1.2.2.ebuild This ebuild uses the gnat bootstrap compiler because there seems to be an issue in our version as it will generate a stack overflow while parsing the gps project file. I have contacted ACT regarding this, hopefully they will be able to provide some insight. Remember, this ebuild is far from complete and should not be commited to portage!
Created attachment 15821 [details] files/gps-1.2.2-gentoo.patch This patch comments out or modifies all the lines that refused to compile on my machine. This is <b>definately</b> not a bugfixing patch. I wanted to get through the entire compilation process before I started looking at why some lines do not compile. If you are able to get further into the compilation process and remove more broken lines remember to create a patch and submit here so that I can fix all the bugs.
My compilation now fails with: gcc -c -g -o /var/tmp/portage/gps-1.2.2/work/gps-1.2.2/obj/mlib-fil.o -gnatecGNAT-4Ri3w4 -gnatn -gnatpg -O2 -gnatws -gnatf -gnatA /var/tmp/portage/gps-1.2.2/work/gps-1.2.2/gnat/mlib-fil.adb gnatbind -E -x gps.ali error: "gtkada-file_selection.adb" must be recompiled ("g-os_lib.ads" has been modified) gnatmake: *** bind failed. while compiling gps, this is in the gnat dir, I guess they have modified the runtime somehow. I wonder if it would be a good idea to merge this with gnat-3.15p, maybe we will end up with a better version ;). (Oh, I will definately investigate that)
Created attachment 17353 [details] [gps-devel]_GPS_for_Debian - message by Ludovic Brenta <ludovic.brenta@skynet.be> to gps-devel@lists.act-europe.fr So that this does not get lost, I am attaching the message by Ludovic Brenta <ludovic.brenta@skynet.be>. He managed to build gps for Debian and link it against gtkada-2.2.0. He has some patches to gps source we might use.. George
Few things: 1. A new version is out (for a while now), eother 1.4 or 1.4.4, I don't remember the exact number. According to the announcement it should now build against system-wide gtkada. Hopefully this will ease the build. 2. Reassigning to ada@gentoo.org. 3. There is the issue of naming if we succeed with building it. gps is taken, so it would be nice to come up with something.. I am not sure how portage-ng will deal with duplicate names. Hope is it will allow it, but for now this is deprecated. George
This desperately needs an update and revamp, SRC_URI is dead for starters...