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: 103376,39bde956b245c191 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.35.68 with SMTP id f4mr5778239pbj.5.1323369272090; Thu, 08 Dec 2011 10:34:32 -0800 (PST) Path: lh20ni84026pbb.0!nntp.google.com!news1.google.com!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: How to nicely distribute a simple Ada library? Date: Thu, 8 Dec 2011 19:34:23 +0100 Organization: cbb software GmbH Message-ID: References: <361x89sndsg9$.16ruxrwxud090$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: M/A383hIGz+44RAnbocmcQ.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 Xref: news1.google.com comp.lang.ada:19393 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2011-12-08T19:34:23+01:00 List-Id: On Thu, 08 Dec 2011 16:53:16 +0100, Yannick Duch�ne (Hibou57) wrote: > Le Sun, 04 Dec 2011 13:06:50 +0100, Dmitry A. Kazakov > a �crit: >> Fedora and Debian packaging systems is an utter mess. > For easier creation of Debian/Ubuntu package, one may lool at Debreate > http://debreate.sourceforge.net/ > I don't know it in deep, but had a look at it some times ago, and seems > OK. OK for what? Do you believe that this tool will create you binary, source, developing, debug packages with the corresponding Debian Ada policies, all dependencies, test, samples, documentation subprojects etc? If I were 20 years younger and had nothing to do, I would probably extend the gpr files to support platform-specific deployment targets, letting *.deb, *.rpm, *.msi files generated from *.gpr. Just compare gpr and make-files. See why gpr is so useful and makefile is such an awful mess? This equally applies to debian/control or rpm spec files. At the project description level, there is not so many things left to change. The corresponding policy rules actually define almost everything. If grpbuild or gnatmake knew these rules, it could generate deployment packages automatically. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de