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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,b2c4d98cbc17f0a9 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!195.96.0.7.MISMATCH!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: A proposal for Debian policy for Ada Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <87aarzd14c.fsf@ludovic-brenta.org> <198miwzl97pnl$.1onmpwoadjr1p.dlg@40tude.net> <87632ncxjg.fsf@ludovic-brenta.org> <9vgayrtxydx3.y97a4jp28sin$.dlg@40tude.net> <0dd107a0-5e60-4cdc-93c8-c8440863bee2@p17g2000vbe.googlegroups.com> Date: Mon, 17 May 2010 15:14:31 +0200 Message-ID: NNTP-Posting-Date: 17 May 2010 15:14:31 CEST NNTP-Posting-Host: c757998b.newsspool1.arcor-online.net X-Trace: DXC=;`5TJ@H`6:O\Qog:l X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:11690 Date: 2010-05-17T15:14:31+02:00 List-Id: On Mon, 17 May 2010 03:02:16 -0700 (PDT), Ludovic Brenta wrote: > Dmitry A. Kazakov wrote on comp.lang.ada: >> On Mon, 17 May 2010 00:05:39 +0200, Ludovic Brenta wrote: >>> Or that each -dev package for an Ada library should provide an >>> individual project file for each C library referenced? �That seems like >>> a *lot* of work. >> >> Not really, I did it for GtkAda manually. But it is possible to write a >> simple script. The only problem is that many libraries use "-" and "." in >> the library name. The script could replace them with "_" in the project >> name. > > GtkAda is particularly difficult. From one release to the next, the > result of /usr/bin/gtk-config (or is it pkg-config?) can, and does, > change. To implement your suggestion, the script would have to use > that as the input. I don't think that were a problem. The libraries GtkAda uses are ones of Gtk (Glib, Gdk, Pango and other mess). They do not come and go. We need to enumerate them once. (Of course when Gtk3 comes, we will have to do it again, but that will be a big change anyway) The real problem, as I see it, that the package names are different across different distributions. Starting with gnat itself. It is gcc-gnat under Fedora and gnat under Debian. We should at least stop this schism for Ada packages. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de