comp.lang.ada
 help / color / mirror / Atom feed
From: Natasha Kerensikova <lithiumcat@gmail.com>
Subject: How to nicely distribute a simple Ada library?
Date: Sun, 4 Dec 2011 11:19:49 +0000 (UTC)
Date: 2011-12-04T11:19:49+00:00	[thread overview]
Message-ID: <slrnjdmlq0.1lme.lithiumcat@sigil.instinctive.eu> (raw)

Hello,

sorry for spamming you again, and for the arrogance of thinking anyone
might possibly want to use my code, but I'm wondering what is the best
way to distribute a library (once it's ready for release) written in
Ada.

I have found the packaging policies for Debian, which is very complete
and useful, and for Fedora, which seems nice too but less interesting
for upstream. And I would like to eventually maintain a FreeBSD port.

So my first question is, since the policies say to include in the
package all the body and specification files required to compile
something against the library, but not the others, how can I know which
files are required and which are not?

The policies also ask for a .gpr file used for building programs against
the library, which seems different from the .gpr file used to build the
library itself. Should I, as upstream, try to provide both of them, or
should I leave the former .gpr file to the packager?

I gather that packaging systems have their own way to perform the
installation, but how can I provide an installation mechanism that does
not depend on a distribution? I would rather avoid automess tools, they
feel extremely overkill compared to the simplicity and presumed
portability of my libraries. I can write a `make install` in pure
makefile language, but is there another more idiomatic way of doing it?
What about windows or mac platforms?

And while all the above assumes a GNAT toolchain, there are probably
people using other compiles. I guess I cannot really support all Ada
compilers that exist (especially those to which I don't have access), so
the burden for porting the library to their toolchain is probably
theirs, but is there any step I should to make it easier for them?

And lastly, is there anything else I should know to make my libraries
easier to use for packagers and users?


Thanks for your help,
Natasha



             reply	other threads:[~2011-12-04 11:19 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-04 11:19 Natasha Kerensikova [this message]
2011-12-04 12:06 ` How to nicely distribute a simple Ada library? Dmitry A. Kazakov
2011-12-05 11:55   ` Yannick Duchêne (Hibou57)
2011-12-05 11:58   ` Yannick Duchêne (Hibou57)
2011-12-05 13:31     ` Dmitry A. Kazakov
2011-12-05 14:11       ` Yannick Duchêne (Hibou57)
2011-12-05 15:22         ` Georg Bauhaus
2011-12-05 15:51           ` Yannick Duchêne (Hibou57)
2011-12-05 17:50             ` Dmitry A. Kazakov
2011-12-05 15:24         ` Dmitry A. Kazakov
2011-12-06  0:22   ` Randy Brukardt
2011-12-06  6:27     ` J-P. Rosen
2011-12-08  7:47       ` Randy Brukardt
2011-12-08 10:17         ` Ludovic Brenta
2011-12-09  0:00           ` Randy Brukardt
2011-12-09  8:42             ` Ludovic Brenta
2011-12-06  8:57   ` Ludovic Brenta
2011-12-06  9:47     ` Dmitry A. Kazakov
2011-12-06 10:13       ` Ludovic Brenta
2011-12-08 15:53   ` Yannick Duchêne (Hibou57)
2011-12-08 18:34     ` Dmitry A. Kazakov
2011-12-04 12:28 ` Ludovic Brenta
2011-12-04 14:39 ` Georg Bauhaus
2011-12-08 10:18   ` Natasha Kerensikova
2011-12-08 11:28     ` Ludovic Brenta
2011-12-08 14:00     ` Robert A Duff
2011-12-08 15:37       ` Georg Bauhaus
2011-12-04 17:42 ` Jeffrey Carter
2011-12-04 20:25 ` Tero Koskinen
2011-12-04 22:04 ` Simon Wright
2011-12-05 11:53 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox