Hi! This new library contains Posix bindings to the Ada language. Basicly this package provides unix operating system services for an Ada language in a portable manner. Package requires either compiled Ada language support in the gcc-3.2 or separate gnat compiler. For more information: http://www.cs.fsu.edu/~baker/florist.html
Created attachment 5989 [details] dev-ada/florist-3.15.ebuild
Created attachment 5990 [details] digest-florist-3.15 MD5 checksum file
Hi Mikko Thank you for your submission! I see you propose to put this package under dev-ada and I must agree that this makes sence to me. However we currently do not have such category and creation of a new one requires "crytical mass" of packages that are going to belong to it and an approval from other devs. Right now I can see that you submitted two packages (this one and #11292). Are there any more packages that I did not see in bugzilla or do you know of any packages presently in portage that could go into this category? What is you expectance on the further additions (by you or may be you know other interested people)? Alternatively we can try to create a common category for Ada and related languages, such as Pascal and modula*. We already have gpc (gnu Pascal) in portage and we might get fpc (free Pascal). I would also like your help in identifying related packages if you have any im mind. As for the Ada support: Since gcc-3.2 supports ada and you submitted necessary changes to the ebuild I think this is the easiest way to go for now. However ada will only be accessible in 1.4 and later profiles. 1.2 profile will need addition of gnat package apparently. I was thinking to add it for quite a long time but never got around to it. It seems extremely unlikely now that I will et to it, since ada is already in gcc-3.2 collection. We will need somebody volonteering to at least create gnat ebuild if it is crytical to have Ada in pre-1.4 profiles (not that I can think of why it would. I mean I am not trying to volonteer you for that ;), but rather explaining the situation). George
Well, I have been unable to find any other ebuilds in the bugzilla, but I have heard that there might be effort to create AdaSockets ebuild. And I plan to make at least few more ebuilds that could be categorised under dev-ada. I guess there is not yet many ebuild packages since there has not been Ada language support in the Gentoo. It is very hard for me to predict if others are going to submit new packages. But compared to current state of "dev-ml" there is definitely going to be more ebuilds. Would it be very hard to create that new category later and move all the ebuilds to it?
Created attachment 6469 [details] florist-3.15.ebuild This version uses the new ada.eclass to define the Ada compiler flags.
Does these ebuilds work???
Hi M
Hi Mårten. As you may see, this bug depends on #11204, which is not yet completed. If you go there, you will find some patches against gcc build and sources. Yo can apply these locally on your system, thus closing that bug for yourself. This should make all these ada ebuilds work... George
I still get this error: posix-signals.ads:121:33: warning: "CONSTRAINT_ERROR" will be raised at run time gnatmake: "deps.adb" compilation error make: *** [deps] Error 4
Hm, I am getting this (pretty much right after configure finishes): touch florist gnatmake -c -cargs -march=i686 -O2 -pipe -fforce-addr -fomit-frame-pointer -fexpensive-optimizations -margs -cargs -fPIC -margs deps -cargs -gnatpg -largs -lbsd -lnsl -lrt -lpthread gnatmake: -cargs, -bargs, -largs must appear after unit or file name make: *** [deps] Error 4 George
Created attachment 14896 [details] dev-ada/florist-3.15p Finally found that bug that was stopping me from installing this. Seems somewhere along I got a faulty value from a standard header. I rewrote the code that fetched the value to get it in another manner and then it worked. Also fixed some of the usual GNAE issues. Please test this.
Looking good now, thanks for the fix! I have checked and committed the ebuild, please test. George
Reclosing the bug