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,18e1c2a3dc43651f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.76.130 with SMTP id k2mr2115925paw.16.1345458191240; Mon, 20 Aug 2012 03:23:11 -0700 (PDT) Received: by 10.180.72.205 with SMTP id f13mr1794580wiv.4.1345458190861; Mon, 20 Aug 2012 03:23:10 -0700 (PDT) Path: kg8ni6625pbc.0!nntp.google.com!news2.google.com!yt1no31909458wib.1!news-out.google.com!q11ni223645820wiw.1!nntp.google.com!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Debian Family, GNAT version map Date: Mon, 20 Aug 2012 12:23:32 +0200 Organization: cbb software GmbH Message-ID: <11d6yrxo20bc0.1t13okftyo2zb.dlg@40tude.net> References: <109c5cee-48ba-442e-b53f-cfd37995cc2d@googlegroups.com> <87harz84r3.fsf@ludovic-brenta.org> <4783e98d-2473-4525-9172-bc663574054a@googlegroups.com> <87txvyopah.fsf@ludovic-brenta.org> <87r4r2hazn.fsf@ludovic-brenta.org> <39b3fwwezkby$.17d07u5q93aw7$.dlg@40tude.net> <87ipcdhph1.fsf@ludovic-brenta.org> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-08-20T12:23:32+02:00 List-Id: On Mon, 20 Aug 2012 11:39:22 +0200, Ludovic Brenta wrote: > Dmitry A. Kazakov writes: >> On Sun, 19 Aug 2012 22:39:56 +0200, Ludovic Brenta wrote: >>> I suggest you concentrate on one thing and only one, then. If you >>> are interested in Debian packaging, fine, let that be your one area >>> of expertise. If you'd rather learn Ada and develop programs with >>> it, I suggest you install Debian stable (possibly in a chroot or >>> VirtualBox) and forget about all these pesky issues. I've decided to >>> concentrate on packaging precisely so that others, especially >>> beginners, can concentrate on programming. >> >> Absolutely. Packaged Ada for Debian and Fedora is a great relief to >> the situation of not so distant times when GNAT GPL was the only, very >> uncomfortable, option for Linux. >> >> Yet, there is still the problem that people wishing to make their work >> available to public must nonetheless dive deep down into the mess of >> dbpkg and rpmbuild. Something should be done about it. If we could not >> bring Linux Ada policies in order, we should have some backend for the >> GPR which would automate packaging. > > In the mean time, here is my advice for upstream authors of free > software: don't do packaging at all. Instead, do like the FSF and > provide only the sources of your software; let specialized packagers do > the rest. Make their job as easy as possible: > > - avoid recursive Makefiles > - use GNAT project files (if you use GNAT) > - do not include copies of third-party software in your software > (instead, document which third-party software is required and where to > get it). > - collaborate with them by reviewing and accepting patches > - use a public version control system > - use a public bug tracking system > - use a public mailing list with searchable archives > > Your "cross-platform" distribution should therefore consist of sources > and very simple instructions for building them. Hmm, while I agree that a pure Ada sources distribution is much easier to handle, and make should be send back to hell, the problem is that if Ada software uses any third party libraries, be it Ada or anything else, that becomes a huge problem for the end user to follow the dependencies. Packaging has the advantage of keeping versions consistent. Ada community reached the stage when pre-packaging becomes a requirement, IMO. Your own contribution is the best proof of that. > A common, cross-platform policy for Ada would be desirable. Debian and > Fedora have already started to collaborate towards a common directory > structure (to be implemented, on Debian's side, in the relase after > Debian 7 "Wheezy"). But even with a common policy, other things are > likely to make packages incompatible at some level anyway. For example > various distributions might choose different sets of packages to > include; different versions of GCC as the default compiler; all combined > with different release schedules. It was discussed, so I only repeat that we need a dedicated Ada resource like sourceforge or freshmeat to accumulate Ada projects and serve as the upstream for Linux/Windows/Mac/... distributions. This resource could indeed automate packaging, at least theoretically it could straight from the code base and the dependencies maintained by the resource. But for now, people *must* package their work for Debian and Fedora. (I say this to our Lapack guys, sorry) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de