From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3ad7a8611c2e60ae X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!a32g2000yqm.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GUI with Ada? Date: Sat, 19 Dec 2009 07:19:34 -0800 (PST) Organization: http://groups.google.com Message-ID: <2b75eb62-58ec-4e24-ad39-7d7a230da72c@a32g2000yqm.googlegroups.com> References: <2RRWm.115219$gg6.92260@newsfe25.iad> <7c69aa05-3afd-4113-a428-c33482645741@r24g2000yqd.googlegroups.com> <5g684g0o7v3q$.aczr9i3uk8mt$.dlg@40tude.net> NNTP-Posting-Host: 94.108.171.129 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1261235974 10998 127.0.0.1 (19 Dec 2009 15:19:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 19 Dec 2009 15:19:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a32g2000yqm.googlegroups.com; posting-host=94.108.171.129; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091123 Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8453 Date: 2009-12-19T07:19:34-08:00 List-Id: Dmitry A. Kazakov wrote on comp.lang.ada: > On Sat, 19 Dec 2009 02:01:13 -0800 (PST), Ludovic Brenta wrote: >> Shameless_Plug: begin > > Not at all, you are doing a very important job. It takes too much time to > download components from different sources, to combine them and to make > them working. When you just want to try a new library out, you are lost. Thanks. > BTW, the blame is all on non-Ada stuff. There was never any problem to > incorporate an Ada library, because Ada has that excellent concept of > compilation units. The problems begin when Ada is mere bindings to some > other language mess with its dreadful makefiles and the horrific configur= e > tool... Yes, I should know. Speaking of configure, in the most complex cases I bypass autoconf, configure, automake and recursive Makefiles completely. I replace them with one Makefile (debian/rules, mandated by the Debian Policy) and one simple GNAT project file with a couple of External (...) references. Works like a charm. >> Besides the respective merits of GTK+, Qt and their Ada bindings, you >> may find that ease of installation and deployment are also of >> importance. =A0By that metric, I suggest you take a look at Debian GNU/ >> Linux 5.0 "Lenny", the stable distribution. =A0It ships GCC 4.3 and >> GtkAda 2.8.1 as packages, i.e. precompiled and preconfigured for >> immediate use, along with a host of other Ada libraries. =A0Beware >> though: you may get spoiled with the ease of use and never want to go >> back to Windows :) > > Well, strange it might hear, but Windows API have their merits. One examp= le > specifically important to Ada, there is no any problem to send and receiv= e > Windows message from concurrent Ada tasks. I agree but I was not talking about the respective merits of the Windows API. I was talking about the ease of installation of the development environment (including the libraries) and ease of deployment on the target machines. Pardon me the expression but Windows sucks big time in that department. >> The installation is as easy as: > >> aptitude install libgtkada2-dev > >> which will also pull the correct version of GCC and any other packages >> necessary. > >> If you feel adventurous, you may want to try the testing distribution; >> it has GtkAda 2.12.0. =A0I am planning to upload GtkAda 2.14.2 to >> unstable in the next couple of weeks; it should reach testing by the >> end of January. > > Some information maybe interesting for you. I am using gtk 2.14.7 under > Fedora Core 10, I am planing to jump over to the core 12 (since the core = 11 > is broken). So far there is no problems, except for sporadic Storage_Erro= r > (caused by SIGSEGV). I am investigating the issue. Have you seen somethin= g > alike? No but I do very little GtkAda programming on Debian. I use AdaCore's Pro source-only distribution at work and have not found the issue you are referring to. FWIW, the version of GTK+ in Debian 5.0 "Lenny" is 2.12.12 and GtkAda is, like I said earlier, 2.8.1. > Under Windows I go with gtk 2.14.5, which works perfectly well. > > In both cases I didn't change anything in the GtkAda 2.14 itself, just > recompiled it. That's my point - Debian users don't have to recompile GtkAda at all :) Oh, and another benefit of Debian is the public bug database; AdaCore's bug database is secret even for GNAT GPL users. The public mailing list does not count as a database :) -- Ludovic Brenta.