Bug#383440: adacgi: Ada spec and library information files in wrong directory

2006-08-27 Thread Steve Langasek
severity 383440 important
thanks

> I'll leave this bug at serious severity due to the build-depends point.

Given that gnat (>= 4.1) is the only version available in testing or
unstable, I don't see any reason to treat this as release-critical.  The
lack of versioned build-dep means it's possible for someone to misbuild the
package as a backport, but that's not RC.

The other issues reported here all seem to fall under "violation of Debian
policy for Ada", which I'm afraid is not a policy I'm at all familiar with,
and not one that has been discussed with the release team as warranting RC
treatment for etch.  If you can show that one or more of the violations of
this policy render the package "unusable or mostly so", or that the package
violates one of the points on http://release.debian.org/etch_rc_policy.txt,
then by all means it should be treated as RC; but violations of a policy I
can't find in the debian-policy package are not RC.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383440: adacgi: Ada spec and library information files in wrong directory

2006-08-17 Thread Ludovic Brenta
Package: adacgi
Version: 1.6-8
Severity: serious
Justification: violation of Debian policy for Ada

Since AdaCGI is a library, it must consist of two binary packages:
libadacgi-dev and libadacgi1.

The source package, adacgi, must build-depend on gnat (>= 4.1)
(currently not versioned).

libadacgi-dev must provide the Ada specs (cgi.ads and ustrings.ads) in
the directory /usr/share/ada/adainclude/adacgi.  Optionally, it may
also provide the corresponding bodies (*.adb) (this is mandatory if
these are bodies of generic units).

libadacgi-dev must provide the Ada library information files (*.ali) in
/usr/lib/ada/adalib/adacgi.  These files must be read-only for all
users; dh_fixperms knows about that and does the right thing (do not
--exclude .ali files when calling it).

libadacgi-dev must also provide a GNAT project file,
/usr/share/ada/adainclude/adacgi.gpr.

libadacgi-dev must provide the static library, /usr/lib/libadacgi.a,
and the symlink /usr/lib/libadacgi.so.  The static library must contain
object files compiled with -g.

libadacgi-dev must Depend on gnat-4.1.

The examples can be in libadacgi-dev, but they must not be compressed;
currently the file search.adb is compressed.  Please pass -X.adb -X.ads
-Xmakefile to dh_compress.  This allows gnat to compile the examples
directly.

libadacgi1 must provide the shared library, /usr/lib/libadacgi.so.1.6,
with appropriate symlink (libadacgi.so.1).  The shared library must
contain object files compiled with -fPIC and WITHOUT -g.

libadacgi1 must Depend on libgnat-4.1; this is normally done
automatically by dh_shlibdeps.

Since the files contained in the binary package adacgi do not conflict
with the standard paths in the proposed -dev and library packages, it is
not necessary that packages conflict with each other.  However,
libadacgi-dev should Replace adacgi.

Finally: please revisit the lintian overrides, as they may not be
necessary anymore.  Both linda and lintian know about Ada libraries now.

Since this is a very simple package, consider looking at the
debian/rules that I use for libtemplates-parser.  It builds the Ada
files in two directories, obj-static and obj-shared, and makes the
libraries from there.

-- 
Ludovic Brenta.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]