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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Debian & gprinstall Date: Tue, 14 Feb 2017 17:01:17 +0000 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="e1a665504baa8f8b5ebbdddcc8867a79"; logging-data="29502"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tTl+6Lmrr1SCtwaa1dG6lqOp+HnktZg0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:Gb6KkOtstSamBb9BmytylKIBaDk= sha1:hN5NWdAhLUuNWx0svxnVvnUQnAA= Xref: news.eternal-september.org comp.lang.ada:33352 Date: 2017-02-14T17:01:17+00:00 List-Id: Has anyone devised a setup to use gprinstall to install a library to match the Debian Ada Policy? I don't care so much (perhaps I should) about getting the sonames right, but I'd like at least to get the library GPRs installed where Debian looks for them. At the moment, on jessie, gprinstall installs: Sources in /usr/include// ALI files in /usr/lib// Objects in /usr/lib//(for a relocatable library, a symlink to the so in /usr/lib// is put in /usr/lib) GPRs in /usr/share/gpr/ and at the very least GPRs should be in /usr/share/ada/adainclude/. That's easy enough using --project-dir=share/ada/adainclude, but what about the other directories? (they need to be reasonably out of the way of anywhere that Debian would install software).