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,a19f7b11143e52d2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: One united Ada policy for all Linux distributions? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <8b775424-6d49-4fc1-8f9d-f1837d75371e@e21g2000vbl.googlegroups.com> <15rwx3bkqj8p9$.18lm12fadj9m7$.dlg@40tude.net> Date: Tue, 18 May 2010 14:16:54 +0200 Message-ID: <5txqlpw1cur0$.11swneejphjyt.dlg@40tude.net> NNTP-Posting-Date: 18 May 2010 14:16:54 CEST NNTP-Posting-Host: ebcedd3e.newsspool1.arcor-online.net X-Trace: DXC=873C]IO`5ZX@@RW1FjIB5Sic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgRZYUBk^8eT;Y[6LHn;2LCV^7enW;^6ZC`T\`mfM[68DCSNlf97V3Q[2Z X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:11720 Date: 2010-05-18T14:16:54+02:00 List-Id: On Tue, 18 May 2010 03:19:36 -0700 (PDT), Ludovic Brenta wrote: > Dmitry A. Kazakov wrote on comp.lang.ada: >> If we wanted to introduce versioning (coexistence in Debian policy terms?), >> we could hang version suffixes on the gpr's directory, rather than on gpr >> files. The suffix will follow GNAT releases. > > That would be too restrictive; it would not allow you to have e.g. two > versions of a library with the same compiler. Why? Each GNAT (gnatmake, gprbuild) would search its project directory first. It should be no different from the way the standard library ads files are handled - transparently to the user. > This is no better than > the GNAT GPL distribution as you noted. So the versioning would have > to use the aliversion in the names of the .gpr files, possibly with a > versionless symlink to the default versioned project file, e.g.: > > /usr/share/ada/adainclude/gtkada2.14.2.gpr > /usr/share/ada/adainclude/gtkada2.18.gpr > /usr/share/ada/adainclude/gtkada.gpr -> gtkada2.14.2.gpr That would mean version-dependent gpr files. This is what we have now. BTW, it probably won't work, because the project name is checked against the file name. The idea is that the name of a gpr file never changes, so you do not need to modify your gpr file each time a new gtkada version comes. You don't need to modify it for another Linux. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de