~ubuntu-branches/ubuntu/trusty/dh-ada-library/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/TODO

  • Committer: Package Import Robot
  • Author(s): Nicolas Boulenguez
  • Date: 2013-08-23 00:44:25 UTC
  • Revision ID: package-import@ubuntu.com-20130823004425-w1t4xtps284el5xr
Tags: 5.4
* Do not link /usr/share/doc/dbg_pkg -> lib_pkg because replacing a
  directory with a symbolic link causes upgrade problems.
* Configure gnatprj to understand Ada separate units (gtkada).
* Set installed files read-only (templates_parser).
* Handle versioned -dbg package names (xmlada templates_parser),
  until they can obey the Ada policy.
* Handle package where the library name contains an underscore and
  the package name a minus sign (templates-parser).
* Adapt generated project to source naming exceptions (templates_parser).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
If build_foo.gpr withes build_bar.gpr,
 
2
then foo.gpr is installed into libfooALIFOO-dev,
 
3
     bar.gpr is installed into libbarALIBAR-dev,
 
4
     foo.gpr withes bar.grp
 
5
     libfooALIFOO-dev receives ada:Depends libbarALIBAR-dev = ${binary:Version}
 
6
Could the binary version restriction not be dropped?
 
7
 
 
8
--
 
9
Changes affecting dependencies (new major number)
 
10
 
 
11
TODO.change_input_format.diff
 
12
 
 
13
"-dev Depends: gnat" and "-dbg Suggests: gnat".
 
14
Using a substitution variable for a name that does not depend on
 
15
ali/soversion increases complexity without benefit. Drop them in favor
 
16
of a warning if the value are not in debian/control.
 
17
 
 
18
More generally, include checks that lintian cannot do as it cannot
 
19
detect Ada packages. Examples:
 
20
source: Build-Depends on gnat
 
21
source: Build-Depends on gnat-X.Y (would make the call to gnatgcc
 
22
                    --version unneeded in the Makefile snippet).
 
23
-dev: Depends on gnat
 
24
-dev: Depends on gnat-X.Y or includes ada:Depends
 
25
-dbg: Depends on -lib (=binaryversion) or includes ada:Depends
 
26
-dbg: Suggests gnat
 
27
-doc/-bin if available Suggests: gnat
 
28
 
 
29
Remove the ada:Recommends substitution variable for -dbg. Defining it
 
30
was an error (section 5.2.4), but removing it will need a (trivial)
 
31
modification in dependencies.
 
32
 
1
33
/usr/share/ada/debian_packaging.mk should move to the gnat package,
2
34
and may be signaled in in the debian-ada-policy.
 
35
 
 
36
--
 
37
Prospective
 
38
 
 
39
See if library_symbol_policy in the project can be used to generate a
 
40
list of symbol versions in the Debian way.
 
41
 
 
42
Upload Debian tags for libraries with debtags --upload? Some tags can
 
43
be automatically deduced.