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-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed.kamp.net!newsfeed.kamp.net!news.netcologne.de!ramfeed1.netcologne.de!newsfeed.arcor.de!newsspool2.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="us-ascii" Content-Transfer-Encoding: 7bit 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> Date: Mon, 17 May 2010 11:28:37 +0200 Message-ID: <9vgayrtxydx3.y97a4jp28sin$.dlg@40tude.net> NNTP-Posting-Date: 17 May 2010 11:28:37 CEST NNTP-Posting-Host: 2ac2418e.newsspool3.arcor-online.net X-Trace: DXC=[0GlhT7jhENI7\_^6>c20JMcF=Q^Z^V3H4Fo<]lROoRA8kF 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. >> project LIBRARY is >> type Library_Kind_Type is ("static", "relocatable"); >> Library_Kind : Library_Kind_Type := >> external ("Library_Type", "relocatable"); >> for Library_Kind use Library_Kind; >> for Library_Name use "LIBRARY"; -- Valid for either choice >> for Library_Dir use "/usr/lib"; -- Valid for either choice >> ... >> for Externally_Built use "true"; >> end LIBRARY; > > That's a nice suggestion. I'll try to implement that for the release > after Squeeze. BTW, is it possible to have one united Ada policy for all Linux distributions? Linux Ada community is small, all people are known. Can't we use this as an advantage here? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de